n(d,h,void 0,u&&u[h]));else{const d=Object.keys(o);a=new Array(d.length);for(let h=0,p=d.length;h{const u=l.fn(...a);return u&&(u.key=l.key),u}:l.fn)}return o}function ct(o,n,s={},l,a){if(mo.isCE||mo.parent&&Ec(mo.parent)&&mo.parent.isCE)return n!=="default"&&(s.name=n),J("slot",s,l&&l());let u=o[n];u&&u._c&&(u._d=!1),me();const d=u&&kv(u(s)),h=it(Gt,{key:s.key||d&&d.key||`_${n}`},d||(l?l():[]),d&&o._===1?64:-2);return!a&&h.scopeId&&(h.slotScopeIds=[h.scopeId+"-s"]),u&&u._c&&(u._d=!0),h}function kv(o){return o.some(n=>cl(n)?!(n.type===ns||n.type===Gt&&!kv(n.children)):!0)?o:null}const E0=o=>o?Uv(o)?ld(o)||o.proxy:E0(o.parent):null,bc=lo(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>o.props,$attrs:o=>o.attrs,$slots:o=>o.slots,$refs:o=>o.refs,$parent:o=>E0(o.parent),$root:o=>E0(o.root),$emit:o=>o.emit,$options:o=>ig(o),$forceUpdate:o=>o.f||(o.f=()=>Z0(o.update)),$nextTick:o=>o.n||(o.n=Io.bind(o.proxy)),$watch:o=>ER.bind(o)}),s_=(o,n)=>o!==Yt&&!o.__isScriptSetup&&Lt(o,n),LR={get({_:o},n){const{ctx:s,setupState:l,data:a,props:u,accessCache:d,type:h,appContext:p}=o;let f;if(n[0]!=="$"){const P=d[n];if(P!==void 0)switch(P){case 1:return l[n];case 2:return a[n];case 4:return s[n];case 3:return u[n]}else{if(s_(l,n))return d[n]=1,l[n];if(a!==Yt&&Lt(a,n))return d[n]=2,a[n];if((f=o.propsOptions[0])&&Lt(f,n))return d[n]=3,u[n];if(s!==Yt&&Lt(s,n))return d[n]=4,s[n];b0&&(d[n]=0)}}const T=bc[n];let y,k;if(T)return n==="$attrs"&&Ko(o,"get",n),T(o);if((y=h.__cssModules)&&(y=y[n]))return y;if(s!==Yt&&Lt(s,n))return d[n]=4,s[n];if(k=p.config.globalProperties,Lt(k,n))return k[n]},set({_:o},n,s){const{data:l,setupState:a,ctx:u}=o;return s_(a,n)?(a[n]=s,!0):l!==Yt&&Lt(l,n)?(l[n]=s,!0):Lt(o.props,n)||n[0]==="$"&&n.slice(1)in o?!1:(u[n]=s,!0)},has({_:{data:o,setupState:n,accessCache:s,ctx:l,appContext:a,propsOptions:u}},d){let h;return!!s[d]||o!==Yt&&Lt(o,d)||s_(n,d)||(h=u[0])&&Lt(h,d)||Lt(l,d)||Lt(bc,d)||Lt(a.config.globalProperties,d)},defineProperty(o,n,s){return s.get!=null?o._.accessCache[n]=0:Lt(s,"value")&&this.set(o,n,s.value,null),Reflect.defineProperty(o,n,s)}};function VE(o){return lt(o)?o.reduce((n,s)=>(n[s]=null,n),{}):o}let b0=!0;function NR(o){const n=ig(o),s=o.proxy,l=o.ctx;b0=!1,n.beforeCreate&&GE(n.beforeCreate,o,"bc");const{data:a,computed:u,methods:d,watch:h,provide:p,inject:f,created:T,beforeMount:y,mounted:k,beforeUpdate:P,updated:x,activated:z,deactivated:ne,beforeDestroy:ie,beforeUnmount:Z,destroyed:Y,unmounted:M,render:L,renderTracked:S,renderTriggered:F,errorCaptured:W,serverPrefetch:X,expose:le,inheritAttrs:$e,components:he,directives:fe,filters:ke}=n;if(f&&wR(f,l,null),d)for(const D in d){const B=d[D];gt(B)&&(l[D]=B.bind(s))}if(a){const D=a.call(s,s);jt(D)&&(o.data=qt(D))}if(b0=!0,u)for(const D in u){const B=u[D],ae=gt(B)?B.bind(s,s):gt(B.get)?B.get.bind(s,s):Ls,_e=!gt(B)&>(B.set)?B.set.bind(s):Ls,Me=j({get:ae,set:_e});Object.defineProperty(l,D,{enumerable:!0,configurable:!0,get:()=>Me.value,set:Xe=>Me.value=Xe})}if(h)for(const D in h)Av(h[D],l,s,D);if(p){const D=gt(p)?p.call(s):p;Reflect.ownKeys(D).forEach(B=>{hn(B,D[B])})}T&&GE(T,o,"c");function Ie(D,B){lt(B)?B.forEach(ae=>D(ae.bind(s))):B&&D(B.bind(s))}if(Ie(CR,y),Ie(Wt,k),Ie(yR,P),Ie(gl,x),Ie(IR,z),Ie(Ov,ne),Ie(AR,W),Ie(kR,S),Ie(RR,F),Ie(Ri,Z),Ie(Uc,M),Ie(SR,X),lt(le))if(le.length){const D=o.exposed||(o.exposed={});le.forEach(B=>{Object.defineProperty(D,B,{get:()=>s[B],set:ae=>s[B]=ae})})}else o.exposed||(o.exposed={});L&&o.render===Ls&&(o.render=L),$e!=null&&(o.inheritAttrs=$e),he&&(o.components=he),fe&&(o.directives=fe)}function wR(o,n,s=Ls){lt(o)&&(o=v0(o));for(const l in o){const a=o[l];let u;jt(a)?"default"in a?u=ho(a.from||l,a.default,!0):u=ho(a.from||l):u=ho(a),eo(u)?Object.defineProperty(n,l,{enumerable:!0,configurable:!0,get:()=>u.value,set:d=>u.value=d}):n[l]=u}}function GE(o,n,s){_s(lt(o)?o.map(l=>l.bind(n.proxy)):o.bind(n.proxy),n,s)}function Av(o,n,s,l){const a=l.includes(".")?Ev(s,l):()=>s[l];if(to(o)){const u=n[o];gt(u)&&Et(a,u)}else if(gt(o))Et(a,o.bind(s));else if(jt(o))if(lt(o))o.forEach(u=>Av(u,n,s,l));else{const u=gt(o.handler)?o.handler.bind(s):n[o.handler];gt(u)&&Et(a,u,o)}}function ig(o){const n=o.type,{mixins:s,extends:l}=n,{mixins:a,optionsCache:u,config:{optionMergeStrategies:d}}=o.appContext,h=u.get(n);let p;return h?p=h:!a.length&&!s&&!l?p=n:(p={},a.length&&a.forEach(f=>Hu(p,f,d,!0)),Hu(p,n,d)),jt(n)&&u.set(n,p),p}function Hu(o,n,s,l=!1){const{mixins:a,extends:u}=n;u&&Hu(o,u,s,!0),a&&a.forEach(d=>Hu(o,d,s,!0));for(const d in n)if(!(l&&d==="expose")){const h=MR[d]||s&&s[d];o[d]=h?h(o[d],n[d]):n[d]}return o}const MR={data:WE,props:zE,emits:zE,methods:fc,computed:fc,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:fc,directives:fc,watch:PR,provide:WE,inject:DR};function WE(o,n){return n?o?function(){return lo(gt(o)?o.call(this,this):o,gt(n)?n.call(this,this):n)}:n:o}function DR(o,n){return fc(v0(o),v0(n))}function v0(o){if(lt(o)){const n={};for(let s=0;s1)return s&>(n)?n.call(l&&l.proxy):n}}function FR(){return!!(_o||mo||Mc)}function UR(o,n,s,l=!1){const a={},u={};xu(u,nd,1),o.propsDefaults=Object.create(null),Nv(o,n,a,u);for(const d in o.propsOptions[0])d in a||(a[d]=void 0);s?o.props=l?a:tR(a):o.type.props?o.props=a:o.props=u,o.attrs=u}function HR(o,n,s,l){const{props:a,attrs:u,vnode:{patchFlag:d}}=o,h=Ct(a),[p]=o.propsOptions;let f=!1;if((l||d>0)&&!(d&16)){if(d&8){const T=o.vnode.dynamicProps;for(let y=0;y{p=!0;const[k,P]=wv(y,n,!0);lo(d,k),P&&h.push(...P)};!s&&n.mixins.length&&n.mixins.forEach(T),o.extends&&T(o.extends),o.mixins&&o.mixins.forEach(T)}if(!u&&!p)return jt(o)&&l.set(o,sl),sl;if(lt(u))for(let T=0;T-1,P[1]=z<0||x-1||Lt(P,"default"))&&h.push(y)}}}const f=[d,h];return jt(o)&&l.set(o,f),f}function XE(o){return o[0]!=="$"}function jE(o){const n=o&&o.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:o===null?"null":""}function YE(o,n){return jE(o)===jE(n)}function KE(o,n){return lt(n)?n.findIndex(s=>YE(s,o)):gt(n)&&YE(n,o)?0:-1}const Mv=o=>o[0]==="_"||o==="$stable",ng=o=>lt(o)?o.map(Js):[Js(o)],VR=(o,n,s)=>{if(n._n)return n;const l=He((...a)=>ng(n(...a)),s);return l._c=!1,l},Dv=(o,n,s)=>{const l=o._ctx;for(const a in o){if(Mv(a))continue;const u=o[a];if(gt(u))n[a]=VR(a,u,l);else if(u!=null){const d=ng(u);n[a]=()=>d}}},Pv=(o,n)=>{const s=ng(n);o.slots.default=()=>s},GR=(o,n)=>{if(o.vnode.shapeFlag&32){const s=n._;s?(o.slots=Ct(n),xu(n,"_",s)):Dv(n,o.slots={})}else o.slots={},n&&Pv(o,n);xu(o.slots,nd,1)},WR=(o,n,s)=>{const{vnode:l,slots:a}=o;let u=!0,d=Yt;if(l.shapeFlag&32){const h=n._;h?s&&h===1?u=!1:(lo(a,n),!s&&h===1&&delete a._):(u=!n.$stable,Dv(n,a)),d=n}else n&&(Pv(o,n),d={default:1});if(u)for(const h in a)!Mv(h)&&!(h in d)&&delete a[h]};function O0(o,n,s,l,a=!1){if(lt(o)){o.forEach((k,P)=>O0(k,n&&(lt(n)?n[P]:n),s,l,a));return}if(Ec(l)&&!a)return;const u=l.shapeFlag&4?ld(l.component)||l.component.proxy:l.el,d=a?null:u,{i:h,r:p}=o,f=n&&n.r,T=h.refs===Yt?h.refs={}:h.refs,y=h.setupState;if(f!=null&&f!==p&&(to(f)?(T[f]=null,Lt(y,f)&&(y[f]=null)):eo(f)&&(f.value=null)),gt(p))ln(p,h,12,[d,T]);else{const k=to(p),P=eo(p);if(k||P){const x=()=>{if(o.f){const z=k?Lt(y,p)?y[p]:T[p]:p.value;a?lt(z)&&U0(z,u):lt(z)?z.includes(u)||z.push(u):k?(T[p]=[u],Lt(y,p)&&(y[p]=T[p])):(p.value=[u],o.k&&(T[o.k]=p.value))}else k?(T[p]=d,Lt(y,p)&&(y[p]=d)):P&&(p.value=d,o.k&&(T[o.k]=d))};d?(x.id=-1,zo(x,s)):x()}}}const zo=TR;function zR(o){return XR(o)}function XR(o,n){const s=$0();s.__VUE__=!0;const{insert:l,remove:a,patchProp:u,createElement:d,createText:h,createComment:p,setText:f,setElementText:T,parentNode:y,nextSibling:k,setScopeId:P=Ls,insertStaticContent:x}=o,z=(I,N,A,K=null,U=null,de=null,Te=!1,oe=null,Ce=!!N.dynamicChildren)=>{if(I===N)return;I&&!zn(I,N)&&(K=nt(I),Xe(I,U,de,!0),I=null),N.patchFlag===-2&&(Ce=!1,N.dynamicChildren=null);const{type:ce,ref:Se,shapeFlag:Le}=N;switch(ce){case id:ne(I,N,A,K);break;case ns:ie(I,N,A,K);break;case Su:I==null&&Z(N,A,K,Te);break;case Gt:he(I,N,A,K,U,de,Te,oe,Ce);break;default:Le&1?L(I,N,A,K,U,de,Te,oe,Ce):Le&6?fe(I,N,A,K,U,de,Te,oe,Ce):(Le&64||Le&128)&&ce.process(I,N,A,K,U,de,Te,oe,Ce,et)}Se!=null&&U&&O0(Se,I&&I.ref,de,N||I,!N)},ne=(I,N,A,K)=>{if(I==null)l(N.el=h(N.children),A,K);else{const U=N.el=I.el;N.children!==I.children&&f(U,N.children)}},ie=(I,N,A,K)=>{I==null?l(N.el=p(N.children||""),A,K):N.el=I.el},Z=(I,N,A,K)=>{[I.el,I.anchor]=x(I.children,N,A,K,I.el,I.anchor)},Y=({el:I,anchor:N},A,K)=>{let U;for(;I&&I!==N;)U=k(I),l(I,A,K),I=U;l(N,A,K)},M=({el:I,anchor:N})=>{let A;for(;I&&I!==N;)A=k(I),a(I),I=A;a(N)},L=(I,N,A,K,U,de,Te,oe,Ce)=>{Te=Te||N.type==="svg",I==null?S(N,A,K,U,de,Te,oe,Ce):X(I,N,U,de,Te,oe,Ce)},S=(I,N,A,K,U,de,Te,oe)=>{let Ce,ce;const{type:Se,props:Le,shapeFlag:Ue,transition:be,dirs:ee}=I;if(Ce=I.el=d(I.type,de,Le&&Le.is,Le),Ue&8?T(Ce,I.children):Ue&16&&W(I.children,Ce,null,K,U,de&&Se!=="foreignObject",Te,oe),ee&&Un(I,null,K,"created"),F(Ce,I,I.scopeId,Te,K),Le){for(const ue in Le)ue!=="value"&&!yu(ue)&&u(Ce,ue,null,Le[ue],de,I.children,K,U,Ze);"value"in Le&&u(Ce,"value",null,Le.value),(ce=Le.onVnodeBeforeMount)&&qs(ce,K,I)}ee&&Un(I,null,K,"beforeMount");const se=(!U||U&&!U.pendingBranch)&&be&&!be.persisted;se&&be.beforeEnter(Ce),l(Ce,N,A),((ce=Le&&Le.onVnodeMounted)||se||ee)&&zo(()=>{ce&&qs(ce,K,I),se&&be.enter(Ce),ee&&Un(I,null,K,"mounted")},U)},F=(I,N,A,K,U)=>{if(A&&P(I,A),K)for(let de=0;de{for(let ce=Ce;ce{const oe=N.el=I.el;let{patchFlag:Ce,dynamicChildren:ce,dirs:Se}=N;Ce|=I.patchFlag&16;const Le=I.props||Yt,Ue=N.props||Yt;let be;A&&Hn(A,!1),(be=Ue.onVnodeBeforeUpdate)&&qs(be,A,N,I),Se&&Un(N,I,A,"beforeUpdate"),A&&Hn(A,!0);const ee=U&&N.type!=="foreignObject";if(ce?le(I.dynamicChildren,ce,oe,A,K,ee,de):Te||B(I,N,oe,null,A,K,ee,de,!1),Ce>0){if(Ce&16)$e(oe,N,Le,Ue,A,K,U);else if(Ce&2&&Le.class!==Ue.class&&u(oe,"class",null,Ue.class,U),Ce&4&&u(oe,"style",Le.style,Ue.style,U),Ce&8){const se=N.dynamicProps;for(let ue=0;ue{be&&qs(be,A,N,I),Se&&Un(N,I,A,"updated")},K)},le=(I,N,A,K,U,de,Te)=>{for(let oe=0;oe{if(A!==K){if(A!==Yt)for(const oe in A)!yu(oe)&&!(oe in K)&&u(I,oe,A[oe],null,Te,N.children,U,de,Ze);for(const oe in K){if(yu(oe))continue;const Ce=K[oe],ce=A[oe];Ce!==ce&&oe!=="value"&&u(I,oe,ce,Ce,Te,N.children,U,de,Ze)}"value"in K&&u(I,"value",A.value,K.value)}},he=(I,N,A,K,U,de,Te,oe,Ce)=>{const ce=N.el=I?I.el:h(""),Se=N.anchor=I?I.anchor:h("");let{patchFlag:Le,dynamicChildren:Ue,slotScopeIds:be}=N;be&&(oe=oe?oe.concat(be):be),I==null?(l(ce,A,K),l(Se,A,K),W(N.children,A,Se,U,de,Te,oe,Ce)):Le>0&&Le&64&&Ue&&I.dynamicChildren?(le(I.dynamicChildren,Ue,A,U,de,Te,oe),(N.key!=null||U&&N===U.subTree)&&rg(I,N,!0)):B(I,N,A,Se,U,de,Te,oe,Ce)},fe=(I,N,A,K,U,de,Te,oe,Ce)=>{N.slotScopeIds=oe,I==null?N.shapeFlag&512?U.ctx.activate(N,A,K,Te,Ce):ke(N,A,K,U,de,Te,Ce):re(I,N,Ce)},ke=(I,N,A,K,U,de,Te)=>{const oe=I.component=o3(I,K,U);if(td(I)&&(oe.ctx.renderer=et),s3(oe),oe.asyncDep){if(U&&U.registerDep(oe,Ie),!I.el){const Ce=oe.subTree=J(ns);ie(null,Ce,N,A)}return}Ie(oe,I,N,A,U,de,Te)},re=(I,N,A)=>{const K=N.component=I.component;if(gR(I,N,A))if(K.asyncDep&&!K.asyncResolved){D(K,N,A);return}else K.next=N,uR(K.update),K.update();else N.el=I.el,K.vnode=N},Ie=(I,N,A,K,U,de,Te)=>{const oe=()=>{if(I.isMounted){let{next:Se,bu:Le,u:Ue,parent:be,vnode:ee}=I,se=Se,ue;Hn(I,!1),Se?(Se.el=ee.el,D(I,Se,Te)):Se=ee,Le&&e_(Le),(ue=Se.props&&Se.props.onVnodeBeforeUpdate)&&qs(ue,be,Se,ee),Hn(I,!0);const ye=t_(I),E=I.subTree;I.subTree=ye,z(E,ye,y(E.el),nt(E),I,U,de),Se.el=ye.el,se===null&&fR(I,ye.el),Ue&&zo(Ue,U),(ue=Se.props&&Se.props.onVnodeUpdated)&&zo(()=>qs(ue,be,Se,ee),U)}else{let Se;const{el:Le,props:Ue}=N,{bm:be,m:ee,parent:se}=I,ue=Ec(N);if(Hn(I,!1),be&&e_(be),!ue&&(Se=Ue&&Ue.onVnodeBeforeMount)&&qs(Se,se,N),Hn(I,!0),Le&&w){const ye=()=>{I.subTree=t_(I),w(Le,I.subTree,I,U,null)};ue?N.type.__asyncLoader().then(()=>!I.isUnmounted&&ye()):ye()}else{const ye=I.subTree=t_(I);z(null,ye,A,K,I,U,de),N.el=ye.el}if(ee&&zo(ee,U),!ue&&(Se=Ue&&Ue.onVnodeMounted)){const ye=N;zo(()=>qs(Se,se,ye),U)}(N.shapeFlag&256||se&&Ec(se.vnode)&&se.vnode.shapeFlag&256)&&I.a&&zo(I.a,U),I.isMounted=!0,N=A=K=null}},Ce=I.effect=new z0(oe,()=>Z0(ce),I.scope),ce=I.update=()=>Ce.run();ce.id=I.uid,Hn(I,!0),ce()},D=(I,N,A)=>{N.component=I;const K=I.vnode.props;I.vnode=N,I.next=null,HR(I,N.props,K,A),WR(I,N.children,A),$l(),BE(),_l()},B=(I,N,A,K,U,de,Te,oe,Ce=!1)=>{const ce=I&&I.children,Se=I?I.shapeFlag:0,Le=N.children,{patchFlag:Ue,shapeFlag:be}=N;if(Ue>0){if(Ue&128){_e(ce,Le,A,K,U,de,Te,oe,Ce);return}else if(Ue&256){ae(ce,Le,A,K,U,de,Te,oe,Ce);return}}be&8?(Se&16&&Ze(ce,U,de),Le!==ce&&T(A,Le)):Se&16?be&16?_e(ce,Le,A,K,U,de,Te,oe,Ce):Ze(ce,U,de,!0):(Se&8&&T(A,""),be&16&&W(Le,A,K,U,de,Te,oe,Ce))},ae=(I,N,A,K,U,de,Te,oe,Ce)=>{I=I||sl,N=N||sl;const ce=I.length,Se=N.length,Le=Math.min(ce,Se);let Ue;for(Ue=0;UeSe?Ze(I,U,de,!0,!1,Le):W(N,A,K,U,de,Te,oe,Ce,Le)},_e=(I,N,A,K,U,de,Te,oe,Ce)=>{let ce=0;const Se=N.length;let Le=I.length-1,Ue=Se-1;for(;ce<=Le&&ce<=Ue;){const be=I[ce],ee=N[ce]=Ce?on(N[ce]):Js(N[ce]);if(zn(be,ee))z(be,ee,A,null,U,de,Te,oe,Ce);else break;ce++}for(;ce<=Le&&ce<=Ue;){const be=I[Le],ee=N[Ue]=Ce?on(N[Ue]):Js(N[Ue]);if(zn(be,ee))z(be,ee,A,null,U,de,Te,oe,Ce);else break;Le--,Ue--}if(ce>Le){if(ce<=Ue){const be=Ue+1,ee=beUe)for(;ce<=Le;)Xe(I[ce],U,de,!0),ce++;else{const be=ce,ee=ce,se=new Map;for(ce=ee;ce<=Ue;ce++){const Ee=N[ce]=Ce?on(N[ce]):Js(N[ce]);Ee.key!=null&&se.set(Ee.key,ce)}let ue,ye=0;const E=Ue-ee+1;let g=!1,R=0;const G=new Array(E);for(ce=0;ce=E){Xe(Ee,U,de,!0);continue}let ze;if(Ee.key!=null)ze=se.get(Ee.key);else for(ue=ee;ue<=Ue;ue++)if(G[ue-ee]===0&&zn(Ee,N[ue])){ze=ue;break}ze===void 0?Xe(Ee,U,de,!0):(G[ze-ee]=ce+1,ze>=R?R=ze:g=!0,z(Ee,N[ze],A,null,U,de,Te,oe,Ce),ye++)}const q=g?jR(G):sl;for(ue=q.length-1,ce=E-1;ce>=0;ce--){const Ee=ee+ce,ze=N[Ee],yt=Ee+1{const{el:de,type:Te,transition:oe,children:Ce,shapeFlag:ce}=I;if(ce&6){Me(I.component.subTree,N,A,K);return}if(ce&128){I.suspense.move(N,A,K);return}if(ce&64){Te.move(I,N,A,et);return}if(Te===Gt){l(de,N,A);for(let Le=0;Leoe.enter(de),U);else{const{leave:Le,delayLeave:Ue,afterLeave:be}=oe,ee=()=>l(de,N,A),se=()=>{Le(de,()=>{ee(),be&&be()})};Ue?Ue(de,ee,se):se()}else l(de,N,A)},Xe=(I,N,A,K=!1,U=!1)=>{const{type:de,props:Te,ref:oe,children:Ce,dynamicChildren:ce,shapeFlag:Se,patchFlag:Le,dirs:Ue}=I;if(oe!=null&&O0(oe,null,A,I,!0),Se&256){N.ctx.deactivate(I);return}const be=Se&1&&Ue,ee=!Ec(I);let se;if(ee&&(se=Te&&Te.onVnodeBeforeUnmount)&&qs(se,N,I),Se&6)We(I.component,A,K);else{if(Se&128){I.suspense.unmount(A,K);return}be&&Un(I,null,N,"beforeUnmount"),Se&64?I.type.remove(I,N,A,U,et,K):ce&&(de!==Gt||Le>0&&Le&64)?Ze(ce,N,A,!1,!0):(de===Gt&&Le&384||!U&&Se&16)&&Ze(Ce,N,A),K&&Je(I)}(ee&&(se=Te&&Te.onVnodeUnmounted)||be)&&zo(()=>{se&&qs(se,N,I),be&&Un(I,null,N,"unmounted")},A)},Je=I=>{const{type:N,el:A,anchor:K,transition:U}=I;if(N===Gt){we(A,K);return}if(N===Su){M(I);return}const de=()=>{a(A),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(I.shapeFlag&1&&U&&!U.persisted){const{leave:Te,delayLeave:oe}=U,Ce=()=>Te(A,de);oe?oe(I.el,de,Ce):Ce()}else de()},we=(I,N)=>{let A;for(;I!==N;)A=k(I),a(I),I=A;a(N)},We=(I,N,A)=>{const{bum:K,scope:U,update:de,subTree:Te,um:oe}=I;K&&e_(K),U.stop(),de&&(de.active=!1,Xe(Te,I,N,A)),oe&&zo(oe,N),zo(()=>{I.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},Ze=(I,N,A,K=!1,U=!1,de=0)=>{for(let Te=de;TeI.shapeFlag&6?nt(I.component.subTree):I.shapeFlag&128?I.suspense.next():k(I.anchor||I.el),ht=(I,N,A)=>{I==null?N._vnode&&Xe(N._vnode,null,null,!0):z(N._vnode||null,I,N,null,null,null,A),BE(),gv(),N._vnode=I},et={p:z,um:Xe,m:Me,r:Je,mt:ke,mc:W,pc:B,pbc:le,n:nt,o};let Pe,w;return n&&([Pe,w]=n(et)),{render:ht,hydrate:Pe,createApp:BR(ht,Pe)}}function Hn({effect:o,update:n},s){o.allowRecurse=n.allowRecurse=s}function rg(o,n,s=!1){const l=o.children,a=n.children;if(lt(l)&<(a))for(let u=0;u>1,o[s[h]]0&&(n[l]=s[u-1]),s[u]=l)}}for(u=s.length,d=s[u-1];u-- >0;)s[u]=d,d=n[d];return s}const YR=o=>o.__isTeleport,vc=o=>o&&(o.disabled||o.disabled===""),QE=o=>typeof SVGElement<"u"&&o instanceof SVGElement,C0=(o,n)=>{const s=o&&o.to;return to(s)?n?n(s):null:s},KR={__isTeleport:!0,process(o,n,s,l,a,u,d,h,p,f){const{mc:T,pc:y,pbc:k,o:{insert:P,querySelector:x,createText:z,createComment:ne}}=f,ie=vc(n.props);let{shapeFlag:Z,children:Y,dynamicChildren:M}=n;if(o==null){const L=n.el=z(""),S=n.anchor=z("");P(L,s,l),P(S,s,l);const F=n.target=C0(n.props,x),W=n.targetAnchor=z("");F&&(P(W,F),d=d||QE(F));const X=(le,$e)=>{Z&16&&T(Y,le,$e,a,u,d,h,p)};ie?X(s,S):F&&X(F,W)}else{n.el=o.el;const L=n.anchor=o.anchor,S=n.target=o.target,F=n.targetAnchor=o.targetAnchor,W=vc(o.props),X=W?s:S,le=W?L:F;if(d=d||QE(S),M?(k(o.dynamicChildren,M,X,a,u,d,h),rg(o,n,!0)):p||y(o,n,X,le,a,u,d,h,!1),ie)W||fu(n,s,L,f,1);else if((n.props&&n.props.to)!==(o.props&&o.props.to)){const $e=n.target=C0(n.props,x);$e&&fu(n,$e,null,f,0)}else W&&fu(n,S,F,f,1)}xv(n)},remove(o,n,s,l,{um:a,o:{remove:u}},d){const{shapeFlag:h,children:p,anchor:f,targetAnchor:T,target:y,props:k}=o;if(y&&u(T),(d||!vc(k))&&(u(f),h&16))for(let P=0;P0?ks||sl:null,qR(),Dc>0&&ks&&ks.push(o),o}function Be(o,n,s,l,a,u){return Bv(Ne(o,n,s,l,a,u,!0))}function it(o,n,s,l,a){return Bv(J(o,n,s,l,a,!0))}function cl(o){return o?o.__v_isVNode===!0:!1}function zn(o,n){return o.type===n.type&&o.key===n.key}const nd="__vInternal",Fv=({key:o})=>o??null,Ru=({ref:o,ref_key:n,ref_for:s})=>(typeof o=="number"&&(o=""+o),o!=null?to(o)||eo(o)||gt(o)?{i:mo,r:o,k:n,f:!!s}:o:null);function Ne(o,n=null,s=null,l=0,a=null,u=o===Gt?0:1,d=!1,h=!1){const p={__v_isVNode:!0,__v_skip:!0,type:o,props:n,key:n&&Fv(n),ref:n&&Ru(n),scopeId:Tv,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:l,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:mo};return h?(cg(p,s),u&128&&o.normalize(p)):s&&(p.shapeFlag|=to(s)?8:16),Dc>0&&!d&&ks&&(p.patchFlag>0||u&6)&&p.patchFlag!==32&&ks.push(p),p}const J=JR;function JR(o,n=null,s=null,l=0,a=null,u=!1){if((!o||o===yv)&&(o=ns),cl(o)){const h=gs(o,n,!0);return s&&cg(h,s),Dc>0&&!u&&ks&&(h.shapeFlag&6?ks[ks.indexOf(o)]=h:ks.push(h)),h.patchFlag|=-2,h}if(c3(o)&&(o=o.__vccOpts),n){n=ZR(n);let{class:h,style:p}=n;h&&!to(h)&&(n.class=De(h)),jt(p)&&(cv(p)&&!lt(p)&&(p=lo({},p)),n.style=It(p))}const d=to(o)?1:mR(o)?128:YR(o)?64:jt(o)?4:gt(o)?2:0;return Ne(o,n,s,l,a,d,u,!0)}function ZR(o){return o?cv(o)||nd in o?lo({},o):o:null}function gs(o,n,s=!1){const{props:l,ref:a,patchFlag:u,children:d}=o,h=n?Ot(l||{},n):l;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:h,key:h&&Fv(h),ref:n&&n.ref?s&&a?lt(a)?a.concat(Ru(n)):[a,Ru(n)]:Ru(n):a,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:d,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:n&&o.type!==Gt?u===-1?16:u|16:u,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&gs(o.ssContent),ssFallback:o.ssFallback&&gs(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce}}function Zt(o=" ",n=0){return J(id,null,o,n)}function rd(o,n){const s=J(Su,null,o);return s.staticCount=n,s}function ut(o="",n=!1){return n?(me(),it(ns,null,o)):J(ns,null,o)}function Js(o){return o==null||typeof o=="boolean"?J(ns):lt(o)?J(Gt,null,o.slice()):typeof o=="object"?on(o):J(id,null,String(o))}function on(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:gs(o)}function cg(o,n){let s=0;const{shapeFlag:l}=o;if(n==null)n=null;else if(lt(n))s=16;else if(typeof n=="object")if(l&65){const a=n.default;a&&(a._c&&(a._d=!1),cg(o,a()),a._c&&(a._d=!0));return}else{s=32;const a=n._;!a&&!(nd in n)?n._ctx=mo:a===3&&mo&&(mo.slots._===1?n._=1:(n._=2,o.patchFlag|=1024))}else gt(n)?(n={default:n,_ctx:mo},s=32):(n=String(n),l&64?(s=16,n=[Zt(n)]):s=8);o.children=n,o.shapeFlag|=s}function Ot(...o){const n={};for(let s=0;s_o||mo;let ag,el,JE="__VUE_INSTANCE_SETTERS__";(el=$0()[JE])||(el=$0()[JE]=[]),el.push(o=>_o=o),ag=o=>{el.length>1?el.forEach(n=>n(o)):el[0](o)};const al=o=>{ag(o),o.scope.on()},Qn=()=>{_o&&_o.scope.off(),ag(null)};function Uv(o){return o.vnode.shapeFlag&4}let Pc=!1;function s3(o,n=!1){Pc=n;const{props:s,children:l}=o.vnode,a=Uv(o);UR(o,s,a,n),GR(o,l);const u=a?i3(o,n):void 0;return Pc=!1,u}function i3(o,n){const s=o.type;o.accessCache=Object.create(null),o.proxy=Ju(new Proxy(o.ctx,LR));const{setup:l}=s;if(l){const a=o.setupContext=l.length>1?r3(o):null;al(o),$l();const u=ln(l,o,0,[o.props,a]);if(_l(),Qn(),Wb(u)){if(u.then(Qn,Qn),n)return u.then(d=>{ZE(o,d,n)}).catch(d=>{Zu(d,o,0)});o.asyncDep=u}else ZE(o,u,n)}else Hv(o,n)}function ZE(o,n,s){gt(n)?o.type.__ssrInlineRender?o.ssrRender=n:o.render=n:jt(n)&&(o.setupState=hv(n)),Hv(o,s)}let e1;function Hv(o,n,s){const l=o.type;if(!o.render){if(!n&&e1&&!l.render){const a=l.template||ig(o).template;if(a){const{isCustomElement:u,compilerOptions:d}=o.appContext.config,{delimiters:h,compilerOptions:p}=l,f=lo(lo({isCustomElement:u,delimiters:h},d),p);l.render=e1(a,f)}}o.render=l.render||Ls}al(o),$l(),NR(o),_l(),Qn()}function n3(o){return o.attrsProxy||(o.attrsProxy=new Proxy(o.attrs,{get(n,s){return Ko(o,"get","$attrs"),n[s]}}))}function r3(o){const n=s=>{o.exposed=s||{}};return{get attrs(){return n3(o)},slots:o.slots,emit:o.emit,expose:n}}function ld(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy(hv(Ju(o.exposed)),{get(n,s){if(s in n)return n[s];if(s in bc)return bc[s](o)},has(n,s){return s in n||s in bc}}))}function l3(o,n=!0){return gt(o)?o.displayName||o.name:o.name||n&&o.__name}function c3(o){return gt(o)&&"__vccOpts"in o}const j=(o,n)=>lR(o,n,Pc);function Zs(o,n,s){const l=arguments.length;return l===2?jt(n)&&!lt(n)?cl(n)?J(o,null,[n]):J(o,n):J(o,null,n):(l>3?s=Array.prototype.slice.call(arguments,2):l===3&&cl(s)&&(s=[s]),J(o,n,s))}const a3=Symbol.for("v-scx"),u3=()=>ho(a3),d3="3.3.4",h3="http://www.w3.org/2000/svg",Xn=typeof document<"u"?document:null,t1=Xn&&Xn.createElement("template"),p3={insert:(o,n,s)=>{n.insertBefore(o,s||null)},remove:o=>{const n=o.parentNode;n&&n.removeChild(o)},createElement:(o,n,s,l)=>{const a=n?Xn.createElementNS(h3,o):Xn.createElement(o,s?{is:s}:void 0);return o==="select"&&l&&l.multiple!=null&&a.setAttribute("multiple",l.multiple),a},createText:o=>Xn.createTextNode(o),createComment:o=>Xn.createComment(o),setText:(o,n)=>{o.nodeValue=n},setElementText:(o,n)=>{o.textContent=n},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>Xn.querySelector(o),setScopeId(o,n){o.setAttribute(n,"")},insertStaticContent(o,n,s,l,a,u){const d=s?s.previousSibling:n.lastChild;if(a&&(a===u||a.nextSibling))for(;n.insertBefore(a.cloneNode(!0),s),!(a===u||!(a=a.nextSibling)););else{t1.innerHTML=l?`${o} `:o;const h=t1.content;if(l){const p=h.firstChild;for(;p.firstChild;)h.appendChild(p.firstChild);h.removeChild(p)}n.insertBefore(h,s)}return[d?d.nextSibling:n.firstChild,s?s.previousSibling:n.lastChild]}};function $3(o,n,s){const l=o._vtc;l&&(n=(n?[n,...l]:[...l]).join(" ")),n==null?o.removeAttribute("class"):s?o.setAttribute("class",n):o.className=n}function _3(o,n,s){const l=o.style,a=to(s);if(s&&!a){if(n&&!to(n))for(const u in n)s[u]==null&&y0(l,u,"");for(const u in s)y0(l,u,s[u])}else{const u=l.display;a?n!==s&&(l.cssText=s):n&&o.removeAttribute("style"),"_vod"in o&&(l.display=u)}}const o1=/\s*!important$/;function y0(o,n,s){if(lt(s))s.forEach(l=>y0(o,n,l));else if(s==null&&(s=""),n.startsWith("--"))o.setProperty(n,s);else{const l=g3(o,n);o1.test(s)?o.setProperty(pl(l),s.replace(o1,""),"important"):o[l]=s}}const s1=["Webkit","Moz","ms"],i_={};function g3(o,n){const s=i_[n];if(s)return s;let l=ti(n);if(l!=="filter"&&l in o)return i_[n]=l;l=Qu(l);for(let a=0;an_||(I3.then(()=>n_=0),n_=Date.now());function C3(o,n){const s=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=s.attached)return;_s(y3(l,s.value),n,5,[l])};return s.value=o,s.attached=O3(),s}function y3(o,n){if(lt(n)){const s=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{s.call(o),o._stopped=!0},n.map(l=>a=>!a._stopped&&l&&l(a))}else return n}const r1=/^on[a-z]/,S3=(o,n,s,l,a=!1,u,d,h,p)=>{n==="class"?$3(o,l,a):n==="style"?_3(o,s,l):ju(n)?F0(n)||b3(o,n,s,l,d):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):R3(o,n,l,a))?m3(o,n,l,u,d,h,p):(n==="true-value"?o._trueValue=l:n==="false-value"&&(o._falseValue=l),f3(o,n,l,a))};function R3(o,n,s,l){return l?!!(n==="innerHTML"||n==="textContent"||n in o&&r1.test(n)&>(s)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&o.tagName==="INPUT"||n==="type"&&o.tagName==="TEXTAREA"||r1.test(n)&&to(s)?!1:n in o}const Ji="transition",pc="animation",un=(o,{slots:n})=>Zs(vR,Gv(o),n);un.displayName="Transition";const Vv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},k3=un.props=lo({},vv,Vv),Vn=(o,n=[])=>{lt(o)?o.forEach(s=>s(...n)):o&&o(...n)},l1=o=>o?lt(o)?o.some(n=>n.length>1):o.length>1:!1;function Gv(o){const n={};for(const he in o)he in Vv||(n[he]=o[he]);if(o.css===!1)return n;const{name:s="v",type:l,duration:a,enterFromClass:u=`${s}-enter-from`,enterActiveClass:d=`${s}-enter-active`,enterToClass:h=`${s}-enter-to`,appearFromClass:p=u,appearActiveClass:f=d,appearToClass:T=h,leaveFromClass:y=`${s}-leave-from`,leaveActiveClass:k=`${s}-leave-active`,leaveToClass:P=`${s}-leave-to`}=o,x=A3(a),z=x&&x[0],ne=x&&x[1],{onBeforeEnter:ie,onEnter:Z,onEnterCancelled:Y,onLeave:M,onLeaveCancelled:L,onBeforeAppear:S=ie,onAppear:F=Z,onAppearCancelled:W=Y}=n,X=(he,fe,ke)=>{Zi(he,fe?T:h),Zi(he,fe?f:d),ke&&ke()},le=(he,fe)=>{he._isLeaving=!1,Zi(he,y),Zi(he,P),Zi(he,k),fe&&fe()},$e=he=>(fe,ke)=>{const re=he?F:Z,Ie=()=>X(fe,he,ke);Vn(re,[fe,Ie]),c1(()=>{Zi(fe,he?p:u),Ii(fe,he?T:h),l1(re)||a1(fe,l,z,Ie)})};return lo(n,{onBeforeEnter(he){Vn(ie,[he]),Ii(he,u),Ii(he,d)},onBeforeAppear(he){Vn(S,[he]),Ii(he,p),Ii(he,f)},onEnter:$e(!1),onAppear:$e(!0),onLeave(he,fe){he._isLeaving=!0;const ke=()=>le(he,fe);Ii(he,y),zv(),Ii(he,k),c1(()=>{he._isLeaving&&(Zi(he,y),Ii(he,P),l1(M)||a1(he,l,ne,ke))}),Vn(M,[he,ke])},onEnterCancelled(he){X(he,!1),Vn(Y,[he])},onAppearCancelled(he){X(he,!0),Vn(W,[he])},onLeaveCancelled(he){le(he),Vn(L,[he])}})}function A3(o){if(o==null)return null;if(jt(o))return[r_(o.enter),r_(o.leave)];{const n=r_(o);return[n,n]}}function r_(o){return T9(o)}function Ii(o,n){n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),(o._vtc||(o._vtc=new Set)).add(n)}function Zi(o,n){n.split(/\s+/).forEach(l=>l&&o.classList.remove(l));const{_vtc:s}=o;s&&(s.delete(n),s.size||(o._vtc=void 0))}function c1(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let L3=0;function a1(o,n,s,l){const a=o._endId=++L3,u=()=>{a===o._endId&&l()};if(s)return setTimeout(u,s);const{type:d,timeout:h,propCount:p}=Wv(o,n);if(!d)return l();const f=d+"end";let T=0;const y=()=>{o.removeEventListener(f,k),u()},k=P=>{P.target===o&&++T>=p&&y()};setTimeout(()=>{T(s[x]||"").split(", "),a=l(`${Ji}Delay`),u=l(`${Ji}Duration`),d=u1(a,u),h=l(`${pc}Delay`),p=l(`${pc}Duration`),f=u1(h,p);let T=null,y=0,k=0;n===Ji?d>0&&(T=Ji,y=d,k=u.length):n===pc?f>0&&(T=pc,y=f,k=p.length):(y=Math.max(d,f),T=y>0?d>f?Ji:pc:null,k=T?T===Ji?u.length:p.length:0);const P=T===Ji&&/\b(transform|all)(,|$)/.test(l(`${Ji}Property`).toString());return{type:T,timeout:y,propCount:k,hasTransform:P}}function u1(o,n){for(;o.lengthd1(s)+d1(o[l])))}function d1(o){return Number(o.slice(0,-1).replace(",","."))*1e3}function zv(){return document.body.offsetHeight}const Xv=new WeakMap,jv=new WeakMap,Yv={name:"TransitionGroup",props:lo({},k3,{tag:String,moveClass:String}),setup(o,{slots:n}){const s=fl(),l=bv();let a,u;return gl(()=>{if(!a.length)return;const d=o.moveClass||`${o.name||"v"}-move`;if(!x3(a[0].el,s.vnode.el,d))return;a.forEach(M3),a.forEach(D3);const h=a.filter(P3);zv(),h.forEach(p=>{const f=p.el,T=f.style;Ii(f,d),T.transform=T.webkitTransform=T.transitionDuration="";const y=f._moveCb=k=>{k&&k.target!==f||(!k||/transform$/.test(k.propertyName))&&(f.removeEventListener("transitionend",y),f._moveCb=null,Zi(f,d))};f.addEventListener("transitionend",y)})}),()=>{const d=Ct(o),h=Gv(d);let p=d.tag||Gt;a=u,u=n.default?og(n.default()):[];for(let f=0;fdelete o.mode;Yv.props;const w3=Yv;function M3(o){const n=o.el;n._moveCb&&n._moveCb(),n._enterCb&&n._enterCb()}function D3(o){jv.set(o,o.el.getBoundingClientRect())}function P3(o){const n=Xv.get(o),s=jv.get(o),l=n.left-s.left,a=n.top-s.top;if(l||a){const u=o.el.style;return u.transform=u.webkitTransform=`translate(${l}px,${a}px)`,u.transitionDuration="0s",o}}function x3(o,n,s){const l=o.cloneNode();o._vtc&&o._vtc.forEach(d=>{d.split(/\s+/).forEach(h=>h&&l.classList.remove(h))}),s.split(/\s+/).forEach(d=>d&&l.classList.add(d)),l.style.display="none";const a=n.nodeType===1?n:n.parentNode;a.appendChild(l);const{hasTransform:u}=Wv(l);return a.removeChild(l),u}const B3=["ctrl","shift","alt","meta"],F3={stop:o=>o.stopPropagation(),prevent:o=>o.preventDefault(),self:o=>o.target!==o.currentTarget,ctrl:o=>!o.ctrlKey,shift:o=>!o.shiftKey,alt:o=>!o.altKey,meta:o=>!o.metaKey,left:o=>"button"in o&&o.button!==0,middle:o=>"button"in o&&o.button!==1,right:o=>"button"in o&&o.button!==2,exact:(o,n)=>B3.some(s=>o[`${s}Key`]&&!n.includes(s))},er=(o,n)=>(s,...l)=>{for(let a=0;a{$c(o,!1)}):$c(o,n))},beforeUnmount(o,{value:n}){$c(o,n)}};function $c(o,n){o.style.display=n?o._vod:"none"}const U3=lo({patchProp:S3},p3);let h1;function Kv(){return h1||(h1=zR(U3))}const p1=(...o)=>{Kv().render(...o)},H3=(...o)=>{const n=Kv().createApp(...o),{mount:s}=n;return n.mount=l=>{const a=V3(l);if(!a)return;const u=n._component;!gt(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.innerHTML="";const d=s(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),d},n};function V3(o){return to(o)?document.querySelector(o):o}const or=Object.prototype.toString;function jo(o){return or.call(o)==="[object Array]"}function ml(o){return or.call(o)==="[object Null]"}function S0(o){return or.call(o)==="[object Boolean]"}function ko(o){return or.call(o)==="[object Object]"}const $1=o=>or.call(o)==="[object Promise]";function ki(o){return or.call(o)==="[object String]"}function vt(o){return or.call(o)==="[object Number]"&&o===o}function rs(o){return o===void 0}function bo(o){return typeof o=="function"}function G3(o){return ko(o)&&Object.keys(o).length===0}const Qv=o=>(o==null?void 0:o.$)!==void 0,sr=Symbol("ArcoConfigProvider"),mu={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},W3={locale:"zh-CN",empty:{description:"暂无数据"},drawer:{okText:"确定",cancelText:"取消"},popconfirm:{okText:"确定",cancelText:"取消"},modal:{okText:"确定",cancelText:"取消"},pagination:{goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条"},table:{okText:"确定",resetText:"重置"},upload:{start:"开始",cancel:"取消",delete:"删除",retry:"点击重试",buttonText:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},calendar:mu,datePicker:{view:mu.view,month:mu.month,week:mu.week,placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",time:"请选择时间"},rangePlaceholder:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"],time:["开始时间","结束时间"]},selectTime:"选择时间",today:"今天",now:"此刻",ok:"确定"},image:{loading:"加载中"},imagePreview:{fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},typography:{copied:"已复制",copy:"复制",expand:"展开",collapse:"折叠",edit:"编辑"},form:{validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}}},z3=ge("zh-CN"),X3=qt({"zh-CN":W3}),ug=()=>{const o=ho(sr,void 0),n=j(()=>{var a;return(a=o==null?void 0:o.locale)!=null?a:X3[z3.value]}),s=j(()=>n.value.locale);return{i18nMessage:n,locale:s,t:(a,...u)=>{const d=a.split(".");let h=n.value;for(const p of d){if(!h[p])return a;h=h[p]}return ki(h)&&u.length>0?h.replace(/{(\d+)}/g,(p,f)=>{var T;return(T=u[f])!=null?T:p}):h}}};var j3=Object.defineProperty,Y3=Object.defineProperties,K3=Object.getOwnPropertyDescriptors,_1=Object.getOwnPropertySymbols,Q3=Object.prototype.hasOwnProperty,q3=Object.prototype.propertyIsEnumerable,g1=(o,n,s)=>n in o?j3(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,J3=(o,n)=>{for(var s in n||(n={}))Q3.call(n,s)&&g1(o,s,n[s]);if(_1)for(var s of _1(n))q3.call(n,s)&&g1(o,s,n[s]);return o},Z3=(o,n)=>Y3(o,K3(n));const ek="A",tk="arco",R0="$arco",Oo=o=>{var n;return(n=o==null?void 0:o.componentPrefix)!=null?n:ek},Co=(o,n)=>{var s;n&&n.classPrefix&&(o.config.globalProperties[R0]=Z3(J3({},(s=o.config.globalProperties[R0])!=null?s:{}),{classPrefix:n.classPrefix}))},ot=o=>{var n,s,l;const a=fl(),u=ho(sr,void 0),d=(l=(s=u==null?void 0:u.prefixCls)!=null?s:(n=a==null?void 0:a.appContext.config.globalProperties[R0])==null?void 0:n.classPrefix)!=null?l:tk;return o?`${d}-${o}`:d};var qv=function(){if(typeof Map<"u")return Map;function o(n,s){var l=-1;return n.some(function(a,u){return a[0]===s?(l=u,!0):!1}),l}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(s){var l=o(this.__entries__,s),a=this.__entries__[l];return a&&a[1]},n.prototype.set=function(s,l){var a=o(this.__entries__,s);~a?this.__entries__[a][1]=l:this.__entries__.push([s,l])},n.prototype.delete=function(s){var l=this.__entries__,a=o(l,s);~a&&l.splice(a,1)},n.prototype.has=function(s){return!!~o(this.__entries__,s)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(s,l){l===void 0&&(l=null);for(var a=0,u=this.__entries__;a0},o.prototype.connect_=function(){!k0||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),lk?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},o.prototype.disconnect_=function(){!k0||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},o.prototype.onTransitionEnd_=function(n){var s=n.propertyName,l=s===void 0?"":s,a=rk.some(function(u){return!!~l.indexOf(u)});a&&this.refresh()},o.getInstance=function(){return this.instance_||(this.instance_=new o),this.instance_},o.instance_=null,o}(),Jv=function(o,n){for(var s=0,l=Object.keys(n);s"u"||!(Element instanceof Object))){if(!(n instanceof ul(n).Element))throw new TypeError('parameter 1 is not of type "Element".');var s=this.observations_;s.has(n)||(s.set(n,new gk(n)),this.controller_.addObserver(this),this.controller_.refresh())}},o.prototype.unobserve=function(n){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(n instanceof ul(n).Element))throw new TypeError('parameter 1 is not of type "Element".');var s=this.observations_;s.has(n)&&(s.delete(n),s.size||this.controller_.removeObserver(this))}},o.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},o.prototype.gatherActive=function(){var n=this;this.clearActive(),this.observations_.forEach(function(s){s.isActive()&&n.activeObservations_.push(s)})},o.prototype.broadcastActive=function(){if(this.hasActive()){var n=this.callbackCtx_,s=this.activeObservations_.map(function(l){return new fk(l.target,l.broadcastRect())});this.callback_.call(n,s,n),this.clearActive()}},o.prototype.clearActive=function(){this.activeObservations_.splice(0)},o.prototype.hasActive=function(){return this.activeObservations_.length>0},o}(),eI=typeof WeakMap<"u"?new WeakMap:new qv,tI=function(){function o(n){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var s=ck.getInstance(),l=new mk(n,s,this);eI.set(this,l)}return o}();["observe","unobserve","disconnect"].forEach(function(o){tI.prototype[o]=function(){var n;return(n=eI.get(this))[o].apply(n,arguments)}});var dg=function(){return typeof Vu.ResizeObserver<"u"?Vu.ResizeObserver:tI}(),m1;(function(o){o[o.ELEMENT=1]="ELEMENT",o[o.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",o[o.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",o[o.COMPONENT=6]="COMPONENT",o[o.TEXT_CHILDREN=8]="TEXT_CHILDREN",o[o.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",o[o.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",o[o.TELEPORT=64]="TELEPORT",o[o.SUSPENSE=128]="SUSPENSE",o[o.COMPONENT_SHOULD_KEEP_ALIVE=256]="COMPONENT_SHOULD_KEEP_ALIVE",o[o.COMPONENT_KEPT_ALIVE=512]="COMPONENT_KEPT_ALIVE"})(m1||(m1={}));var T1;(function(o){o[o.TEXT=1]="TEXT",o[o.CLASS=2]="CLASS",o[o.STYLE=4]="STYLE",o[o.PROPS=8]="PROPS",o[o.FULL_PROPS=16]="FULL_PROPS",o[o.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",o[o.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",o[o.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",o[o.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",o[o.NEED_PATCH=512]="NEED_PATCH",o[o.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",o[o.DEV_ROOT_FRAGMENT=2048]="DEV_ROOT_FRAGMENT",o[o.HOISTED=-1]="HOISTED",o[o.BAIL=-2]="BAIL"})(T1||(T1={}));const ad=o=>!!(o&&o.shapeFlag&1),ud=(o,n)=>!!(o&&o.shapeFlag&6),Tk=(o,n)=>!!(o&&o.shapeFlag&8),hg=(o,n)=>!!(o&&o.shapeFlag&16),oI=(o,n)=>!!(o&&o.shapeFlag&32),rl=o=>{var n,s;if(o)for(const l of o){if(ad(l)||ud(l))return l;if(hg(l,l.children)){const a=rl(l.children);if(a)return a}else if(oI(l,l.children)){const a=(s=(n=l.children).default)==null?void 0:s.call(n);if(a){const u=rl(a);if(u)return u}}else if(jo(l)){const a=rl(l);if(a)return a}}},Ek=o=>{if(!o)return!0;for(const n of o)if(n.children)return!1;return!0},sI=(o,n)=>{if(o&&o.length>0)for(let s=0;s0&&sI(a,n))return!0}return!1},iI=o=>{if(hg(o,o.children))return o.children;if(jo(o))return o},nI=o=>{var n,s;if(ad(o))return o.el;if(ud(o)){if(((n=o.el)==null?void 0:n.nodeType)===1)return o.el;if((s=o.component)!=null&&s.subTree){const l=nI(o.component.subTree);if(l)return l}}else{const l=iI(o);return rI(l)}},rI=o=>{if(o&&o.length>0)for(const n of o){const s=nI(n);if(s)return s}},ku=(o,n=!1)=>{var s,l;const a=[];for(const u of o??[])ad(u)||ud(u)||n&&Tk(u,u.children)?a.push(u):hg(u,u.children)?a.push(...ku(u.children,n)):oI(u,u.children)?a.push(...ku((l=(s=u.children).default)==null?void 0:l.call(s),n)):jo(u)&&a.push(...ku(u,n));return a},l_=o=>{if(o)return bo(o)?o:()=>o};var lI=Ke({name:"ResizeObserver",emits:["resize"],setup(o,{emit:n,slots:s}){let l;const a=ge(),u=j(()=>Qv(a.value)?a.value.$el:a.value),d=p=>{p&&(l=new dg(f=>{const T=f[0];n("resize",T)}),l.observe(p))},h=()=>{l&&(l.disconnect(),l=null)};return Et(u,p=>{l&&h(),p&&d(p)}),Wt(()=>{u.value&&d(u.value)}),Uc(()=>{h()}),()=>{var p,f;const T=rl((f=(p=s.default)==null?void 0:p.call(s))!=null?f:[]);return T?gs(T,{ref:a},!0):null}}});const cI=typeof window>"u"?global:window,bk=cI.requestAnimationFrame,E1=cI.cancelAnimationFrame;function A0(o){let n=0;const s=(...l)=>{n&&E1(n),n=bk(()=>{o(...l),n=0})};return s.cancel=()=>{E1(n),n=0},s}const pg=()=>{},aI=()=>{const{body:o}=document,n=document.documentElement;let s;try{s=(window.top||window.self||window).document.body}catch{}return{height:Math.max(o.scrollHeight,o.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight,(s==null?void 0:s.scrollHeight)||0,(s==null?void 0:s.clientHeight)||0),width:Math.max(o.scrollWidth,o.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth,(s==null?void 0:s.scrollWidth)||0,(s==null?void 0:s.clientWidth)||0)}},$g=(()=>{try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}})(),vo=(()=>$g?pg:(o,n,s,l=!1)=>{o.addEventListener(n,s,l)})(),Yo=(()=>$g?pg:(o,n,s,l=!1)=>{o.removeEventListener(n,s,l)})(),vk=(o,n)=>{if(!o||!n)return!1;let s=n;for(;s;){if(s===o)return!0;s=s.parentNode}return!1},Ik=o=>{const n=document.createElement("div");return n.setAttribute("class",`arco-overlay arco-overlay-${o}`),n},uI=(o,n)=>{var s;return $g?pg():(s=(n??document).querySelector(o))!=null?s:void 0},L0=(o,n)=>{if(ki(o)){const s=o[0]==="#"?`[id='${o.slice(1)}']`:o;return uI(s,n)}return o},Ok=(o,n)=>{const s=o.getBoundingClientRect(),l=n.getBoundingClientRect();return{top:s.top-l.top,bottom:l.bottom-s.bottom,left:s.left-l.left,right:l.right-s.right,width:s.width,height:s.height}},Ck=o=>o.tagName==="BODY"?document.documentElement.scrollHeight>window.innerHeight:o.scrollHeight>o.offsetHeight,yk=o=>o.tagName==="BODY"?window.innerWidth-aI().width:o.offsetWidth-o.clientWidth;var dt=(o,n)=>{for(const[s,l]of n)o[s]=l;return o};const Sk=Ke({name:"IconHover",props:{prefix:{type:String},size:{type:String,default:"medium"},disabled:{type:Boolean,default:!1}},setup(){return{prefixCls:ot("icon-hover")}}});function Rk(o,n,s,l,a,u){return me(),Be("span",{class:De([o.prefixCls,{[`${o.prefix}-icon-hover`]:o.prefix,[`${o.prefixCls}-size-${o.size}`]:o.size!=="medium",[`${o.prefixCls}-disabled`]:o.disabled}])},[ct(o.$slots,"default")],2)}var oi=dt(Sk,[["render",Rk]]);const kk=Ke({name:"IconClose",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-close`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Ak=["stroke-width","stroke-linecap","stroke-linejoin"],Lk=Ne("path",{d:"M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"},null,-1),Nk=[Lk];function wk(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Nk,14,Ak)}var c_=dt(kk,[["render",wk]]);const Tl=Object.assign(c_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+c_.name,c_)}}),Mk=Ke({name:"IconInfoCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-info-circle-fill`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Dk=["stroke-width","stroke-linecap","stroke-linejoin"],Pk=Ne("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm2-30a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2Zm0 17h1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-8a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v11Z",fill:"currentColor",stroke:"none"},null,-1),xk=[Pk];function Bk(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},xk,14,Dk)}var a_=dt(Mk,[["render",Bk]]);const Fk=Object.assign(a_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+a_.name,a_)}}),Uk=Ke({name:"IconCheckCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-check-circle-fill`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Hk=["stroke-width","stroke-linecap","stroke-linejoin"],Vk=Ne("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm10.207-24.379a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0L22 26.172l-4.878-4.88a1 1 0 0 0-1.415 0l-1.414 1.415a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0l11.5-11.5Z",fill:"currentColor",stroke:"none"},null,-1),Gk=[Vk];function Wk(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Gk,14,Hk)}var u_=dt(Uk,[["render",Wk]]);const dI=Object.assign(u_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+u_.name,u_)}}),zk=Ke({name:"IconExclamationCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-exclamation-circle-fill`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Xk=["stroke-width","stroke-linecap","stroke-linejoin"],jk=Ne("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm-2-11a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2Zm4-18a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V15Z",fill:"currentColor",stroke:"none"},null,-1),Yk=[jk];function Kk(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Yk,14,Xk)}var d_=dt(zk,[["render",Kk]]);const hI=Object.assign(d_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+d_.name,d_)}}),Qk=Ke({name:"IconCloseCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-close-circle-fill`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),qk=["stroke-width","stroke-linecap","stroke-linejoin"],Jk=Ne("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm4.955-27.771-4.95 4.95-4.95-4.95a1 1 0 0 0-1.414 0l-1.414 1.414a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-4.95-4.95 4.95-4.95a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0Z",fill:"currentColor",stroke:"none"},null,-1),Zk=[Jk];function eA(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Zk,14,qk)}var h_=dt(Qk,[["render",eA]]);const pI=Object.assign(h_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+h_.name,h_)}}),tA=["info","success","warning","error"],dl=["onFocus","onFocusin","onFocusout","onBlur","onChange","onBeforeinput","onInput","onReset","onSubmit","onInvalid","onKeydown","onKeypress","onKeyup","onCopy","onCut","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onSelect","autocomplete","autofocus","maxlength","minlength","name","pattern","readonly","required"],oA=Ke({name:"IconLoading",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-loading`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),sA=["stroke-width","stroke-linecap","stroke-linejoin"],iA=Ne("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6"},null,-1),nA=[iA];function rA(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},nA,14,sA)}var p_=dt(oA,[["render",rA]]);const ir=Object.assign(p_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+p_.name,p_)}}),lA=Ke({name:"FeedbackIcon",components:{IconLoading:ir,IconCheckCircleFill:dI,IconExclamationCircleFill:hI,IconCloseCircleFill:pI},props:{type:{type:String}},setup(o){const n=ot("feedback-icon");return{cls:j(()=>[n,`${n}-status-${o.type}`])}}});function cA(o,n,s,l,a,u){const d=_t("icon-loading"),h=_t("icon-check-circle-fill"),p=_t("icon-exclamation-circle-fill"),f=_t("icon-close-circle-fill");return me(),Be("span",{class:De(o.cls)},[o.type==="validating"?(me(),it(d,{key:0})):o.type==="success"?(me(),it(h,{key:1})):o.type==="warning"?(me(),it(p,{key:2})):o.type==="error"?(me(),it(f,{key:3})):ut("v-if",!0)],2)}var _g=dt(lA,[["render",cA]]);const gg={key:"Enter",code:"Enter"},aA={key:"Backspace",code:"Backspace"};var uA=Object.defineProperty,b1=Object.getOwnPropertySymbols,dA=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,v1=(o,n,s)=>n in o?uA(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,pA=(o,n)=>{for(var s in n||(n={}))dA.call(n,s)&&v1(o,s,n[s]);if(b1)for(var s of b1(n))hA.call(n,s)&&v1(o,s,n[s]);return o};const Hc=(o,n)=>{const s=pA({},o);for(const l of n)l in s&&delete s[l];return s};function fg(o,n){const s={};return n.forEach(l=>{const a=l;l in o&&(s[a]=o[a])}),s}const $A=Symbol("ArcoFormItemContext"),si=({size:o,disabled:n,error:s,uninject:l}={})=>{const a=l?{}:ho($A,{}),u=j(()=>{var T;return(T=o==null?void 0:o.value)!=null?T:a.size}),d=j(()=>(n==null?void 0:n.value)||a.disabled),h=j(()=>(s==null?void 0:s.value)||a.error),p=m0(a,"feedback"),f=m0(a,"eventHandlers");return{formItemCtx:a,mergedSize:u,mergedDisabled:d,mergedError:h,feedback:p,eventHandlers:f}},nr=(o,{defaultValue:n="medium"}={})=>{const s=ho(sr,void 0);return{mergedSize:j(()=>{var a,u;return(u=(a=o==null?void 0:o.value)!=null?a:s==null?void 0:s.size)!=null?u:n})}};function _A(o){const n=ge();function s(){if(!o.value)return;const{selectionStart:a,selectionEnd:u,value:d}=o.value;if(a==null||u==null)return;const h=d.slice(0,Math.max(0,a)),p=d.slice(Math.max(0,u));n.value={selectionStart:a,selectionEnd:u,value:d,beforeTxt:h,afterTxt:p}}function l(){if(!o.value||!n.value)return;const{value:a}=o.value,{beforeTxt:u,afterTxt:d,selectionStart:h}=n.value;if(!u||!d||!h)return;let p=a.length;if(a.endsWith(d))p=a.length-d.length;else if(a.startsWith(u))p=u.length;else{const f=u[h-1],T=a.indexOf(f,h-1);T!==-1&&(p=T+1)}o.value.setSelectionRange(p,p)}return[s,l]}var gA=Object.defineProperty,I1=Object.getOwnPropertySymbols,fA=Object.prototype.hasOwnProperty,mA=Object.prototype.propertyIsEnumerable,O1=(o,n,s)=>n in o?gA(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,C1=(o,n)=>{for(var s in n||(n={}))fA.call(n,s)&&O1(o,s,n[s]);if(I1)for(var s of I1(n))mA.call(n,s)&&O1(o,s,n[s]);return o},Oc=Ke({name:"Input",inheritAttrs:!1,props:{modelValue:String,defaultValue:{type:String,default:""},size:{type:String},allowClear:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},placeholder:String,maxLength:{type:[Number,Object],default:0},showWordLimit:{type:Boolean,default:!1},wordLength:{type:Function},wordSlice:{type:Function},inputAttrs:{type:Object},type:{type:String,default:"text"}},emits:{"update:modelValue":o=>!0,input:(o,n)=>!0,change:(o,n)=>!0,pressEnter:o=>!0,clear:o=>!0,focus:o=>!0,blur:o=>!0},setup(o,{emit:n,slots:s,attrs:l}){const{size:a,disabled:u,error:d,modelValue:h}=Pt(o),p=ot("input"),f=ge(),{mergedSize:T,mergedDisabled:y,mergedError:k,feedback:P,eventHandlers:x}=si({size:a,disabled:u,error:d}),{mergedSize:z}=nr(T),[ne,ie]=_A(f),Z=ge(o.defaultValue),Y=j(()=>{var N;return(N=o.modelValue)!=null?N:Z.value});Et(h,N=>{(rs(N)||ml(N))&&(Z.value="")});let M=Y.value;const L=ge(!1),S=j(()=>o.allowClear&&!y.value&&!!Y.value),F=ge(!1),W=ge(""),X=N=>{var A;return bo(o.wordLength)?o.wordLength(N):(A=N.length)!=null?A:0},le=j(()=>X(Y.value)),$e=j(()=>k.value||!!(ko(o.maxLength)&&o.maxLength.errorOnly&&le.value>fe.value)),he=j(()=>ko(o.maxLength)&&!!o.maxLength.errorOnly),fe=j(()=>ko(o.maxLength)?o.maxLength.length:o.maxLength),ke=j(()=>{const N=X("a");return Math.floor(fe.value/N)}),re=N=>{var A,K;fe.value&&!he.value&&X(N)>fe.value&&(N=(K=(A=o.wordSlice)==null?void 0:A.call(o,N,fe.value))!=null?K:N.slice(0,ke.value)),Z.value=N,n("update:modelValue",N)},Ie=N=>{f.value&&N.target!==f.value&&(N.preventDefault(),f.value.focus())},D=(N,A)=>{var K,U;N!==M&&(M=N,n("change",N,A),(U=(K=x.value)==null?void 0:K.onChange)==null||U.call(K,A))},B=N=>{var A,K;L.value=!0,M=Y.value,n("focus",N),(K=(A=x.value)==null?void 0:A.onFocus)==null||K.call(A,N)},ae=N=>{var A,K;L.value=!1,D(Y.value,N),n("blur",N),(K=(A=x.value)==null?void 0:A.onBlur)==null||K.call(A,N)},_e=N=>{var A,K,U;const{value:de,selectionStart:Te,selectionEnd:oe}=N.target;if(N.type==="compositionend"){if(F.value=!1,W.value="",fe.value&&!he.value&&le.value>=fe.value&&X(de)>fe.value&&Te===oe){Me();return}re(de),n("input",de,N),(K=(A=x.value)==null?void 0:A.onInput)==null||K.call(A,N),Me()}else F.value=!0,W.value=Y.value+((U=N.data)!=null?U:"")},Me=()=>{ne(),Io(()=>{f.value&&Y.value!==f.value.value&&(f.value.value=Y.value,ie())})},Xe=N=>{var A,K;const{value:U}=N.target;if(!F.value){if(fe.value&&!he.value&&le.value>=fe.value&&X(U)>fe.value&&N.inputType==="insertText"){Me();return}re(U),n("input",U,N),(K=(A=x.value)==null?void 0:A.onInput)==null||K.call(A,N),Me()}},Je=N=>{re(""),D("",N),n("clear",N)},we=N=>{const A=N.key||N.code;!F.value&&A===gg.key&&(D(Y.value,N),n("pressEnter",N))},We=j(()=>[`${p}-outer`,`${p}-outer-size-${z.value}`,{[`${p}-outer-has-suffix`]:!!s.suffix,[`${p}-outer-disabled`]:y.value}]),Ze=j(()=>[`${p}-wrapper`,{[`${p}-error`]:$e.value,[`${p}-disabled`]:y.value,[`${p}-focus`]:L.value}]),nt=j(()=>[p,`${p}-size-${z.value}`]),ht=j(()=>Hc(l,dl)),et=j(()=>fg(l,dl)),Pe=j(()=>{const N=C1(C1({},et.value),o.inputAttrs);return $e.value&&(N["aria-invalid"]=!0),N}),w=N=>{var A;return J("span",Ot({class:Ze.value,onMousedown:Ie},N?void 0:ht.value),[s.prefix&&J("span",{class:`${p}-prefix`},[s.prefix()]),J("input",Ot(Pe.value,{ref:f,class:nt.value,value:Y.value,type:o.type,placeholder:o.placeholder,readonly:o.readonly,disabled:y.value,onInput:Xe,onKeydown:we,onFocus:B,onBlur:ae,onCompositionstart:_e,onCompositionupdate:_e,onCompositionend:_e}),null),S.value&&J(oi,{prefix:p,class:`${p}-clear-btn`,onClick:Je},{default:()=>[J(Tl,null,null)]}),(s.suffix||!!o.maxLength&&o.showWordLimit||!!P.value)&&J("span",{class:[`${p}-suffix`,{[`${p}-suffix-has-feedback`]:P.value}]},[!!o.maxLength&&o.showWordLimit&&J("span",{class:`${p}-word-limit`},[le.value,Zt("/"),fe.value]),(A=s.suffix)==null?void 0:A.call(s),!!P.value&&J(_g,{type:P.value},null)])])};return{inputRef:f,render:()=>s.prepend||s.append?J("span",Ot({class:We.value},ht.value),[s.prepend&&J("span",{class:`${p}-prepend`},[s.prepend()]),w(!0),s.append&&J("span",{class:`${p}-append`},[s.append()])]):w()}},methods:{focus(){var o;(o=this.inputRef)==null||o.focus()},blur(){var o;(o=this.inputRef)==null||o.blur()}},render(){return this.render()}});const TA=Ke({name:"IconSearch",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-search`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),EA=["stroke-width","stroke-linecap","stroke-linejoin"],bA=Ne("path",{d:"M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485"},null,-1),vA=[bA];function IA(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},vA,14,EA)}var $_=dt(TA,[["render",IA]]);const N0=Object.assign($_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+$_.name,$_)}}),$I=Symbol("ArcoButtonGroup"),OA=Ke({name:"Button",components:{IconLoading:ir},props:{type:{type:String},shape:{type:String},status:{type:String},size:{type:String},long:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean},htmlType:{type:String,default:"button"},href:String},emits:{click:o=>!0},setup(o,{emit:n}){const{size:s,disabled:l}=Pt(o),a=ot("btn"),u=ho($I,void 0),d=j(()=>{var P;return(P=s.value)!=null?P:u==null?void 0:u.size}),h=j(()=>!!(l.value||u!=null&&u.disabled)),{mergedSize:p,mergedDisabled:f}=si({size:d,disabled:h}),{mergedSize:T}=nr(p),y=j(()=>{var P,x,z,ne,ie,Z;return[a,`${a}-${(x=(P=o.type)!=null?P:u==null?void 0:u.type)!=null?x:"secondary"}`,`${a}-shape-${(ne=(z=o.shape)!=null?z:u==null?void 0:u.shape)!=null?ne:"square"}`,`${a}-size-${T.value}`,`${a}-status-${(Z=(ie=o.status)!=null?ie:u==null?void 0:u.status)!=null?Z:"normal"}`,{[`${a}-long`]:o.long,[`${a}-loading`]:o.loading,[`${a}-disabled`]:f.value,[`${a}-link`]:ki(o.href)}]});return{prefixCls:a,cls:y,mergedDisabled:f,handleClick:P=>{if(o.disabled||o.loading){P.preventDefault();return}n("click",P)}}}}),CA=["href"],yA=["type","disabled"];function SA(o,n,s,l,a,u){const d=_t("icon-loading");return o.href?(me(),Be("a",{key:0,class:De([o.cls,{[`${o.prefixCls}-only-icon`]:o.$slots.icon&&!o.$slots.default}]),href:o.mergedDisabled||o.loading?void 0:o.href,onClick:n[0]||(n[0]=(...h)=>o.handleClick&&o.handleClick(...h))},[o.loading||o.$slots.icon?(me(),Be("span",{key:0,class:De(`${o.prefixCls}-icon`)},[o.loading?(me(),it(d,{key:0,spin:"true"})):ct(o.$slots,"icon",{key:1})],2)):ut("v-if",!0),ct(o.$slots,"default")],10,CA)):(me(),Be("button",{key:1,class:De([o.cls,{[`${o.prefixCls}-only-icon`]:o.$slots.icon&&!o.$slots.default}]),type:o.htmlType,disabled:o.mergedDisabled,onClick:n[1]||(n[1]=(...h)=>o.handleClick&&o.handleClick(...h))},[o.loading||o.$slots.icon?(me(),Be("span",{key:0,class:De(`${o.prefixCls}-icon`)},[o.loading?(me(),it(d,{key:0,spin:!0})):ct(o.$slots,"icon",{key:1})],2)):ut("v-if",!0),ct(o.$slots,"default")],10,yA))}var __=dt(OA,[["render",SA]]);const RA=Ke({name:"ButtonGroup",props:{type:{type:String},status:{type:String},shape:{type:String},size:{type:String},disabled:{type:Boolean}},setup(o){const{type:n,size:s,status:l,disabled:a,shape:u}=Pt(o),d=ot("btn-group");return hn($I,qt({type:n,size:s,shape:u,status:l,disabled:a})),{prefixCls:d}}});function kA(o,n,s,l,a,u){return me(),Be("div",{class:De(o.prefixCls)},[ct(o.$slots,"default")],2)}var g_=dt(RA,[["render",kA]]);const dd=Object.assign(__,{Group:g_,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+__.name,__),o.component(s+g_.name,g_)}});var f_=Ke({name:"InputSearch",props:{searchButton:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String},buttonText:{type:String},buttonProps:{type:Object}},emits:{search:(o,n)=>!0},setup(o,{emit:n,slots:s}){const{size:l}=Pt(o),a=ot("input-search"),{mergedSize:u}=nr(l),d=ge(),h=y=>{d.value.inputRef&&n("search",d.value.inputRef.value,y)},p=()=>{var y;return J(Gt,null,[o.loading?J(ir,null,null):J(oi,{onClick:h},{default:()=>[J(N0,null,null)]}),(y=s.suffix)==null?void 0:y.call(s)])},f=()=>{var y;let k={};return o.buttonText||s["button-default"]||s["button-icon"]?k={default:(y=s["button-default"])!=null?y:o.buttonText?()=>o.buttonText:void 0,icon:s["button-icon"]}:k={icon:()=>J(N0,null,null)},J(dd,Ot({type:"primary",class:`${a}-btn`,disabled:o.disabled,size:u.value,loading:o.loading},o.buttonProps,{onClick:h}),k)};return{inputRef:d,render:()=>J(Oc,{ref:d,class:a,size:u.value,disabled:o.disabled},{prepend:s.prepend,prefix:s.prefix,suffix:o.searchButton?s.suffix:p,append:o.searchButton?f:s.append})}},methods:{focus(){var o;(o=this.inputRef)==null||o.focus()},blur(){var o;(o=this.inputRef)==null||o.blur()}},render(){return this.render()}});const AA=Ke({name:"IconEye",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-eye`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),LA=["stroke-width","stroke-linecap","stroke-linejoin"],NA=Ne("path",{"clip-rule":"evenodd",d:"M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z"},null,-1),wA=Ne("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"},null,-1),MA=[NA,wA];function DA(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},MA,14,LA)}var m_=dt(AA,[["render",DA]]);const PA=Object.assign(m_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+m_.name,m_)}}),xA=Ke({name:"IconEyeInvisible",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-eye-invisible`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),BA=["stroke-width","stroke-linecap","stroke-linejoin"],FA=Ne("path",{d:"M14 14.5c-2.69 2-5.415 5.33-8 9.5 5.373 8.667 11.373 13 18 13 3.325 0 6.491-1.09 9.5-3.271M17.463 12.5C19 11 21.75 11 24 11c6.627 0 12.627 4.333 18 13-1.766 2.848-3.599 5.228-5.5 7.14"},null,-1),UA=Ne("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM6.852 7.103l34.294 34.294"},null,-1),HA=[FA,UA];function VA(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},HA,14,BA)}var T_=dt(xA,[["render",VA]]);const GA=Object.assign(T_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+T_.name,T_)}}),WA=Ke({name:"InputPassword",components:{IconEye:PA,IconEyeInvisible:GA,AIconHover:oi,AInput:Oc},props:{invisibleButton:{type:Boolean,default:!0}},setup(){const o=ge(),n=ge(!0);return{inputRef:o,invisible:n,handleInvisible:()=>{n.value=!n.value}}},methods:{focus(){var o;(o=this.inputRef)==null||o.focus()},blur(){var o;(o=this.inputRef)==null||o.blur()}}});function zA(o,n,s,l,a,u){const d=_t("icon-eye"),h=_t("icon-eye-invisible"),p=_t("a-icon-hover"),f=_t("a-input");return me(),it(f,{ref:"inputRef",type:o.invisible?"password":"text"},Rv({_:2},[o.$slots.prepend?{name:"prepend",fn:He(()=>[ct(o.$slots,"prepend")])}:void 0,o.$slots.prefix?{name:"prefix",fn:He(()=>[ct(o.$slots,"prefix")])}:void 0,o.invisibleButton||o.$slots.suffix?{name:"suffix",fn:He(()=>[o.invisibleButton?(me(),it(p,{key:0,onClick:o.handleInvisible,onMousedown:n[0]||(n[0]=er(()=>{},["prevent"])),onMouseup:n[1]||(n[1]=er(()=>{},["prevent"]))},{default:He(()=>[o.invisible?(me(),it(h,{key:1})):(me(),it(d,{key:0}))]),_:1},8,["onClick"])):ut("v-if",!0),ct(o.$slots,"suffix")])}:void 0,o.$slots.append?{name:"append",fn:He(()=>[ct(o.$slots,"append")])}:void 0]),1032,["type"])}var E_=dt(WA,[["render",zA]]);const XA=Ke({name:"InputGroup",setup(){return{prefixCls:ot("input-group")}}});function jA(o,n,s,l,a,u){return me(),Be("div",{class:De(o.prefixCls)},[ct(o.$slots,"default")],2)}var b_=dt(XA,[["render",jA]]);const _I=Object.assign(Oc,{Search:f_,Password:E_,Group:b_,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+Oc.name,Oc),o.component(s+b_.name,b_),o.component(s+f_.name,f_),o.component(s+E_.name,E_)}});var YA=Object.defineProperty,y1=Object.getOwnPropertySymbols,KA=Object.prototype.hasOwnProperty,QA=Object.prototype.propertyIsEnumerable,S1=(o,n,s)=>n in o?YA(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,mc=(o,n)=>{for(var s in n||(n={}))KA.call(n,s)&&S1(o,s,n[s]);if(y1)for(var s of y1(n))QA.call(n,s)&&S1(o,s,n[s]);return o};const qA=()=>{const{height:o,width:n}=aI();return{width:Math.min(n,window.innerWidth),height:Math.min(o,window.innerHeight)}},R1=(o,n)=>{var s,l;const a=o.getBoundingClientRect();return{top:a.top,bottom:a.bottom,left:a.left,right:a.right,scrollTop:a.top-n.top,scrollBottom:a.bottom-n.top,scrollLeft:a.left-n.left,scrollRight:a.right-n.left,width:(s=o.offsetWidth)!=null?s:o.clientWidth,height:(l=o.offsetHeight)!=null?l:o.clientHeight}},JA=o=>{switch(o){case"top":case"tl":case"tr":return"top";case"bottom":case"bl":case"br":return"bottom";case"left":case"lt":case"lb":return"left";case"right":case"rt":case"rb":return"right";default:return"top"}},Tu=(o,n)=>{switch(n){case"top":switch(o){case"bottom":return"top";case"bl":return"tl";case"br":return"tr";default:return o}case"bottom":switch(o){case"top":return"bottom";case"tl":return"bl";case"tr":return"br";default:return o}case"left":switch(o){case"right":return"left";case"rt":return"lt";case"rb":return"lb";default:return o}case"right":switch(o){case"left":return"right";case"lt":return"rt";case"lb":return"rb";default:return o}default:return o}},ZA=(o,n,{containerRect:s,triggerRect:l,popupRect:a,offset:u,translate:d})=>{const h=JA(o),p=qA(),f={top:s.top+n.top,bottom:p.height-(s.top+n.top+a.height),left:s.left+n.left,right:p.width-(s.left+n.left+a.width)};let T=o;if(h==="top"&&f.top<0)if(l.top>a.height)n.top=-s.top;else{const y=Tc("bottom",l,a,{offset:u,translate:d});p.height-(s.top+y.top+a.height)>0&&(T=Tu(o,"bottom"),n.top=y.top)}if(h==="bottom"&&f.bottom<0)if(p.height-l.bottom>a.height)n.top=-s.top+(p.height-a.height);else{const y=Tc("top",l,a,{offset:u,translate:d});s.top+y.top>0&&(T=Tu(o,"top"),n.top=y.top)}if(h==="left"&&f.left<0)if(l.left>a.width)n.left=-s.left;else{const y=Tc("right",l,a,{offset:u,translate:d});p.width-(s.left+y.left+a.width)>0&&(T=Tu(o,"right"),n.left=y.left)}if(h==="right"&&f.right<0)if(p.width-l.right>a.width)n.left=-s.left+(p.width-a.width);else{const y=Tc("left",l,a,{offset:u,translate:d});s.left+y.left>0&&(T=Tu(o,"left"),n.left=y.left)}return(h==="top"||h==="bottom")&&(f.left<0?n.left=-s.left:f.right<0&&(n.left=-s.left+(p.width-a.width))),(h==="left"||h==="right")&&(f.top<0?n.top=-s.top:f.bottom<0&&(n.top=-s.top+(p.height-a.height))),{popupPosition:n,position:T}},Tc=(o,n,s,{offset:l=0,translate:a=[0,0]}={})=>{var u;const d=(u=jo(a)?a:a[o])!=null?u:[0,0];switch(o){case"top":return{left:n.scrollLeft+Math.round(n.width/2)-Math.round(s.width/2)+d[0],top:n.scrollTop-s.height-l+d[1]};case"tl":return{left:n.scrollLeft+d[0],top:n.scrollTop-s.height-l+d[1]};case"tr":return{left:n.scrollRight-s.width+d[0],top:n.scrollTop-s.height-l+d[1]};case"bottom":return{left:n.scrollLeft+Math.round(n.width/2)-Math.round(s.width/2)+d[0],top:n.scrollBottom+l+d[1]};case"bl":return{left:n.scrollLeft+d[0],top:n.scrollBottom+l+d[1]};case"br":return{left:n.scrollRight-s.width+d[0],top:n.scrollBottom+l+d[1]};case"left":return{left:n.scrollLeft-s.width-l+d[0],top:n.scrollTop+Math.round(n.height/2)-Math.round(s.height/2)+d[1]};case"lt":return{left:n.scrollLeft-s.width-l+d[0],top:n.scrollTop+d[1]};case"lb":return{left:n.scrollLeft-s.width-l+d[0],top:n.scrollBottom-s.height+d[1]};case"right":return{left:n.scrollRight+l+d[0],top:n.scrollTop+Math.round(n.height/2)-Math.round(s.height/2)+d[1]};case"rt":return{left:n.scrollRight+l+d[0],top:n.scrollTop+d[1]};case"rb":return{left:n.scrollRight+l+d[0],top:n.scrollBottom-s.height+d[1]};default:return{left:0,top:0}}},eL=o=>{let n="0";["top","bottom"].includes(o)?n="50%":["left","lt","lb","tr","br"].includes(o)&&(n="100%");let s="0";return["left","right"].includes(o)?s="50%":["top","tl","tr","lt","rt"].includes(o)&&(s="100%"),`${n} ${s}`},tL=(o,n,s,l,{offset:a=0,translate:u=[0,0],customStyle:d={},autoFitPosition:h=!1}={})=>{let p=o,f=Tc(o,s,l,{offset:a,translate:u});if(h){const y=ZA(o,f,{containerRect:n,popupRect:l,triggerRect:s,offset:a,translate:u});f=y.popupPosition,p=y.position}return{style:mc({left:`${f.left}px`,top:`${f.top}px`},d),position:p}},oL=(o,n,s,{customStyle:l={}})=>{if(["top","tl","tr","bottom","bl","br"].includes(o)){let u=Math.abs(n.scrollLeft+n.width/2-s.scrollLeft);return u>s.width-8&&(n.width>s.width?u=s.width/2:u=s.width-8),["top","tl","tr"].includes(o)?mc({left:`${u}px`,bottom:"0",transform:"translate(-50%,50%) rotate(45deg)"},l):mc({left:`${u}px`,top:"0",transform:"translate(-50%,-50%) rotate(45deg)"},l)}let a=Math.abs(n.scrollTop+n.height/2-s.scrollTop);return a>s.height-8&&(n.height>s.height?a=s.height/2:a=s.height-8),["left","lt","lb"].includes(o)?mc({top:`${a}px`,right:"0",transform:"translate(50%,-50%) rotate(45deg)"},l):mc({top:`${a}px`,left:"0",transform:"translate(-50%,-50%) rotate(45deg)"},l)},sL=o=>o.scrollHeight>o.offsetHeight||o.scrollWidth>o.offsetWidth,k1=o=>{var n;const s=[];let l=o;for(;l&&l!==document.documentElement;)sL(l)&&s.push(l),l=(n=l.parentElement)!=null?n:void 0;return s},gI=()=>{const o={},n=ge(),s=()=>{const l=rI(o.value);l!==n.value&&(n.value=l)};return Wt(()=>s()),gl(()=>s()),{children:o,firstElement:n}};var w0=Ke({name:"ResizeObserver",props:{watchOnUpdated:Boolean},emits:["resize"],setup(o,{emit:n,slots:s}){const{children:l,firstElement:a}=gI();let u;const d=p=>{p&&(u=new dg(f=>{const T=f[0];n("resize",T)}),u.observe(p))},h=()=>{u&&(u.disconnect(),u=null)};return Et(a,p=>{u&&h(),p&&d(p)}),Ri(()=>{u&&h()}),()=>{var p;return l.value=(p=s.default)==null?void 0:p.call(s),l.value}}});function iL(o,n){const s=ge(o[n]);return gl(()=>{const l=o[n];s.value!==l&&(s.value=l)}),s}const A1=Symbol("ArcoTrigger"),nL=1e3,rL=5e3,lL=1;class cL{constructor(){this.popupStack={popup:new Set,dialog:new Set,message:new Set},this.getNextZIndex=n=>(n==="message"?Array.from(this.popupStack.message).pop()||rL:Array.from(this.popupStack.popup).pop()||nL)+lL,this.add=n=>{const s=this.getNextZIndex(n);return this.popupStack[n].add(s),n==="dialog"&&this.popupStack.popup.add(s),s},this.delete=(n,s)=>{this.popupStack[s].delete(n),s==="dialog"&&this.popupStack.popup.delete(n)},this.isLastDialog=n=>this.popupStack.dialog.size>1?n===Array.from(this.popupStack.dialog).pop():!0}}const v_=new cL;function mg(o,{visible:n,runOnMounted:s}={}){const l=ge(0),a=()=>{l.value=v_.add(o)},u=()=>{v_.delete(l.value,o)},d=()=>o==="dialog"?v_.isLastDialog(l.value):!1;return Et(()=>n==null?void 0:n.value,h=>{h?a():u()},{immediate:!0}),s&&(Wt(()=>{a()}),Ri(()=>{u()})),{zIndex:K0(l),open:a,close:u,isLastDialog:d}}const aL=({elementRef:o,onResize:n})=>{let s;return{createResizeObserver:()=>{o.value&&(s=new dg(u=>{const d=u[0];bo(n)&&n(d)}),s.observe(o.value))},destroyResizeObserver:()=>{s&&(s.disconnect(),s=null)}}};var fI=Ke({name:"ClientOnly",setup(o,{slots:n}){const s=ge(!1);return Wt(()=>s.value=!0),()=>{var l;return s.value?(l=n.default)==null?void 0:l.call(n):null}}});const mI=({popupContainer:o,visible:n,defaultContainer:s="body",documentContainer:l})=>{const a=ge(o.value),u=ge(),d=()=>{const h=L0(o.value),p=h?o.value:s,f=h??(l?document.documentElement:L0(s));p!==a.value&&(a.value=p),f!==u.value&&(u.value=f)};return Wt(()=>d()),Et(n,h=>{a.value!==o.value&&h&&d()}),{teleportContainer:a,containerRef:u}};var uL=Object.defineProperty,dL=Object.defineProperties,hL=Object.getOwnPropertyDescriptors,L1=Object.getOwnPropertySymbols,pL=Object.prototype.hasOwnProperty,$L=Object.prototype.propertyIsEnumerable,N1=(o,n,s)=>n in o?uL(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,_L=(o,n)=>{for(var s in n||(n={}))pL.call(n,s)&&N1(o,s,n[s]);if(L1)for(var s of L1(n))$L.call(n,s)&&N1(o,s,n[s]);return o},gL=(o,n)=>dL(o,hL(n));const fL=["onClick","onMouseenter","onMouseleave","onFocusin","onFocusout","onContextmenu"];var I_=Ke({name:"Trigger",inheritAttrs:!1,props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{type:[String,Array],default:"hover"},position:{type:String,default:"bottom"},disabled:{type:Boolean,default:!1},popupOffset:{type:Number,default:0},popupTranslate:{type:[Array,Object]},showArrow:{type:Boolean,default:!1},alignPoint:{type:Boolean,default:!1},popupHoverStay:{type:Boolean,default:!0},blurToClose:{type:Boolean,default:!0},clickToClose:{type:Boolean,default:!0},clickOutsideToClose:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!0},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupStyle:{type:Object},animationName:{type:String,default:"fade-in"},duration:{type:[Number,Object]},mouseEnterDelay:{type:Number,default:100},mouseLeaveDelay:{type:Number,default:100},focusDelay:{type:Number,default:0},autoFitPopupWidth:{type:Boolean,default:!1},autoFitPopupMinWidth:{type:Boolean,default:!1},autoFixPosition:{type:Boolean,default:!0},popupContainer:{type:[String,Object]},updateAtScroll:{type:Boolean,default:!1},autoFitTransformOrigin:{type:Boolean,default:!1},hideEmpty:{type:Boolean,default:!1},openedClass:{type:[String,Array,Object]},autoFitPosition:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:!1}},emits:{"update:popupVisible":o=>!0,popupVisibleChange:o=>!0,show:()=>!0,hide:()=>!0,resize:()=>!0},setup(o,{emit:n,slots:s,attrs:l}){const{popupContainer:a}=Pt(o),u=ot("trigger"),d=j(()=>Hc(l,fL)),h=ho(sr,void 0),p=j(()=>[].concat(o.trigger)),f=new Set,T=ho(A1,void 0),{children:y,firstElement:k}=gI(),P=ge(),x=ge(o.defaultPopupVisible),z=ge(o.position),ne=ge({}),ie=ge({}),Z=ge({}),Y=ge(),M=ge({top:0,left:0}),L=j(()=>{var be;return(be=o.popupVisible)!=null?be:x.value}),{teleportContainer:S,containerRef:F}=mI({popupContainer:a,visible:L,documentContainer:!0}),{zIndex:W}=mg("popup",{visible:L});let X=0,le=!1,$e=!1;const he=()=>{X&&(window.clearTimeout(X),X=0)},fe=be=>{if(o.alignPoint){const{pageX:ee,pageY:se}=be;M.value={top:se,left:ee}}},ke=()=>{if(!k.value||!P.value||!F.value)return;const be=F.value.getBoundingClientRect(),ee=o.alignPoint?{top:M.value.top,bottom:M.value.top,left:M.value.left,right:M.value.left,scrollTop:M.value.top,scrollBottom:M.value.top,scrollLeft:M.value.left,scrollRight:M.value.left,width:0,height:0}:R1(k.value,be),se=()=>R1(P.value,be),ue=se(),{style:ye,position:E}=tL(o.position,be,ee,ue,{offset:o.popupOffset,translate:o.popupTranslate,customStyle:o.popupStyle,autoFitPosition:o.autoFitPosition});o.autoFitTransformOrigin&&(ie.value={transformOrigin:eL(E)}),o.autoFitPopupMinWidth?ye.minWidth=`${ee.width}px`:o.autoFitPopupWidth&&(ye.width=`${ee.width}px`),z.value!==E&&(z.value=E),ne.value=ye,o.showArrow&&Io(()=>{Z.value=oL(E,ee,se(),{customStyle:o.arrowStyle})})},re=(be,ee)=>{if(be===L.value&&X===0)return;const se=()=>{x.value=be,n("update:popupVisible",be),n("popupVisibleChange",be),be&&Io(()=>{ke()})};ee?(he(),be!==L.value&&(X=window.setTimeout(se,ee))):se()},Ie=be=>{var ee;(ee=l.onClick)==null||ee.call(l,be),!(o.disabled||L.value&&!o.clickToClose)&&(p.value.includes("click")?(fe(be),re(!L.value)):p.value.includes("contextMenu")&&L.value&&re(!1))},D=be=>{var ee;(ee=l.onMouseenter)==null||ee.call(l,be),!(o.disabled||!p.value.includes("hover"))&&(fe(be),re(!0,o.mouseEnterDelay))},B=be=>{T==null||T.onMouseenter(be),D(be)},ae=be=>{var ee;(ee=l.onMouseleave)==null||ee.call(l,be),!(o.disabled||!p.value.includes("hover"))&&re(!1,o.mouseLeaveDelay)},_e=be=>{T==null||T.onMouseleave(be),ae(be)},Me=be=>{var ee;(ee=l.onFocusin)==null||ee.call(l,be),!(o.disabled||!p.value.includes("focus"))&&re(!0,o.focusDelay)},Xe=be=>{var ee;(ee=l.onFocusout)==null||ee.call(l,be),!(o.disabled||!p.value.includes("focus"))&&o.blurToClose&&re(!1)},Je=be=>{var ee;(ee=l.onContextmenu)==null||ee.call(l,be),!(o.disabled||!p.value.includes("contextMenu")||L.value&&!o.clickToClose)&&(fe(be),re(!L.value),be.preventDefault())};hn(A1,qt({onMouseenter:B,onMouseleave:_e,addChildRef:be=>{f.add(be),T==null||T.addChildRef(be)},removeChildRef:be=>{f.delete(be),T==null||T.removeChildRef(be)}}));const Ze=()=>{Yo(document.documentElement,"mousedown",et),le=!1},nt=iL(s,"content"),ht=j(()=>{var be;return o.hideEmpty&&Ek((be=nt.value)==null?void 0:be.call(nt))}),et=be=>{var ee,se,ue;if(!((ee=k.value)!=null&&ee.contains(be.target)||(se=P.value)!=null&&se.contains(be.target))){for(const ye of f)if((ue=ye.value)!=null&&ue.contains(be.target))return;Ze(),re(!1)}},Pe=A0(()=>{L.value&&(o.scrollToClose||h!=null&&h.scrollToClose?re(!1):ke())}),w=()=>{Yo(window,"scroll",I),$e=!1},I=A0(()=>{re(!1),w()}),N=()=>{L.value&&ke()},A=()=>{N(),n("resize")},K=be=>{o.preventFocus&&be.preventDefault()};T==null||T.addChildRef(P);const U=j(()=>L.value?o.openedClass:void 0);let de;Et(L,be=>{if(o.clickOutsideToClose&&(!be&&le?Ze():be&&!le&&(vo(document.documentElement,"mousedown",et),le=!0)),(o.scrollToClose||h!=null&&h.scrollToClose)&&(vo(window,"scroll",I),$e=!0),o.updateAtScroll||h!=null&&h.updateAtScroll){if(be){de=k1(k.value);for(const ee of de)ee.addEventListener("scroll",Pe)}else if(de){for(const ee of de)ee.removeEventListener("scroll",Pe);de=void 0}}be&&(Ce.value=!0)}),Et(()=>[o.autoFitPopupWidth,o.autoFitPopupMinWidth],()=>{L.value&&ke()});const{createResizeObserver:Te,destroyResizeObserver:oe}=aL({elementRef:F,onResize:N});Wt(()=>{if(Te(),L.value&&(ke(),o.clickOutsideToClose&&!le&&(vo(document.documentElement,"mousedown",et),le=!0),o.updateAtScroll||h!=null&&h.updateAtScroll)){de=k1(k.value);for(const be of de)be.addEventListener("scroll",Pe)}}),gl(()=>{L.value&&ke()}),Ov(()=>{re(!1)}),Ri(()=>{if(T==null||T.removeChildRef(P),oe(),le&&Ze(),$e&&w(),de){for(const be of de)be.removeEventListener("scroll",Pe);de=void 0}});const Ce=ge(L.value),ce=ge(!1),Se=()=>{ce.value=!0},Le=()=>{ce.value=!1,L.value&&n("show")},Ue=()=>{ce.value=!1,L.value||(Ce.value=!1,n("hide"))};return()=>{var be,ee;return y.value=(ee=(be=s.default)==null?void 0:be.call(s))!=null?ee:[],sI(y.value,{class:U.value,onClick:Ie,onMouseenter:D,onMouseleave:ae,onFocusin:Me,onFocusout:Xe,onContextmenu:Je}),J(Gt,null,[o.autoFixPosition?J(w0,{onResize:A},{default:()=>[y.value]}):y.value,J(fI,null,{default:()=>[J(lg,{to:S.value,disabled:!o.renderToBody},{default:()=>[(!o.unmountOnClose||L.value||Ce.value)&&!ht.value&&J(w0,{onResize:N},{default:()=>[J("div",Ot({ref:P,class:[`${u}-popup`,`${u}-position-${z.value}`],style:gL(_L({},ne.value),{zIndex:W.value,pointerEvents:ce.value?"none":"auto"}),"trigger-placement":z.value,onMouseenter:B,onMouseleave:_e,onMousedown:K},d.value),[J(un,{name:o.animationName,duration:o.duration,appear:!0,onBeforeEnter:Se,onAfterEnter:Le,onBeforeLeave:Se,onAfterLeave:Ue},{default:()=>{var se;return[Kn(J("div",{class:`${u}-popup-wrapper`,style:ie.value},[J("div",{class:[`${u}-content`,o.contentClass],style:o.contentStyle},[(se=s.content)==null?void 0:se.call(s)]),o.showArrow&&J("div",{ref:Y,class:[`${u}-arrow`,o.arrowClass],style:Z.value},null)]),[[qn,L.value]])]}})])]})]})]})])}}});const Wu=Object.assign(I_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+I_.name,I_)}}),mL=Ke({name:"IconEmpty",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-empty`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),TL=["stroke-width","stroke-linecap","stroke-linejoin"],EL=Ne("path",{d:"M24 5v6m7 1 4-4m-18 4-4-4m28.5 22H28s-1 3-4 3-4-3-4-3H6.5M40 41H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"},null,-1),bL=[EL];function vL(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},bL,14,TL)}var O_=dt(mL,[["render",vL]]);const IL=Object.assign(O_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+O_.name,O_)}});var C_=Ke({name:"Empty",props:{description:String,imgSrc:String,inConfigProvider:{type:Boolean,default:!1}},setup(o,{slots:n}){const s=ot("empty"),{t:l}=ug(),a=ho(sr,void 0);return()=>{var u,d,h,p;return!o.inConfigProvider&&(a!=null&&a.slots.empty)&&!(n.image||o.imgSrc||o.description)?a.slots.empty({component:"empty"}):J("div",{class:s},[J("div",{class:`${s}-image`},[(d=(u=n.image)==null?void 0:u.call(n))!=null?d:o.imgSrc?J("img",{src:o.imgSrc,alt:o.description||"empty"},null):J(IL,null,null)]),J("div",{class:`${s}-description`},[(p=(h=n.default)==null?void 0:h.call(n))!=null?p:o.description||l("empty.description")])])}}});const OL=Object.assign(C_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+C_.name,C_)}}),CL=5;var yL=Ke({name:"DotLoading",props:{size:{type:Number}},setup(o){const n=ot("dot-loading");return()=>{const s=o.size?{width:`${o.size}px`,height:`${o.size}px`}:{};return J("div",{class:n,style:{width:o.size?`${o.size*7}px`:void 0,height:o.size?`${o.size}px`:void 0}},[Array(CL).fill(1).map((l,a)=>J("div",{class:`${n}-item`,key:a,style:s},null))])}}}),y_=Ke({name:"Spin",props:{size:{type:Number},loading:Boolean,dot:Boolean,tip:String,hideIcon:{type:Boolean,default:!1}},setup(o,{slots:n}){const s=ot("spin"),l=ho(sr,void 0),a=j(()=>[s,{[`${s}-loading`]:o.loading,[`${s}-with-tip`]:o.tip&&!n.default}]),u=()=>{if(n.icon){const h=rl(n.icon());if(h)return gs(h,{spin:!0})}return n.element?n.element():o.dot?J(yL,{size:o.size},null):l!=null&&l.slots.loading?l.slots.loading():J(ir,{spin:!0,size:o.size},null)},d=()=>{var h,p,f;const T=o.size?{fontSize:`${o.size}px`}:void 0,y=!!((h=n.tip)!=null?h:o.tip);return J(Gt,null,[!o.hideIcon&&J("div",{class:`${s}-icon`,style:T},[u()]),y&&J("div",{class:`${s}-tip`},[(f=(p=n.tip)==null?void 0:p.call(n))!=null?f:o.tip])])};return()=>J("div",{class:a.value},[n.default?J(Gt,null,[n.default(),o.loading&&J("div",{class:`${s}-mask`},[J("div",{class:`${s}-mask-icon`},[d()])])]):d()])}});const SL=Object.assign(y_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+y_.name,y_)}}),RL=Ke({name:"Thumb",props:{data:{type:Object},direction:{type:String,default:"horizontal"},alwaysShow:{type:Boolean,default:!1},both:{type:Boolean,default:!1}},emits:["scroll"],setup(o,{emit:n}){const s=ot("scrollbar"),l=ge(!1),a=ge(),u=ge(),d=j(()=>o.direction==="horizontal"?{size:"width",direction:"left",offset:"offsetWidth",client:"clientX"}:{size:"height",direction:"top",offset:"offsetHeight",client:"clientY"}),h=ge(0),p=ge(!1),f=ge(0),T=j(()=>{var Z,Y;return{[d.value.size]:`${(Y=(Z=o.data)==null?void 0:Z.thumbSize)!=null?Y:0}px`,[d.value.direction]:`${h.value}px`}}),y=Z=>{Z.preventDefault(),u.value&&(f.value=Z[d.value.client]-u.value.getBoundingClientRect()[d.value.direction],p.value=!0,vo(window,"mousemove",x),vo(window,"mouseup",z),vo(window,"contextmenu",z))},k=Z=>{var Y,M,L,S;if(Z.preventDefault(),u.value){const F=P(Z[d.value.client]>u.value.getBoundingClientRect()[d.value.direction]?h.value+((M=(Y=o.data)==null?void 0:Y.thumbSize)!=null?M:0):h.value-((S=(L=o.data)==null?void 0:L.thumbSize)!=null?S:0));F!==h.value&&(h.value=F,n("scroll",F))}},P=Z=>Z<0?0:o.data&&Z>o.data.max?o.data.max:Z,x=Z=>{if(a.value&&u.value){const Y=P(Z[d.value.client]-a.value.getBoundingClientRect()[d.value.direction]-f.value);Y!==h.value&&(h.value=Y,n("scroll",Y))}},z=()=>{p.value=!1,Yo(window,"mousemove",x),Yo(window,"mouseup",z)},ne=Z=>{p.value||(Z=P(Z),Z!==h.value&&(h.value=Z))},ie=j(()=>[`${s}-thumb`,`${s}-thumb-direction-${o.direction}`,{[`${s}-thumb-dragging`]:p.value}]);return{visible:l,trackRef:a,thumbRef:u,prefixCls:s,thumbCls:ie,thumbStyle:T,handleThumbMouseDown:y,handleTrackClick:k,setOffset:ne}}});function kL(o,n,s,l,a,u){return me(),it(un,null,{default:He(()=>[Ne("div",{ref:"trackRef",class:De([`${o.prefixCls}-track`,`${o.prefixCls}-track-direction-${o.direction}`]),onMousedown:n[1]||(n[1]=er((...d)=>o.handleTrackClick&&o.handleTrackClick(...d),["self"]))},[Ne("div",{ref:"thumbRef",class:De(o.thumbCls),style:It(o.thumbStyle),onMousedown:n[0]||(n[0]=(...d)=>o.handleThumbMouseDown&&o.handleThumbMouseDown(...d))},[Ne("div",{class:De(`${o.prefixCls}-thumb-bar`)},null,2)],38)],34)]),_:1})}var AL=dt(RL,[["render",kL]]);const w1=20,Eu=15,LL=Ke({name:"Scrollbar",components:{ResizeObserver:w0,Thumb:AL},inheritAttrs:!1,props:{type:{type:String,default:"embed"},outerClass:[String,Object,Array],outerStyle:{type:[String,Object,Array]},hide:{type:Boolean,default:!1},disableHorizontal:{type:Boolean,default:!1},disableVertical:{type:Boolean,default:!1}},emits:{scroll:o=>!0},setup(o,{emit:n}){const s=ot("scrollbar"),l=ge(),a=ge(),u=ge(),d=ge(),h=ge(),p=ge(!1),f=ge(!1),T=j(()=>p.value&&!o.disableHorizontal),y=j(()=>f.value&&!o.disableVertical),k=ge(!1),P=()=>{var M,L,S,F,W,X;if(l.value){const{clientWidth:le,clientHeight:$e,offsetWidth:he,offsetHeight:fe,scrollWidth:ke,scrollHeight:re,scrollTop:Ie,scrollLeft:D}=l.value;p.value=ke>le,f.value=re>$e,k.value=T.value&&y.value;const B=o.type==="embed"&&k.value?he-Eu:he,ae=o.type==="embed"&&k.value?fe-Eu:fe,_e=Math.round(B/Math.min(ke/le,B/w1)),Me=B-_e,Xe=(ke-le)/Me,Je=Math.round(ae/Math.min(re/$e,ae/w1)),we=ae-Je,We=(re-$e)/we;if(a.value={ratio:Xe,thumbSize:_e,max:Me},u.value={ratio:We,thumbSize:Je,max:we},Ie>0){const Ze=Math.round(Ie/((L=(M=u.value)==null?void 0:M.ratio)!=null?L:1));(S=h.value)==null||S.setOffset(Ze)}if(D>0){const Ze=Math.round(D/((W=(F=u.value)==null?void 0:F.ratio)!=null?W:1));(X=d.value)==null||X.setOffset(Ze)}}};Wt(()=>{P()});const x=()=>{P()},z=M=>{var L,S,F,W,X,le;if(l.value){if(T.value&&!o.disableHorizontal){const $e=Math.round(l.value.scrollLeft/((S=(L=a.value)==null?void 0:L.ratio)!=null?S:1));(F=d.value)==null||F.setOffset($e)}if(y.value&&!o.disableVertical){const $e=Math.round(l.value.scrollTop/((X=(W=u.value)==null?void 0:W.ratio)!=null?X:1));(le=h.value)==null||le.setOffset($e)}}n("scroll",M)},ne=M=>{var L,S;l.value&&l.value.scrollTo({left:M*((S=(L=a.value)==null?void 0:L.ratio)!=null?S:1)})},ie=M=>{var L,S;l.value&&l.value.scrollTo({top:M*((S=(L=u.value)==null?void 0:L.ratio)!=null?S:1)})},Z=j(()=>{const M={};return o.type==="track"&&(T.value&&(M.paddingBottom=`${Eu}px`),y.value&&(M.paddingRight=`${Eu}px`)),[M,o.outerStyle]}),Y=j(()=>[`${s}`,`${s}-type-${o.type}`,{[`${s}-both`]:k.value},o.outerClass]);return{prefixCls:s,cls:Y,style:Z,containerRef:l,horizontalThumbRef:d,verticalThumbRef:h,horizontalData:a,verticalData:u,isBoth:k,hasHorizontalScrollbar:T,hasVerticalScrollbar:y,handleResize:x,handleScroll:z,handleHorizontalScroll:ne,handleVerticalScroll:ie}},methods:{scrollTo(o,n){var s,l;ko(o)?(s=this.$refs.containerRef)==null||s.scrollTo(o):(o||n)&&((l=this.$refs.containerRef)==null||l.scrollTo(o,n))},scrollTop(o){var n;(n=this.$refs.containerRef)==null||n.scrollTo({top:o})},scrollLeft(o){var n;(n=this.$refs.containerRef)==null||n.scrollTo({left:o})}}});function NL(o,n,s,l,a,u){const d=_t("ResizeObserver"),h=_t("thumb");return me(),Be("div",{class:De(o.cls),style:It(o.style)},[J(d,{onResize:o.handleResize},{default:He(()=>[Ne("div",Ot({ref:"containerRef",class:`${o.prefixCls}-container`},o.$attrs,{onScroll:n[0]||(n[0]=(...p)=>o.handleScroll&&o.handleScroll(...p))}),[J(d,{onResize:o.handleResize},{default:He(()=>[ct(o.$slots,"default")]),_:3},8,["onResize"])],16)]),_:3},8,["onResize"]),!o.hide&&o.hasHorizontalScrollbar?(me(),it(h,{key:0,ref:"horizontalThumbRef",data:o.horizontalData,direction:"horizontal",both:o.isBoth,onScroll:o.handleHorizontalScroll},null,8,["data","both","onScroll"])):ut("v-if",!0),!o.hide&&o.hasVerticalScrollbar?(me(),it(h,{key:1,ref:"verticalThumbRef",data:o.verticalData,direction:"vertical",both:o.isBoth,onScroll:o.handleVerticalScroll},null,8,["data","both","onScroll"])):ut("v-if",!0)],6)}var S_=dt(LL,[["render",NL]]);const TI=Object.assign(S_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+S_.name,S_)}}),wL=o=>{const n=ge(),s=()=>Qv(n.value)?n.value.$refs[o]:n.value,l=ge();return Wt(()=>{l.value=s()}),Et([n],()=>{l.value=s()}),{componentRef:n,elementRef:l}};var ML=Object.defineProperty,M1=Object.getOwnPropertySymbols,DL=Object.prototype.hasOwnProperty,PL=Object.prototype.propertyIsEnumerable,D1=(o,n,s)=>n in o?ML(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,xL=(o,n)=>{for(var s in n||(n={}))DL.call(n,s)&&D1(o,s,n[s]);if(M1)for(var s of M1(n))PL.call(n,s)&&D1(o,s,n[s]);return o};const BL=o=>{const n=j(()=>!!o.value),s=j(()=>{if(o.value)return xL({type:"embed"},S0(o.value)?void 0:o.value)});return{displayScrollbar:n,scrollbarProps:s}},FL=Ke({name:"SelectDropdown",components:{ScrollbarComponent:TI,Empty:OL,Spin:SL},props:{loading:Boolean,empty:Boolean,virtualList:Boolean,bottomOffset:{type:Number,default:0},scrollbar:{type:[Boolean,Object],default:!0},onScroll:{type:[Function,Array]},onReachBottom:{type:[Function,Array]},showHeaderOnEmpty:{type:Boolean,default:!1},showFooterOnEmpty:{type:Boolean,default:!1}},emits:["scroll","reachBottom"],setup(o,{emit:n,slots:s}){var l,a,u;const{scrollbar:d}=Pt(o),h=ot("select-dropdown"),p=ho(sr,void 0),f=(u=(a=p==null?void 0:(l=p.slots).empty)==null?void 0:a.call(l,{component:"select"}))==null?void 0:u[0],{componentRef:T,elementRef:y}=wL("containerRef"),{displayScrollbar:k,scrollbarProps:P}=BL(d),x=ne=>{const{scrollTop:ie,scrollHeight:Z,offsetHeight:Y}=ne.target;Z-(ie+Y)<=o.bottomOffset&&n("reachBottom",ne),n("scroll",ne)},z=j(()=>[h,{[`${h}-has-header`]:!!s.header,[`${h}-has-footer`]:!!s.footer}]);return{prefixCls:h,SelectEmpty:f,cls:z,wrapperRef:y,wrapperComRef:T,handleScroll:x,displayScrollbar:k,scrollbarProps:P}}});function UL(o,n,s,l,a,u){const d=_t("spin");return me(),Be("div",{class:De(o.cls)},[o.$slots.header&&(!o.empty||o.showHeaderOnEmpty)?(me(),Be("div",{key:0,class:De(`${o.prefixCls}-header`)},[ct(o.$slots,"header")],2)):ut("v-if",!0),o.loading?(me(),it(d,{key:1,class:De(`${o.prefixCls}-loading`)},null,8,["class"])):o.empty?(me(),Be("div",{key:2,class:De(`${o.prefixCls}-empty`)},[ct(o.$slots,"empty",{},()=>[(me(),it(cn(o.SelectEmpty?o.SelectEmpty:"Empty")))])],2)):ut("v-if",!0),o.virtualList&&!o.loading&&!o.empty?ct(o.$slots,"virtual-list",{key:3}):ut("v-if",!0),o.virtualList?ut("v-if",!0):Kn((me(),it(cn(o.displayScrollbar?"ScrollbarComponent":"div"),Ot({key:4,ref:"wrapperComRef",class:`${o.prefixCls}-list-wrapper`},o.scrollbarProps,{onScroll:o.handleScroll}),{default:He(()=>[Ne("ul",{class:De(`${o.prefixCls}-list`)},[ct(o.$slots,"default")],2)]),_:3},16,["class","onScroll"])),[[qn,!o.loading&&!o.empty]]),o.$slots.footer&&(!o.empty||o.showFooterOnEmpty)?(me(),Be("div",{key:5,class:De(`${o.prefixCls}-footer`)},[ct(o.$slots,"footer")],2)):ut("v-if",!0)],2)}var HL=dt(FL,[["render",UL]]),P1=Ke({name:"IconCheck",render(){return J("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 1024 1024",width:"200",height:"200",fill:"currentColor"},[J("path",{d:"M877.44815445 206.10060629a64.72691371 64.72691371 0 0 0-95.14856334 4.01306852L380.73381888 685.46812814 235.22771741 533.48933518a64.72691371 64.72691371 0 0 0-92.43003222-1.03563036l-45.82665557 45.82665443a64.72691371 64.72691371 0 0 0-0.90617629 90.61767965l239.61903446 250.10479331a64.72691371 64.72691371 0 0 0 71.19960405 15.14609778 64.33855261 64.33855261 0 0 0 35.08198741-21.23042702l36.24707186-42.71976334 40.5190474-40.77795556-3.36579926-3.49525333 411.40426297-486.74638962a64.72691371 64.72691371 0 0 0-3.88361443-87.64024149l-45.3088404-45.43829334z","p-id":"840"},null)])}});const EI=Symbol("ArcoCheckboxGroup");var Au=Ke({name:"Checkbox",components:{IconCheck:P1,IconHover:oi},props:{modelValue:{type:[Boolean,Array],default:void 0},defaultChecked:{type:Boolean,default:!1},value:{type:[String,Number,Boolean]},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},uninjectGroupContext:{type:Boolean,default:!1}},emits:{"update:modelValue":o=>!0,change:(o,n)=>!0},setup(o,{emit:n,slots:s}){const{disabled:l,modelValue:a}=Pt(o),u=ot("checkbox"),d=ge(),h=o.uninjectGroupContext?void 0:ho(EI,void 0),p=(h==null?void 0:h.name)==="ArcoCheckboxGroup",{mergedDisabled:f,eventHandlers:T}=si({disabled:l}),y=ge(o.defaultChecked),k=j(()=>{var M;return p?h==null?void 0:h.computedValue:(M=o.modelValue)!=null?M:y.value}),P=j(()=>{var M;return jo(k.value)?k.value.includes((M=o.value)!=null?M:!0):k.value}),x=j(()=>(h==null?void 0:h.disabled)||(f==null?void 0:f.value)||!P.value&&(h==null?void 0:h.isMaxed)),z=M=>{M.stopPropagation()},ne=M=>{var L,S,F,W;const{checked:X}=M.target;let le=X;if(jo(k.value)){const $e=new Set(k.value);X?$e.add((L=o.value)!=null?L:!0):$e.delete((S=o.value)!=null?S:!0),le=Array.from($e)}y.value=X,p&&jo(le)?h==null||h.handleChange(le,M):(n("update:modelValue",le),n("change",le,M),(W=(F=T.value)==null?void 0:F.onChange)==null||W.call(F,M)),Io(()=>{d.value&&d.value.checked!==P.value&&(d.value.checked=P.value)})},ie=j(()=>[u,{[`${u}-checked`]:P.value,[`${u}-indeterminate`]:o.indeterminate,[`${u}-disabled`]:x.value}]),Z=M=>{var L,S;(S=(L=T.value)==null?void 0:L.onFocus)==null||S.call(L,M)},Y=M=>{var L,S;(S=(L=T.value)==null?void 0:L.onBlur)==null||S.call(L,M)};return Et(a,M=>{(rs(M)||ml(M))&&(y.value=!1)}),Et(k,M=>{var L;let S;jo(M)?S=M.includes((L=o.value)!=null?L:!0):S=M,y.value!==S&&(y.value=S),d.value&&d.value.checked!==S&&(d.value.checked=S)}),()=>{var M,L,S,F;return J("label",{"aria-disabled":x.value,class:ie.value},[J("input",{ref:d,type:"checkbox",checked:P.value,value:o.value,class:`${u}-target`,disabled:x.value,onClick:z,onChange:ne,onFocus:Z,onBlur:Y},null),(F=(S=(L=s.checkbox)!=null?L:(M=h==null?void 0:h.slots)==null?void 0:M.checkbox)==null?void 0:S({checked:P.value,disabled:x.value}))!=null?F:J(oi,{class:`${u}-icon-hover`,disabled:x.value||P.value},{default:()=>[J("div",{class:`${u}-icon`},[P.value&&J(P1,{class:`${u}-icon-check`},null)])]}),s.default&&J("span",{class:`${u}-label`},[s.default()])])}}}),R_=Ke({name:"CheckboxGroup",props:{modelValue:{type:Array,default:void 0},defaultValue:{type:Array,default:()=>[]},max:{type:Number},options:{type:Array},direction:{type:String,default:"horizontal"},disabled:{type:Boolean,default:!1}},emits:{"update:modelValue":o=>!0,change:(o,n)=>!0},setup(o,{emit:n,slots:s}){const{disabled:l}=Pt(o),a=ot("checkbox-group"),{mergedDisabled:u,eventHandlers:d}=si({disabled:l}),h=ge(o.defaultValue),p=j(()=>jo(o.modelValue)?o.modelValue:h.value),f=j(()=>o.max===void 0?!1:p.value.length>=o.max),T=j(()=>{var x;return((x=o.options)!=null?x:[]).map(z=>ki(z)||vt(z)?{label:z,value:z}:z)});hn(EI,qt({name:"ArcoCheckboxGroup",computedValue:p,disabled:u,isMaxed:f,slots:s,handleChange:(x,z)=>{var ne,ie;h.value=x,n("update:modelValue",x),n("change",x,z),(ie=(ne=d.value)==null?void 0:ne.onChange)==null||ie.call(ne,z)}}));const k=j(()=>[a,`${a}-direction-${o.direction}`]);Et(()=>o.modelValue,x=>{jo(x)?h.value=[...x]:h.value=[]});const P=()=>T.value.map(x=>{const z=p.value.includes(x.value);return J(Au,{key:x.value,value:x.value,disabled:x.disabled||!z&&f.value,indeterminate:x.indeterminate,modelValue:z},{default:()=>[s.label?s.label({data:x}):bo(x.label)?x.label():x.label]})});return()=>{var x;return J("span",{class:k.value},[T.value.length>0?P():(x=s.default)==null?void 0:x.call(s)])}}});const VL=Object.assign(Au,{Group:R_,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+Au.name,Au),o.component(s+R_.name,R_)}}),bI=Symbol("ArcoSelectContext");var GL=Object.defineProperty,WL=Object.defineProperties,zL=Object.getOwnPropertyDescriptors,x1=Object.getOwnPropertySymbols,XL=Object.prototype.hasOwnProperty,jL=Object.prototype.propertyIsEnumerable,B1=(o,n,s)=>n in o?GL(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,Tg=(o,n)=>{for(var s in n||(n={}))XL.call(n,s)&&B1(o,s,n[s]);if(x1)for(var s of x1(n))jL.call(n,s)&&B1(o,s,n[s]);return o},vI=(o,n)=>WL(o,zL(n));const YL=o=>ko(o)&&"isGroup"in o,II=o=>ko(o)&&"isGroup"in o,KL=(o,n="value")=>String(ko(o)?o[n]:o),xc=(o,n="value")=>ko(o)?`__arco__option__object__${o[n]}`:o||vt(o)||ki(o)?`__arco__option__${typeof o}-${o}`:"",QL=o=>o.has("__arco__option__string-"),qL=(o,{valueKey:n,fieldNames:s,origin:l,index:a=-1})=>{var u;if(ko(o)){const h=o[s.value];return{raw:o,index:a,key:xc(h,n),origin:l,value:h,label:(u=o[s.label])!=null?u:KL(h,n),render:o[s.render],disabled:!!o[s.disabled],tagProps:o[s.tagProps]}}const d={value:o,label:String(o),disabled:!1};return Tg({raw:d,index:a,key:xc(o,n),origin:l},d)},M0=(o,{valueKey:n,fieldNames:s,origin:l,optionInfoMap:a})=>{var u;const d=[];for(const h of o)if(YL(h)){const p=M0((u=h.options)!=null?u:[],{valueKey:n,fieldNames:s,origin:l,optionInfoMap:a});p.length>0&&d.push(vI(Tg({},h),{key:`__arco__group__${h.label}`,options:p}))}else{const p=qL(h,{valueKey:n,fieldNames:s,origin:l});d.push(p),a.get(p.key)||a.set(p.key,p)}return d},F1=(o,{inputValue:n,filterOption:s})=>{const l=a=>{var u;const d=[];for(const h of a)if(II(h)){const p=l((u=h.options)!=null?u:[]);p.length>0&&d.push(vI(Tg({},h),{options:p}))}else hd(h,{inputValue:n,filterOption:s})&&d.push(h);return d};return l(o)},hd=(o,{inputValue:n,filterOption:s})=>bo(s)?!n||s(n,o.raw):s?o.label.toLowerCase().includes((n??"").toLowerCase()):!0,JL=(o,n)=>{if(!o||!n||o.length!==n.length)return!1;for(const s of Object.keys(o))if(!Eg(o[s],n[s]))return!1;return!0},ZL=(o,n)=>{if(!o||!n)return!1;const{length:s}=o;if(s!==n.length)return!1;for(let l=0;l{const s=Object.prototype.toString.call(o);return s!==Object.prototype.toString.call(n)?!1:s==="[object Object]"?JL(o,n):s==="[object Array]"?ZL(o,n):s==="[object Function]"?o===n?!0:o.toString()===n.toString():o===n},eN=Ke({name:"Option",components:{Checkbox:VL},props:{value:[String,Number,Object],label:String,disabled:Boolean,tagProps:{type:Object},extra:{type:Object},index:{type:Number},internal:Boolean},setup(o){const{disabled:n,tagProps:s,index:l}=Pt(o),a=ot("select-option"),u=ho(bI,void 0),d=fl(),h=ge(),p=ge(s.value);Et(s,(S,F)=>{Eg(S,F)||(p.value=S)});const f=ge(""),T=j(()=>{var S,F;return(F=(S=o.value)!=null?S:o.label)!=null?F:f.value}),y=j(()=>{var S;return(S=o.label)!=null?S:f.value}),k=j(()=>xc(T.value,u==null?void 0:u.valueKey)),P=j(()=>{var S;return(S=u==null?void 0:u.component)!=null?S:"li"}),x=()=>{var S;if(!o.label&&h.value){const F=(S=h.value.textContent)!=null?S:"";f.value!==F&&(f.value=F)}};Wt(()=>x()),gl(()=>x());const z=j(()=>{var S;return(S=u==null?void 0:u.valueKeys.includes(k.value))!=null?S:!1}),ne=j(()=>(u==null?void 0:u.activeKey)===k.value);let ie=ge(!0);if(!o.internal){const S=qt({raw:{value:T,label:y,disabled:n,tagProps:p},ref:h,index:l,key:k,origin:"slot",value:T,label:y,disabled:n,tagProps:p});ie=j(()=>hd(S,{inputValue:u==null?void 0:u.inputValue,filterOption:u==null?void 0:u.filterOption})),d&&(u==null||u.addSlotOptionInfo(d.uid,S)),Ri(()=>{d&&(u==null||u.removeSlotOptionInfo(d.uid))})}const Z=S=>{o.disabled||u==null||u.onSelect(k.value,S)},Y=()=>{o.disabled||u==null||u.setActiveKey(k.value)},M=()=>{o.disabled||u==null||u.setActiveKey()},L=j(()=>[a,{[`${a}-disabled`]:o.disabled,[`${a}-active`]:ne.value,[`${a}-multiple`]:u==null?void 0:u.multiple}]);return{prefixCls:a,cls:L,selectCtx:u,itemRef:h,component:P,isSelected:z,isValid:ie,handleClick:Z,handleMouseEnter:Y,handleMouseLeave:M}}});function tN(o,n,s,l,a,u){const d=_t("checkbox");return Kn((me(),it(cn(o.component),{ref:"itemRef",class:De([o.cls,{[`${o.prefixCls}-has-suffix`]:!!o.$slots.suffix}]),onClick:o.handleClick,onMouseenter:o.handleMouseEnter,onMouseleave:o.handleMouseLeave},{default:He(()=>[o.$slots.icon?(me(),Be("span",{key:0,class:De(`${o.prefixCls}-icon`)},[ct(o.$slots,"icon")],2)):ut("v-if",!0),o.selectCtx&&o.selectCtx.multiple?(me(),it(d,{key:1,class:De(`${o.prefixCls}-checkbox`),"model-value":o.isSelected,disabled:o.disabled,"uninject-group-context":""},{default:He(()=>[ct(o.$slots,"default",{},()=>[Zt(Ci(o.label),1)])]),_:3},8,["class","model-value","disabled"])):(me(),Be("span",{key:2,class:De(`${o.prefixCls}-content`)},[ct(o.$slots,"default",{},()=>[Zt(Ci(o.label),1)])],2)),o.$slots.suffix?(me(),Be("span",{key:3,class:De(`${o.prefixCls}-suffix`)},[ct(o.$slots,"suffix")],2)):ut("v-if",!0)]),_:3},8,["class","onClick","onMouseenter","onMouseleave"])),[[qn,o.isValid]])}var Cc=dt(eN,[["render",tN]]),oN=Object.defineProperty,sN=Object.defineProperties,iN=Object.getOwnPropertyDescriptors,U1=Object.getOwnPropertySymbols,nN=Object.prototype.hasOwnProperty,rN=Object.prototype.propertyIsEnumerable,H1=(o,n,s)=>n in o?oN(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,k_=(o,n)=>{for(var s in n||(n={}))nN.call(n,s)&&H1(o,s,n[s]);if(U1)for(var s of U1(n))rN.call(n,s)&&H1(o,s,n[s]);return o},lN=(o,n)=>sN(o,iN(n));const cN={value:"value",label:"label",disabled:"disabled",tagProps:"tagProps",render:"render"},aN=({options:o,extraOptions:n,inputValue:s,filterOption:l,showExtraOptions:a,valueKey:u,fieldNames:d})=>{const h=j(()=>k_(k_({},cN),d==null?void 0:d.value)),p=qt(new Map),f=j(()=>Array.from(p.values()).sort((Y,M)=>vt(Y.index)&&vt(M.index)?Y.index-M.index:0)),T=j(()=>{var Y,M;const L=new Map;return{optionInfos:M0((Y=o==null?void 0:o.value)!=null?Y:[],{valueKey:(M=u==null?void 0:u.value)!=null?M:"value",fieldNames:h.value,origin:"options",optionInfoMap:L}),optionInfoMap:L}}),y=j(()=>{var Y,M;const L=new Map;return{optionInfos:M0((Y=n==null?void 0:n.value)!=null?Y:[],{valueKey:(M=u==null?void 0:u.value)!=null?M:"value",fieldNames:h.value,origin:"extraOptions",optionInfoMap:L}),optionInfoMap:L}}),k=qt(new Map);Et([f,o??ge([]),n??ge([]),u??ge("value")],()=>{k.clear(),f.value.forEach((Y,M)=>{k.set(Y.key,lN(k_({},Y),{index:M}))}),T.value.optionInfoMap.forEach(Y=>{k.has(Y.key)||(Y.index=k.size,k.set(Y.key,Y))}),y.value.optionInfoMap.forEach(Y=>{k.has(Y.key)||(Y.index=k.size,k.set(Y.key,Y))})},{immediate:!0,deep:!0});const P=j(()=>{var Y;const M=F1(T.value.optionInfos,{inputValue:s==null?void 0:s.value,filterOption:l==null?void 0:l.value});return((Y=a==null?void 0:a.value)==null||Y)&&M.push(...F1(y.value.optionInfos,{inputValue:s==null?void 0:s.value,filterOption:l==null?void 0:l.value})),M}),x=j(()=>Array.from(k.values()).filter(Y=>Y.origin==="extraOptions"&&(a==null?void 0:a.value)===!1?!1:hd(Y,{inputValue:s==null?void 0:s.value,filterOption:l==null?void 0:l.value}))),z=j(()=>x.value.filter(Y=>!Y.disabled).map(Y=>Y.key));return{validOptions:P,optionInfoMap:k,validOptionInfos:x,enabledOptionKeys:z,getNextSlotOptionIndex:()=>p.size,addSlotOptionInfo:(Y,M)=>{p.set(Y,M)},removeSlotOptionInfo:Y=>{p.delete(Y)}}},Ss={ENTER:"Enter",ESC:"Escape",BACKSPACE:"Backspace",TAB:"Tab",SPACE:" ",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight"},V1=o=>JSON.stringify({key:o.key,ctrl:!!o.ctrl,shift:!!o.shift,alt:!!o.alt,meta:!!o.meta}),uN=o=>{const n={};return o.forEach((s,l)=>{const a=ki(l)?{key:l}:l;n[V1(a)]=s}),s=>{const l=V1({key:s.key,ctrl:s.ctrlKey,shift:s.shiftKey,alt:s.altKey,meta:s.metaKey}),a=n[l];a&&(s.stopPropagation(),a(s))}},dN=({multiple:o,options:n,extraOptions:s,inputValue:l,filterOption:a,showExtraOptions:u,component:d,valueKey:h,fieldNames:p,loading:f,popupVisible:T,valueKeys:y,dropdownRef:k,optionRefs:P,virtualListRef:x,onSelect:z,onPopupVisibleChange:ne,enterToOpen:ie=!0,defaultActiveFirstOption:Z})=>{const{validOptions:Y,optionInfoMap:M,validOptionInfos:L,enabledOptionKeys:S,getNextSlotOptionIndex:F,addSlotOptionInfo:W,removeSlotOptionInfo:X}=aN({options:n,extraOptions:s,inputValue:l,filterOption:a,showExtraOptions:u,valueKey:h,fieldNames:p}),le=ge();Et(S,re=>{(!le.value||!re.includes(le.value))&&(le.value=re[0])});const $e=re=>{le.value=re},he=re=>{const Ie=S.value.length;if(Ie===0)return;if(!le.value)return re==="down"?S.value[0]:S.value[Ie-1];const D=S.value.indexOf(le.value),B=(Ie+D+(re==="up"?-1:1))%Ie;return S.value[B]},fe=re=>{var Ie,D;x!=null&&x.value&&x.value.scrollTo({key:re});const B=M.get(re),ae=(Ie=k==null?void 0:k.value)==null?void 0:Ie.wrapperRef,_e=(D=P==null?void 0:P.value[re])!=null?D:B==null?void 0:B.ref;if(!ae||!_e||ae.scrollHeight===ae.offsetHeight)return;const Me=Ok(_e,ae),Xe=ae.scrollTop;Me.top<0?ae.scrollTo(0,Xe+Me.top):Me.bottom<0&&ae.scrollTo(0,Xe-Me.bottom)};Et(T,re=>{var Ie;if(re){const D=y.value[y.value.length-1];let B=(Ie=Z==null?void 0:Z.value)==null||Ie?S.value[0]:void 0;S.value.includes(D)&&(B=D),B!==le.value&&(le.value=B),Io(()=>{le.value&&fe(le.value)})}});const ke=uN(new Map([[Ss.ENTER,re=>{!(f!=null&&f.value)&&!re.isComposing&&(T.value?le.value&&(z(le.value,re),re.preventDefault()):ie&&(ne(!0),re.preventDefault()))}],[Ss.ESC,re=>{T.value&&(ne(!1),re.preventDefault())}],[Ss.ARROW_DOWN,re=>{if(T.value){const Ie=he("down");Ie&&(le.value=Ie,fe(Ie)),re.preventDefault()}}],[Ss.ARROW_UP,re=>{if(T.value){const Ie=he("up");Ie&&(le.value=Ie,fe(Ie)),re.preventDefault()}}]]));return hn(bI,qt({multiple:o,valueKey:h,inputValue:l,filterOption:a,component:d,valueKeys:y,activeKey:le,setActiveKey:$e,onSelect:z,getNextSlotOptionIndex:F,addSlotOptionInfo:W,removeSlotOptionInfo:X})),{validOptions:Y,optionInfoMap:M,validOptionInfos:L,enabledOptionKeys:S,activeKey:le,setActiveKey:$e,addSlotOptionInfo:W,removeSlotOptionInfo:X,getNextActiveKey:he,scrollIntoView:fe,handleKeyDown:ke}},hN=({dataKeys:o,contentRef:n,fixedSize:s,estimatedSize:l,buffer:a})=>{const u=ge(0),d=new Map,h=j(()=>o.value.length),p=ge(0),f=j(()=>{const F=p.value+a.value*3;return F>h.value?h.value:F}),T=j(()=>{const F=h.value-a.value*3;return F<0?0:F}),y=F=>{F<0?p.value=0:F>T.value?p.value=T.value:p.value=F},k=ge(s.value),P=j(()=>l.value!==30?l.value:u.value||l.value),x=(F,W)=>{d.set(F,W)},z=F=>{var W;if(k.value)return P.value;const X=o.value[F];return(W=d.get(X))!=null?W:P.value},ne=F=>d.has(F);Wt(()=>{const F=Array.from(d.values()).reduce((W,X)=>W+X,0);F>0&&(u.value=F/d.size)});const ie=F=>k.value?P.value*F:Z(0,F),Z=(F,W)=>{let X=0;for(let le=F;lek.value?P.value*p.value:Z(0,p.value)),M=F=>{const W=F>=Y.value;let X=Math.abs(F-Y.value);const le=W?p.value:p.value-1;let $e=0;for(;X>0;)X-=z(le+$e),W?$e++:$e--;return $e},L=F=>{const W=M(F),X=p.value+W-a.value;return X<0?0:X>T.value?T.value:X},S=j(()=>k.value?P.value*(h.value-f.value):Z(f.value,h.value));return{frontPadding:Y,behindPadding:S,start:p,end:f,getStartByScroll:L,setItemSize:x,hasItemSize:ne,setStart:y,getScrollOffset:ie}};var pN=Ke({name:"VirtualListItem",props:{hasItemSize:{type:Function,required:!0},setItemSize:{type:Function,required:!0}},setup(o,{slots:n}){var s;const l=(s=fl())==null?void 0:s.vnode.key,a=ge(),u=()=>{var d,h,p,f;const T=(h=(d=a.value)==null?void 0:d.$el)!=null?h:a.value,y=(f=(p=T==null?void 0:T.getBoundingClientRect)==null?void 0:p.call(T).height)!=null?f:T==null?void 0:T.offsetHeight;y&&o.setItemSize(l,y)};return Wt(()=>u()),Ri(()=>u()),()=>{var d;const h=rl((d=n.default)==null?void 0:d.call(n));return h?gs(h,{ref:a},!0):null}}}),$N=Object.defineProperty,G1=Object.getOwnPropertySymbols,_N=Object.prototype.hasOwnProperty,gN=Object.prototype.propertyIsEnumerable,W1=(o,n,s)=>n in o?$N(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,fN=(o,n)=>{for(var s in n||(n={}))_N.call(n,s)&&W1(o,s,n[s]);if(G1)for(var s of G1(n))gN.call(n,s)&&W1(o,s,n[s]);return o};const mN=Ke({name:"VirtualList",components:{VirtualListItem:pN},props:{height:{type:[Number,String],default:200},data:{type:Array,default:()=>[]},threshold:{type:Number,default:0},itemKey:{type:String,default:"key"},fixedSize:{type:Boolean,default:!1},estimatedSize:{type:Number,default:30},buffer:{type:Number,default:10},component:{type:[String,Object],default:"div"},listAttrs:{type:Object},contentAttrs:{type:Object},paddingPosition:{type:String,default:"content"}},emits:{scroll:o=>!0,reachBottom:o=>!0},setup(o,{emit:n}){const{data:s,itemKey:l,fixedSize:a,estimatedSize:u,buffer:d,height:h}=Pt(o),p=ot("virtual-list"),f=j(()=>ko(o.component)?fN({container:"div",list:"div",content:"div"},o.component):{container:o.component,list:"div",content:"div"}),T=ge(),y=ge(),k=j(()=>({height:vt(h.value)?`${h.value}px`:h.value,overflow:"auto"})),P=j(()=>s.value.map((he,fe)=>{var ke;return(ke=he[l.value])!=null?ke:fe})),{frontPadding:x,behindPadding:z,start:ne,end:ie,getStartByScroll:Z,setItemSize:Y,hasItemSize:M,setStart:L,getScrollOffset:S}=hN({dataKeys:P,contentRef:y,fixedSize:a,estimatedSize:u,buffer:d}),F=ge(!0),W=qt({scrollTop:0,scrollHeight:0});Et(P,()=>{F.value=!1});const X=j(()=>o.threshold&&s.value.length<=o.threshold?s.value:s.value.slice(ne.value,ie.value)),le=he=>{const{scrollTop:fe,scrollHeight:ke,offsetHeight:re}=he.target;if(F.value){W.scrollTop=fe,W.scrollHeight=ke;const Ie=Z(fe);Ie!==ne.value&&L(Ie),n("scroll",he),Math.floor(ke-(fe+re))<=0&&n("reachBottom",he)}else ke!==W.scrollHeight&&(F.value=!0,setTimeout(()=>{$e(W.scrollTop)},10)),$e(W.scrollTop)},$e=he=>{var fe,ke;if(T.value)if(vt(he))T.value.scrollTop=he;else{const re=(ke=he.index)!=null?ke:P.value.indexOf((fe=he.key)!=null?fe:"");L(re-d.value),T.value.scrollTop=S(re),Io(()=>{if(T.value){const Ie=S(re);Ie!==T.value.scrollTop&&(T.value.scrollTop=Ie)}})}};return{prefixCls:p,containerRef:T,contentRef:y,frontPadding:x,currentList:X,behindPadding:z,onScroll:le,setItemSize:Y,hasItemSize:M,start:ne,scrollTo:$e,style:k,mergedComponent:f}}});function TN(o,n,s,l,a,u){const d=_t("VirtualListItem");return me(),it(cn(o.mergedComponent.container),{ref:"containerRef",class:De(o.prefixCls),style:It(o.style),onScroll:o.onScroll},{default:He(()=>[(me(),it(cn(o.mergedComponent.list),Ot(o.listAttrs,{style:o.paddingPosition==="list"?{paddingTop:`${o.frontPadding}px`,paddingBottom:`${o.behindPadding}px`}:{}}),{default:He(()=>[(me(),it(cn(o.mergedComponent.content),Ot({ref:"contentRef"},o.contentAttrs,{style:o.paddingPosition==="content"?{paddingTop:`${o.frontPadding}px`,paddingBottom:`${o.behindPadding}px`}:{}}),{default:He(()=>[(me(!0),Be(Gt,null,sd(o.currentList,(h,p)=>{var f;return me(),it(d,{key:(f=h[o.itemKey])!=null?f:o.start+p,"has-item-size":o.hasItemSize,"set-item-size":o.setItemSize},{default:He(()=>[ct(o.$slots,"item",{item:h,index:o.start+p})]),_:2},1032,["has-item-size","set-item-size"])}),128))]),_:3},16,["style"]))]),_:3},16,["style"]))]),_:3},8,["class","style","onScroll"])}var EN=dt(mN,[["render",TN]]);const bN=Ke({name:"IconDown",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-down`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),vN=["stroke-width","stroke-linecap","stroke-linejoin"],IN=Ne("path",{d:"M39.6 17.443 24.043 33 8.487 17.443"},null,-1),ON=[IN];function CN(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},ON,14,vN)}var A_=dt(bN,[["render",CN]]);const yN=Object.assign(A_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+A_.name,A_)}}),SN=Symbol("ArcoDropdown"),RN=({popupVisible:o,defaultPopupVisible:n,emit:s})=>{var l;const a=ge((l=n==null?void 0:n.value)!=null?l:!1),u=j(()=>{var h;return(h=o==null?void 0:o.value)!=null?h:a.value}),d=h=>{h!==u.value&&(a.value=h,s("update:popupVisible",h),s("popupVisibleChange",h))};return Et(u,h=>{a.value!==h&&(a.value=h)}),{computedPopupVisible:u,handlePopupVisibleChange:d}},kN=Ke({name:"Doption",props:{value:{type:[String,Number,Object]},disabled:{type:Boolean,default:!1},active:Boolean,uninjectContext:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("dropdown-option"),l=ge(),a=j(()=>{var p,f,T;return(T=(f=o.value)!=null?f:(p=l.value)==null?void 0:p.textContent)!=null?T:void 0}),u=o.uninjectContext?void 0:ho(SN,void 0),d=p=>{o.disabled||(n("click",p),u==null||u.onOptionClick(a.value,p))},h=j(()=>[s,{[`${s}-disabled`]:o.disabled,[`${s}-active`]:o.active}]);return{prefixCls:s,cls:h,liRef:l,handleClick:d}}});function AN(o,n,s,l,a,u){return me(),Be("li",{ref:"liRef",class:De([o.cls,{[`${o.prefixCls}-has-suffix`]:!!o.$slots.suffix}]),onClick:n[0]||(n[0]=(...d)=>o.handleClick&&o.handleClick(...d))},[o.$slots.icon?(me(),Be("span",{key:0,class:De(`${o.prefixCls}-icon`)},[ct(o.$slots,"icon")],2)):ut("v-if",!0),Ne("span",{class:De(`${o.prefixCls}-content`)},[ct(o.$slots,"default")],2),o.$slots.suffix?(me(),Be("span",{key:1,class:De(`${o.prefixCls}-suffix`)},[ct(o.$slots,"suffix")],2)):ut("v-if",!0)],2)}var LN=dt(kN,[["render",AN]]);const NN=Ke({name:"IconRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-right`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),wN=["stroke-width","stroke-linecap","stroke-linejoin"],MN=Ne("path",{d:"m16 39.513 15.556-15.557L16 8.4"},null,-1),DN=[MN];function PN(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},DN,14,wN)}var L_=dt(NN,[["render",PN]]);const OI=Object.assign(L_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+L_.name,L_)}});var Do=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function CI(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}const xN=({defaultValue:o,modelValue:n,emit:s,eventName:l="input",updateEventName:a="update:modelValue",eventHandlers:u})=>{var d;const h=ge(),p=ge((d=o==null?void 0:o.value)!=null?d:""),f=ge(!1),T=ge(!1),y=ge("");let k;const P=j(()=>{var S;return(S=n==null?void 0:n.value)!=null?S:p.value}),x=(S,F)=>{p.value=S,s(a,S),s(l,S,F)},z=S=>{const{value:F}=S.target;T.value||(x(F,S),Io(()=>{h.value&&P.value!==h.value.value&&(h.value.value=P.value)}))},ne=S=>{l==="input"&&P.value!==k&&(k=P.value,s("change",P.value,S))},ie=S=>{var F;const{value:W}=S.target;S.type==="compositionend"?(T.value=!1,y.value="",x(W,S),Io(()=>{h.value&&P.value!==h.value.value&&(h.value.value=P.value)})):(T.value=!0,y.value=P.value+((F=S.data)!=null?F:""))},Z=S=>{var F,W;f.value=!0,k=P.value,s("focus",S),(W=(F=u==null?void 0:u.value)==null?void 0:F.onFocus)==null||W.call(F,S)},Y=S=>{var F,W;f.value=!1,s("blur",S),(W=(F=u==null?void 0:u.value)==null?void 0:F.onBlur)==null||W.call(F,S),ne(S)},M=S=>{const F=S.key||S.code;!T.value&&F===gg.key&&(s("pressEnter",S),ne(S))},L=S=>{h.value&&S.target!==h.value&&(S.preventDefault(),h.value.focus())};return Et(P,S=>{h.value&&S!==h.value.value&&(h.value.value=S)}),{inputRef:h,_value:p,_focused:f,isComposition:T,compositionValue:y,computedValue:P,handleInput:z,handleComposition:ie,handleFocus:Z,handleBlur:Y,handleKeyDown:M,handleMousedown:L}};var BN=Ke({name:"InputLabel",inheritAttrs:!1,props:{modelValue:Object,inputValue:{type:String,default:""},enabledInput:Boolean,formatLabel:Function,placeholder:String,retainInputValue:Boolean,disabled:Boolean,baseCls:String,size:String,error:Boolean,focused:Boolean,uninjectFormItemContext:Boolean},emits:["update:inputValue","inputValueChange","focus","blur"],setup(o,{attrs:n,emit:s,slots:l}){var a;const{size:u,disabled:d,error:h,inputValue:p,uninjectFormItemContext:f}=Pt(o),T=(a=o.baseCls)!=null?a:ot("input-label"),{mergedSize:y,mergedDisabled:k,mergedError:P,eventHandlers:x}=si({size:u,disabled:d,error:h,uninject:f==null?void 0:f.value}),{mergedSize:z}=nr(y),{inputRef:ne,_focused:ie,computedValue:Z,handleInput:Y,handleComposition:M,handleFocus:L,handleBlur:S,handleMousedown:F}=xN({modelValue:p,emit:s,eventName:"inputValueChange",updateEventName:"update:inputValue",eventHandlers:x}),W=j(()=>{var D;return(D=o.focused)!=null?D:ie.value}),X=j(()=>o.enabledInput&&ie.value||!o.modelValue),le=()=>{var D,B;return o.modelValue?(B=(D=o.formatLabel)==null?void 0:D.call(o,o.modelValue))!=null?B:o.modelValue.label:""},$e=j(()=>o.enabledInput&&o.modelValue?le():o.placeholder),he=()=>{var D,B;return o.modelValue?(B=(D=l.default)==null?void 0:D.call(l,{data:o.modelValue}))!=null?B:le():null},fe=j(()=>[T,`${T}-size-${z.value}`,{[`${T}-search`]:o.enabledInput,[`${T}-focus`]:W.value,[`${T}-disabled`]:k.value,[`${T}-error`]:P.value}]),ke=j(()=>Hc(n,dl)),re=j(()=>fg(n,dl));return{inputRef:ne,render:()=>J("span",Ot(ke.value,{class:fe.value,title:le(),onMousedown:F}),[l.prefix&&J("span",{class:`${T}-prefix`},[l.prefix()]),J("input",Ot(re.value,{ref:ne,class:[`${T}-input`,{[`${T}-input-hidden`]:!X.value}],value:Z.value,readonly:!o.enabledInput,placeholder:$e.value,disabled:k.value,onInput:Y,onFocus:L,onBlur:S,onCompositionstart:M,onCompositionupdate:M,onCompositionend:M}),null),J("span",{class:[`${T}-value`,{[`${T}-value-hidden`]:X.value}]},[he()]),l.suffix&&J("span",{class:`${T}-suffix`},[l.suffix()])])}},methods:{focus(){var o;(o=this.inputRef)==null||o.focus()},blur(){var o;(o=this.inputRef)==null||o.blur()}},render(){return this.render()}}),FN=Object.defineProperty,z1=Object.getOwnPropertySymbols,UN=Object.prototype.hasOwnProperty,HN=Object.prototype.propertyIsEnumerable,X1=(o,n,s)=>n in o?FN(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,VN=(o,n)=>{for(var s in n||(n={}))UN.call(n,s)&&X1(o,s,n[s]);if(z1)for(var s of z1(n))HN.call(n,s)&&X1(o,s,n[s]);return o};const GN=(o,n)=>{const s=[];for(const l of o)if(ko(l))s.push({raw:l,value:l[n.value],label:l[n.label],closable:l[n.closable],tagProps:l[n.tagProps]});else if(o||vt(o)){const a={value:l,label:String(l),closable:!0};s.push(VN({raw:a},a))}return s},j1=["red","orangered","orange","gold","lime","green","cyan","blue","arcoblue","purple","pinkpurple","magenta","gray"],WN=Ke({name:"Tag",components:{IconHover:oi,IconClose:Tl,IconLoading:ir},props:{color:{type:String},size:{type:String},bordered:{type:Boolean,default:!1},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},checkable:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!0}},emits:{"update:visible":o=>!0,"update:checked":o=>!0,close:o=>!0,check:(o,n)=>!0},setup(o,{emit:n}){const{size:s}=Pt(o),l=ot("tag"),a=j(()=>o.color&&j1.includes(o.color)),u=j(()=>o.color&&!j1.includes(o.color)),d=ge(o.defaultVisible),h=ge(o.defaultChecked),p=j(()=>{var ne;return(ne=o.visible)!=null?ne:d.value}),f=j(()=>{var ne;return o.checkable?(ne=o.checked)!=null?ne:h.value:!0}),{mergedSize:T}=nr(s),y=j(()=>T.value==="mini"?"small":T.value),k=ne=>{d.value=!1,n("update:visible",!1),n("close",ne)},P=ne=>{if(o.checkable){const ie=!f.value;h.value=ie,n("update:checked",ie),n("check",ie,ne)}},x=j(()=>[l,`${l}-size-${y.value}`,{[`${l}-loading`]:o.loading,[`${l}-hide`]:!p.value,[`${l}-${o.color}`]:a.value,[`${l}-bordered`]:o.bordered,[`${l}-checkable`]:o.checkable,[`${l}-checked`]:f.value,[`${l}-custom-color`]:u.value}]),z=j(()=>{if(u.value)return{backgroundColor:o.color}});return{prefixCls:l,cls:x,style:z,computedVisible:p,computedChecked:f,handleClick:P,handleClose:k}}});function zN(o,n,s,l,a,u){const d=_t("icon-close"),h=_t("icon-hover"),p=_t("icon-loading");return o.computedVisible?(me(),Be("span",{key:0,class:De(o.cls),style:It(o.style),onClick:n[0]||(n[0]=(...f)=>o.handleClick&&o.handleClick(...f))},[o.$slots.icon?(me(),Be("span",{key:0,class:De(`${o.prefixCls}-icon`)},[ct(o.$slots,"icon")],2)):ut("v-if",!0),ct(o.$slots,"default"),o.closable?(me(),it(h,{key:1,role:"button","aria-label":"Close",prefix:o.prefixCls,class:De(`${o.prefixCls}-close-btn`),onClick:er(o.handleClose,["stop"])},{default:He(()=>[ct(o.$slots,"close-icon",{},()=>[J(d)])]),_:3},8,["prefix","class","onClick"])):ut("v-if",!0),o.loading?(me(),Be("span",{key:2,class:De(`${o.prefixCls}-loading-icon`)},[J(p)],2)):ut("v-if",!0)],6)):ut("v-if",!0)}var N_=dt(WN,[["render",zN]]);const XN=Object.assign(N_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+N_.name,N_)}});var jN=Object.defineProperty,Y1=Object.getOwnPropertySymbols,YN=Object.prototype.hasOwnProperty,KN=Object.prototype.propertyIsEnumerable,K1=(o,n,s)=>n in o?jN(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,bu=(o,n)=>{for(var s in n||(n={}))YN.call(n,s)&&K1(o,s,n[s]);if(Y1)for(var s of Y1(n))KN.call(n,s)&&K1(o,s,n[s]);return o};const QN={value:"value",label:"label",closable:"closable",tagProps:"tagProps"};var w_=Ke({name:"InputTag",inheritAttrs:!1,props:{modelValue:{type:Array},defaultValue:{type:Array,default:()=>[]},inputValue:String,defaultInputValue:{type:String,default:""},placeholder:String,disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},size:{type:String},maxTagCount:{type:Number,default:0},retainInputValue:{type:[Boolean,Object],default:!1},formatTag:{type:Function},uniqueValue:{type:Boolean,default:!1},fieldNames:{type:Object},baseCls:String,focused:Boolean,disabledInput:Boolean,uninjectFormItemContext:Boolean},emits:{"update:modelValue":o=>!0,"update:inputValue":o=>!0,change:(o,n)=>!0,inputValueChange:(o,n)=>!0,pressEnter:(o,n)=>!0,remove:(o,n)=>!0,clear:o=>!0,focus:o=>!0,blur:o=>!0},setup(o,{emit:n,slots:s,attrs:l}){const{size:a,disabled:u,error:d,uninjectFormItemContext:h,modelValue:p}=Pt(o),f=o.baseCls||ot("input-tag"),T=ge(),y=ge(),{mergedSize:k,mergedDisabled:P,mergedError:x,feedback:z,eventHandlers:ne}=si({size:a,disabled:u,error:d,uninject:h==null?void 0:h.value}),{mergedSize:ie}=nr(k),Z=j(()=>bu(bu({},QN),o.fieldNames)),Y=ge(!1),M=ge(o.defaultValue),L=ge(o.defaultInputValue),S=ge(!1),F=ge(""),W=j(()=>ko(o.retainInputValue)?bu({create:!1,blur:!1},o.retainInputValue):{create:o.retainInputValue,blur:o.retainInputValue}),X=qt({width:"12px"}),le=j(()=>o.focused||Y.value),$e=(A,K)=>{L.value=A,n("update:inputValue",A),n("inputValueChange",A,K)},he=A=>{var K;const{value:U}=A.target;A.type==="compositionend"?(S.value=!1,F.value="",$e(U,A),Io(()=>{T.value&&ke.value!==T.value.value&&(T.value.value=ke.value)})):(S.value=!0,F.value=ke.value+((K=A.data)!=null?K:""))},fe=j(()=>{var A;return(A=o.modelValue)!=null?A:M.value}),ke=j(()=>{var A;return(A=o.inputValue)!=null?A:L.value});Et(p,A=>{(rs(A)||ml(A))&&(M.value=[])});const re=A=>{T.value&&A.target!==T.value&&(A.preventDefault(),T.value.focus())},Ie=A=>{const{value:K}=A.target;S.value||($e(K,A),Io(()=>{T.value&&ke.value!==T.value.value&&(T.value.value=ke.value)}))},D=j(()=>GN(fe.value,Z.value)),B=j(()=>{if(o.maxTagCount>0){const A=D.value.length-o.maxTagCount;if(A>0){const K=D.value.slice(0,o.maxTagCount),U={value:"__arco__more",label:`+${A}...`,closable:!1};return K.push(bu({raw:U},U)),K}}return D.value}),ae=(A,K)=>{var U,de;M.value=A,n("update:modelValue",A),n("change",A,K),(de=(U=ne.value)==null?void 0:U.onChange)==null||de.call(U,K)},_e=(A,K,U)=>{var de;const Te=(de=fe.value)==null?void 0:de.filter((oe,Ce)=>Ce!==K);ae(Te,U),n("remove",A,U)},Me=A=>{ae([],A),n("clear",A)},Xe=j(()=>!P.value&&!o.readonly&&o.allowClear&&!!fe.value.length),Je=A=>{var K;if(ke.value){if(A.preventDefault(),o.uniqueValue&&((K=fe.value)!=null&&K.includes(ke.value))){n("pressEnter",ke.value,A);return}const U=fe.value.concat(ke.value);ae(U,A),n("pressEnter",ke.value,A),W.value.create||$e("",A)}},we=A=>{var K,U;Y.value=!0,n("focus",A),(U=(K=ne.value)==null?void 0:K.onFocus)==null||U.call(K,A)},We=A=>{var K,U;Y.value=!1,!W.value.blur&&ke.value&&$e("",A),n("blur",A),(U=(K=ne.value)==null?void 0:K.onBlur)==null||U.call(K,A)},Ze=()=>{for(let A=D.value.length-1;A>=0;A--)if(D.value[A].closable)return A;return-1},nt=A=>{const K=A.key||A.code;if(!S.value&&ke.value&&K===gg.key&&Je(A),!S.value&&B.value.length>0&&!ke.value&&K===aA.key){const U=Ze();U>=0&&_e(D.value[U].value,U,A)}},ht=A=>{A>12?X.width=`${A}px`:X.width="12px"};Wt(()=>{y.value&&ht(y.value.offsetWidth)});const et=()=>{y.value&&ht(y.value.offsetWidth)};Et(ke,A=>{T.value&&!S.value&&A!==T.value.value&&(T.value.value=A)});const Pe=j(()=>[f,`${f}-size-${ie.value}`,{[`${f}-disabled`]:P.value,[`${f}-disabled-input`]:o.disabledInput,[`${f}-error`]:x.value,[`${f}-focus`]:le.value,[`${f}-readonly`]:o.readonly,[`${f}-has-tag`]:B.value.length>0,[`${f}-has-prefix`]:!!s.prefix,[`${f}-has-suffix`]:!!s.suffix||Xe.value||z.value,[`${f}-has-placeholder`]:!fe.value.length}]),w=j(()=>Hc(l,dl)),I=j(()=>fg(l,dl));return{inputRef:T,render:()=>{var A;return J("span",Ot({class:Pe.value,onMousedown:re},w.value),[J(lI,{onResize:et},{default:()=>[J("span",{ref:y,class:`${f}-mirror`},[B.value.length>0?F.value||ke.value:F.value||ke.value||o.placeholder])]}),s.prefix&&J("span",{class:`${f}-prefix`},[s.prefix()]),J(w3,{tag:"span",name:"input-tag-zoom",class:`${f}-inner`},{default:()=>[B.value.map((K,U)=>J(XN,Ot({key:`tag-${K.value}`,class:`${f}-tag`,closable:!P.value&&!o.readonly&&K.closable,visible:!0},K.tagProps,{onClose:de=>_e(K.value,U,de)}),{default:()=>{var de,Te,oe,Ce;return[(Ce=(oe=(de=s.tag)==null?void 0:de.call(s,{data:K.raw}))!=null?oe:(Te=o.formatTag)==null?void 0:Te.call(o,K.raw))!=null?Ce:K.label]}})),J("input",Ot(I.value,{ref:T,key:"input-tag-input",class:`${f}-input`,style:X,placeholder:B.value.length===0?o.placeholder:void 0,disabled:P.value,readonly:o.readonly||o.disabledInput,onInput:Ie,onKeydown:nt,onFocus:we,onBlur:We,onCompositionstart:he,onCompositionupdate:he,onCompositionend:he}),null)]}),Xe.value&&J(oi,{class:`${f}-clear-btn`,onClick:Me,onMousedown:K=>K.stopPropagation()},{default:()=>[J(Tl,null,null)]}),(s.suffix||!!z.value)&&J("span",{class:`${f}-suffix`},[(A=s.suffix)==null?void 0:A.call(s),!!z.value&&J(_g,{type:z.value},null)])])}}},methods:{focus(){var o;(o=this.inputRef)==null||o.focus()},blur(){var o;(o=this.inputRef)==null||o.blur()}},render(){return this.render()}});const qN=Object.assign(w_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+w_.name,w_)}});var Q1=Ke({name:"SelectView",props:{modelValue:{type:Array,required:!0},inputValue:String,placeholder:String,disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},opened:{type:Boolean,default:!1},size:{type:String},bordered:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},allowCreate:{type:Boolean,default:!1},allowSearch:{type:Boolean,default:o=>jo(o.modelValue)},maxTagCount:{type:Number,default:0},retainInputValue:{type:Boolean,default:!1}},emits:["remove","clear","focus","blur"],setup(o,{emit:n,slots:s}){const{size:l,disabled:a,error:u}=Pt(o),d=ot("select-view"),{feedback:h,eventHandlers:p,mergedDisabled:f,mergedSize:T,mergedError:y}=si({size:l,disabled:a,error:u}),{mergedSize:k}=nr(T),{opened:P}=Pt(o),x=ge(),z=j(()=>{var $e;return($e=x.value)==null?void 0:$e.inputRef}),ne=j(()=>o.modelValue.length===0),ie=j(()=>o.allowSearch||o.allowCreate),Z=j(()=>o.allowClear&&!o.disabled&&!ne.value),Y=$e=>{var he,fe;n("focus",$e),(fe=(he=p.value)==null?void 0:he.onFocus)==null||fe.call(he,$e)},M=$e=>{var he,fe;n("blur",$e),(fe=(he=p.value)==null?void 0:he.onBlur)==null||fe.call(he,$e)},L=$e=>{n("remove",$e)},S=$e=>{n("clear",$e)},F=()=>{var $e,he,fe,ke;return o.loading?(he=($e=s["loading-icon"])==null?void 0:$e.call(s))!=null?he:J(ir,null,null):o.allowSearch&&o.opened?(ke=(fe=s["search-icon"])==null?void 0:fe.call(s))!=null?ke:J(N0,null,null):s["arrow-icon"]?s["arrow-icon"]():J(yN,{class:`${d}-arrow-icon`},null)},W=()=>J(Gt,null,[Z.value&&J(oi,{class:`${d}-clear-btn`,onClick:S,onMousedown:$e=>$e.stopPropagation()},{default:()=>[J(Tl,null,null)]}),J("span",{class:`${d}-icon`},[F()]),!!h.value&&J(_g,{type:h.value},null)]);Et(P,$e=>{!$e&&z.value&&z.value.isSameNode(document.activeElement)&&z.value.blur()});const X=j(()=>[`${d}-${o.multiple?"multiple":"single"}`,{[`${d}-opened`]:o.opened,[`${d}-borderless`]:!o.bordered}]);return{inputRef:z,handleFocus:Y,handleBlur:M,render:()=>o.multiple?J(qN,{ref:x,baseCls:d,class:X.value,modelValue:o.modelValue,inputValue:o.inputValue,focused:o.opened,placeholder:o.placeholder,disabled:f.value,size:k.value,error:y.value,maxTagCount:o.maxTagCount,disabledInput:!o.allowSearch&&!o.allowCreate,retainInputValue:!0,uninjectFormItemContext:!0,onRemove:L,onFocus:Y,onBlur:M},{prefix:s.prefix,suffix:W,tag:s.label}):J(BN,{ref:x,baseCls:d,class:X.value,modelValue:o.modelValue[0],inputValue:o.inputValue,focused:o.opened,placeholder:o.placeholder,disabled:f.value,size:k.value,error:y.value,enabledInput:ie.value,uninjectFormItemContext:!0,onFocus:Y,onBlur:M},{default:s.label,prefix:s.prefix,suffix:W})}},methods:{focus(){this.inputRef&&this.inputRef.focus()},blur(){this.inputRef&&this.inputRef.blur()}},render(){return this.render()}});const JN=Ke({name:"Optgroup",props:{label:{type:String}},setup(){return{prefixCls:ot("select-group")}}});function ZN(o,n,s,l,a,u){return me(),Be(Gt,null,[Ne("li",{class:De(`${o.prefixCls}-title`)},[ct(o.$slots,"label",{},()=>[Zt(Ci(o.label),1)])],2),ct(o.$slots,"default")],64)}var Lu=dt(JN,[["render",ZN]]);const q1=typeof window>"u"?global:window;function ew(o,n){let s=0;return(...l)=>{s&&q1.clearTimeout(s),s=q1.setTimeout(()=>{s=0,o(...l)},n)}}var tw=Object.defineProperty,ow=Object.defineProperties,sw=Object.getOwnPropertyDescriptors,J1=Object.getOwnPropertySymbols,iw=Object.prototype.hasOwnProperty,nw=Object.prototype.propertyIsEnumerable,Z1=(o,n,s)=>n in o?tw(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,_c=(o,n)=>{for(var s in n||(n={}))iw.call(n,s)&&Z1(o,s,n[s]);if(J1)for(var s of J1(n))nw.call(n,s)&&Z1(o,s,n[s]);return o},rw=(o,n)=>ow(o,sw(n));function lw(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!cl(o)}const cw={value:"value",label:"label",disabled:"disabled",tagProps:"tagProps",render:"render"};var M_=Ke({name:"Select",components:{Trigger:Wu,SelectView:Q1},inheritAttrs:!1,props:{multiple:{type:Boolean,default:!1},modelValue:{type:[String,Number,Object,Array]},defaultValue:{type:[String,Number,Object,Array],default:o=>rs(o.multiple)?"":[]},inputValue:{type:String},defaultInputValue:{type:String,default:""},size:{type:String},placeholder:String,loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},allowSearch:{type:[Boolean,Object],default:o=>!!o.multiple},allowCreate:{type:Boolean,default:!1},maxTagCount:{type:Number,default:0},popupContainer:{type:[String,Object]},bordered:{type:Boolean,default:!0},defaultActiveFirstOption:{type:Boolean,default:!0},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},unmountOnClose:{type:Boolean,default:!1},filterOption:{type:[Boolean,Function],default:!0},options:{type:Array,default:()=>[]},virtualListProps:{type:Object},triggerProps:{type:Object},formatLabel:{type:Function},fallbackOption:{type:[Boolean,Function],default:!0},showExtraOptions:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},searchDelay:{type:Number,default:500},limit:{type:Number,default:0},fieldNames:{type:Object},scrollbar:{type:[Boolean,Object],default:!0},showHeaderOnEmpty:{type:Boolean,default:!1},showFooterOnEmpty:{type:Boolean,default:!1}},emits:{"update:modelValue":o=>!0,"update:inputValue":o=>!0,"update:popupVisible":o=>!0,change:o=>!0,inputValueChange:o=>!0,popupVisibleChange:o=>!0,clear:o=>!0,remove:o=>!0,search:o=>!0,dropdownScroll:o=>!0,dropdownReachBottom:o=>!0,exceedLimit:(o,n)=>!0},setup(o,{slots:n,emit:s,attrs:l}){const{size:a,disabled:u,error:d,options:h,filterOption:p,valueKey:f,multiple:T,popupVisible:y,showExtraOptions:k,modelValue:P,fieldNames:x,loading:z,defaultActiveFirstOption:ne}=Pt(o),ie=ot("select"),{mergedSize:Z,mergedDisabled:Y,mergedError:M,eventHandlers:L}=si({size:a,disabled:u,error:d}),S=j(()=>o.virtualListProps?"div":"li"),F=j(()=>ko(o.allowSearch)&&!!o.allowSearch.retainInputValue);j(()=>{if(bo(o.formatLabel))return ee=>{const se=de.get(ee.value);return o.formatLabel(se)}});const W=ge(),X=ge({}),le=ge(),{computedPopupVisible:$e,handlePopupVisibleChange:he}=RN({popupVisible:y,emit:s}),fe=ge(o.defaultValue),ke=j(()=>{var ee;const se=(ee=o.modelValue)!=null?ee:fe.value;return(jo(se)?se:se||vt(se)||ki(se)?[se]:[]).map(ye=>({value:ye,key:xc(ye,o.valueKey)}))});Et(P,ee=>{(rs(ee)||ml(ee))&&(fe.value=T.value?[]:ee)});const re=j(()=>ke.value.map(ee=>ee.key)),Ie=j(()=>_c(_c({},cw),x==null?void 0:x.value)),D=ge(),B=ee=>{const se={};return ee.forEach(ue=>{se[ue]=de.get(ue)}),se},ae=ee=>{D.value=B(ee)},_e=ee=>bo(o.fallbackOption)?o.fallbackOption(ee):{[Ie.value.value]:ee,[Ie.value.label]:String(ko(ee)?ee[f==null?void 0:f.value]:ee)},Me=()=>{const ee=[],se=[];if(o.allowCreate||o.fallbackOption){for(const ue of ke.value)if(!se.includes(ue.key)&&ue.value!==""){const ye=de.get(ue.key);(!ye||ye.origin==="extraOptions")&&(ee.push(ue),se.push(ue.key))}}if(o.allowCreate&&We.value){const ue=xc(We.value);if(!se.includes(ue)){const ye=de.get(ue);(!ye||ye.origin==="extraOptions")&&ee.push({value:We.value,key:ue})}}return ee},Xe=ge([]),Je=j(()=>Xe.value.map(ee=>{var se;let ue=_e(ee.value);const ye=(se=D.value)==null?void 0:se[ee.key];return!rs(ye)&&!G3(ye)&&(ue=_c(_c({},ue),ye)),ue}));Io(()=>{eg(()=>{var ee;const se=Me();if(se.length!==Xe.value.length)Xe.value=se;else if(se.length>0){for(let ue=0;ue{var ee;return(ee=o.inputValue)!=null?ee:we.value});Et($e,ee=>{!ee&&!F.value&&We.value&&ht("")});const Ze=ee=>{var se,ue;return o.multiple?ee.map(ye=>{var E,g;return(g=(E=de.get(ye))==null?void 0:E.value)!=null?g:""}):(ue=(se=de.get(ee[0]))==null?void 0:se.value)!=null?ue:QL(de)?void 0:""},nt=ee=>{var se,ue;const ye=Ze(ee);fe.value=ye,s("update:modelValue",ye),s("change",ye),(ue=(se=L.value)==null?void 0:se.onChange)==null||ue.call(se),ae(ee)},ht=ee=>{we.value=ee,s("update:inputValue",ee),s("inputValueChange",ee)},et=(ee,se)=>{if(o.multiple){if(re.value.includes(ee)){const ue=re.value.filter(ye=>ye!==ee);nt(ue)}else if(oe.value.includes(ee))if(o.limit>0&&re.value.length>=o.limit){const ue=de.get(ee);s("exceedLimit",ue==null?void 0:ue.value,se)}else{const ue=re.value.concat(ee);nt(ue)}F.value||ht("")}else{if(ee!==re.value[0]&&nt([ee]),F.value){const ue=de.get(ee);ue&&ht(ue.label)}he(!1)}},Pe=ew(ee=>{s("search",ee)},o.searchDelay),w=ee=>{ee!==We.value&&($e.value||he(!0),ht(ee),o.allowSearch&&Pe(ee))},I=ee=>{const se=de.get(ee),ue=re.value.filter(ye=>ye!==ee);nt(ue),s("remove",se==null?void 0:se.value)},N=ee=>{ee==null||ee.stopPropagation();const se=re.value.filter(ue=>{var ye;return(ye=de.get(ue))==null?void 0:ye.disabled});nt(se),ht(""),s("clear",ee)},A=ee=>{s("dropdownScroll",ee)},K=ee=>{s("dropdownReachBottom",ee)},{validOptions:U,optionInfoMap:de,validOptionInfos:Te,enabledOptionKeys:oe,handleKeyDown:Ce}=dN({multiple:T,options:h,extraOptions:Je,inputValue:We,filterOption:p,showExtraOptions:k,component:S,valueKey:f,fieldNames:x,loading:z,popupVisible:$e,valueKeys:re,dropdownRef:W,optionRefs:X,virtualListRef:le,defaultActiveFirstOption:ne,onSelect:et,onPopupVisibleChange:he}),ce=j(()=>{var ee;const se=[];for(const ue of ke.value){const ye=de.get(ue.key);ye&&se.push(rw(_c({},ye),{value:ue.key,label:(ee=ye==null?void 0:ye.label)!=null?ee:String(ko(ue.value)?ue.value[f==null?void 0:f.value]:ue.value),closable:!(ye!=null&&ye.disabled),tagProps:ye==null?void 0:ye.tagProps}))}return se}),Se=ee=>{if(bo(n.option)){const se=n.option;return()=>se({data:ee.raw})}return bo(ee.render)?ee.render:()=>ee.label},Le=ee=>{if(II(ee)){let se;return J(Lu,{key:ee.key,label:ee.label},lw(se=ee.options.map(ue=>Le(ue)))?se:{default:()=>[se]})}return hd(ee,{inputValue:We.value,filterOption:p==null?void 0:p.value})?J(Cc,{ref:se=>{se!=null&&se.$el&&(X.value[ee.key]=se.$el)},key:ee.key,value:ee.value,label:ee.label,disabled:ee.disabled,internal:!0},{default:Se(ee)}):null},Ue=()=>J(HL,{ref:W,loading:o.loading,empty:Te.value.length===0,virtualList:!!o.virtualListProps,scrollbar:o.scrollbar,showHeaderOnEmpty:o.showHeaderOnEmpty,showFooterOnEmpty:o.showFooterOnEmpty,onScroll:A,onReachBottom:K},{default:()=>{var ee,se;return[...(se=(ee=n.default)==null?void 0:ee.call(n))!=null?se:[],...U.value.map(Le)]},"virtual-list":()=>J(EN,Ot(o.virtualListProps,{ref:le,data:U.value}),{item:({item:ee})=>Le(ee)}),empty:n.empty,header:n.header,footer:n.footer}),be=({data:ee})=>{var se,ue,ye,E;if((n.label||bo(o.formatLabel))&&ee){const g=de.get(ee.value);if(g!=null&&g.raw)return(ye=(se=n.label)==null?void 0:se.call(n,{data:g.raw}))!=null?ye:(ue=o.formatLabel)==null?void 0:ue.call(o,g.raw)}return(E=ee==null?void 0:ee.label)!=null?E:""};return()=>J(Wu,Ot({trigger:"click",position:"bl",popupOffset:4,animationName:"slide-dynamic-origin",hideEmpty:!0,preventFocus:!0,autoFitPopupWidth:!0,autoFitTransformOrigin:!0,disabled:Y.value,popupVisible:$e.value,unmountOnClose:o.unmountOnClose,clickToClose:!(o.allowSearch||o.allowCreate),popupContainer:o.popupContainer,onPopupVisibleChange:he},o.triggerProps),{default:()=>{var ee,se;return[(se=(ee=n.trigger)==null?void 0:ee.call(n))!=null?se:J(Q1,Ot({class:ie,modelValue:ce.value,inputValue:We.value,multiple:o.multiple,disabled:Y.value,error:M.value,loading:o.loading,allowClear:o.allowClear,allowCreate:o.allowCreate,allowSearch:!!o.allowSearch,opened:$e.value,maxTagCount:o.maxTagCount,placeholder:o.placeholder,bordered:o.bordered,size:Z.value,onInputValueChange:w,onRemove:I,onClear:N,onKeydown:Ce},l),{label:be,prefix:n.prefix,"arrow-icon":n["arrow-icon"],"loading-icon":n["loading-icon"],"search-icon":n["search-icon"]})]},content:Ue})}});const aw=Object.assign(M_,{Option:Cc,OptGroup:Lu,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+M_.name,M_),o.component(s+Cc.name,Cc),o.component(s+Lu.name,Lu)}}),yI=Symbol("RadioGroup");var Nu=Ke({name:"Radio",components:{IconHover:oi},props:{modelValue:{type:[String,Number,Boolean],default:void 0},defaultChecked:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:!0},type:{type:String,default:"radio"},disabled:{type:Boolean,default:!1},uninjectGroupContext:{type:Boolean,default:!1}},emits:{"update:modelValue":o=>!0,change:(o,n)=>!0},setup(o,{emit:n,slots:s}){const l=ot("radio"),{modelValue:a}=Pt(o),u=o.uninjectGroupContext?void 0:ho(yI,void 0),{mergedDisabled:d,eventHandlers:h}=si({disabled:m0(o,"disabled")}),p=ge(null),f=ge(o.defaultChecked),T=j(()=>(u==null?void 0:u.name)==="ArcoRadioGroup"),y=j(()=>{var M;return(M=u==null?void 0:u.type)!=null?M:o.type}),k=j(()=>(u==null?void 0:u.disabled)||d.value),P=j(()=>{var M,L;return T.value?(u==null?void 0:u.value)===((M=o.value)!=null?M:!0):rs(o.modelValue)?f.value:o.modelValue===((L=o.value)!=null?L:!0)});Et(a,M=>{(rs(M)||ml(M))&&(f.value=!1)}),Et(P,(M,L)=>{M!==L&&(f.value=M,p.value&&(p.value.checked=M))});const x=M=>{var L,S;(S=(L=h.value)==null?void 0:L.onFocus)==null||S.call(L,M)},z=M=>{var L,S;(S=(L=h.value)==null?void 0:L.onBlur)==null||S.call(L,M)},ne=M=>{M.stopPropagation()},ie=M=>{var L,S,F,W,X;f.value=!0,T.value?u==null||u.handleChange((L=o.value)!=null?L:!0,M):(n("update:modelValue",(S=o.value)!=null?S:!0),n("change",(F=o.value)!=null?F:!0,M),(X=(W=h.value)==null?void 0:W.onChange)==null||X.call(W,M)),Io(()=>{p.value&&p.value.checked!==P.value&&(p.value.checked=P.value)})},Z=j(()=>[`${y.value==="button"?`${l}-button`:l}`,{[`${l}-checked`]:P.value,[`${l}-disabled`]:k.value}]),Y=()=>J(Gt,null,[J(_t("icon-hover"),{class:`${l}-icon-hover`,disabled:k.value||P.value},{default:()=>[J("span",{class:`${l}-icon`},null)]}),s.default&&J("span",{class:`${l}-label`},[s.default()])]);return()=>{var M,L,S,F;return J("label",{class:Z.value},[J("input",{ref:p,type:"radio",checked:P.value,value:o.value,class:`${l}-target`,disabled:k.value,onClick:ne,onChange:ie,onFocus:x,onBlur:z},null),y.value==="radio"?(F=(S=(L=s.radio)!=null?L:(M=u==null?void 0:u.slots)==null?void 0:M.radio)==null?void 0:S({checked:P.value,disabled:k.value}))!=null?F:Y():J("span",{class:`${l}-button-content`},[s.default&&s.default()])])}}}),wu=Ke({name:"RadioGroup",props:{modelValue:{type:[String,Number,Boolean],default:void 0},defaultValue:{type:[String,Number,Boolean],default:""},type:{type:String,default:"radio"},size:{type:String},options:{type:Array},direction:{type:String,default:"horizontal"},disabled:{type:Boolean,default:!1}},emits:{"update:modelValue":o=>!0,change:(o,n)=>!0},setup(o,{emit:n,slots:s}){const l=ot("radio-group"),{size:a,type:u,disabled:d,modelValue:h}=Pt(o),{mergedDisabled:p,mergedSize:f,eventHandlers:T}=si({size:a,disabled:d}),y=ge(o.defaultValue),k=j(()=>{var ie;return(ie=o.modelValue)!=null?ie:y.value}),P=j(()=>{var ie;return((ie=o.options)!=null?ie:[]).map(Z=>ki(Z)||vt(Z)?{label:Z,value:Z}:Z)});hn(yI,qt({name:"ArcoRadioGroup",value:k,size:f,type:u,disabled:p,slots:s,handleChange:(ie,Z)=>{var Y,M;y.value=ie,n("update:modelValue",ie),n("change",ie,Z),(M=(Y=T.value)==null?void 0:Y.onChange)==null||M.call(Y,Z)}})),Et(k,ie=>{y.value!==ie&&(y.value=ie)}),Et(h,ie=>{(rs(ie)||ml(ie))&&(y.value="")});const z=j(()=>[`${l}${o.type==="button"?"-button":""}`,`${l}-size-${f.value}`,`${l}-direction-${o.direction}`,{[`${l}-disabled`]:p.value}]),ne=()=>P.value.map(ie=>J(Nu,{key:ie.value,value:ie.value,disabled:ie.disabled,modelValue:k.value===ie.value},{default:()=>[s.label?s.label({data:ie}):bo(ie.label)?ie.label():ie.label]}));return()=>{var ie;return J("span",{class:z.value},[P.value.length>0?ne():(ie=s.default)==null?void 0:ie.call(s)])}}});const uw=Object.assign(Nu,{Group:wu,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+Nu.name,Nu),o.component(s+wu.name,wu)}}),dw=Ke({name:"IconLeft",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-left`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),hw=["stroke-width","stroke-linecap","stroke-linejoin"],pw=Ne("path",{d:"M32 8.4 16.444 23.956 32 39.513"},null,-1),$w=[pw];function _w(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},$w,14,hw)}var D_=dt(dw,[["render",_w]]);const SI=Object.assign(D_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+D_.name,D_)}});function gw(o){const n=ge(o);return[n,l=>{n.value=l}]}var fw=Ke({name:"RenderFunction",props:{renderFunc:{type:Function,required:!0}},render(){return this.renderFunc(this.$attrs)}});function zu(o,n){const{value:s}=Pt(n),[l,a]=gw(rs(s.value)?o:s.value);return Et(s,d=>{rs(d)&&a(void 0)}),[j(()=>rs(s.value)?l.value:s.value),a,l]}var mw=Object.defineProperty,Tw=Object.defineProperties,Ew=Object.getOwnPropertyDescriptors,eb=Object.getOwnPropertySymbols,bw=Object.prototype.hasOwnProperty,vw=Object.prototype.propertyIsEnumerable,tb=(o,n,s)=>n in o?mw(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,Iw=(o,n)=>{for(var s in n||(n={}))bw.call(n,s)&&tb(o,s,n[s]);if(eb)for(var s of eb(n))vw.call(n,s)&&tb(o,s,n[s]);return o},Ow=(o,n)=>Tw(o,Ew(n));const vu={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let Gn=[],Cw=-1,Iu={};const ob={matchHandlers:{},dispatch(o,n){return Iu=o,Gn.length<1?!1:(Gn.forEach(s=>{s.func(Iu,n)}),!0)},subscribe(o){Gn.length===0&&this.register();const n=(++Cw).toString();return Gn.push({token:n,func:o}),o(Iu,null),n},unsubscribe(o){Gn=Gn.filter(n=>n.token!==o),Gn.length===0&&this.unregister()},unregister(){Object.keys(vu).forEach(o=>{const n=vu[o];if(!n)return;const s=this.matchHandlers[n];s&&s.mql&&s.listener&&(s.mql.removeEventListener?s.mql.removeEventListener("change",s.listener):s.mql.removeListener(s.listener))})},register(){Object.keys(vu).forEach(o=>{const n=vu[o];if(!n)return;const s=({matches:a})=>{this.dispatch(Ow(Iw({},Iu),{[o]:a}),o)},l=window.matchMedia(n);l.addEventListener?l.addEventListener("change",s):l.addListener(s),this.matchHandlers[n]={mql:l,listener:s},s(l)})}};var P_=Ke({name:"Divider",props:{direction:{type:String,default:"horizontal"},orientation:{type:String,default:"center"},type:{type:String},size:{type:Number},margin:{type:[Number,String]}},setup(o,{slots:n}){const s=ot("divider"),l=j(()=>o.direction==="horizontal"),a=j(()=>{const u={};if(o.size&&(u[l.value?"border-bottom-width":"border-left-width"]=vt(o.size)?`${o.size}px`:o.size),o.type&&(u[l.value?"border-bottom-style":"border-left-style"]=o.type),!rs(o.margin)){const d=vt(o.margin)?`${o.margin}px`:o.margin;u.margin=l.value?`${d} 0`:`0 ${d}`}return u});return()=>{var u;const d=(u=n.default)==null?void 0:u.call(n),h=[s,`${s}-${o.direction}`,{[`${s}-with-text`]:d}];return J("div",{role:"separator",class:h,style:a.value},[d&&o.direction==="horizontal"&&J("span",{class:[`${s}-text`,`${s}-text-${o.orientation}`]},[d])])}}});const yw=Object.assign(P_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+P_.name,P_)}}),Sw=o=>{const n=ge(!1),s={overflow:"",width:"",boxSizing:""};return{setOverflowHidden:()=>{if(o.value){const u=o.value;if(!n.value&&u.style.overflow!=="hidden"){const d=yk(u);(d>0||Ck(u))&&(s.overflow=u.style.overflow,s.width=u.style.width,s.boxSizing=u.style.boxSizing,u.style.overflow="hidden",u.style.width=`${u.offsetWidth-d}px`,u.style.boxSizing="border-box",n.value=!0)}}},resetOverflow:()=>{if(o.value&&n.value){const u=o.value;u.style.overflow=s.overflow,u.style.width=s.width,u.style.boxSizing=s.boxSizing,n.value=!1}}}};var Rw=Object.defineProperty,sb=Object.getOwnPropertySymbols,kw=Object.prototype.hasOwnProperty,Aw=Object.prototype.propertyIsEnumerable,ib=(o,n,s)=>n in o?Rw(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,nb=(o,n)=>{for(var s in n||(n={}))kw.call(n,s)&&ib(o,s,n[s]);if(sb)for(var s of sb(n))Aw.call(n,s)&&ib(o,s,n[s]);return o};const Lw=Ke({name:"Tooltip",components:{Trigger:Wu},props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},content:String,position:{type:String,default:"top"},mini:{type:Boolean,default:!1},backgroundColor:{type:String},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupContainer:{type:[String,Object]}},emits:{"update:popupVisible":o=>!0,popupVisibleChange:o=>!0},setup(o,{emit:n}){const s=ot("tooltip"),l=ge(o.defaultPopupVisible),a=j(()=>{var T;return(T=o.popupVisible)!=null?T:l.value}),u=T=>{l.value=T,n("update:popupVisible",T),n("popupVisibleChange",T)},d=j(()=>[`${s}-content`,o.contentClass,{[`${s}-mini`]:o.mini}]),h=j(()=>{if(o.backgroundColor||o.contentStyle)return nb({backgroundColor:o.backgroundColor},o.contentStyle)}),p=j(()=>[`${s}-popup-arrow`,o.arrowClass]),f=j(()=>{if(o.backgroundColor||o.arrowStyle)return nb({backgroundColor:o.backgroundColor},o.arrowStyle)});return{prefixCls:s,computedPopupVisible:a,contentCls:d,computedContentStyle:h,arrowCls:p,computedArrowStyle:f,handlePopupVisibleChange:u}}});function Nw(o,n,s,l,a,u){const d=_t("Trigger");return me(),it(d,{class:De(o.prefixCls),trigger:"hover",position:o.position,"popup-visible":o.computedPopupVisible,"popup-offset":10,"show-arrow":"","content-class":o.contentCls,"content-style":o.computedContentStyle,"arrow-class":o.arrowCls,"arrow-style":o.computedArrowStyle,"popup-container":o.popupContainer,"animation-name":"zoom-in-fade-out","auto-fit-transform-origin":"",role:"tooltip",onPopupVisibleChange:o.handlePopupVisibleChange},{content:He(()=>[ct(o.$slots,"content",{},()=>[Zt(Ci(o.content),1)])]),default:He(()=>[ct(o.$slots,"default")]),_:3},8,["class","position","popup-visible","content-class","content-style","arrow-class","arrow-style","popup-container","onPopupVisibleChange"])}var x_=dt(Lw,[["render",Nw]]);const D0=Object.assign(x_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+x_.name,x_)}}),ww=Ke({name:"ImagePreviewArrow",components:{IconLeft:SI,IconRight:OI},props:{onPrev:{type:Function},onNext:{type:Function}},setup(){return{prefixCls:ot("image-preview-arrow")}}});function Mw(o,n,s,l,a,u){const d=_t("icon-left"),h=_t("icon-right");return me(),Be("div",{class:De(o.prefixCls)},[Ne("div",{class:De([`${o.prefixCls}-left`,{[`${o.prefixCls}-disabled`]:!o.onPrev}]),onClick:n[0]||(n[0]=p=>{p.preventDefault(),o.onPrev&&o.onPrev()})},[J(d)],2),Ne("div",{class:De([`${o.prefixCls}-right`,{[`${o.prefixCls}-disabled`]:!o.onNext}]),onClick:n[1]||(n[1]=p=>{p.preventDefault(),o.onNext&&o.onNext()})},[J(h)],2)],2)}var Dw=dt(ww,[["render",Mw]]);function Pw(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!cl(o)}var RI=Ke({name:"ImagePreviewAction",components:{Tooltip:D0},inheritAttrs:!1,props:{name:{type:String},disabled:{type:Boolean}},setup(o,{slots:n,attrs:s}){const l=ot("image-preview-toolbar-action");return()=>{var a;const{name:u,disabled:d}=o,h=(a=n.default)==null?void 0:a.call(n);if(!h||!h.length)return null;const p=J("div",Ot({class:[`${l}`,{[`${l}-disabled`]:d}],onMousedown:f=>{f.preventDefault()}},s),[J("span",{class:`${l}-content`},[h])]);return u?J(D0,{class:`${l}-tooltip`,content:u},Pw(p)?p:{default:()=>[p]}):p}}}),xw=Ke({name:"ImagePreviewToolbar",components:{RenderFunction:fw,PreviewAction:RI},props:{actions:{type:Array,default:()=>[]},actionsLayout:{type:Array,default:()=>[]}},setup(o){const{actions:n,actionsLayout:s}=Pt(o),l=ot("image-preview-toolbar"),a=j(()=>{const u=new Set(s.value),d=p=>u.has(p.key);return n.value.filter(d).sort((p,f)=>{const T=s.value.indexOf(p.key),y=s.value.indexOf(f.key);return T>y?1:-1})});return{prefixCls:l,resultActions:a}}});function Bw(o,n,s,l,a,u){const d=_t("RenderFunction"),h=_t("PreviewAction");return me(),Be("div",{class:De(o.prefixCls)},[(me(!0),Be(Gt,null,sd(o.resultActions,p=>(me(),it(h,{key:p.key,name:p.name,disabled:p.disabled,onClick:p.onClick},{default:He(()=>[J(d,{"render-func":p.content},null,8,["render-func"])]),_:2},1032,["name","disabled","onClick"]))),128)),ct(o.$slots,"default")],2)}var Fw=dt(xw,[["render",Bw]]);function Uw(o){const n=ge(o||"beforeLoad"),s=j(()=>n.value==="beforeLoad"),l=j(()=>n.value==="loading"),a=j(()=>n.value==="error"),u=j(()=>n.value==="loaded");return{status:n,isBeforeLoad:s,isLoading:l,isError:a,isLoaded:u,setLoadStatus:d=>{n.value=d}}}function Hw(o,n,s,l,a){let u=s,d=l;return s&&(o.width>n.width?u=0:(n.left>o.left&&(u-=Math.abs(o.left-n.left)/a),n.rightn.height?d=0:(n.top>o.top&&(d-=Math.abs(o.top-n.top)/a),n.bottom{if(!n.value||!s.value)return;const x=n.value.getBoundingClientRect(),z=s.value.getBoundingClientRect(),[ne,ie]=Hw(x,z,a.value[0],a.value[1],l.value);(ne!==a.value[0]||ie!==a.value[1])&&(a.value=[ne,ie])},T=x=>{x.preventDefault&&x.preventDefault();const z=p[0]+(x.pageX-d)/l.value,ne=p[1]+(x.pageY-h)/l.value;a.value=[z,ne]},y=x=>{x.preventDefault&&x.preventDefault(),u.value=!1,f(),P()},k=x=>{x.target===x.currentTarget&&(x.preventDefault&&x.preventDefault(),u.value=!0,d=x.pageX,h=x.pageY,p=[...a.value],vo(window,"mousemove",T,!1),vo(window,"mouseup",y,!1))};function P(){Yo(window,"mousemove",T,!1),Yo(window,"mouseup",y,!1)}return eg(x=>{s.value&&vo(s.value,"mousedown",k),x(()=>{s.value&&Yo(s.value,"mousedown",k),P()})}),Et([l],()=>{Io(()=>f())}),{translate:a,moving:u,resetTranslate(){a.value=[0,0]}}}const Gw=Ke({name:"IconZoomOut",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-zoom-out`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Ww=["stroke-width","stroke-linecap","stroke-linejoin"],zw=Ne("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15"},null,-1),Xw=[zw];function jw(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Xw,14,Ww)}var B_=dt(Gw,[["render",jw]]);const Yw=Object.assign(B_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+B_.name,B_)}}),Kw=Ke({name:"IconZoomIn",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-zoom-in`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Qw=["stroke-width","stroke-linecap","stroke-linejoin"],qw=Ne("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15"},null,-1),Jw=[qw];function Zw(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Jw,14,Qw)}var F_=dt(Kw,[["render",Zw]]);const e6=Object.assign(F_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+F_.name,F_)}}),t6=Ke({name:"IconFullscreen",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-fullscreen`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),o6=["stroke-width","stroke-linecap","stroke-linejoin"],s6=Ne("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1),i6=[s6];function n6(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},i6,14,o6)}var U_=dt(t6,[["render",n6]]);const r6=Object.assign(U_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+U_.name,U_)}}),l6=Ke({name:"IconRotateLeft",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-rotate-left`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),c6=["stroke-width","stroke-linecap","stroke-linejoin"],a6=Ne("path",{d:"M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z"},null,-1),u6=[a6];function d6(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},u6,14,c6)}var H_=dt(l6,[["render",d6]]);const h6=Object.assign(H_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+H_.name,H_)}}),p6=Ke({name:"IconRotateRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-rotate-right`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),$6=["stroke-width","stroke-linecap","stroke-linejoin"],_6=Ne("path",{d:"M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z"},null,-1),g6=[_6];function f6(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},g6,14,$6)}var V_=dt(p6,[["render",f6]]);const m6=Object.assign(V_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+V_.name,V_)}}),T6=Ke({name:"IconOriginalSize",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-original-size`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),E6=["stroke-width","stroke-linecap","stroke-linejoin"],b6=Ne("path",{d:"m5.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32"},null,-1),v6=Ne("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),I6=Ne("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z"},null,-1),O6=[b6,v6,I6];function C6(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},O6,14,E6)}var G_=dt(T6,[["render",C6]]);const y6=Object.assign(G_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+G_.name,G_)}});function S6(o){const{container:n,hidden:s}=Pt(o);let l=!1,a={};const u=p=>p.tagName==="BODY"?window.innerWidth-(document.body.clientWidth||document.documentElement.clientWidth):p.offsetWidth-p.clientWidth,d=()=>{if(n.value&&n.value.style.overflow!=="hidden"){const p=n.value.style;l=!0;const f=u(n.value);f&&(a.width=p.width,n.value.style.width=`calc(${n.value.style.width||"100%"} - ${f}px)`),a.overflow=p.overflow,n.value.style.overflow="hidden"}},h=()=>{if(n.value&&l){const p=a;Object.keys(p).forEach(f=>{n.value.style[f]=p[f]})}l=!1,a={}};return eg(p=>{s.value?d():h(),p(()=>{h()})}),[h,d]}function R6(o,n){const{popupContainer:s}=Pt(n);return j(()=>(ki(s.value)?uI(s.value):s.value)||o)}const As=[25,33,50,67,75,80,90,100,110,125,150,175,200,250,300,400,500].map(o=>+(o/100).toFixed(2)),kI=As[0],AI=As[As.length-1];function k6(o=1,n="zoomIn"){let s=As.indexOf(o);return s===-1&&(s=L6(o)),n==="zoomIn"?s===As.length-1?o:As[s+1]:s===0?o:As[s-1]}function A6(o,n=1.1,s="zoomIn"){const l=s==="zoomIn"?n:1/n,a=Number.parseFloat((o*l).toFixed(3));return Math.min(AI,Math.max(kI,a))}function L6(o){let n=As.length-1;for(let s=0;sn in o?N6(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,D6=(o,n)=>{for(var s in n||(n={}))w6.call(n,s)&&lb(o,s,n[s]);if(rb)for(var s of rb(n))M6.call(n,s)&&lb(o,s,n[s]);return o};const W_=90;var P6=Ke({name:"ImagePreview",components:{PreviewArrow:Dw,PreviewToolbar:Fw,IconLoading:ir,IconClose:Tl},props:{renderToBody:{type:Boolean,default:!0},src:{type:String},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{type:Array,default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{type:[Object,String]},inGroup:{type:Boolean,default:!1},groupArrowProps:{type:Object,default:()=>({})},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{type:Number,default:1},zoomRate:{type:Number,default:1.1}},emits:["close","update:visible"],setup(o,{emit:n}){const{t:s}=ug(),{src:l,popupContainer:a,visible:u,defaultVisible:d,maskClosable:h,actionsLayout:p,defaultScale:f,zoomRate:T}=Pt(o),y=ge(),k=ge(),P=ot("image-preview"),[x,z]=zu(d.value,qt({value:u})),ne=j(()=>[P,{[`${P}-hide`]:!x.value}]),ie=R6(document.body,qt({popupContainer:a})),Z=j(()=>ie.value===document.body),{zIndex:Y}=mg("dialog",{visible:x}),M=j(()=>{const et=Z.value?{zIndex:Y.value,position:"fixed"}:{zIndex:"inherit",position:"absolute"};return D6({},et)}),{isLoading:L,isLoaded:S,setLoadStatus:F}=Uw(),W=ge(0),X=ge(f.value),{translate:le,moving:$e,resetTranslate:he}=Vw(qt({wrapperEl:y,imageEl:k,visible:x,scale:X})),fe=ge(!1);let ke=null;const re=()=>{!fe.value&&(fe.value=!0),ke&&clearTimeout(ke),ke=setTimeout(()=>{fe.value=!1},1e3)};S6(qt({container:ie,hidden:x}));function Ie(){W.value=0,X.value=f.value,he()}const D=et=>p.value.includes(et),B=et=>{switch(et.stopPropagation(),et.preventDefault(),et.key){case Ss.ESC:o.escToClose&&Je();break;case Ss.ARROW_LEFT:o.groupArrowProps.onPrev&&o.groupArrowProps.onPrev();break;case Ss.ARROW_RIGHT:o.groupArrowProps.onNext&&o.groupArrowProps.onNext();break;case Ss.ARROW_UP:D("zoomIn")&&ht("zoomIn");break;case Ss.ARROW_DOWN:D("zoomOut")&&ht("zoomOut");break;case Ss.SPACE:D("originalSize")&&We(1);break}},ae=A0(et=>{if(et.preventDefault(),et.stopPropagation(),!o.wheelZoom)return;const w=(et.deltaY||et.deltaX)>0?"zoomOut":"zoomIn",I=A6(X.value,T.value,w);We(I)});let _e=!1;const Me=()=>{Io(()=>{var et;(et=y==null?void 0:y.value)==null||et.focus()}),o.keyboard&&!_e&&(_e=!0,vo(ie.value,"keydown",B))},Xe=()=>{_e&&(_e=!1,Yo(ie.value,"keydown",B))};Et([l,x],()=>{x.value?(Ie(),F("loading"),Me()):Xe()});function Je(){x.value&&(n("close"),n("update:visible",!1),z(!1))}function we(et){var Pe;(Pe=y==null?void 0:y.value)==null||Pe.focus(),h.value&&et.target===et.currentTarget&&Je()}function We(et){X.value!==et&&(X.value=et,re())}function Ze(){const et=y.value.getBoundingClientRect(),Pe=k.value.getBoundingClientRect(),w=et.height/(Pe.height/X.value),I=et.width/(Pe.width/X.value),N=Math.max(w,I);We(N)}function nt(et){const w=et==="clockwise"?(W.value+W_)%360:W.value===0?360-W_:W.value-W_;W.value=w}function ht(et){const Pe=k6(X.value,et);We(Pe)}return Ri(()=>{Xe()}),{prefixCls:P,classNames:ne,container:ie,wrapperStyles:M,scale:X,translate:le,rotate:W,moving:$e,mergedVisible:x,isLoading:L,isLoaded:S,scaleValueVisible:fe,refWrapper:y,refImage:k,onWheel:ae,onMaskClick:we,onCloseClick:Je,onImgLoad(){F("loaded")},onImgError(){F("error")},actions:j(()=>[{key:"fullScreen",name:s("imagePreview.fullScreen"),content:()=>Zs(r6),onClick:()=>Ze()},{key:"rotateRight",name:s("imagePreview.rotateRight"),content:()=>Zs(m6),onClick:()=>nt("clockwise")},{key:"rotateLeft",name:s("imagePreview.rotateLeft"),content:()=>Zs(h6),onClick:()=>nt("counterclockwise")},{key:"zoomIn",name:s("imagePreview.zoomIn"),content:()=>Zs(e6),onClick:()=>ht("zoomIn"),disabled:X.value===AI},{key:"zoomOut",name:s("imagePreview.zoomOut"),content:()=>Zs(Yw),onClick:()=>ht("zoomOut"),disabled:X.value===kI},{key:"originalSize",name:s("imagePreview.originalSize"),content:()=>Zs(y6),onClick:()=>We(1)}])}}});const x6=["src"];function B6(o,n,s,l,a,u){const d=_t("IconLoading"),h=_t("PreviewToolbar"),p=_t("IconClose"),f=_t("PreviewArrow");return me(),it(lg,{to:o.container,disabled:!o.renderToBody},[Ne("div",{class:De(o.classNames),style:It(o.wrapperStyles)},[J(un,{name:"image-fade",onBeforeEnter:n[0]||(n[0]=T=>T.parentElement&&(T.parentElement.style.display="block")),onAfterLeave:n[1]||(n[1]=T=>T.parentElement&&(T.parentElement.style.display=""))},{default:He(()=>[Kn(Ne("div",{class:De(`${o.prefixCls}-mask`)},null,2),[[qn,o.mergedVisible]])]),_:1}),o.mergedVisible?(me(),Be("div",{key:0,ref:"refWrapper",tabindex:"0",class:De(`${o.prefixCls}-wrapper`),onClick:n[6]||(n[6]=(...T)=>o.onMaskClick&&o.onMaskClick(...T)),onWheel:n[7]||(n[7]=er((...T)=>o.onWheel&&o.onWheel(...T),["prevent","stop"]))},[ut(" img "),Ne("div",{class:De(`${o.prefixCls}-img-container`),style:It({transform:`scale(${o.scale}, ${o.scale})`}),onClick:n[4]||(n[4]=(...T)=>o.onMaskClick&&o.onMaskClick(...T))},[(me(),Be("img",{ref:"refImage",key:o.src,src:o.src,class:De([`${o.prefixCls}-img`,{[`${o.prefixCls}-img-moving`]:o.moving}]),style:It({transform:`translate(${o.translate[0]}px, ${o.translate[1]}px) rotate(${o.rotate}deg)`}),onLoad:n[2]||(n[2]=(...T)=>o.onImgLoad&&o.onImgLoad(...T)),onError:n[3]||(n[3]=(...T)=>o.onImgError&&o.onImgError(...T))},null,46,x6))],6),ut(" loading "),o.isLoading?(me(),Be("div",{key:0,class:De(`${o.prefixCls}-loading`)},[J(d)],2)):ut("v-if",!0),ut(" scale value "),J(un,{name:"image-fade"},{default:He(()=>[o.scaleValueVisible?(me(),Be("div",{key:0,class:De(`${o.prefixCls}-scale-value`)},Ci((o.scale*100).toFixed(0))+"% ",3)):ut("v-if",!0)]),_:1}),ut(" toolbar "),o.isLoaded&&o.actionsLayout.length?(me(),it(h,{key:1,actions:o.actions,"actions-layout":o.actionsLayout},{default:He(()=>[ct(o.$slots,"actions")]),_:3},8,["actions","actions-layout"])):ut("v-if",!0),ut(" close btn "),o.closable?(me(),Be("div",{key:2,class:De(`${o.prefixCls}-close-btn`),onClick:n[5]||(n[5]=(...T)=>o.onCloseClick&&o.onCloseClick(...T))},[J(p)],2)):ut("v-if",!0),ut(" group arrow "),o.inGroup?(me(),it(f,O9(Ot({key:3},o.groupArrowProps)),null,16)):ut("v-if",!0)],34)):ut("v-if",!0)],6)],8,["to","disabled"])}var F6=dt(P6,[["render",B6]]);const LI=Symbol("LayoutSiderInjectionKey"),U6=Symbol("SiderInjectionKey");var H6=Ke({name:"Layout",props:{hasSider:{type:Boolean}},setup(o){const n=ge([]),s=ot("layout"),l=j(()=>[s,{[`${s}-has-sider`]:o.hasSider||n.value.length}]);return hn(LI,{onSiderMount:a=>n.value.push(a),onSiderUnMount:a=>{n.value=n.value.filter(u=>u!==a)}}),{classNames:l}}});function V6(o,n,s,l,a,u){return me(),Be("section",{class:De(o.classNames)},[ct(o.$slots,"default")],2)}var z_=dt(H6,[["render",V6]]);const G6=Ke({name:"LayoutHeader",setup(){return{classNames:[ot("layout-header")]}}});function W6(o,n,s,l,a,u){return me(),Be("header",{class:De(o.classNames)},[ct(o.$slots,"default")],2)}var X_=dt(G6,[["render",W6]]);const z6=Ke({name:"LayoutContent",setup(){return{classNames:[ot("layout-content")]}}});function X6(o,n,s,l,a,u){return me(),Be("main",{class:De(o.classNames)},[ct(o.$slots,"default")],2)}var Mu=dt(z6,[["render",X6]]);const j6=Ke({name:"LayoutFooter",setup(){return{classNames:[ot("layout-footer")]}}});function Y6(o,n,s,l,a,u){return me(),Be("footer",{class:De(o.classNames)},[ct(o.$slots,"default")],2)}var j_=dt(j6,[["render",Y6]]);const K6=Ke({name:"IconDragDot",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-drag-dot`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),Q6=["stroke-width","stroke-linecap","stroke-linejoin"],q6=Ne("path",{d:"M40 17v2h-2v-2h2ZM25 17v2h-2v-2h2ZM10 17v2H8v-2h2ZM40 29v2h-2v-2h2ZM25 29v2h-2v-2h2ZM10 29v2H8v-2h2Z",fill:"currentColor",stroke:"none"},null,-1),J6=Ne("path",{d:"M40 17v2h-2v-2h2ZM25 17v2h-2v-2h2ZM10 17v2H8v-2h2ZM40 29v2h-2v-2h2ZM25 29v2h-2v-2h2ZM10 29v2H8v-2h2Z"},null,-1),Z6=[q6,J6];function eM(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},Z6,14,Q6)}var Y_=dt(K6,[["render",eM]]);const tM=Object.assign(Y_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+Y_.name,Y_)}}),oM=Ke({name:"IconDragDotVertical",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:o=>["butt","round","square"].includes(o)},strokeLinejoin:{type:String,default:"miter",validator:o=>["arcs","bevel","miter","miter-clip","round"].includes(o)},rotate:Number,spin:Boolean},emits:{click:o=>!0},setup(o,{emit:n}){const s=ot("icon"),l=j(()=>[s,`${s}-drag-dot-vertical`,{[`${s}-spin`]:o.spin}]),a=j(()=>{const d={};return o.size&&(d.fontSize=vt(o.size)?`${o.size}px`:o.size),o.rotate&&(d.transform=`rotate(${o.rotate}deg)`),d});return{cls:l,innerStyle:a,onClick:d=>{n("click",d)}}}}),sM=["stroke-width","stroke-linecap","stroke-linejoin"],iM=Ne("path",{d:"M17 8h2v2h-2V8ZM17 23h2v2h-2v-2ZM17 38h2v2h-2v-2ZM29 8h2v2h-2V8ZM29 23h2v2h-2v-2ZM29 38h2v2h-2v-2Z",fill:"currentColor",stroke:"none"},null,-1),nM=Ne("path",{d:"M17 8h2v2h-2V8ZM17 23h2v2h-2v-2ZM17 38h2v2h-2v-2ZM29 8h2v2h-2V8ZM29 23h2v2h-2v-2ZM29 38h2v2h-2v-2Z"},null,-1),rM=[iM,nM];function lM(o,n,s,l,a,u){return me(),Be("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:De(o.cls),style:It(o.innerStyle),"stroke-width":o.strokeWidth,"stroke-linecap":o.strokeLinecap,"stroke-linejoin":o.strokeLinejoin,onClick:n[0]||(n[0]=(...d)=>o.onClick&&o.onClick(...d))},rM,14,sM)}var K_=dt(oM,[["render",lM]]);const cM=Object.assign(K_,{install:(o,n)=>{var s;const l=(s=n==null?void 0:n.iconPrefix)!=null?s:"";o.component(l+K_.name,K_)}});var aM=Ke({name:"ResizeTrigger",components:{ResizeObserver:lI,IconDragDot:tM,IconDragDotVertical:cM},props:{prefixCls:{type:String,required:!0},direction:{type:String,default:"horizontal"}},emits:["resize"],setup(o,{emit:n}){const{direction:s,prefixCls:l}=Pt(o),a=j(()=>(s==null?void 0:s.value)==="horizontal");return{classNames:j(()=>[l.value,{[`${l.value}-horizontal`]:a.value,[`${l.value}-vertical`]:!a.value}]),onResize:h=>{n("resize",h)},isHorizontal:a}}});function uM(o,n,s,l,a,u){const d=_t("IconDragDot"),h=_t("IconDragDotVertical"),p=_t("ResizeObserver");return me(),it(p,{onResize:o.onResize},{default:He(()=>[Ne("div",{class:De(o.classNames)},[ut(" @slot 自定义内容 "),ct(o.$slots,"default",{},()=>[Ne("div",{class:De(`${o.prefixCls}-icon-wrapper`)},[ut(" @slot 自定义 icon "),ct(o.$slots,"icon",{},()=>[o.isHorizontal?(me(),it(d,{key:0,class:De(`${o.prefixCls}-icon`)},null,8,["class"])):(me(),it(h,{key:1,class:De(`${o.prefixCls}-icon`)},null,8,["class"]))])],2)])],2)]),_:3},8,["onResize"])}var dM=dt(aM,[["render",uM]]),hM=Object.defineProperty,cb=Object.getOwnPropertySymbols,pM=Object.prototype.hasOwnProperty,$M=Object.prototype.propertyIsEnumerable,ab=(o,n,s)=>n in o?hM(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,Q_=(o,n)=>{for(var s in n||(n={}))pM.call(n,s)&&ab(o,s,n[s]);if(cb)for(var s of cb(n))$M.call(n,s)&&ab(o,s,n[s]);return o};const NI="left",wI="right",bg="top",vg="bottom",_M=[NI,wI,bg,vg];function ub(o,n){if(o===0)return 0;const s=o-n;return s<=0?0:s}function q_(o){return[bg,vg].indexOf(o)>-1}const gM=Ke({name:"ResizeBox",components:{ResizeTrigger:dM},inheritAttrs:!1,props:{width:{type:Number},height:{type:Number},component:{type:String,default:"div"},directions:{type:Array,default:()=>["right"]}},emits:{"update:width":o=>!0,"update:height":o=>!0,movingStart:o=>!0,moving:(o,n)=>!0,movingEnd:o=>!0},setup(o,{emit:n}){const{height:s,width:l,directions:a}=Pt(o),[u,d]=zu(null,qt({value:l})),[h,p]=zu(null,qt({value:s})),f=ge(),T=qt({}),y=ot("resizebox"),k=j(()=>[y]),P=j(()=>Q_(Q_(Q_({},vt(u.value)?{width:`${u.value}px`}:{}),vt(h.value)?{height:`${h.value}px`}:{}),T)),x=j(()=>a.value.filter(M=>_M.includes(M))),z={direction:"",startPageX:0,startPageY:0,startWidth:0,startHeight:0,moving:!1,padding:{left:0,right:0,top:0,bottom:0}};function ne(M){if(!z.moving)return;const{startPageX:L,startPageY:S,startWidth:F,startHeight:W,direction:X}=z;let le=F,$e=W;const he=M.pageX-L,fe=M.pageY-S;switch(X){case NI:le=F-he,d(le),n("update:width",le);break;case wI:le=F+he,d(le),n("update:width",le);break;case bg:$e=W-fe,p($e),n("update:height",$e);break;case vg:$e=W+fe,p($e),n("update:height",$e);break}n("moving",{width:le,height:$e},M)}function ie(M){z.moving=!1,Yo(window,"mousemove",ne),Yo(window,"mouseup",ie),Yo(window,"contextmenu",ie),document.body.style.cursor="default",n("movingEnd",M)}function Z(M,L){var S,F;n("movingStart",L),z.moving=!0,z.startPageX=L.pageX,z.startPageY=L.pageY,z.direction=M;const{top:W,left:X,right:le,bottom:$e}=z.padding;z.startWidth=ub(((S=f.value)==null?void 0:S.clientWidth)||0,X+le),z.startHeight=ub(((F=f.value)==null?void 0:F.clientHeight)||0,W+$e),vo(window,"mousemove",ne),vo(window,"mouseup",ie),vo(window,"contextmenu",ie),document.body.style.cursor=q_(M)?"row-resize":"col-resize"}function Y(M,L){const{width:S,height:F}=L.contentRect,W=q_(M)?F:S;z.padding[M]=W,T[`padding-${M}`]=`${W}px`}return{prefixCls:y,classNames:k,styles:P,wrapperRef:f,onMoveStart:Z,isHorizontal:q_,allowDirections:x,onTiggerResize:Y}}});function fM(o,n,s,l,a,u){const d=_t("ResizeTrigger");return me(),it(cn(o.component),Ot({ref:"wrapperRef",class:o.classNames},o.$attrs,{style:o.styles}),{default:He(()=>[ct(o.$slots,"default"),(me(!0),Be(Gt,null,sd(o.allowDirections,h=>(me(),it(d,{key:h,"prefix-cls":`${o.prefixCls}-trigger`,class:De(`${o.prefixCls}-direction-${h}`),direction:o.isHorizontal(h)?"horizontal":"vertical",onMousedown:p=>{o.onMoveStart(h,p)},onResize:p=>{o.onTiggerResize(h,p)}},Rv({default:He(()=>[o.$slots["resize-trigger"]?ct(o.$slots,"resize-trigger",{key:0,direction:h}):ut("v-if",!0)]),_:2},[o.$slots["resize-trigger-icon"]?{name:"icon",fn:He(()=>[ct(o.$slots,"resize-trigger-icon",{direction:h})])}:void 0]),1032,["prefix-cls","class","direction","onMousedown","onResize"]))),128))]),_:3},16,["class","style"])}var J_=dt(gM,[["render",fM]]);const mM=Object.assign(J_,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+J_.name,J_)}});function TM(o,n){const s=j(()=>eo(o)?o.value:o);let l="";Wt(()=>{l=ob.subscribe((a,u)=>{s.value&&(!u||u===s.value)&&n(!!a[s.value])})}),Uc(()=>{l&&ob.unsubscribe(l)})}const EM=(()=>{let o=0;return(n="")=>(o+=1,`${n}${o}`)})();var bM=Ke({name:"LayoutSider",components:{IconLeft:SI,IconRight:OI,ResizeBox:mM},props:{theme:{type:String,default:"light"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean},collapsible:{type:Boolean},width:{type:Number,default:200},collapsedWidth:{type:Number,default:48},reverseArrow:{type:Boolean},breakpoint:{type:String},resizeDirections:{type:Array,default:void 0},hideTrigger:{type:Boolean}},emits:["collapse","update:collapsed","breakpoint"],setup(o,{emit:n}){const{theme:s,collapsed:l,defaultCollapsed:a,collapsible:u,hideTrigger:d,breakpoint:h,collapsedWidth:p,resizeDirections:f}=Pt(o),[T,y]=zu(a.value,qt({value:l})),k=j(()=>f.value?"ResizeBox":"div"),P=j(()=>u.value&&!d.value),x=ot("layout-sider"),z=j(()=>[x,{[`${x}-light`]:s.value==="light",[`${x}-has-trigger`]:P.value,[`${x}-collapsed`]:l.value}]),ne=j(()=>{const{width:L,collapsedWidth:S}=o,F=T.value?S:L;return vt(F)?`${F}px`:String(F)}),ie=j(()=>[`${x}-trigger`,{[`${x}-trigger-light`]:s.value==="light"}]),Z=()=>{const L=!T.value;y(L),n("update:collapsed",L),n("collapse",L,"clickTrigger")};TM(h,L=>{const S=!L;S!==T.value&&(y(S),n("update:collapsed",S),n("collapse",S,"responsive"),n("breakpoint",S))});const Y=EM("__arco_layout_sider"),M=ho(LI,void 0);return Wt(()=>{var L;(L=M==null?void 0:M.onSiderMount)==null||L.call(M,Y)}),Uc(()=>{var L;(L=M==null?void 0:M.onSiderUnMount)==null||L.call(M,Y)}),hn(U6,qt({theme:s,collapsed:T,collapsedWidth:p})),{componentTag:k,prefixCls:x,classNames:z,triggerClassNames:ie,localCollapsed:T,siderWidth:ne,showTrigger:P,toggleTrigger:Z}}});const vM={key:0},IM={key:1};function OM(o,n,s,l,a,u){const d=_t("IconLeft"),h=_t("IconRight");return me(),it(cn(o.componentTag),Ot({class:o.classNames,style:{width:o.siderWidth}},o.resizeDirections?{directions:o.resizeDirections}:{}),{default:He(()=>[Ne("div",{class:De(`${o.prefixCls}-children`)},[ct(o.$slots,"default")],2),o.showTrigger?(me(),Be("div",{key:0,class:De(o.triggerClassNames),style:It({width:o.siderWidth}),onClick:n[0]||(n[0]=(...p)=>o.toggleTrigger&&o.toggleTrigger(...p))},[ct(o.$slots,"trigger",{collapsed:o.localCollapsed},()=>[o.reverseArrow?(me(),Be("div",IM,[o.localCollapsed?(me(),it(d,{key:0})):(me(),it(h,{key:1}))])):(me(),Be("div",vM,[o.localCollapsed?(me(),it(h,{key:1})):(me(),it(d,{key:0}))]))])],6)):ut("v-if",!0)]),_:3},16,["class","style"])}var Du=dt(bM,[["render",OM]]);const CM=Object.assign(z_,{Header:X_,Content:Mu,Footer:j_,Sider:Du,install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+z_.name,z_),o.component(s+X_.name,X_),o.component(s+Mu.name,Mu),o.component(s+j_.name,j_),o.component(s+Du.name,Du)}}),yM=({modalRef:o,wrapperRef:n,draggable:s,alignCenter:l})=>{const a=ge(!1),u=ge([0,0]),d=ge([0,0]),h=ge(),p=ge([0,0]),f=ge([0,0]),T=()=>{var x,z,ne;if(n.value&&o.value){const{top:ie,left:Z}=n.value.getBoundingClientRect(),{clientWidth:Y,clientHeight:M}=n.value,{top:L,left:S,width:F,height:W}=o.value.getBoundingClientRect(),X=l.value?0:(x=o.value)==null?void 0:x.offsetTop,le=S-Z,$e=L-ie-X;(le!==((z=d.value)==null?void 0:z[0])||$e!==((ne=d.value)==null?void 0:ne[1]))&&(d.value=[le,$e]);const he=Y>F?Y-F:0,fe=M>W?M-W-X:0;(he!==f.value[0]||fe!==f.value[1])&&(f.value=[he,fe]),X&&(p.value=[0,0-X])}},y=x=>{s.value&&(x.preventDefault(),a.value=!0,T(),u.value=[x.x,x.y],vo(window,"mousemove",k),vo(window,"mouseup",P),vo(window,"contextmenu",P))},k=x=>{if(a.value){const z=x.x-u.value[0],ne=x.y-u.value[1];let ie=d.value[0]+z,Z=d.value[1]+ne;ief.value[0]&&(ie=f.value[0]),Zf.value[1]&&(Z=f.value[1]),h.value=[ie,Z]}},P=()=>{a.value=!1,Yo(window,"mousemove",k),Yo(window,"mouseup",P)};return{position:h,handleMoveDown:y}};var SM=Object.defineProperty,db=Object.getOwnPropertySymbols,RM=Object.prototype.hasOwnProperty,kM=Object.prototype.propertyIsEnumerable,hb=(o,n,s)=>n in o?SM(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,AM=(o,n)=>{for(var s in n||(n={}))RM.call(n,s)&&hb(o,s,n[s]);if(db)for(var s of db(n))kM.call(n,s)&&hb(o,s,n[s]);return o},LM=Ke({name:"Modal",components:{ClientOnly:fI,ArcoButton:dd,IconHover:oi,IconClose:Tl,IconInfoCircleFill:Fk,IconCheckCircleFill:dI,IconExclamationCircleFill:hI,IconCloseCircleFill:pI},inheritAttrs:!1,props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},width:{type:[Number,String]},top:{type:[Number,String]},mask:{type:Boolean,default:!0},title:{type:String},titleAlign:{type:String,default:"center"},alignCenter:{type:Boolean,default:!0},unmountOnClose:Boolean,maskClosable:{type:Boolean,default:!0},hideCancel:{type:Boolean,default:!1},simple:{type:Boolean,default:o=>o.notice},closable:{type:Boolean,default:!0},okText:String,cancelText:String,okLoading:{type:Boolean,default:!1},okButtonProps:{type:Object},cancelButtonProps:{type:Object},footer:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},popupContainer:{type:[String,Object],default:"body"},maskStyle:{type:Object},modalClass:{type:[String,Array]},modalStyle:{type:Object},onBeforeOk:{type:Function},onBeforeCancel:{type:Function},escToClose:{type:Boolean,default:!0},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},maskAnimationName:{type:String,default:o=>o.fullscreen?"fade-in-standard":"fade-modal"},modalAnimationName:{type:String,default:o=>o.fullscreen?"zoom-in":"zoom-modal"},bodyClass:{type:[String,Array]},bodyStyle:{type:[String,Object,Array]},messageType:{type:String},hideTitle:{type:Boolean,default:!1}},emits:{"update:visible":o=>!0,ok:o=>!0,cancel:o=>!0,open:()=>!0,close:()=>!0,beforeOpen:()=>!0,beforeClose:()=>!0},setup(o,{emit:n}){const{fullscreen:s,popupContainer:l,alignCenter:a}=Pt(o),u=ot("modal"),{t:d}=ug(),h=ge(),p=ge(),f=ge(o.defaultVisible),T=j(()=>{var We;return(We=o.visible)!=null?We:f.value}),y=ge(!1),k=j(()=>o.okLoading||y.value),P=j(()=>o.draggable&&!o.fullscreen),{teleportContainer:x,containerRef:z}=mI({popupContainer:l,visible:T}),ne=ge(T.value),ie=j(()=>o.okText||d("modal.okText")),Z=j(()=>o.cancelText||d("modal.cancelText")),{zIndex:Y,isLastDialog:M}=mg("dialog",{visible:T});let L=!1;const S=We=>{o.escToClose&&We.key===Ss.ESC&&M()&&ke(We)},F=()=>{o.escToClose&&!L&&(L=!0,vo(document.documentElement,"keydown",S))},W=()=>{L=!1,Yo(document.documentElement,"keydown",S)};let X=0;const{position:le,handleMoveDown:$e}=yM({wrapperRef:h,modalRef:p,draggable:P,alignCenter:a}),he=()=>{X++,y.value&&(y.value=!1),f.value=!1,n("update:visible",!1)},fe=async We=>{const Ze=X,nt=await new Promise(async ht=>{var et;if(bo(o.onBeforeOk)){let Pe=o.onBeforeOk((w=!0)=>ht(w));if(($1(Pe)||!S0(Pe))&&(y.value=!0),$1(Pe))try{Pe=(et=await Pe)!=null?et:!0}catch{Pe=!1}S0(Pe)&&ht(Pe)}else ht(!0)});Ze===X&&(nt?(n("ok",We),he()):y.value&&(y.value=!1))},ke=We=>{var Ze;let nt=!0;bo(o.onBeforeCancel)&&(nt=(Ze=o.onBeforeCancel())!=null?Ze:!1),nt&&(n("cancel",We),he())},re=ge(!1),Ie=We=>{We.target===h.value&&(re.value=!0)},D=We=>{o.mask&&o.maskClosable&&re.value&&ke(We)},B=()=>{T.value&&(!vk(h.value,document.activeElement)&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),n("open"))},ae=()=>{T.value||(P.value&&(le.value=void 0),ne.value=!1,Me(),n("close"))},{setOverflowHidden:_e,resetOverflow:Me}=Sw(z);Wt(()=>{z.value=L0(o.popupContainer),T.value&&(_e(),o.escToClose&&F())}),Ri(()=>{Me(),W()}),Et(T,We=>{f.value!==We&&(f.value=We),We?(n("beforeOpen"),ne.value=!0,re.value=!1,_e(),F()):(n("beforeClose"),W())}),Et(s,()=>{le.value&&(le.value=void 0)});const Xe=j(()=>[`${u}-wrapper`,{[`${u}-wrapper-align-center`]:o.alignCenter&&!o.fullscreen,[`${u}-wrapper-moved`]:!!le.value}]),Je=j(()=>[`${u}`,o.modalClass,{[`${u}-simple`]:o.simple,[`${u}-draggable`]:P.value,[`${u}-fullscreen`]:o.fullscreen}]),we=j(()=>{var We;const Ze=AM({},(We=o.modalStyle)!=null?We:{});return o.width&&!o.fullscreen&&(Ze.width=vt(o.width)?`${o.width}px`:o.width),!o.alignCenter&&o.top&&(Ze.top=vt(o.top)?`${o.top}px`:o.top),le.value&&(Ze.transform=`translate(${le.value[0]}px, ${le.value[1]}px)`),Ze});return{prefixCls:u,mounted:ne,computedVisible:T,containerRef:z,wrapperRef:h,mergedModalStyle:we,okDisplayText:ie,cancelDisplayText:Z,zIndex:Y,handleOk:fe,handleCancel:ke,handleMaskClick:D,handleMaskMouseDown:Ie,handleOpen:B,handleClose:ae,mergedOkLoading:k,modalRef:p,wrapperCls:Xe,modalCls:Je,teleportContainer:x,handleMoveDown:$e}}});function NM(o,n,s,l,a,u){const d=_t("icon-info-circle-fill"),h=_t("icon-check-circle-fill"),p=_t("icon-exclamation-circle-fill"),f=_t("icon-close-circle-fill"),T=_t("icon-close"),y=_t("icon-hover"),k=_t("arco-button"),P=_t("client-only");return me(),it(P,null,{default:He(()=>[(me(),it(lg,{to:o.teleportContainer,disabled:!o.renderToBody},[!o.unmountOnClose||o.computedVisible||o.mounted?Kn((me(),Be("div",Ot({key:0,class:`${o.prefixCls}-container`,style:{zIndex:o.zIndex}},o.$attrs),[J(un,{name:o.maskAnimationName,appear:""},{default:He(()=>[o.mask?Kn((me(),Be("div",{key:0,ref:"maskRef",class:De(`${o.prefixCls}-mask`),style:It(o.maskStyle)},null,6)),[[qn,o.computedVisible]]):ut("v-if",!0)]),_:1},8,["name"]),Ne("div",{ref:"wrapperRef",class:De(o.wrapperCls),onClick:n[2]||(n[2]=er((...x)=>o.handleMaskClick&&o.handleMaskClick(...x),["self"])),onMousedown:n[3]||(n[3]=er((...x)=>o.handleMaskMouseDown&&o.handleMaskMouseDown(...x),["self"]))},[J(un,{name:o.modalAnimationName,appear:"",onAfterEnter:o.handleOpen,onAfterLeave:o.handleClose},{default:He(()=>[Kn(Ne("div",{ref:"modalRef",class:De(o.modalCls),style:It(o.mergedModalStyle)},[!o.hideTitle&&(o.$slots.title||o.title||o.closable)?(me(),Be("div",{key:0,class:De(`${o.prefixCls}-header`),onMousedown:n[1]||(n[1]=(...x)=>o.handleMoveDown&&o.handleMoveDown(...x))},[o.$slots.title||o.title?(me(),Be("div",{key:0,class:De([`${o.prefixCls}-title`,`${o.prefixCls}-title-align-${o.titleAlign}`])},[o.messageType?(me(),Be("div",{key:0,class:De(`${o.prefixCls}-title-icon`)},[o.messageType==="info"?(me(),it(d,{key:0})):ut("v-if",!0),o.messageType==="success"?(me(),it(h,{key:1})):ut("v-if",!0),o.messageType==="warning"?(me(),it(p,{key:2})):ut("v-if",!0),o.messageType==="error"?(me(),it(f,{key:3})):ut("v-if",!0)],2)):ut("v-if",!0),ct(o.$slots,"title",{},()=>[Zt(Ci(o.title),1)])],2)):ut("v-if",!0),!o.simple&&o.closable?(me(),Be("div",{key:1,tabindex:"-1",role:"button","aria-label":"Close",class:De(`${o.prefixCls}-close-btn`),onClick:n[0]||(n[0]=(...x)=>o.handleCancel&&o.handleCancel(...x))},[J(y,null,{default:He(()=>[J(T)]),_:1})],2)):ut("v-if",!0)],34)):ut("v-if",!0),Ne("div",{class:De([`${o.prefixCls}-body`,o.bodyClass]),style:It(o.bodyStyle)},[ct(o.$slots,"default")],6),o.footer?(me(),Be("div",{key:1,class:De(`${o.prefixCls}-footer`)},[ct(o.$slots,"footer",{},()=>[o.hideCancel?ut("v-if",!0):(me(),it(k,Ot({key:0},o.cancelButtonProps,{onClick:o.handleCancel}),{default:He(()=>[Zt(Ci(o.cancelDisplayText),1)]),_:1},16,["onClick"])),J(k,Ot({type:"primary"},o.okButtonProps,{loading:o.mergedOkLoading,onClick:o.handleOk}),{default:He(()=>[Zt(Ci(o.okDisplayText),1)]),_:1},16,["loading","onClick"])])],2)):ut("v-if",!0)],6),[[qn,o.computedVisible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],34)],16)),[[qn,o.computedVisible||o.mounted]]):ut("v-if",!0)],8,["to","disabled"]))]),_:3})}var Pu=dt(LM,[["render",NM]]),wM=Object.defineProperty,MM=Object.defineProperties,DM=Object.getOwnPropertyDescriptors,pb=Object.getOwnPropertySymbols,PM=Object.prototype.hasOwnProperty,xM=Object.prototype.propertyIsEnumerable,$b=(o,n,s)=>n in o?wM(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,Jn=(o,n)=>{for(var s in n||(n={}))PM.call(n,s)&&$b(o,s,n[s]);if(pb)for(var s of pb(n))xM.call(n,s)&&$b(o,s,n[s]);return o},BM=(o,n)=>MM(o,DM(n));const Z_=(o,n)=>{let s=Ik("modal");const l=()=>{f.component&&(f.component.props.visible=!1),bo(o.onOk)&&o.onOk()},a=()=>{f.component&&(f.component.props.visible=!1),bo(o.onCancel)&&o.onCancel()},u=async()=>{await Io(),s&&(p1(null,s),document.body.removeChild(s)),s=null,bo(o.onClose)&&o.onClose()},d=()=>{f.component&&(f.component.props.visible=!1)},h=T=>{f.component&&Object.entries(T).forEach(([y,k])=>{f.component.props[y]=k})},f=J(Pu,Jn(Jn(Jn({},{visible:!0,renderToBody:!1,unmountOnClose:!0,onOk:l,onCancel:a,onClose:u}),Hc(o,["content","title","footer","visible","unmountOnClose","onOk","onCancel","onClose"])),{footer:typeof o.footer=="boolean"?o.footer:void 0}),{default:l_(o.content),title:l_(o.title),footer:typeof o.footer!="boolean"?l_(o.footer):void 0});return(n??dn._context)&&(f.appContext=n??dn._context),p1(f,s),document.body.appendChild(s),{close:d,update:h}},e0=Jn({open:Z_,confirm:(o,n)=>{const s=Jn({simple:!0,messageType:"warning"},o);return Z_(s,n)}},tA.reduce((o,n)=>(o[n]=(s,l)=>{const a=Jn({simple:!0,hideCancel:!0,messageType:n},s);return Z_(a,l)},o),{})),dn=Object.assign(Pu,BM(Jn({},e0),{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+Pu.name,Pu);const l={};for(const a of Object.keys(e0))l[a]=(u,d=o._context)=>e0[a](u,d);o.config.globalProperties.$modal=l},_context:null}));var t0=Ke({name:"Space",props:{align:{type:String},direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:"small"},wrap:{type:Boolean},fill:{type:Boolean}},setup(o,{slots:n}){const s=ot("space"),l=j(()=>{var h;return(h=o.align)!=null?h:o.direction==="horizontal"?"center":""}),a=j(()=>[s,{[`${s}-${o.direction}`]:o.direction,[`${s}-align-${l.value}`]:l.value,[`${s}-wrap`]:o.wrap,[`${s}-fill`]:o.fill}]);function u(h){if(vt(h))return h;switch(h){case"mini":return 4;case"small":return 8;case"medium":return 16;case"large":return 24;default:return 8}}const d=h=>{const p={},f=`${u(jo(o.size)?o.size[0]:o.size)}px`,T=`${u(jo(o.size)?o.size[1]:o.size)}px`;return h?o.wrap?{marginBottom:T}:{}:(o.direction==="horizontal"&&(p.marginRight=f),(o.direction==="vertical"||o.wrap)&&(p.marginBottom=T),p)};return()=>{var h;const p=ku((h=n.default)==null?void 0:h.call(n),!0).filter(f=>f.type!==ns);return J("div",{class:a.value},[p.map((f,T)=>{var y,k;const P=n.split&&T>0;return J(Gt,{key:(y=f.key)!=null?y:`item-${T}`},[P&&J("div",{class:`${s}-item-split`,style:d(!1)},[(k=n.split)==null?void 0:k.call(n)]),J("div",{class:`${s}-item`,style:d(T===p.length-1)},[f])])})])}}});const Ig=Object.assign(t0,{install:(o,n)=>{Co(o,n);const s=Oo(n);o.component(s+t0.name,t0)}});function MI(o){return o instanceof Map?o.clear=o.delete=o.set=function(){throw new Error("map is read-only")}:o instanceof Set&&(o.add=o.clear=o.delete=function(){throw new Error("set is read-only")}),Object.freeze(o),Object.getOwnPropertyNames(o).forEach(n=>{const s=o[n],l=typeof s;(l==="object"||l==="function")&&!Object.isFrozen(s)&&MI(s)}),o}class _b{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function DI(o){return o.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function sn(o,...n){const s=Object.create(null);for(const l in o)s[l]=o[l];return n.forEach(function(l){for(const a in l)s[a]=l[a]}),s}const FM="",gb=o=>!!o.scope,UM=(o,{prefix:n})=>{if(o.startsWith("language:"))return o.replace("language:","language-");if(o.includes(".")){const s=o.split(".");return[`${n}${s.shift()}`,...s.map((l,a)=>`${l}${"_".repeat(a+1)}`)].join(" ")}return`${n}${o}`};class HM{constructor(n,s){this.buffer="",this.classPrefix=s.classPrefix,n.walk(this)}addText(n){this.buffer+=DI(n)}openNode(n){if(!gb(n))return;const s=UM(n.scope,{prefix:this.classPrefix});this.span(s)}closeNode(n){gb(n)&&(this.buffer+=FM)}value(){return this.buffer}span(n){this.buffer+=``}}const fb=(o={})=>{const n={children:[]};return Object.assign(n,o),n};class Og{constructor(){this.rootNode=fb(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const s=fb({scope:n});this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,s){return typeof s=="string"?n.addText(s):s.children&&(n.openNode(s),s.children.forEach(l=>this._walk(n,l)),n.closeNode(s)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(s=>typeof s=="string")?n.children=[n.children.join("")]:n.children.forEach(s=>{Og._collapse(s)}))}}class VM extends Og{constructor(n){super(),this.options=n}addText(n){n!==""&&this.add(n)}startScope(n){this.openNode(n)}endScope(){this.closeNode()}__addSublanguage(n,s){const l=n.root;s&&(l.scope=`language:${s}`),this.add(l)}toHTML(){return new HM(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Bc(o){return o?typeof o=="string"?o:o.source:null}function PI(o){return rr("(?=",o,")")}function GM(o){return rr("(?:",o,")*")}function WM(o){return rr("(?:",o,")?")}function rr(...o){return o.map(s=>Bc(s)).join("")}function zM(o){const n=o[o.length-1];return typeof n=="object"&&n.constructor===Object?(o.splice(o.length-1,1),n):{}}function Cg(...o){return"("+(zM(o).capture?"":"?:")+o.map(l=>Bc(l)).join("|")+")"}function xI(o){return new RegExp(o.toString()+"|").exec("").length-1}function XM(o,n){const s=o&&o.exec(n);return s&&s.index===0}const jM=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function yg(o,{joinWith:n}){let s=0;return o.map(l=>{s+=1;const a=s;let u=Bc(l),d="";for(;u.length>0;){const h=jM.exec(u);if(!h){d+=u;break}d+=u.substring(0,h.index),u=u.substring(h.index+h[0].length),h[0][0]==="\\"&&h[1]?d+="\\"+String(Number(h[1])+a):(d+=h[0],h[0]==="("&&s++)}return d}).map(l=>`(${l})`).join(n)}const YM=/\b\B/,BI="[a-zA-Z]\\w*",Sg="[a-zA-Z_]\\w*",FI="\\b\\d+(\\.\\d+)?",UI="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",HI="\\b(0b[01]+)",KM="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",QM=(o={})=>{const n=/^#![ ]*\//;return o.binary&&(o.begin=rr(n,/.*\b/,o.binary,/\b.*/)),sn({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(s,l)=>{s.index!==0&&l.ignoreMatch()}},o)},Fc={begin:"\\\\[\\s\\S]",relevance:0},qM={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Fc]},JM={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Fc]},ZM={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},pd=function(o,n,s={}){const l=sn({scope:"comment",begin:o,end:n,contains:[]},s);l.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=Cg("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return l.contains.push({begin:rr(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),l},e5=pd("//","$"),t5=pd("/\\*","\\*/"),o5=pd("#","$"),s5={scope:"number",begin:FI,relevance:0},i5={scope:"number",begin:UI,relevance:0},n5={scope:"number",begin:HI,relevance:0},r5={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Fc,{begin:/\[/,end:/\]/,relevance:0,contains:[Fc]}]}]},l5={scope:"title",begin:BI,relevance:0},c5={scope:"title",begin:Sg,relevance:0},a5={begin:"\\.\\s*"+Sg,relevance:0},u5=function(o){return Object.assign(o,{"on:begin":(n,s)=>{s.data._beginMatch=n[1]},"on:end":(n,s)=>{s.data._beginMatch!==n[1]&&s.ignoreMatch()}})};var Ou=Object.freeze({__proto__:null,MATCH_NOTHING_RE:YM,IDENT_RE:BI,UNDERSCORE_IDENT_RE:Sg,NUMBER_RE:FI,C_NUMBER_RE:UI,BINARY_NUMBER_RE:HI,RE_STARTERS_RE:KM,SHEBANG:QM,BACKSLASH_ESCAPE:Fc,APOS_STRING_MODE:qM,QUOTE_STRING_MODE:JM,PHRASAL_WORDS_MODE:ZM,COMMENT:pd,C_LINE_COMMENT_MODE:e5,C_BLOCK_COMMENT_MODE:t5,HASH_COMMENT_MODE:o5,NUMBER_MODE:s5,C_NUMBER_MODE:i5,BINARY_NUMBER_MODE:n5,REGEXP_MODE:r5,TITLE_MODE:l5,UNDERSCORE_TITLE_MODE:c5,METHOD_GUARD:a5,END_SAME_AS_BEGIN:u5});function d5(o,n){o.input[o.index-1]==="."&&n.ignoreMatch()}function h5(o,n){o.className!==void 0&&(o.scope=o.className,delete o.className)}function p5(o,n){n&&o.beginKeywords&&(o.begin="\\b("+o.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",o.__beforeBegin=d5,o.keywords=o.keywords||o.beginKeywords,delete o.beginKeywords,o.relevance===void 0&&(o.relevance=0))}function $5(o,n){Array.isArray(o.illegal)&&(o.illegal=Cg(...o.illegal))}function _5(o,n){if(o.match){if(o.begin||o.end)throw new Error("begin & end are not supported with match");o.begin=o.match,delete o.match}}function g5(o,n){o.relevance===void 0&&(o.relevance=1)}const f5=(o,n)=>{if(!o.beforeMatch)return;if(o.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},o);Object.keys(o).forEach(l=>{delete o[l]}),o.keywords=s.keywords,o.begin=rr(s.beforeMatch,PI(s.begin)),o.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},o.relevance=0,delete s.beforeMatch},m5=["of","and","for","in","not","or","if","then","parent","list","value"],T5="keyword";function VI(o,n,s=T5){const l=Object.create(null);return typeof o=="string"?a(s,o.split(" ")):Array.isArray(o)?a(s,o):Object.keys(o).forEach(function(u){Object.assign(l,VI(o[u],n,u))}),l;function a(u,d){n&&(d=d.map(h=>h.toLowerCase())),d.forEach(function(h){const p=h.split("|");l[p[0]]=[u,E5(p[0],p[1])]})}}function E5(o,n){return n?Number(n):b5(o)?0:1}function b5(o){return m5.includes(o.toLowerCase())}const mb={},Zn=o=>{console.error(o)},Tb=(o,...n)=>{console.log(`WARN: ${o}`,...n)},tl=(o,n)=>{mb[`${o}/${n}`]||(console.log(`Deprecated as of ${o}. ${n}`),mb[`${o}/${n}`]=!0)},Xu=new Error;function GI(o,n,{key:s}){let l=0;const a=o[s],u={},d={};for(let h=1;h<=n.length;h++)d[h+l]=a[h],u[h+l]=!0,l+=xI(n[h-1]);o[s]=d,o[s]._emit=u,o[s]._multi=!0}function v5(o){if(Array.isArray(o.begin)){if(o.skip||o.excludeBegin||o.returnBegin)throw Zn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Xu;if(typeof o.beginScope!="object"||o.beginScope===null)throw Zn("beginScope must be object"),Xu;GI(o,o.begin,{key:"beginScope"}),o.begin=yg(o.begin,{joinWith:""})}}function I5(o){if(Array.isArray(o.end)){if(o.skip||o.excludeEnd||o.returnEnd)throw Zn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Xu;if(typeof o.endScope!="object"||o.endScope===null)throw Zn("endScope must be object"),Xu;GI(o,o.end,{key:"endScope"}),o.end=yg(o.end,{joinWith:""})}}function O5(o){o.scope&&typeof o.scope=="object"&&o.scope!==null&&(o.beginScope=o.scope,delete o.scope)}function C5(o){O5(o),typeof o.beginScope=="string"&&(o.beginScope={_wrap:o.beginScope}),typeof o.endScope=="string"&&(o.endScope={_wrap:o.endScope}),v5(o),I5(o)}function y5(o){function n(d,h){return new RegExp(Bc(d),"m"+(o.case_insensitive?"i":"")+(o.unicodeRegex?"u":"")+(h?"g":""))}class s{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(h,p){p.position=this.position++,this.matchIndexes[this.matchAt]=p,this.regexes.push([p,h]),this.matchAt+=xI(h)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const h=this.regexes.map(p=>p[1]);this.matcherRe=n(yg(h,{joinWith:"|"}),!0),this.lastIndex=0}exec(h){this.matcherRe.lastIndex=this.lastIndex;const p=this.matcherRe.exec(h);if(!p)return null;const f=p.findIndex((y,k)=>k>0&&y!==void 0),T=this.matchIndexes[f];return p.splice(0,f),Object.assign(p,T)}}class l{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(h){if(this.multiRegexes[h])return this.multiRegexes[h];const p=new s;return this.rules.slice(h).forEach(([f,T])=>p.addRule(f,T)),p.compile(),this.multiRegexes[h]=p,p}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(h,p){this.rules.push([h,p]),p.type==="begin"&&this.count++}exec(h){const p=this.getMatcher(this.regexIndex);p.lastIndex=this.lastIndex;let f=p.exec(h);if(this.resumingScanAtSamePosition()&&!(f&&f.index===this.lastIndex)){const T=this.getMatcher(0);T.lastIndex=this.lastIndex+1,f=T.exec(h)}return f&&(this.regexIndex+=f.position+1,this.regexIndex===this.count&&this.considerAll()),f}}function a(d){const h=new l;return d.contains.forEach(p=>h.addRule(p.begin,{rule:p,type:"begin"})),d.terminatorEnd&&h.addRule(d.terminatorEnd,{type:"end"}),d.illegal&&h.addRule(d.illegal,{type:"illegal"}),h}function u(d,h){const p=d;if(d.isCompiled)return p;[h5,_5,C5,f5].forEach(T=>T(d,h)),o.compilerExtensions.forEach(T=>T(d,h)),d.__beforeBegin=null,[p5,$5,g5].forEach(T=>T(d,h)),d.isCompiled=!0;let f=null;return typeof d.keywords=="object"&&d.keywords.$pattern&&(d.keywords=Object.assign({},d.keywords),f=d.keywords.$pattern,delete d.keywords.$pattern),f=f||/\w+/,d.keywords&&(d.keywords=VI(d.keywords,o.case_insensitive)),p.keywordPatternRe=n(f,!0),h&&(d.begin||(d.begin=/\B|\b/),p.beginRe=n(p.begin),!d.end&&!d.endsWithParent&&(d.end=/\B|\b/),d.end&&(p.endRe=n(p.end)),p.terminatorEnd=Bc(p.end)||"",d.endsWithParent&&h.terminatorEnd&&(p.terminatorEnd+=(d.end?"|":"")+h.terminatorEnd)),d.illegal&&(p.illegalRe=n(d.illegal)),d.contains||(d.contains=[]),d.contains=[].concat(...d.contains.map(function(T){return S5(T==="self"?d:T)})),d.contains.forEach(function(T){u(T,p)}),d.starts&&u(d.starts,h),p.matcher=a(p),p}if(o.compilerExtensions||(o.compilerExtensions=[]),o.contains&&o.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return o.classNameAliases=sn(o.classNameAliases||{}),u(o)}function WI(o){return o?o.endsWithParent||WI(o.starts):!1}function S5(o){return o.variants&&!o.cachedVariants&&(o.cachedVariants=o.variants.map(function(n){return sn(o,{variants:null},n)})),o.cachedVariants?o.cachedVariants:WI(o)?sn(o,{starts:o.starts?sn(o.starts):null}):Object.isFrozen(o)?sn(o):o}var R5="11.8.0";class k5 extends Error{constructor(n,s){super(n),this.name="HTMLInjectionError",this.html=s}}const o0=DI,Eb=sn,bb=Symbol("nomatch"),A5=7,zI=function(o){const n=Object.create(null),s=Object.create(null),l=[];let a=!0;const u="Could not find the language '{}', did you forget to load/include a language module?",d={disableAutodetect:!0,name:"Plain text",contains:[]};let h={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:VM};function p(D){return h.noHighlightRe.test(D)}function f(D){let B=D.className+" ";B+=D.parentNode?D.parentNode.className:"";const ae=h.languageDetectRe.exec(B);if(ae){const _e=X(ae[1]);return _e||(Tb(u.replace("{}",ae[1])),Tb("Falling back to no-highlight mode for this block.",D)),_e?ae[1]:"no-highlight"}return B.split(/\s+/).find(_e=>p(_e)||X(_e))}function T(D,B,ae){let _e="",Me="";typeof B=="object"?(_e=D,ae=B.ignoreIllegals,Me=B.language):(tl("10.7.0","highlight(lang, code, ...args) has been deprecated."),tl("10.7.0",`Please use highlight(code, options) instead.
+https://github.com/highlightjs/highlight.js/issues/2277`),Me=D,_e=B),ae===void 0&&(ae=!0);const Xe={code:_e,language:Me};re("before:highlight",Xe);const Je=Xe.result?Xe.result:y(Xe.language,Xe.code,ae);return Je.code=Xe.code,re("after:highlight",Je),Je}function y(D,B,ae,_e){const Me=Object.create(null);function Xe(se,ue){return se.keywords[ue]}function Je(){if(!oe.keywords){ce.addText(Se);return}let se=0;oe.keywordPatternRe.lastIndex=0;let ue=oe.keywordPatternRe.exec(Se),ye="";for(;ue;){ye+=Se.substring(se,ue.index);const E=U.case_insensitive?ue[0].toLowerCase():ue[0],g=Xe(oe,E);if(g){const[R,G]=g;if(ce.addText(ye),ye="",Me[E]=(Me[E]||0)+1,Me[E]<=A5&&(Le+=G),R.startsWith("_"))ye+=ue[0];else{const q=U.classNameAliases[R]||R;Ze(ue[0],q)}}else ye+=ue[0];se=oe.keywordPatternRe.lastIndex,ue=oe.keywordPatternRe.exec(Se)}ye+=Se.substring(se),ce.addText(ye)}function we(){if(Se==="")return;let se=null;if(typeof oe.subLanguage=="string"){if(!n[oe.subLanguage]){ce.addText(Se);return}se=y(oe.subLanguage,Se,!0,Ce[oe.subLanguage]),Ce[oe.subLanguage]=se._top}else se=P(Se,oe.subLanguage.length?oe.subLanguage:null);oe.relevance>0&&(Le+=se.relevance),ce.__addSublanguage(se._emitter,se.language)}function We(){oe.subLanguage!=null?we():Je(),Se=""}function Ze(se,ue){se!==""&&(ce.startScope(ue),ce.addText(se),ce.endScope())}function nt(se,ue){let ye=1;const E=ue.length-1;for(;ye<=E;){if(!se._emit[ye]){ye++;continue}const g=U.classNameAliases[se[ye]]||se[ye],R=ue[ye];g?Ze(R,g):(Se=R,Je(),Se=""),ye++}}function ht(se,ue){return se.scope&&typeof se.scope=="string"&&ce.openNode(U.classNameAliases[se.scope]||se.scope),se.beginScope&&(se.beginScope._wrap?(Ze(Se,U.classNameAliases[se.beginScope._wrap]||se.beginScope._wrap),Se=""):se.beginScope._multi&&(nt(se.beginScope,ue),Se="")),oe=Object.create(se,{parent:{value:oe}}),oe}function et(se,ue,ye){let E=XM(se.endRe,ye);if(E){if(se["on:end"]){const g=new _b(se);se["on:end"](ue,g),g.isMatchIgnored&&(E=!1)}if(E){for(;se.endsParent&&se.parent;)se=se.parent;return se}}if(se.endsWithParent)return et(se.parent,ue,ye)}function Pe(se){return oe.matcher.regexIndex===0?(Se+=se[0],1):(ee=!0,0)}function w(se){const ue=se[0],ye=se.rule,E=new _b(ye),g=[ye.__beforeBegin,ye["on:begin"]];for(const R of g)if(R&&(R(se,E),E.isMatchIgnored))return Pe(ue);return ye.skip?Se+=ue:(ye.excludeBegin&&(Se+=ue),We(),!ye.returnBegin&&!ye.excludeBegin&&(Se=ue)),ht(ye,se),ye.returnBegin?0:ue.length}function I(se){const ue=se[0],ye=B.substring(se.index),E=et(oe,se,ye);if(!E)return bb;const g=oe;oe.endScope&&oe.endScope._wrap?(We(),Ze(ue,oe.endScope._wrap)):oe.endScope&&oe.endScope._multi?(We(),nt(oe.endScope,se)):g.skip?Se+=ue:(g.returnEnd||g.excludeEnd||(Se+=ue),We(),g.excludeEnd&&(Se=ue));do oe.scope&&ce.closeNode(),!oe.skip&&!oe.subLanguage&&(Le+=oe.relevance),oe=oe.parent;while(oe!==E.parent);return E.starts&&ht(E.starts,se),g.returnEnd?0:ue.length}function N(){const se=[];for(let ue=oe;ue!==U;ue=ue.parent)ue.scope&&se.unshift(ue.scope);se.forEach(ue=>ce.openNode(ue))}let A={};function K(se,ue){const ye=ue&&ue[0];if(Se+=se,ye==null)return We(),0;if(A.type==="begin"&&ue.type==="end"&&A.index===ue.index&&ye===""){if(Se+=B.slice(ue.index,ue.index+1),!a){const E=new Error(`0 width match regex (${D})`);throw E.languageName=D,E.badRule=A.rule,E}return 1}if(A=ue,ue.type==="begin")return w(ue);if(ue.type==="illegal"&&!ae){const E=new Error('Illegal lexeme "'+ye+'" for mode "'+(oe.scope||"")+'"');throw E.mode=oe,E}else if(ue.type==="end"){const E=I(ue);if(E!==bb)return E}if(ue.type==="illegal"&&ye==="")return 1;if(be>1e5&&be>ue.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Se+=ye,ye.length}const U=X(D);if(!U)throw Zn(u.replace("{}",D)),new Error('Unknown language: "'+D+'"');const de=y5(U);let Te="",oe=_e||de;const Ce={},ce=new h.__emitter(h);N();let Se="",Le=0,Ue=0,be=0,ee=!1;try{if(U.__emitTokens)U.__emitTokens(B,ce);else{for(oe.matcher.considerAll();;){be++,ee?ee=!1:oe.matcher.considerAll(),oe.matcher.lastIndex=Ue;const se=oe.matcher.exec(B);if(!se)break;const ue=B.substring(Ue,se.index),ye=K(ue,se);Ue=se.index+ye}K(B.substring(Ue))}return ce.finalize(),Te=ce.toHTML(),{language:D,value:Te,relevance:Le,illegal:!1,_emitter:ce,_top:oe}}catch(se){if(se.message&&se.message.includes("Illegal"))return{language:D,value:o0(B),illegal:!0,relevance:0,_illegalBy:{message:se.message,index:Ue,context:B.slice(Ue-100,Ue+100),mode:se.mode,resultSoFar:Te},_emitter:ce};if(a)return{language:D,value:o0(B),illegal:!1,relevance:0,errorRaised:se,_emitter:ce,_top:oe};throw se}}function k(D){const B={value:o0(D),illegal:!1,relevance:0,_top:d,_emitter:new h.__emitter(h)};return B._emitter.addText(D),B}function P(D,B){B=B||h.languages||Object.keys(n);const ae=k(D),_e=B.filter(X).filter($e).map(We=>y(We,D,!1));_e.unshift(ae);const Me=_e.sort((We,Ze)=>{if(We.relevance!==Ze.relevance)return Ze.relevance-We.relevance;if(We.language&&Ze.language){if(X(We.language).supersetOf===Ze.language)return 1;if(X(Ze.language).supersetOf===We.language)return-1}return 0}),[Xe,Je]=Me,we=Xe;return we.secondBest=Je,we}function x(D,B,ae){const _e=B&&s[B]||ae;D.classList.add("hljs"),D.classList.add(`language-${_e}`)}function z(D){let B=null;const ae=f(D);if(p(ae))return;if(re("before:highlightElement",{el:D,language:ae}),D.children.length>0&&(h.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(D)),h.throwUnescapedHTML))throw new k5("One of your code blocks includes unescaped HTML.",D.innerHTML);B=D;const _e=B.textContent,Me=ae?T(_e,{language:ae,ignoreIllegals:!0}):P(_e);D.innerHTML=Me.value,x(D,ae,Me.language),D.result={language:Me.language,re:Me.relevance,relevance:Me.relevance},Me.secondBest&&(D.secondBest={language:Me.secondBest.language,relevance:Me.secondBest.relevance}),re("after:highlightElement",{el:D,result:Me,text:_e})}function ne(D){h=Eb(h,D)}const ie=()=>{M(),tl("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Z(){M(),tl("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Y=!1;function M(){if(document.readyState==="loading"){Y=!0;return}document.querySelectorAll(h.cssSelector).forEach(z)}function L(){Y&&M()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",L,!1);function S(D,B){let ae=null;try{ae=B(o)}catch(_e){if(Zn("Language definition for '{}' could not be registered.".replace("{}",D)),a)Zn(_e);else throw _e;ae=d}ae.name||(ae.name=D),n[D]=ae,ae.rawDefinition=B.bind(null,o),ae.aliases&&le(ae.aliases,{languageName:D})}function F(D){delete n[D];for(const B of Object.keys(s))s[B]===D&&delete s[B]}function W(){return Object.keys(n)}function X(D){return D=(D||"").toLowerCase(),n[D]||n[s[D]]}function le(D,{languageName:B}){typeof D=="string"&&(D=[D]),D.forEach(ae=>{s[ae.toLowerCase()]=B})}function $e(D){const B=X(D);return B&&!B.disableAutodetect}function he(D){D["before:highlightBlock"]&&!D["before:highlightElement"]&&(D["before:highlightElement"]=B=>{D["before:highlightBlock"](Object.assign({block:B.el},B))}),D["after:highlightBlock"]&&!D["after:highlightElement"]&&(D["after:highlightElement"]=B=>{D["after:highlightBlock"](Object.assign({block:B.el},B))})}function fe(D){he(D),l.push(D)}function ke(D){const B=l.indexOf(D);B!==-1&&l.splice(B,1)}function re(D,B){const ae=D;l.forEach(function(_e){_e[ae]&&_e[ae](B)})}function Ie(D){return tl("10.7.0","highlightBlock will be removed entirely in v12.0"),tl("10.7.0","Please use highlightElement now."),z(D)}Object.assign(o,{highlight:T,highlightAuto:P,highlightAll:M,highlightElement:z,highlightBlock:Ie,configure:ne,initHighlighting:ie,initHighlightingOnLoad:Z,registerLanguage:S,unregisterLanguage:F,listLanguages:W,getLanguage:X,registerAliases:le,autoDetection:$e,inherit:Eb,addPlugin:fe,removePlugin:ke}),o.debugMode=function(){a=!1},o.safeMode=function(){a=!0},o.versionString=R5,o.regex={concat:rr,lookahead:PI,either:Cg,optional:WM,anyNumberOfTimes:GM};for(const D in Ou)typeof Ou[D]=="object"&&MI(Ou[D]);return Object.assign(o,Ou),o},hl=zI({});hl.newInstance=()=>zI({});var L5=hl;hl.HighlightJS=hl;hl.default=hl;const yc=CI(L5);var vb=Ke({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(o){var n=ge(o.language);Et(function(){return o.language},function(a){n.value=a});var s=j(function(){return o.autodetect||!n.value}),l=j(function(){return!s.value&&!yc.getLanguage(n.value)});return{className:j(function(){return l.value?"":"hljs "+n.value}),highlightedCode:j(function(){var a;if(l.value)return console.warn('The language "'+n.value+'" you specified could not be found.'),o.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(s.value){var u=yc.highlightAuto(o.code);return n.value=(a=u.language)!==null&&a!==void 0?a:"",u.value}return(u=yc.highlight(o.code,{language:n.value,ignoreIllegals:o.ignoreIllegals})).value})}},render:function(){return Zs("pre",{},[Zs("code",{class:this.className,innerHTML:this.highlightedCode})])}}),N5={install:function(o){o.component("highlightjs",vb)},component:vb};const Ib="[A-Za-z$_][0-9A-Za-z$_]*",w5=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],M5=["true","false","null","undefined","NaN","Infinity"],XI=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],jI=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],YI=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D5=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],P5=[].concat(YI,XI,jI);function x5(o){const n=o.regex,s=(B,{after:ae})=>{const _e=""+B[0].slice(1);return B.input.indexOf(_e,ae)!==-1},l=Ib,a={begin:"<>",end:">"},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,d={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(B,ae)=>{const _e=B[0].length+B.index,Me=B.input[_e];if(Me==="<"||Me===","){ae.ignoreMatch();return}Me===">"&&(s(B,{after:_e})||ae.ignoreMatch());let Xe;const Je=B.input.substring(_e);if(Xe=Je.match(/^\s*=/)){ae.ignoreMatch();return}if((Xe=Je.match(/^\s+extends\s+/))&&Xe.index===0){ae.ignoreMatch();return}}},h={$pattern:Ib,keyword:w5,literal:M5,built_in:P5,"variable.language":D5},p="[0-9](_?[0-9])*",f=`\\.(${p})`,T="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${T})((${f})|\\.)?|(${f}))[eE][+-]?(${p})\\b`},{begin:`\\b(${T})\\b((${f})\\b|\\.)?|(${f})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},k={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},P={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[o.BACKSLASH_ESCAPE,k],subLanguage:"xml"}},x={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[o.BACKSLASH_ESCAPE,k],subLanguage:"css"}},z={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[o.BACKSLASH_ESCAPE,k],subLanguage:"graphql"}},ne={className:"string",begin:"`",end:"`",contains:[o.BACKSLASH_ESCAPE,k]},Z={className:"comment",variants:[o.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:l+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),o.C_BLOCK_COMMENT_MODE,o.C_LINE_COMMENT_MODE]},Y=[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,P,x,z,ne,{match:/\$\d+/},y];k.contains=Y.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(Y)});const M=[].concat(Z,k.contains),L=M.concat([{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(M)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:L},F={variants:[{match:[/class/,/\s+/,l,/\s+/,/extends/,/\s+/,n.concat(l,"(",n.concat(/\./,l),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,l],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...XI,...jI]}},X={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},le={variants:[{match:[/function/,/\s+/,l,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},$e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function he(B){return n.concat("(?!",B.join("|"),")")}const fe={match:n.concat(/\b/,he([...YI,"super","import"]),l,n.lookahead(/\(/)),className:"title.function",relevance:0},ke={begin:n.concat(/\./,n.lookahead(n.concat(l,/(?![0-9A-Za-z$_(])/))),end:l,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,l,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},Ie="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+o.UNDERSCORE_IDENT_RE+")\\s*=>",D={match:[/const|var|let/,/\s+/,l,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(Ie)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[o.SHEBANG({label:"shebang",binary:"node",relevance:5}),X,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,P,x,z,ne,Z,{match:/\$\d+/},y,W,{className:"attr",begin:l+n.lookahead(":"),relevance:0},D,{begin:"("+o.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Z,o.REGEXP_MODE,{className:"function",begin:Ie,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:o.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:u},{begin:d.begin,"on:begin":d.isTrulyOpeningTag,end:d.end}],subLanguage:"xml",contains:[{begin:d.begin,end:d.end,skip:!0,contains:["self"]}]}]},le,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+o.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,o.inherit(o.TITLE_MODE,{begin:l,className:"title.function"})]},{match:/\.\.\./,relevance:0},ke,{match:"\\$"+l,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},fe,$e,F,re,{match:/\$[(.]/}]}}function B5(o){const n=o.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,l=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],h={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:l,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},p={className:"meta",begin:/^(>>>|\.\.\.) /},f={className:"subst",begin:/\{/,end:/\}/,keywords:h,illegal:/#/},T={begin:/\{\{/,relevance:0},y={className:"string",contains:[o.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,p],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,p],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,p,T,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,p,T,f]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[o.BACKSLASH_ESCAPE,T,f]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,T,f]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},k="[0-9](_?[0-9])*",P=`(\\b(${k}))?\\.(${k})|\\b(${k})\\.`,x=`\\b|${l.join("|")}`,z={className:"number",relevance:0,variants:[{begin:`(\\b(${k})|(${P}))[eE][+-]?(${k})[jJ]?(?=${x})`},{begin:`(${P})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${x})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${x})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${x})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${x})`},{begin:`\\b(${k})[jJ](?=${x})`}]},ne={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:h,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},ie={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",p,z,y,o.HASH_COMMENT_MODE]}]};return f.contains=[y,z,p],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:h,illegal:/(<\/|\?)|=>/,contains:[p,z,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},y,ne,o.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[ie]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[z,ie,y]}]}}var F5=!1;/*!
+ * pinia v2.1.6
+ * (c) 2023 Eduardo San Martin Morote
+ * @license MIT
+ */let KI;const $d=o=>KI=o,QI=Symbol();function P0(o){return o&&typeof o=="object"&&Object.prototype.toString.call(o)==="[object Object]"&&typeof o.toJSON!="function"}var Sc;(function(o){o.direct="direct",o.patchObject="patch object",o.patchFunction="patch function"})(Sc||(Sc={}));function U5(){const o=Qb(!0),n=o.run(()=>ge({}));let s=[],l=[];const a=Ju({install(u){$d(a),a._a=u,u.provide(QI,a),u.config.globalProperties.$pinia=a,l.forEach(d=>s.push(d)),l=[]},use(u){return!this._a&&!F5?l.push(u):s.push(u),this},_p:s,_a:null,_e:o,_s:new Map,state:n});return a}const qI=()=>{};function Ob(o,n,s,l=qI){o.push(n);const a=()=>{const u=o.indexOf(n);u>-1&&(o.splice(u,1),l())};return!s&&G0()&&qb(a),a}function ol(o,...n){o.slice().forEach(s=>{s(...n)})}const H5=o=>o();function x0(o,n){o instanceof Map&&n instanceof Map&&n.forEach((s,l)=>o.set(l,s)),o instanceof Set&&n instanceof Set&&n.forEach(o.add,o);for(const s in n){if(!n.hasOwnProperty(s))continue;const l=n[s],a=o[s];P0(a)&&P0(l)&&o.hasOwnProperty(s)&&!eo(l)&&!rn(l)?o[s]=x0(a,l):o[s]=l}return o}const V5=Symbol();function G5(o){return!P0(o)||!o.hasOwnProperty(V5)}const{assign:en}=Object;function W5(o){return!!(eo(o)&&o.effect)}function z5(o,n,s,l){const{state:a,actions:u,getters:d}=n,h=s.state.value[o];let p;function f(){h||(s.state.value[o]=a?a():{});const T=Pt(s.state.value[o]);return en(T,u,Object.keys(d||{}).reduce((y,k)=>(y[k]=Ju(j(()=>{$d(s);const P=s._s.get(o);return d[k].call(P,P)})),y),{}))}return p=JI(o,f,n,s,l,!0),p}function JI(o,n,s={},l,a,u){let d;const h=en({actions:{}},s),p={deep:!0};let f,T,y=[],k=[],P;const x=l.state.value[o];!u&&!x&&(l.state.value[o]={}),ge({});let z;function ne(W){let X;f=T=!1,typeof W=="function"?(W(l.state.value[o]),X={type:Sc.patchFunction,storeId:o,events:P}):(x0(l.state.value[o],W),X={type:Sc.patchObject,payload:W,storeId:o,events:P});const le=z=Symbol();Io().then(()=>{z===le&&(f=!0)}),T=!0,ol(y,X,l.state.value[o])}const ie=u?function(){const{state:X}=s,le=X?X():{};this.$patch($e=>{en($e,le)})}:qI;function Z(){d.stop(),y=[],k=[],l._s.delete(o)}function Y(W,X){return function(){$d(l);const le=Array.from(arguments),$e=[],he=[];function fe(Ie){$e.push(Ie)}function ke(Ie){he.push(Ie)}ol(k,{args:le,name:W,store:L,after:fe,onError:ke});let re;try{re=X.apply(this&&this.$id===o?this:L,le)}catch(Ie){throw ol(he,Ie),Ie}return re instanceof Promise?re.then(Ie=>(ol($e,Ie),Ie)).catch(Ie=>(ol(he,Ie),Promise.reject(Ie))):(ol($e,re),re)}}const M={_p:l,$id:o,$onAction:Ob.bind(null,k),$patch:ne,$reset:ie,$subscribe(W,X={}){const le=Ob(y,W,X.detached,()=>$e()),$e=d.run(()=>Et(()=>l.state.value[o],he=>{(X.flush==="sync"?T:f)&&W({storeId:o,type:Sc.direct,events:P},he)},en({},p,X)));return le},$dispose:Z},L=qt(M);l._s.set(o,L);const S=l._a&&l._a.runWithContext||H5,F=l._e.run(()=>(d=Qb(),S(()=>d.run(n))));for(const W in F){const X=F[W];if(eo(X)&&!W5(X)||rn(X))u||(x&&G5(X)&&(eo(X)?X.value=x[W]:x0(X,x[W])),l.state.value[o][W]=X);else if(typeof X=="function"){const le=Y(W,X);F[W]=le,h.actions[W]=X}}return en(L,F),en(Ct(L),F),Object.defineProperty(L,"$state",{get:()=>l.state.value[o],set:W=>{ne(X=>{en(X,W)})}}),l._p.forEach(W=>{en(L,d.run(()=>W({store:L,app:l._a,pinia:l,options:h})))}),x&&u&&s.hydrate&&s.hydrate(L.$state,x),f=!0,T=!0,L}function X5(o,n,s){let l,a;const u=typeof n=="function";typeof o=="string"?(l=o,a=u?s:n):(a=o,l=o.id);function d(h,p){const f=FR();return h=h||(f?ho(QI,null):null),h&&$d(h),h=KI,h._s.has(l)||(u?JI(l,n,a,h):z5(l,a,h)),h._s.get(l)}return d.$id=l,d}const j5="modulepreload",Y5=function(o){return"/"+o},Cb={},K5=function(n,s,l){if(!s||s.length===0)return n();const a=document.getElementsByTagName("link");return Promise.all(s.map(u=>{if(u=Y5(u),u in Cb)return;Cb[u]=!0;const d=u.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(!!l)for(let T=a.length-1;T>=0;T--){const y=a[T];if(y.href===u&&(!d||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":j5,d||(f.as="script",f.crossOrigin=""),f.href=u,document.head.appendChild(f),d)return new Promise((T,y)=>{f.addEventListener("load",T),f.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})})).then(()=>n()).catch(u=>{const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u})};function Q5(o={}){const{immediate:n=!1,onNeedRefresh:s,onOfflineReady:l,onRegistered:a,onRegisteredSW:u,onRegisterError:d}=o;let h,p,f;const T=async(k=!0)=>{await p,await(f==null?void 0:f())};async function y(){if("serviceWorker"in navigator){const{Workbox:k}=await K5(()=>import("./workbox-window.prod.es5-a7b12eab.js"),[]);h=new k("/sw.js",{scope:"/",type:"classic"}),f=async()=>{await(h==null?void 0:h.messageSkipWaiting())};{let P=!1;const x=()=>{P=!0,h==null||h.addEventListener("controlling",z=>{z.isUpdate&&window.location.reload()}),s==null||s()};h.addEventListener("installed",z=>{typeof z.isUpdate>"u"?typeof z.isExternal<"u"?z.isExternal?x():!P&&(l==null||l()):z.isExternal?window.location.reload():!P&&(l==null||l()):z.isUpdate||l==null||l()}),h.addEventListener("waiting",x),h.addEventListener("externalwaiting",x)}h.register({immediate:n}).then(P=>{u?u("/sw.js",P):a==null||a(P)}).catch(P=>{d==null||d(P)})}}return p=y(),T}(function(){window.__iconpark__=window.__iconpark__||{};var o=JSON.parse('{"991983":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991984":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991985":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991986":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991987":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991988":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991989":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991990":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991991":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991992":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991993":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991994":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991995":{"viewBox":"0 0 24 24","fill":"none","content":" "},"991996":{"viewBox":"0 0 24 24","fill":"none","content":" "},"992011":{"viewBox":"0 0 24 24","fill":"none","content":" "},"995695":{"viewBox":"0 0 24 24","fill":"none","content":" "},"995696":{"viewBox":"0 0 24 24","fill":"none","content":" "},"995697":{"viewBox":"0 0 24 24","fill":"none","content":" "},"995826":{"viewBox":"0 0 48 48","fill":"none","content":" "}}');for(var n in o)window.__iconpark__[n]=o[n];var s={variable:991983,color:991984,html:991985,frame:991986,controller:991987,calculation:991988,list:991989,text:991990,css:991991,"php-mysql":991992,"php-basic":991993,echo:991994,cdn:991995,receive:991996,"php-form":992011,"php-file":995695,"php-hash":995696,"php-session":995697,function:995826};for(var l in s)window.__iconpark__[l]=o[s[l]]})();typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);(()=>{var o={816:(l,a,u)=>{var d,h,p,f;u.d(a,{Vm:()=>et,dy:()=>he,Jb:()=>ke,Ld:()=>re,sY:()=>D,YP:()=>fe});const T=globalThis.trustedTypes,y=T?T.createPolicy("lit-html",{createHTML:Pe=>Pe}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,P="?"+k,x=`<${P}>`,z=document,ne=(Pe="")=>z.createComment(Pe),ie=Pe=>Pe===null||typeof Pe!="object"&&typeof Pe!="function",Z=Array.isArray,Y=Pe=>{var w;return Z(Pe)||typeof((w=Pe)===null||w===void 0?void 0:w[Symbol.iterator])=="function"},M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,S=/>/g,F=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,W=/'/g,X=/"/g,le=/^(?:script|style|textarea)$/i,$e=Pe=>(w,...I)=>({_$litType$:Pe,strings:w,values:I}),he=$e(1),fe=$e(2),ke=Symbol.for("lit-noChange"),re=Symbol.for("lit-nothing"),Ie=new WeakMap,D=(Pe,w,I)=>{var N,A;const K=(N=I==null?void 0:I.renderBefore)!==null&&N!==void 0?N:w;let U=K._$litPart$;if(U===void 0){const de=(A=I==null?void 0:I.renderBefore)!==null&&A!==void 0?A:null;K._$litPart$=U=new Je(w.insertBefore(ne(),de),de,void 0,I)}return U.I(Pe),U},B=z.createTreeWalker(z,129,null,!1),ae=(Pe,w)=>{const I=Pe.length-1,N=[];let A,K=w===2?"":"",U=M;for(let Te=0;Te"?(U=A??M,Se=-1):ce[1]===void 0?Se=-2:(Se=U.lastIndex-ce[2].length,Ce=ce[1],U=ce[3]===void 0?F:ce[3]==='"'?X:W):U===X||U===W?U=F:U===L||U===S?U=M:(U=F,A=void 0);const Ue=U===F&&Pe[Te+1].startsWith("/>")?" ":"";K+=U===M?oe+x:Se>=0?(N.push(Ce),oe.slice(0,Se)+"$lit$"+oe.slice(Se)+k+Ue):oe+k+(Se===-2?(N.push(void 0),Te):Ue)}const de=K+(Pe[I]||">")+(w===2?" ":"");return[y!==void 0?y.createHTML(de):de,N]};class _e{constructor({strings:w,_$litType$:I},N){let A;this.parts=[];let K=0,U=0;const de=w.length-1,Te=this.parts,[oe,Ce]=ae(w,I);if(this.el=_e.createElement(oe,N),B.currentNode=this.el.content,I===2){const ce=this.el.content,Se=ce.firstChild;Se.remove(),ce.append(...Se.childNodes)}for(;(A=B.nextNode())!==null&&Te.length0){A.textContent=T?T.emptyScript:"";for(let Le=0;Le2||N[0]!==""||N[1]!==""?(this.H=Array(N.length-1).fill(re),this.strings=N):this.H=re}get tagName(){return this.element.tagName}I(w,I=this,N,A){const K=this.strings;let U=!1;if(K===void 0)w=Me(this,w,I,0),U=!ie(w)||w!==this.H&&w!==ke,U&&(this.H=w);else{const de=w;let Te,oe;for(w=K[0],Te=0;Te{u.r(a),u.d(a,{customElement:()=>d,eventOptions:()=>y,property:()=>p,query:()=>k,queryAll:()=>P,queryAssignedNodes:()=>ie,queryAsync:()=>x,state:()=>f});const d=Z=>Y=>typeof Y=="function"?((M,L)=>(window.customElements.define(M,L),L))(Z,Y):((M,L)=>{const{kind:S,elements:F}=L;return{kind:S,elements:F,finisher(W){window.customElements.define(M,W)}}})(Z,Y),h=(Z,Y)=>Y.kind==="method"&&Y.descriptor&&!("value"in Y.descriptor)?{...Y,finisher(M){M.createProperty(Y.key,Z)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:Y.key,initializer(){typeof Y.initializer=="function"&&(this[Y.key]=Y.initializer.call(this))},finisher(M){M.createProperty(Y.key,Z)}};function p(Z){return(Y,M)=>M!==void 0?((L,S,F)=>{S.constructor.createProperty(F,L)})(Z,Y,M):h(Z,Y)}function f(Z){return p({...Z,state:!0,attribute:!1})}const T=({finisher:Z,descriptor:Y})=>(M,L)=>{var S;if(L===void 0){const F=(S=M.originalKey)!==null&&S!==void 0?S:M.key,W=Y!=null?{kind:"method",placement:"prototype",key:F,descriptor:Y(M.key)}:{...M,key:F};return Z!=null&&(W.finisher=function(X){Z(X,F)}),W}{const F=M.constructor;Y!==void 0&&Object.defineProperty(M,L,Y(L)),Z==null||Z(F,L)}};function y(Z){return T({finisher:(Y,M)=>{Object.assign(Y.prototype[M],Z)}})}function k(Z,Y){return T({descriptor:M=>{const L={get(){var S;return(S=this.renderRoot)===null||S===void 0?void 0:S.querySelector(Z)},enumerable:!0,configurable:!0};if(Y){const S=typeof M=="symbol"?Symbol():"__"+M;L.get=function(){var F;return this[S]===void 0&&(this[S]=(F=this.renderRoot)===null||F===void 0?void 0:F.querySelector(Z)),this[S]}}return L}})}function P(Z){return T({descriptor:Y=>({get(){var M;return(M=this.renderRoot)===null||M===void 0?void 0:M.querySelectorAll(Z)},enumerable:!0,configurable:!0})})}function x(Z){return T({descriptor:Y=>({async get(){var M;return await this.updateComplete,(M=this.renderRoot)===null||M===void 0?void 0:M.querySelector(Z)},enumerable:!0,configurable:!0})})}const z=Element.prototype,ne=z.msMatchesSelector||z.webkitMatchesSelector;function ie(Z="",Y=!1,M=""){return T({descriptor:L=>({get(){var S,F;const W="slot"+(Z?`[name=${Z}]`:":not([name])");let X=(F=(S=this.renderRoot)===null||S===void 0?void 0:S.querySelector(W))===null||F===void 0?void 0:F.assignedNodes({flatten:Y});return X&&M&&(X=X.filter(le=>le.nodeType===Node.ELEMENT_NODE&&(le.matches?le.matches(M):ne.call(le,M)))),X},enumerable:!0,configurable:!0})})}},23:(l,a,u)=>{u.r(a),u.d(a,{unsafeSVG:()=>T});const d=y=>(...k)=>({_$litDirective$:y,values:k});var h=u(816);class p extends class{constructor(k){}T(k,P,x){this.Σdt=k,this.M=P,this.Σct=x}S(k,P){return this.update(k,P)}update(k,P){return this.render(...P)}}{constructor(k){if(super(k),this.vt=h.Ld,k.type!==2)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(k){if(k===h.Ld)return this.Vt=void 0,this.vt=k;if(k===h.Jb)return k;if(typeof k!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(k===this.vt)return this.Vt;this.vt=k;const P=[k];return P.raw=P,this.Vt={_$litType$:this.constructor.resultType,strings:P,values:[]}}}p.directiveName="unsafeHTML",p.resultType=1;class f extends p{}f.directiveName="unsafeSVG",f.resultType=2;const T=d(f)},249:(l,a,u)=>{u.r(a),u.d(a,{CSSResult:()=>f,LitElement:()=>ke,ReactiveElement:()=>S,UpdatingElement:()=>fe,_Σ:()=>d.Vm,_Φ:()=>re,adoptStyles:()=>P,css:()=>k,defaultConverter:()=>Y,getCompatibleStyle:()=>x,html:()=>d.dy,noChange:()=>d.Jb,notEqual:()=>M,nothing:()=>d.Ld,render:()=>d.sY,supportsAdoptingStyleSheets:()=>h,svg:()=>d.YP,unsafeCSS:()=>T});var d=u(816);const h=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol();class f{constructor(D,B){if(B!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=D}get styleSheet(){return h&&this.t===void 0&&(this.t=new CSSStyleSheet,this.t.replaceSync(this.cssText)),this.t}toString(){return this.cssText}}const T=Ie=>new f(Ie+"",p),y=new Map,k=(Ie,...D)=>{const B=D.reduce((_e,Me,Xe)=>_e+(Je=>{if(Je instanceof f)return Je.cssText;if(typeof Je=="number")return Je;throw Error(`Value passed to 'css' function must be a 'css' function result: ${Je}. Use 'unsafeCSS' to pass non-literal values, but
+ take care to ensure page security.`)})(Me)+Ie[Xe+1],Ie[0]);let ae=y.get(B);return ae===void 0&&y.set(B,ae=new f(B,p)),ae},P=(Ie,D)=>{h?Ie.adoptedStyleSheets=D.map(B=>B instanceof CSSStyleSheet?B:B.styleSheet):D.forEach(B=>{const ae=document.createElement("style");ae.textContent=B.cssText,Ie.appendChild(ae)})},x=h?Ie=>Ie:Ie=>Ie instanceof CSSStyleSheet?(D=>{let B="";for(const ae of D.cssRules)B+=ae.cssText;return T(B)})(Ie):Ie;var z,ne,ie,Z;const Y={toAttribute(Ie,D){switch(D){case Boolean:Ie=Ie?"":null;break;case Object:case Array:Ie=Ie==null?Ie:JSON.stringify(Ie)}return Ie},fromAttribute(Ie,D){let B=Ie;switch(D){case Boolean:B=Ie!==null;break;case Number:B=Ie===null?null:Number(Ie);break;case Object:case Array:try{B=JSON.parse(Ie)}catch{B=null}}return B}},M=(Ie,D)=>D!==Ie&&(D==D||Ie==Ie),L={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:M};class S extends HTMLElement{constructor(){super(),this.Πi=new Map,this.Πo=void 0,this.Πl=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.Πh=null,this.u()}static addInitializer(D){var B;(B=this.v)!==null&&B!==void 0||(this.v=[]),this.v.push(D)}static get observedAttributes(){this.finalize();const D=[];return this.elementProperties.forEach((B,ae)=>{const _e=this.Πp(ae,B);_e!==void 0&&(this.Πm.set(_e,ae),D.push(_e))}),D}static createProperty(D,B=L){if(B.state&&(B.attribute=!1),this.finalize(),this.elementProperties.set(D,B),!B.noAccessor&&!this.prototype.hasOwnProperty(D)){const ae=typeof D=="symbol"?Symbol():"__"+D,_e=this.getPropertyDescriptor(D,ae,B);_e!==void 0&&Object.defineProperty(this.prototype,D,_e)}}static getPropertyDescriptor(D,B,ae){return{get(){return this[B]},set(_e){const Me=this[D];this[B]=_e,this.requestUpdate(D,Me,ae)},configurable:!0,enumerable:!0}}static getPropertyOptions(D){return this.elementProperties.get(D)||L}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const D=Object.getPrototypeOf(this);if(D.finalize(),this.elementProperties=new Map(D.elementProperties),this.Πm=new Map,this.hasOwnProperty("properties")){const B=this.properties,ae=[...Object.getOwnPropertyNames(B),...Object.getOwnPropertySymbols(B)];for(const _e of ae)this.createProperty(_e,B[_e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(D){const B=[];if(Array.isArray(D)){const ae=new Set(D.flat(1/0).reverse());for(const _e of ae)B.unshift(x(_e))}else D!==void 0&&B.push(x(D));return B}static Πp(D,B){const ae=B.attribute;return ae===!1?void 0:typeof ae=="string"?ae:typeof D=="string"?D.toLowerCase():void 0}u(){var D;this.Πg=new Promise(B=>this.enableUpdating=B),this.L=new Map,this.Π_(),this.requestUpdate(),(D=this.constructor.v)===null||D===void 0||D.forEach(B=>B(this))}addController(D){var B,ae;((B=this.ΠU)!==null&&B!==void 0?B:this.ΠU=[]).push(D),this.renderRoot!==void 0&&this.isConnected&&((ae=D.hostConnected)===null||ae===void 0||ae.call(D))}removeController(D){var B;(B=this.ΠU)===null||B===void 0||B.splice(this.ΠU.indexOf(D)>>>0,1)}Π_(){this.constructor.elementProperties.forEach((D,B)=>{this.hasOwnProperty(B)&&(this.Πi.set(B,this[B]),delete this[B])})}createRenderRoot(){var D;const B=(D=this.shadowRoot)!==null&&D!==void 0?D:this.attachShadow(this.constructor.shadowRootOptions);return P(B,this.constructor.elementStyles),B}connectedCallback(){var D;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(D=this.ΠU)===null||D===void 0||D.forEach(B=>{var ae;return(ae=B.hostConnected)===null||ae===void 0?void 0:ae.call(B)}),this.Πl&&(this.Πl(),this.Πo=this.Πl=void 0)}enableUpdating(D){}disconnectedCallback(){var D;(D=this.ΠU)===null||D===void 0||D.forEach(B=>{var ae;return(ae=B.hostDisconnected)===null||ae===void 0?void 0:ae.call(B)}),this.Πo=new Promise(B=>this.Πl=B)}attributeChangedCallback(D,B,ae){this.K(D,ae)}Πj(D,B,ae=L){var _e,Me;const Xe=this.constructor.Πp(D,ae);if(Xe!==void 0&&ae.reflect===!0){const Je=((Me=(_e=ae.converter)===null||_e===void 0?void 0:_e.toAttribute)!==null&&Me!==void 0?Me:Y.toAttribute)(B,ae.type);this.Πh=D,Je==null?this.removeAttribute(Xe):this.setAttribute(Xe,Je),this.Πh=null}}K(D,B){var ae,_e,Me;const Xe=this.constructor,Je=Xe.Πm.get(D);if(Je!==void 0&&this.Πh!==Je){const we=Xe.getPropertyOptions(Je),We=we.converter,Ze=(Me=(_e=(ae=We)===null||ae===void 0?void 0:ae.fromAttribute)!==null&&_e!==void 0?_e:typeof We=="function"?We:null)!==null&&Me!==void 0?Me:Y.fromAttribute;this.Πh=Je,this[Je]=Ze(B,we.type),this.Πh=null}}requestUpdate(D,B,ae){let _e=!0;D!==void 0&&(((ae=ae||this.constructor.getPropertyOptions(D)).hasChanged||M)(this[D],B)?(this.L.has(D)||this.L.set(D,B),ae.reflect===!0&&this.Πh!==D&&(this.Πk===void 0&&(this.Πk=new Map),this.Πk.set(D,ae))):_e=!1),!this.isUpdatePending&&_e&&(this.Πg=this.Πq())}async Πq(){this.isUpdatePending=!0;try{for(await this.Πg;this.Πo;)await this.Πo}catch(B){Promise.reject(B)}const D=this.performUpdate();return D!=null&&await D,!this.isUpdatePending}performUpdate(){var D;if(!this.isUpdatePending)return;this.hasUpdated,this.Πi&&(this.Πi.forEach((_e,Me)=>this[Me]=_e),this.Πi=void 0);let B=!1;const ae=this.L;try{B=this.shouldUpdate(ae),B?(this.willUpdate(ae),(D=this.ΠU)===null||D===void 0||D.forEach(_e=>{var Me;return(Me=_e.hostUpdate)===null||Me===void 0?void 0:Me.call(_e)}),this.update(ae)):this.Π$()}catch(_e){throw B=!1,this.Π$(),_e}B&&this.E(ae)}willUpdate(D){}E(D){var B;(B=this.ΠU)===null||B===void 0||B.forEach(ae=>{var _e;return(_e=ae.hostUpdated)===null||_e===void 0?void 0:_e.call(ae)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(D)),this.updated(D)}Π$(){this.L=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.Πg}shouldUpdate(D){return!0}update(D){this.Πk!==void 0&&(this.Πk.forEach((B,ae)=>this.Πj(ae,this[ae],B)),this.Πk=void 0),this.Π$()}updated(D){}firstUpdated(D){}}var F,W,X,le,$e,he;S.finalized=!0,S.shadowRootOptions={mode:"open"},(ne=(z=globalThis).reactiveElementPlatformSupport)===null||ne===void 0||ne.call(z,{ReactiveElement:S}),((ie=(Z=globalThis).reactiveElementVersions)!==null&&ie!==void 0?ie:Z.reactiveElementVersions=[]).push("1.0.0-rc.1");const fe=S;((F=(he=globalThis).litElementVersions)!==null&&F!==void 0?F:he.litElementVersions=[]).push("3.0.0-rc.1");class ke extends S{constructor(){super(...arguments),this.renderOptions={host:this},this.Φt=void 0}createRenderRoot(){var D,B;const ae=super.createRenderRoot();return(D=(B=this.renderOptions).renderBefore)!==null&&D!==void 0||(B.renderBefore=ae.firstChild),ae}update(D){const B=this.render();super.update(D),this.Φt=(0,d.sY)(B,this.renderRoot,this.renderOptions)}connectedCallback(){var D;super.connectedCallback(),(D=this.Φt)===null||D===void 0||D.setConnected(!0)}disconnectedCallback(){var D;super.disconnectedCallback(),(D=this.Φt)===null||D===void 0||D.setConnected(!1)}render(){return d.Jb}}ke.finalized=!0,ke._$litElement$=!0,(X=(W=globalThis).litElementHydrateSupport)===null||X===void 0||X.call(W,{LitElement:ke}),($e=(le=globalThis).litElementPlatformSupport)===null||$e===void 0||$e.call(le,{LitElement:ke});const re={K:(Ie,D,B)=>{Ie.K(D,B)},L:Ie=>Ie.L}},409:function(l,a,u){var d=this&&this.__decorate||function(P,x,z,ne){var ie,Z=arguments.length,Y=Z<3?x:ne===null?ne=Object.getOwnPropertyDescriptor(x,z):ne;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Y=Reflect.decorate(P,x,z,ne);else for(var M=P.length-1;M>=0;M--)(ie=P[M])&&(Y=(Z<3?ie(Y):Z>3?ie(x,z,Y):ie(x,z))||Y);return Z>3&&Y&&Object.defineProperty(x,z,Y),Y};Object.defineProperty(a,"__esModule",{value:!0}),a.IconparkIconElement=void 0;const h=u(249),p=u(26),f=u(23),T={color:1,fill:1,stroke:1},y={STROKE:{trackAttr:"data-follow-stroke",rawAttr:"stroke"},FILL:{trackAttr:"data-follow-fill",rawAttr:"fill"}};class k extends h.LitElement{constructor(){super(...arguments),this.name="",this.identifyer="",this.size="1em"}get _width(){return this.width||this.size}get _height(){return this.height||this.size}get _stroke(){return this.stroke||this.color}get _fill(){return this.fill||this.color}get SVGConfig(){return(window.__iconpark__||{})[this.identifyer]||(window.__iconpark__||{})[this.name]||{viewBox:"0 0 0 0",content:""}}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.monkeyPatch("STROKE",!0),this.monkeyPatch("FILL",!0)})}monkeyPatch(x,z){switch(x){case"STROKE":this.updateDOMByHand(this.strokeAppliedNodes,"STROKE",this._stroke,!!z);break;case"FILL":this.updateDOMByHand(this.fillAppliedNodes,"FILL",this._fill,!!z)}}updateDOMByHand(x,z,ne,ie){!ne&&ie||x&&x.forEach(Z=>{ne&&ne===Z.getAttribute(y[z].rawAttr)||Z.setAttribute(y[z].rawAttr,ne||Z.getAttribute(y[z].trackAttr))})}attributeChangedCallback(x,z,ne){super.attributeChangedCallback(x,z,ne),x==="name"||x==="identifyer"?setTimeout(()=>{this.monkeyPatch("STROKE"),this.monkeyPatch("FILL")}):T[x]&&(this.monkeyPatch("STROKE"),this.monkeyPatch("FILL"))}render(){return h.svg`${f.unsafeSVG(this.SVGConfig.content)} `}}k.styles=h.css`:host {display: inline-flex; align-items: center; justify-content: center;} :host([spin]) svg {animation: iconpark-spin 1s infinite linear;} :host([spin][rtl]) svg {animation: iconpark-spin-rtl 1s infinite linear;} :host([rtl]) svg {transform: scaleX(-1);} @keyframes iconpark-spin {0% { -webkit-transform: rotate(0); transform: rotate(0);} 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg);}} @keyframes iconpark-spin-rtl {0% {-webkit-transform: scaleX(-1) rotate(0); transform: scaleX(-1) rotate(0);} 100% {-webkit-transform: scaleX(-1) rotate(360deg); transform: scaleX(-1) rotate(360deg);}}`,d([p.property({reflect:!0})],k.prototype,"name",void 0),d([p.property({reflect:!0,attribute:"icon-id"})],k.prototype,"identifyer",void 0),d([p.property({reflect:!0})],k.prototype,"color",void 0),d([p.property({reflect:!0})],k.prototype,"stroke",void 0),d([p.property({reflect:!0})],k.prototype,"fill",void 0),d([p.property({reflect:!0})],k.prototype,"size",void 0),d([p.property({reflect:!0})],k.prototype,"width",void 0),d([p.property({reflect:!0})],k.prototype,"height",void 0),d([p.queryAll(`[${y.STROKE.trackAttr}]`)],k.prototype,"strokeAppliedNodes",void 0),d([p.queryAll(`[${y.FILL.trackAttr}]`)],k.prototype,"fillAppliedNodes",void 0),a.IconparkIconElement=k,customElements.get("iconpark-icon")||customElements.define("iconpark-icon",k)}},n={};function s(l){var a=n[l];if(a!==void 0)return a.exports;var u=n[l]={exports:{}};return o[l].call(u.exports,u,u.exports,s),u.exports}s.d=(l,a)=>{for(var u in a)s.o(a,u)&&!s.o(l,u)&&Object.defineProperty(l,u,{enumerable:!0,get:a[u]})},s.o=(l,a)=>Object.prototype.hasOwnProperty.call(l,a),s.r=l=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},s(409)})();var ZI={exports:{}},s0={exports:{}},i0={exports:{}},n0={exports:{}},r0={exports:{}},yb;function _d(){return yb||(yb=1,function(o,n){(function(s,l){o.exports=l()})(Do,function(){var s={},l,a,u,d,h,p,f,T,y,k,P,x,z,ne,ie,Z,Y,M,L,S,F,W,X,le,$e,he,fe,ke,re,Ie,D,B,ae,_e,Me,Xe,Je,we,We,Ze,nt,ht,et,Pe,w,I,N,A,K,U,de,Te,oe,Ce,ce,Se,Le,Ue,be,ee,se,ue,ye,E,g,R,G,q,Ee,ze,yt,ls,ii,xt,Qo,Ut,ws,qo,b,O,_,m,C,V,ve,Ge,rt,Mt,po,xe,wt,Dt,El,Ai,pn,bl,cs,gd,vl,kg,fd,Ms,Li,md,Td,Gc,Ed,$n,Wc,bd,vd,Ag,Lg,Id,cr,Ds,Od,Cd,yd,Sd,Rd,Ng,kd,Il,wg,Mg,Ni,Ad,Ps,Dg,Pg,xg,wi,Ld,Bg,Fg,Ug,Hg,Vg,Nd,Gg,Wg,zc,zg,Xg,wd,Xc,jg,xs,Yg,Kg,Qg,qg,Jg,Zg,ef,Md,_n,Ol,Dd,tf,of,sf,nf,rf,lf,cf,af,Pd,uf,Mi,df,hf,pf,ar,xd,ur,Bd,Fd,Ud,dr,jc,Yc,$f,Cl,Hd,Vd,Gd,Wd,zd,Xd,_f,yl,jd,hr,Kc,fs,Yd,Kd,gf,Sl,Qd,qd,ff,Qc,Jd,mf,Tf,Ef,bf,vf,pr,Zd,eh,Rl,th,If,Of,oh,sh,ni,ih,nh,Cf,yf,Sf,Rf,rh,kf,lh,Af,Di,kl,qc,Jc,gn,ch,Zc,ah,Jt,ea,$r,fn,Lf,uh,ta,as,dh,oa,hh,ph,Nf,wf,Mf,$h,Jo,Df,Pf,ms,zt,xf,Bf,_h,ri,sa,Ff,Al,ia,Uf,na,Hf,ra,gh,fh,Vf,mh,la,Gf,Wf,zf,Th,ca,Eh,aa,Xf,ua,jf,Yf,Po,tt,xo,To,Xt,Bs,_r,je,oo,bh,Kf,vh,Ih,Oh,Ch,yh,gr,fr,Sh,Qf,da,Rh,Ll,qf,kh,ha,Jf,Zf,Ah,Nl,em,tm,om,sm,wl,Lh,Nh,wh,im,Ml,Mh,mr,nm,Dh,Ph,xh,Bh,Fh,Uh,Hh,Vh,pa,Dl,Gh,rm,Wh,zh,Xh,jh,Yh,Kh,Qh,lm,qh,Pi,$a,_a,Jh,cm,Zh,ga,ep,tp,am,op,um,sp,ip,np,fa,rp,ma,Ta,Ea,dm,hm,pm,$m,_m,gm,fm,mm,lp,cp,ap,up,Tm,Em,dp,hp,pp,$p,_p,gp,fp,mp,bm,vm,st;l=function(e,t,i,r){if(!(e instanceof Ae)&&typeof e!="string"||`${e}`.trim()==="")throw Error('Invalid type "'+e+'". The type must be a non-empty string or a Blockly.registry.Type.');if(e=`${e}`.toLowerCase(),typeof t!="string"||t.trim()==="")throw Error('Invalid name "'+t+'". The name must be a non-empty string.');const c=t.toLowerCase();if(!i)throw Error("Can not register a null value");let $=xi[e],v=ba[e];if($||($=xi[e]=Object.create(null),v=ba[e]=Object.create(null)),a(e,i),!r&&$[c])throw Error('Name "'+c+'" with type "'+e+'" already registered.');$[c]=i,v[c]=t},a=function(e,t){switch(e){case String(Ae.FIELD):if(typeof t.fromJson!="function")throw Error('Type "'+e+'" must have a fromJson function')}},u=function(e,t){e=`${e}`.toLowerCase(),t=t.toLowerCase();const i=xi[e];i&&i[t]?(delete xi[e][t],delete ba[e][t]):console.warn("Unable to unregister ["+t+"]["+e+"] from the registry.")},d=function(e,t,i){e=`${e}`.toLowerCase(),t=t.toLowerCase();const r=xi[e];if(!r||!r[t]){if(t="Unable to find ["+t+"]["+e+"] in the registry.",i)throw Error(t+" You must require or register a "+e+" plugin.");return console.warn(t),null}return r[t]},h=function(e,t){return e=`${e}`.toLowerCase(),t=t.toLowerCase(),(e=xi[e])?!!e[t]:!1},p=function(e,t,i){return d(e,t,i)},f=function(e,t,i){return d(e,t,i)},T=function(e,t,i){e=`${e}`.toLowerCase();var r=xi[e];if(!r){if(r=`Unable to find [${e}] in the registry.`,i)throw Error(`${r} You must require or register a ${e} plugin.`);return console.warn(r),null}if(!t)return r;e=ba[e],i=Object.create(null);for(const c of Object.keys(r))i[e[c]]=r[c];return i},y=function(e,t,i){return t=t.plugins[String(e)]||li,typeof t=="function"?t:p(e,t,i)},k=function(e){return Pl[e]||null},P=function(){const e=[];for(const t in Pl)e.push(Pl[t]);return e},x=function(e){Pl[e.id]=e},z=function(e){delete Pl[e.id]},ne=function(){return Im},ie=function(e){Im=e},Z=function(){return Om},Y=function(e){Om=e},M=function(){return Cm},L=function(e){Cm=e},S=function(e){for(;e.options.parentWorkspace;)e=e.options.parentWorkspace;const t=e.getParentSvg(),i=e.getCachedParentSvgSize();var r=t.parentElement;if(r instanceof HTMLElement){var c=r.offsetWidth;r=r.offsetHeight,i.width!==c&&(t.setAttribute("width",c+"px"),e.setCachedParentSvgSize(c,null)),i.height!==r&&(t.setAttribute("height",r+"px"),e.setCachedParentSvgSize(null,r)),e.resize()}},F=function(e,t){const i=Object.create(null),r=e.getDescendants(!0);t&&(e=e.getNextBlock())&&(e=r.indexOf(e),r.splice(e,r.length-e));for(let c=0,$;$=r[c];c++)i[$.type]?i[$.type]++:i[$.type]=1;return i},W=function(e){return function(){this.jsonInit(e)}},X=function(e){ym.defineBlocksWithJsonArrayInternal(e)},le=function(e){s.defineBlocks$$module$build$src$core$common(s.createBlockDefinitionsFromJsonArray$$module$build$src$core$common(e))},s.createBlockDefinitionsFromJsonArray$$module$build$src$core$common=function(e){const t={};for(let i=0;i{setTimeout(D,0)})}catch{setTimeout(D,0)}vn.push(e)}},D=function(){var e=B(vn,!0);vn.length=0;for(let i=0,r;r=e[i];i++)if(r.workspaceId){var t=k(r.workspaceId);t&&t.fireChangeListener(r)}e=new Set(e.map(i=>i.workspaceId));for(const i of e){if(!i||(e=k(i),!e))continue;e=e.getUndoStack();let r;for(t=e.length;0`${t.charCodeAt(0)};`)},Pe=function(e,t,i,r){e=e+" was deprecated in "+t+" and will be deleted in "+i+".",r&&(e+=`
+Use `+r+" instead."),console.warn(e)},w=function(e,t,i){e=document.createElementNS(ka,`${e}`);for(const r in t)e.setAttribute(r,`${t[r]}`);return i&&i.appendChild(e),e},I=function(e,t){return t=t.split(" "),t.every(i=>e.classList.contains(i))?!1:(e.classList.add(...t),!0)},N=function(e,t){e.classList.remove(...t.split(" "))},A=function(e,t){return t=t.split(" "),t.every(i=>!e.classList.contains(i))?!1:(e.classList.remove(...t),!0)},K=function(e,t){return e.classList.contains(t)},U=function(e){return e&&e.parentNode?e.parentNode.removeChild(e):null},de=function(e,t){const i=t.nextSibling;if(t=t.parentNode,!t)throw Error("Reference node has no parent.");i?t.insertBefore(e,i):t.appendChild(e)},Te=function(e,t){return Pe("Blockly.utils.dom.containsNode","version 10","version 11",'Use native "contains" DOM method'),e.contains(t)},oe=function(e,t){e.style.transform=t,e.style["-webkit-transform"]=t},Ce=function(){bp++,Es||(Es=Object.create(null))},ce=function(){bp--,bp||(Es=null)},Se=function(e){const t=e.textContent+`
+`+e.className.baseVal;let i;if(Es&&(i=Es[t]))return i;try{i=e.getComputedTextLength()}catch{return 8*e.textContent.length}return Es&&(Es[t]=i),i},Le=function(e,t,i,r){return Ue(e,t+"pt",i,r)},Ue=function(e,t,i,r){const c=e.textContent;e=c+`
+`+e.className.baseVal;var $;return Es&&($=Es[e])||(Aa||($=document.createElement("canvas"),$.className="blocklyComputeCanvas",document.body.appendChild($),Aa=$.getContext("2d")),Aa.font=i+" "+t+" "+r,$=c?Aa.measureText(c).width:0,Es&&(Es[e]=$)),$},be=function(e,t,i,r){const c=document.createElement("span");c.style.font=i+" "+t+" "+r,c.textContent=e,e=document.createElement("div"),e.style.width="1px",e.style.height="0",t=document.createElement("div"),t.setAttribute("style","position: fixed; top: 0; left: 0; display: flex;"),t.appendChild(c),t.appendChild(e),document.body.appendChild(t),i={height:0,baseline:0};try{t.style.alignItems="baseline",i.baseline=e.offsetTop-c.offsetTop,t.style.alignItems="flex-end",i.height=e.offsetTop-c.offsetTop}finally{document.body.removeChild(t)}return i},ee=function(e,t){Am(e,t)},se=function(e){Am=e},ue=function(e,t){wm.confirmInternal(e,t)},ye=function(e,t){Lm(e,t)},E=function(e){Lm=e},g=function(e,t,i){Nm(e,t,i)},R=function(e){Nm=e},G=function(e){return e.getVariableModel!==void 0},q=function(e){return e.getProcedureDef!==void 0},Ee=function(e){return e.getProcedureCall!==void 0&&e.renameProcedure!==void 0},s.allUsedVarModels$$module$build$src$core$variables=function(e){e=e.getAllBlocks(!1);const t=new Set;for(let i=0;i1 '),r.appendChild(i),t.push(r)),Fo.variables_get){e.sort(Ul.compareByName);for(let c=0,$;$=e[c];c++)i=s.createElement$$module$build$src$core$utils$xml("block"),i.setAttribute("type","variables_get"),i.setAttribute("gap","8"),i.appendChild(s.generateVariableFieldDom$$module$build$src$core$variables($)),t.push(i)}}return t},ls=function(e){return Mm.generateUniqueNameInternal(e)},ii=function(e){return xt(Cp.charAt(0),e.getAllVariableNames())},xt=function(e,t){if(!t.length)return e;const i=Cp;let r="",c=i.indexOf(e);for(;;){let $=!1;for(let v=0;v$.getVariableModel().name);if(r&&(i=r.some($=>$.toLowerCase()===e),r=r.some($=>$.toLowerCase()===t),i&&r))return c.getName()}return null},_=function(e,t,i){e=e.toLowerCase(),t=t.toLowerCase(),i=i.getAllBlocks(!1);for(const c of i){if(!q(c))continue;i=c.getProcedureDef();var r=i[1];const $=r.some(v=>v.toLowerCase()===e);if(r=r.some(v=>v.toLowerCase()===t),$&&r)return i[0]}return null},s.generateVariableFieldDom$$module$build$src$core$variables=function(e){const t=s.createElement$$module$build$src$core$utils$xml("field");return t.setAttribute("name","VAR"),t.setAttribute("id",e.getId()),t.setAttribute("variabletype",e.type),e=s.createTextNode$$module$build$src$core$utils$xml(e.name),t.appendChild(e),t},s.getOrCreateVariablePackage$$module$build$src$core$variables=function(e,t,i,r){let c=s.getVariable$$module$build$src$core$variables(e,t,i,r);return c||(c=m(e,t,i,r)),c},s.getVariable$$module$build$src$core$variables=function(e,t,i,r){const c=e.getPotentialVariableMap();let $=null;if(t&&($=e.getVariableById(t),!$&&c&&($=c.getVariableById(t)),$))return $;if(i){if(r===void 0)throw Error("Tried to look up a variable by name without a type");$=e.getVariable(i,r),!$&&c&&($=c.getVariable(i,r))}return $},m=function(e,t,i,r){const c=e.getPotentialVariableMap();return i||(i=ls(e.isFlyout?e.targetWorkspace:e)),c?c.createVariable(i,r,t):e.createVariable(i,r,t)},C=function(e,t){e=e.getAllVariables();const i=[];if(t.length!==e.length)for(let r=0;r>>/g,e),wp="",e=document.createElement("style"),e.id="blockly-common-style",t=document.createTextNode(t),e.appendChild(t),document.head.insertBefore(e,document.head.firstChild)))},vl=function(e){return zm.getSizeInternal(e)},kg=function(e){if(Ms(e,"display")!=="none")return fd(e);const t=e.style,i=t.display,r=t.visibility,c=t.position;t.visibility="hidden",t.position="absolute",t.display="inline";const $=e.offsetWidth;return e=e.offsetHeight,t.display=i,t.position=c,t.visibility=r,new Ht($,e)},fd=function(e){return new Ht(e.offsetWidth,e.offsetHeight)},Ms=function(e,t){return e=window.getComputedStyle(e),e[t]||e.getPropertyValue(t)},Li=function(e){const t=new Fe(0,0);e=e.getBoundingClientRect();var i=document.documentElement;return i=new Fe(window.pageXOffset||i.scrollLeft,window.pageYOffset||i.scrollTop),t.x=e.left+i.x,t.y=e.top+i.y,t},md=function(){const e=document.body,t=document.documentElement;return new Fe(e.scrollLeft||t.scrollLeft,e.scrollTop||t.scrollTop)},Td=function(e){const t=parseFloat(Ms(e,"borderLeftWidth")),i=parseFloat(Ms(e,"borderRightWidth")),r=parseFloat(Ms(e,"borderTopWidth"));return e=parseFloat(Ms(e,"borderBottomWidth")),new Bt(r,e,t,i)},Gc=function(e,t,i){e=Ed(e,t,i),t.scrollLeft=e.x,t.scrollTop=e.y},Ed=function(e,t,i){var r=Li(e),c=Li(t),$=Td(t);const v=r.x-c.x-$.left;return r=r.y-c.y-$.top,c=fd(e),e=t.clientWidth-c.width,c=t.clientHeight-c.height,$=t.scrollLeft,t=t.scrollTop,i?($+=v-e/2,t+=r-c/2):($+=Math.min(v,Math.max(v-e,0)),t+=Math.min(r,Math.max(r-c,0))),new Fe($,t)},$n=function(e){const t=new Fe(0,0);var i=e.x&&e.getAttribute("x");const r=e.y&&e.getAttribute("y");return i&&(t.x=parseInt(i)),r&&(t.y=parseInt(r)),(i=(i=e.getAttribute("transform"))&&i.match(Xm))&&(t.x+=Number(i[1]),i[3]&&(t.y+=Number(i[3]))),(e=e.getAttribute("style"))&&-1{Dp=t,Ym=window.requestAnimationFrame(()=>{Cd(),t()})})),Ar},cr=function(){return Ar||Promise.resolve()},Ds=function(){window.cancelAnimationFrame(Ym),Cd(),Dp&&Dp()},Od=function(e){Fa.add(e);const t=e.getParent();t?Od(t):Ba.add(e)},Cd=function(){const e=new Set([...Ba].map(t=>t.workspace));for(const t of Ba){if(t.isDisposed()||t.getParent())continue;yd(t);const i=t.getRelativeToSurfaceXY();Sd(t,i),Rd(t,i)}for(const t of e)t.resizeContents();Ba.clear(),Fa=new Set,Ar=null},yd=function(e){if(Fa.has(e)){for(const t of e.getChildren(!1))yd(t);e.renderEfficiently()}},Sd=function(e,t){for(const i of e.getConnections_(!1)){e=i.moveToOffset(t);const r=i.targetBlock();i.isSuperior()&&r&&(e||Fa.has(r))&&Sd(r,Fe.sum(t,r.relativeCoords))}},Rd=function(e,t){if(e.getIcons){for(const i of e.getIcons())i.onLocationChange(t);for(const i of e.getChildren(!1))Rd(i,Fe.sum(t,i.relativeCoords))}},Ng=function(e,t){const i=s.createElement$$module$build$src$core$utils$xml("xml");var r=kd(s.allUsedVarModels$$module$build$src$core$variables(e));r.hasChildNodes()&&i.appendChild(r),r=e.getTopComments(!0);for(let c=0;c /g,"<$1$2>$1>")},Dg=function(e){e=Ps(e).split("<");let t="";for(let i=1;i"&&(t+=" ")}return e=e.join(`
+`),e=e.replace(/(<(\w+)\b[^>]*>[^\n]*)\n *<\/\2>/g,"$1$2>"),e.replace(/^\n/,"")},Pg=function(e,t){return t.setResizesEnabled(!1),t.clear(),e=s.domToWorkspace$$module$build$src$core$xml(e,t),t.setResizesEnabled(!0),e},s.domToWorkspace$$module$build$src$core$xml=function(e,t){let i=0;t.RTL&&(i=t.getWidth());const r=[];Ce();const c=s.getGroup$$module$build$src$core$events$utils();c||s.setGroup$$module$build$src$core$events$utils(!0),t.setResizesEnabled&&t.setResizesEnabled(!1);let $=!0;try{for(let v=0,H;H=e.childNodes[v];v++){const Oe=H.nodeName.toLowerCase(),Qe=H;if(Oe==="block"||Oe==="shadow"&&!ke()){const Qt=wi(Qe,t);r.push(Qt.id);let Ft;const Go=parseInt((Ft=Qe.getAttribute("x"))!=null?Ft:"10",10);let Jr;const Zr=parseInt((Jr=Qe.getAttribute("y"))!=null?Jr:"10",10);isNaN(Go)||isNaN(Zr)||Qt.moveBy(t.RTL?i-Go:Go,Zr,["create"]),$=!1}else{if(Oe==="shadow")throw TypeError("Shadow block cannot be a top-level block.");if(Oe==="comment")t.rendered?yo.fromXmlRendered(Qe,t,i):Hs.fromXml(Qe,t);else if(Oe==="variables"){if($)Ld(Qe,t);else throw Error("'variables' tag must exist once before block and shadow tag elements in the workspace XML, but it was found in another location.");$=!1}}}}finally{s.setGroup$$module$build$src$core$events$utils(c),t.setResizesEnabled&&t.setResizesEnabled(!0),t.rendered&&Ds(),ce()}return re(new(we(bn))(t)),r},xg=function(e,t){if(!t.getBlocksBoundingBox)return s.domToWorkspace$$module$build$src$core$xml(e,t);var i=t.getBlocksBoundingBox();if(e=s.domToWorkspace$$module$build$src$core$xml(e,t),i&&i.top!==i.bottom){var r=i.bottom;i=t.RTL?i.right:i.left;var c=1/0;let $=-1/0,v=1/0;for(let H=0;H$&&($=Oe.x)}for(r=r-v+10,i=t.RTL?i-$:i-c,c=0;cQe.setBubbleVisible($),1)}},Hg=function(e,t){for(let i=0;i{v.disposed||v.setConnectionTracking(!0)},1),v},Dd=function(e,t,{parentConnection:i,isShadow:r=!1}={}){if(!e.type)throw new Km(e);const c=t.newBlock(e.type,e.id);return c.setShadow(r),tf(c,e),of(c,e),sf(c,e),nf(i,c,e),rf(c,e),lf(c,e),cf(c,e),af(c,e),uf(c,t.rendered),c},tf=function(e,t){let i=t.x===void 0?0:t.x;t=t.y===void 0?0:t.y;const r=e.workspace;i=r.RTL?r.getWidth()-i:i,e.moveBy(i,t)},of=function(e,t){t.collapsed&&e.setCollapsed(!0),t.deletable===!1&&e.setDeletable(!1),t.movable===!1&&e.setMovable(!1),t.editable===!1&&e.setEditable(!1),t.enabled===!1&&e.setEnabled(!1),t.inline!==void 0&&e.setInputsInline(t.inline),t.data!==void 0&&(e.data=t.data)},sf=function(e,t){t.extraState&&(e.loadExtraState?e.loadExtraState(t.extraState):e.domToMutation&&e.domToMutation(s.textToDom$$module$build$src$core$utils$xml(t.extraState)))},nf=function(e,t,i){if(e){if(e.getSourceBlock().isShadow()&&!t.isShadow())throw new qm(i);if(e.type===s.inputTypes$$module$build$src$core$inputs$input_types.VALUE){var r=t.outputConnection;if(!r)throw new Hl("output",t,i)}else if(r=t.previousConnection,!r)throw new Hl("previous",t,i);if(!e.connect(r)){const c=t.workspace.connectionChecker;throw new Qm(c.getErrorMessage(c.canConnectWithReason(r,e,!1),r,e),e.type===s.inputTypes$$module$build$src$core$inputs$input_types.VALUE?"output connection":"previous connection",t,i)}}},rf=function(e,t){if(t.icons){var i=Object.keys(t.icons);for(const c of i){i=t.icons[c];var r=e.getIcon(c);if(!r){if(r=p(Ae.ICON,c,!1),!r)throw new Jm(c,e,t);r=new r(e),e.addIcon(r)}Ze(r)&&r.loadState(i)}}},lf=function(e,t){if(t.fields){var i=Object.keys(t.fields);for(let r=0;rt&&(t=i[r].length);var c=-1/0;let $,v=1;do{r=c,$=e,e=[],c=i.length/v;let H=1;for(let Oe=0;Oer);return $},Qc=function(e,t,i){const r=[0],c=[];for(var $=0;$r&&(r=H,c=v)}return c?Jd(e,c,i):t},mf=function(e,t){const i=[];for(let r=0;ruT&&ni()}else Xl!==ds&&(clearTimeout(Ln),zp=e.pageX,Xp=e.pageY,Ln=setTimeout(Rf,dT))},sh=function(){Xl=ds=null,ni()},ni=function(){zl&&(zl=!1,ro&&(ro.style.display="none")),Ln&&(clearTimeout(Ln),Ln=0)},ih=function(){ni(),Pr=!0},nh=function(){Pr=!1},Cf=function(){ro&&ds&&(typeof za=="function"?za(ro,ds):yf())},yf=function(){var e=pr(ds);e=s.wrap$$module$build$src$core$utils$string(e,cT),e=e.split(`
+`);for(let t=0;ti+window.scrollY&&(c-=ro.offsetHeight+2*Yp),e?r=Math.max(Xa-window.scrollX,r):r+ro.offsetWidth>t+window.scrollX-2*Xa&&(r=t-ro.offsetWidth-2*Xa),{x:r,y:c}},Rf=function(){if(!Pr&&(Xl=ds,ro)){ro.textContent="",Cf();var e=ds.RTL;ro.style.direction=e?"rtl":"ltr",ro.style.display="block",zl=!0;var{x:t,y:i}=Sf(e);ro.style.left=t+"px",ro.style.top=i+"px"}},rh=function(){return Kp},kf=function(e){Kp=e},lh=function(){return Qp},Af=function(e){Qp=e},Di=function(e){e=`${e}`.toLowerCase().trim();var t=hT[e];if(t||(t=e.substring(0,2)==="0x"?"#"+e.substring(2):e,t=t[0]==="#"?t:"#"+t,/^#[0-9a-f]{6}$/.test(t)))return t;if(/^#[0-9a-f]{3}$/.test(t))return["#",t[1],t[1],t[2],t[2],t[3],t[3]].join("");var i=e.match(/^(?:rgb)?\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/);return i&&(e=Number(i[1]),t=Number(i[2]),i=Number(i[3]),0<=e&&256>e&&0<=t&&256>t&&0<=i&&256>i)?kl(e,t,i):null},kl=function(e,t,i){return t=e<<16|t<<8|i,16>e?"#"+(16777216|t).toString(16).substr(1):"#"+t.toString(16)},qc=function(e){return e=Di(e),e?(e=parseInt(e.substr(1),16),[e>>16,e>>8&255,e&255]):[0,0,0]},Jc=function(e,t,i){let r=0,c=0,$=0;if(t===0)$=c=r=i;else{const v=Math.floor(e/60),H=e/60-v;e=i*(1-t);const Oe=i*(1-t*H);switch(t=i*(1-t*(1-H)),v){case 1:r=Oe,c=i,$=e;break;case 2:r=e,c=i,$=t;break;case 3:r=e,c=Oe,$=i;break;case 4:r=t,c=e,$=i;break;case 5:r=i,c=e,$=Oe;break;case 6:case 0:r=i,c=t,$=e}}return kl(Math.floor(r),Math.floor(c),Math.floor($))},gn=function(e,t,i){return e=Di(e),!e||(t=Di(t),!t)?null:(e=qc(e),t=qc(t),kl(Math.round(t[0]+i*(e[0]-t[0])),Math.round(t[1]+i*(e[1]-t[1])),Math.round(t[2]+i*(e[2]-t[2]))))},ch=function(e){return Jc(e,Kp,255*Qp)},Zc=function(e,t){const i=[];var r=e.split("");r.push("");var c=0;e=[];let $=null;for(let Oe=0;Oe=v?(c=2,$=v,(v=e.join(""))&&i.push(v),e.length=0):v==="{"?c=3:(e.push("%",v),c=0);else if(c===2)if("0"<=v&&"9">=v)$+=v;else{var H=void 0;i.push(parseInt((H=$)!=null?H:"",10)),Oe--,c=0}else c===3&&(v===""?(e.splice(0,0,"%{"),Oe--,c=0):v!=="}"?e.push(v):(c=e.join(""),/[A-Z]\w*/i.test(c)?(v=c.toUpperCase(),(v=v.startsWith("BKY_")?v.substring(4):null)&&v in s.Msg$$module$build$src$core$msg?(c=s.Msg$$module$build$src$core$msg[v],typeof c=="string"?Array.prototype.push.apply(i,Zc(c,t)):t?i.push(`${c}`):i.push(c)):i.push("%{"+c+"}")):i.push("%{"+c+"}"),c=e.length=0))}for((t=e.join(""))&&i.push(t),H=[],e.length=0,r=0;r=i)return{hue:i,hex:Jc(i,rh(),255*lh())};if(i=Di(t))return{hue:null,hex:i};throw i='Invalid colour: "'+t+'"',e!==t&&(i+=' (from "'+e+'")'),Error(i)},fn=function(){return bs},Lf=function(e){bs=e},uh=function(){bs||(bs=document.createElement("div"),bs.className="blocklyWidgetDiv",(M()||document.body).appendChild(bs))},ta=function(e,t,i){as(),xr=e,ja=i,(e=bs)&&(e.style.direction=t?"rtl":"ltr",e.style.display="block",t=ne(),Br=t.getRenderer().getClassName(),Fr=t.getTheme().getClassName(),Br&&I(e,Br),Fr&&I(e,Fr))},as=function(){if(dh()){xr=null;var e=bs;e&&(e.style.display="none",e.style.left="",e.style.top="",ja&&ja(),ja=null,e.textContent="",Br&&(A(e,Br),Br=""),Fr&&(A(e,Fr),Fr=""),ne().markFocused())}},dh=function(){return!!xr},oa=function(e){xr===e&&as()},hh=function(e,t,i){bs.style.left=e+"px",bs.style.top=t+"px",bs.style.height=i+"px"},ph=function(e,t,i,r){const c=wf(e,t,i);e=Nf(e,t,i,r),0>c?hh(e,0,i.height+c):hh(e,c,i.height)},Nf=function(e,t,i,r){return r?Math.min(Math.max(t.right-i.width,e.left),e.right-i.width):Math.max(Math.min(t.left,e.right-i.width),e.left)},wf=function(e,t,i){return t.bottom+i.height>=e.bottom?t.top-i.height:t.bottom},Mf=function(e){return!(e==null||!e.repositionForWindowResize)},$h=function(){Mf(xr)&&xr.repositionForWindowResize()||as()},Jo=function(e,t){l(Ae.FIELD,e,t)},Df=function(e){u(Ae.FIELD,e)},s.fromJson$$module$build$src$core$field_registry=function(e){return pT.fromJsonInternal(e)},Pf=function(e){const t=f(Ae.FIELD,e.type);if(t){if(typeof t.fromJson!="function")throw new TypeError("returned Field was not a IRegistrableField");return t.fromJson(e)}return console.warn("Blockly could not create a field of type "+e.type+". The field is probably not being registered. This could be because the file is not loaded, the field does not register itself (Issue #1584), or the registration is not being reached."),null},ms=function(e,t){e.setAttribute(OS,t)},zt=function(e,t,i){Array.isArray(i)&&(i=i.join(" ")),e.setAttribute(IS+t,`${i}`)},xf=function(e){let t=!1;const i=e.map(([v,H])=>typeof v=="string"?[Jt(v),H]:(t=!0,[v.alt!==null?Object.assign({},v,{alt:Jt(v.alt)}):Object.assign({},v),H]));if(t||2>e.length)return{options:i};var r=i.map(([v])=>v),c=Sl(r);e=Qd(r,c);const $=qd(r,c);return!e&&!$||c<=e+$?{options:i}:(c=e?r[0].substring(0,e-1):void 0,r=$?r[0].substr(1-$):void 0,{options:Bf(i,e,$),prefix:c,suffix:r})},Bf=function(e,t,i){return e.map(([r,c])=>[r.substring(t,r.length-i),c])},_h=function(e){if(!Array.isArray(e))throw TypeError("FieldDropdown options must be an array.");if(!e.length)throw TypeError("FieldDropdown options must not be an empty array.");let t=!1;for(let i=0;i document.")}else e instanceof Element&&(t=e);return t},s.register$$module$build$src$core$extensions=function(e,t){if(typeof e!="string"||e.trim()==="")throw Error('Error: Invalid extension name "'+e+'"');if(Ur[e])throw Error('Error: Extension "'+e+'" is already registered.');if(typeof t!="function")throw Error('Error: Extension "'+e+'" must be a function');Ur[e]=t},s.registerMixin$$module$build$src$core$extensions=function(e,t){if(!t||typeof t!="object")throw Error('Error: Mixin "'+e+'" must be a object');s.register$$module$build$src$core$extensions(e,function(){this.mixin(t)})},s.registerMutator$$module$build$src$core$extensions=function(e,t,i,r){const c='Error when registering mutator "'+e+'": ';Eh(c,t);const $=Th(t,c);if(i&&typeof i!="function")throw Error(c+'Extension "'+e+'" is not a function');s.register$$module$build$src$core$extensions(e,function(){$&&this.setMutator(new s.MutatorIcon$$module$build$src$core$icons$mutator_icon(r||[],this)),this.mixin(t),i&&i.apply(this)})},Vf=function(e){mh(e)?delete Ur[e]:console.warn('No extension mapping for name "'+e+'" found to unregister')},mh=function(e){return!!Ur[e]},la=function(e,t,i){const r=Ur[e];if(typeof r!="function")throw Error('Error: Extension "'+e+'" not found.');let c;if(i?Gf(e,t):c=aa(t),r.apply(t),i)Eh('Error after applying mutator "'+e+'": ',t);else if(!Xf(c,t))throw Error('Error when applying extension "'+e+'": mutation properties changed when applying a non-mutator extension.')},Gf=function(e,t){if(aa(t).length)throw Error('Error: tried to apply mutation "'+e+'" to a block that already has mutator functions. Block id: '+t.id)},Wf=function(e,t){return ca(e.mutationToDom,e.domToMutation,t+" mutationToDom/domToMutation")},zf=function(e,t){return ca(e.saveExtraState,e.loadExtraState,t+" saveExtraState/loadExtraState")},Th=function(e,t){return ca(e.compose,e.decompose,t+" compose/decompose")},ca=function(e,t,i){if(e&&t){if(typeof e!="function"||typeof t!="function")throw Error(i+" must be a function");return!0}if(!e&&!t)return!1;throw Error(i+"Must have both or neither functions")},Eh=function(e,t){const i=Wf(t,e),r=zf(t,e);if(!i&&!r)throw Error(e+"Mutations must contain either XML hooks, or JSON hooks, or both");Th(t,e)},aa=function(e){const t=[];return e.domToMutation!==void 0&&t.push(e.domToMutation),e.mutationToDom!==void 0&&t.push(e.mutationToDom),e.saveExtraState!==void 0&&t.push(e.saveExtraState),e.loadExtraState!==void 0&&t.push(e.loadExtraState),e.compose!==void 0&&t.push(e.compose),e.decompose!==void 0&&t.push(e.decompose),t},Xf=function(e,t){if(t=aa(t),t.length!==e.length)return!1;for(let i=0;ii)){var r=t.getSvgXY(e.getSvgRoot());e.outputConnection?(r.x+=(e.RTL?3:-3)*i,r.y+=13*i):e.previousConnection&&(r.x+=(e.RTL?-23:23)*i,r.y+=3*i);var c=w(te.CIRCLE,{cx:r.x,cy:r.y,r:0,fill:"none",stroke:"#888","stroke-width":10},t.getParentSvg());e=w(te.ANIMATE,{id:"animationCircle",begin:"indefinite",attributeName:"r",dur:"150ms",from:0,to:25*i},c),t=w(te.ANIMATE,{id:"animationOpacity",begin:"indefinite",attributeName:"opacity",dur:"150ms",from:1,to:0},c),e.beginElement(),t.beginElement(),setTimeout(()=>void U(c),150)}},Ch=function(e){if(gr(),e.workspace.getAudioManager().play("disconnect"),!(1>e.workspace.scale)){var t=e.getHeightWidth().height;t=Math.atan(10/t)/Math.PI*180,e.RTL||(t*=-1),Ql=e,yh(e,t,new Date)}},yh=function(e,t,i){const r=(new Date().getTime()-i.getTime())/200;let c="";1>=r&&(c=`skewX(${Math.round(Math.sin(r*Math.PI*3)*(1-r)*t)})`,Ja=setTimeout(yh,10,e,t,i)),e.getSvgRoot().setAttribute("transform",`${e.getTranslation()} ${c}`)},gr=function(){Ql&&(Ja&&(clearTimeout(Ja),Ja=null),Ql.getSvgRoot().setAttribute("transform",Ql.getTranslation()),Ql=null)},fr=function(e,t,i){const r=i.getBoundingRectangle(),c=r.right-r.left,$=ur(t.top,r.top,t.top+t.height-(r.bottom-r.top))-r.top;let v=t.left;return t=t.left+t.width-c,e.RTL?v=Math.min(t,v):t=Math.max(v,t),(e=ur(v,r.left,t)-r.left)||$?(i.moveBy(e,$,["inbounds"]),!0):!1},Sh=function(e){return t=>{var i=e.getMetricsManager();if(i.hasFixedEdges()&&!e.isDragging()){var r;if(Ca.indexOf((r=t.type)!=null?r:"")!==-1){r=i.getScrollMetrics(!0);const c=Qf(e,t);c&&(i=s.getGroup$$module$build$src$core$events$utils()||!1,s.setGroup$$module$build$src$core$events$utils(t.group),fr(e,r,c)&&!t.group&&console.warn("Moved object in bounds but there was no event group. This may break undo."),s.setGroup$$module$build$src$core$events$utils(i))}else t.type===Ui&&t.scale&&t.oldScale&&t.scale>t.oldScale&&da(e)}}},Qf=function(e,t){let i=null;switch(t.type){case s.CREATE$$module$build$src$core$events$utils:case s.MOVE$$module$build$src$core$events$utils:(i=e.getBlockById(t.blockId))&&(i=i.getRootBlock());break;case Hi:case Us:i=e.getCommentById(t.commentId)}return i},da=function(e){var t=e.getMetricsManager();if(t.hasFixedEdges()&&!e.isDragging()){t=t.getScrollMetrics(!0);var i=e.getTopBoundedElements();for(let r=0,c;c=i[r];r++)fr(e,t,c)}},Rh=function(e,t){const i=[];for(const r of e.getIcons())(!Mi(r)||r.bubbleIsVisible())&&(i.push({location:t,icon:r}),r.onLocationChange(t));for(const r of e.getChildren(!1))i.push(...Rh(r,Fe.sum(t,r.relativeCoords)));return i},Ll=function(e){l$.copyInternal(e)},qf=function(e){Ei=e.toCopyData()},kh=function(){if(!Ei)return null;let e=Ei.source;return e.isFlyout&&(e=e.targetWorkspace),Ei.typeCounts&&e.isCapacityAvailable(Ei.typeCounts)?e.paste(Ei.saveInfo):null},ha=function(e){return l$.duplicateInternal(e)},Jf=function(e){const t=Ei;Ll(e);let i,r,c;return e=(c=(i=e.toCopyData())==null||(r=i.source)==null?void 0:r.paste(Ei.saveInfo))!=null?c:null,Ei=t,e},Zf=function(){return eu},Ah=function(e){eu=e},Nl=function(e,t,i){if(ta(CT,i,Lh),t.length){var r=em(t,i);tu=r,tm(r,e,i),setTimeout(function(){r.focus()},1),eu=null}else wl()},em=function(e,t){const i=new qp;i.setRole(Vo.MENU);for(let r=0;r{setTimeout(()=>{c.callback(c.scope)},0)})},{})}return i},tm=function(e,t,i){const r=bd();t=new Bt(t.clientY+r.top,t.clientY+r.top,t.clientX+r.left,t.clientX+r.left),om(e);const c=e.getSize();i&&(t.left+=c.width,t.right+=c.width,r.left+=c.width,r.right+=c.width),ph(r,t,c,i),e.focus()},om=function(e){var t=fn();if(!t)throw Error("Attempting to create a context menu when widget div is null");t=e.render(t),I(t,"blocklyContextMenu"),xe(t,"contextmenu",null,sm),e.focus()},sm=function(e){e.preventDefault(),e.stopPropagation()},wl=function(){oa(CT),eu=null},Lh=function(){tu&&(tu.dispose(),tu=null)},s.callbackFactory$$module$build$src$core$contextmenu=function(e,t){return()=>{s.disable$$module$build$src$core$events$utils();let i;try{i=wi(t,e.workspace);const r=e.getRelativeToSurfaceXY();r.x=e.RTL?r.x-s.config$$module$build$src$core$config.snapRadius:r.x+s.config$$module$build$src$core$config.snapRadius,r.y+=2*s.config$$module$build$src$core$config.snapRadius,i.moveBy(r.x,r.y)}finally{s.enable$$module$build$src$core$events$utils()}_e()&&!i.isShadow()&&re(new(we(s.CREATE$$module$build$src$core$events$utils))(i)),i.select()}},Nh=function(e){return{text:s.Msg$$module$build$src$core$msg.REMOVE_COMMENT,enabled:!0,callback:function(){s.setGroup$$module$build$src$core$events$utils(!0),e.dispose(),s.setGroup$$module$build$src$core$events$utils(!1)}}},wh=function(e){return{text:s.Msg$$module$build$src$core$msg.DUPLICATE_COMMENT,enabled:!0,callback:function(){ha(e)}}},im=function(e,t){const i={enabled:!0};return i.text=s.Msg$$module$build$src$core$msg.ADD_COMMENT,i.callback=function(){const r=new yo(e,s.Msg$$module$build$src$core$msg.WORKSPACE_COMMENT_DEFAULT_TEXT,yo.DEFAULT_SIZE,yo.DEFAULT_SIZE);var c=e.getInjectionDiv().getBoundingClientRect();c=new Fe(t.clientX-c.left,t.clientY-c.top);const $=e.getOriginOffsetInPixels();c=Fe.difference(c,$),c.scale(1/e.scale),r.moveBy(c.x,c.y),e.rendered&&(r.initSvg(),r.render(),r.select())},i},Ml=function(e){let t=e.outputConnection;return(!t||e.previousConnection&&e.previousConnection.isConnected())&&(t=e.previousConnection),t},Mh=function(e){return e.isDynamic},mr=function(e,t){l(Ae.RENDERER,e,t)},nm=function(e){u(Ae.RENDERER,e)},Dh=function(e,t,i){return e=new(p(Ae.RENDERER,e))(e),e.init(t,i),e},Ph=function(){kt.registry.register({displayText(){return s.Msg$$module$build$src$core$msg.UNDO},preconditionFn(e){return 0t.length?Dl(t):ue(s.Msg$$module$build$src$core$msg.DELETE_ALL_BLOCKS.replace("%1",String(t.length)),function(i){i&&Dl(t)})}},scopeType:kt.ScopeType.WORKSPACE,id:"workspaceDelete",weight:6})},rm=function(){Ph(),xh(),Bh(),Uh(),Hh(),Gh()},Wh=function(){kt.registry.register({displayText(){return s.Msg$$module$build$src$core$msg.DUPLICATE_BLOCK},preconditionFn(e){return e=e.block,!e.isInFlyout&&e.isDeletable()&&e.isMovable()?e.isDuplicatable()?"enabled":"disabled":"hidden"},callback(e){e.block&&ha(e.block)},scopeType:kt.ScopeType.BLOCK,id:"blockDuplicate",weight:1})},zh=function(){kt.registry.register({displayText(e){return e.block.hasIcon(Ao.TYPE)?s.Msg$$module$build$src$core$msg.REMOVE_COMMENT:s.Msg$$module$build$src$core$msg.ADD_COMMENT},preconditionFn(e){return e=e.block,!e.isInFlyout&&e.workspace.options.comments&&!e.isCollapsed()&&e.isEditable()?"enabled":"hidden"},callback(e){e=e.block,e.hasIcon(Ao.TYPE)?e.setCommentText(null):e.setCommentText("")},scopeType:kt.ScopeType.BLOCK,id:"blockComment",weight:2})},Xh=function(){kt.registry.register({displayText(e){return e.block.getInputsInline()?s.Msg$$module$build$src$core$msg.EXTERNAL_INPUTS:s.Msg$$module$build$src$core$msg.INLINE_INPUTS},preconditionFn(e){if(e=e.block,!e.isInFlyout&&e.isMovable()&&!e.isCollapsed()){for(let t=1;t!r.getReturnTypes()).map(r=>[r.getName(),r.getParameters().map(c=>c.getName()),!1]);e.getBlocksByType("procedures_defnoreturn",!1).forEach(r=>{!Pi(r)&&q(r)&&t.push(r.getProcedureDef())});const i=e.getProcedureMap().getProcedures().filter(r=>!!r.getReturnTypes()).map(r=>[r.getName(),r.getParameters().map(c=>c.getName()),!0]);return e.getBlocksByType("procedures_defreturn",!1).forEach(r=>{!Pi(r)&&q(r)&&i.push(r.getProcedureDef())}),t.sort(Jh),i.sort(Jh),[t,i]},Jh=function(e,t){return e[0].localeCompare(t[0],void 0,{sensitivity:"base"})},s.findLegalName$$module$build$src$core$procedures=function(e,t){if(t.isInFlyout)return e;for(e=e||s.Msg$$module$build$src$core$msg.UNNAMED_KEY||"unnamed";!cm(e,t.workspace,t);){const i=e.match(/^(.*?)(\d+)$/);e=i?i[1]+(parseInt(i[2])+1):e+"2"}return e},cm=function(e,t,i){return!Zh(e,t,i)},Zh=function(e,t,i){for(const r of t.getAllBlocks(!1))if(r!==i&&q(r)&&s.Names$$module$build$src$core$names.equals(r.getProcedureDef()[0],e))return!0;i=i&&Pi(i)?i==null?void 0:i.getProcedureModel():void 0;for(const r of t.getProcedureMap().getProcedures())if(r!==i&&s.Names$$module$build$src$core$names.equals(r.getName(),e))return!0;return!1},s.rename$$module$build$src$core$procedures=function(e){var t=this.getSourceBlock();if(!t)throw new io;e=e.trim();const i=s.findLegalName$$module$build$src$core$procedures(e,t);Pi(t)&&!t.isInsertionMarker()&&t.getProcedureModel().setName(i);const r=this.getValue();if(r!==e&&r!==i)for(e=t.workspace.getAllBlocks(!1),t=0;tum(i,e)||Ee(i)&&s.Names$$module$build$src$core$names.equals(i.getProcedureCall(),e))},um=function(e,t){return Pi(e)&&!e.isProcedureDef()&&e.getProcedureModel()&&s.Names$$module$build$src$core$names.equals(e.getProcedureModel().getName(),t)},s.mutateCallers$$module$build$src$core$procedures=function(e){const t=ke();var i=e.getProcedureDef()[0];const r=e.mutationToDom(!0);e=op(i,e.workspace);for(let $=0,v;v=e[$];$++){i=(i=v.mutationToDom())&&ht(i),v.domToMutation&&v.domToMutation(r);var c=v.mutationToDom();c=c&&ht(c),i!==c&&(fe(!1),re(new(we(s.CHANGE$$module$build$src$core$events$utils))(v,"mutation",null,i,c)),fe(t))}},s.getDefinition$$module$build$src$core$procedures=function(e,t){for(const i of t.getAllBlocks(!1))if(Pi(i)&&i.isProcedureDef()&&s.Names$$module$build$src$core$names.equals(i.getProcedureModel().getName(),e)||q(i)&&s.Names$$module$build$src$core$names.equals(i.getProcedureDef()[0],e))return i;return null},sp=function(e){Qo(e.getTargetWorkspace(),void 0,"String")},ip=function(e){Qo(e.getTargetWorkspace(),void 0,"Number")},np=function(e){Qo(e.getTargetWorkspace(),void 0,"Colour")},fa=function(e){let t=[],i=document.createElement("button");return i.setAttribute("text",s.Msg$$module$build$src$core$msg.NEW_STRING_VARIABLE),i.setAttribute("callbackKey","CREATE_VARIABLE_STRING"),t.push(i),i=document.createElement("button"),i.setAttribute("text",s.Msg$$module$build$src$core$msg.NEW_NUMBER_VARIABLE),i.setAttribute("callbackKey","CREATE_VARIABLE_NUMBER"),t.push(i),i=document.createElement("button"),i.setAttribute("text",s.Msg$$module$build$src$core$msg.NEW_COLOUR_VARIABLE),i.setAttribute("callbackKey","CREATE_VARIABLE_COLOUR"),t.push(i),e.registerButtonCallback("CREATE_VARIABLE_STRING",sp),e.registerButtonCallback("CREATE_VARIABLE_NUMBER",ip),e.registerButtonCallback("CREATE_VARIABLE_COLOUR",np),e=rp(e),t=t.concat(e)},rp=function(e){e=e.getAllVariables();const t=[];if(0cp(i))),t},cp=function(e){const t={id:e.getId(),name:e.getName()};return e.getTypes().length&&(t.types=e.getTypes()),t},ap=function(e,t,i,r){if(e=new e(r,i.name,i.id).setReturnTypes(i.returnTypes),!i.parameters)return e;for(const[c,$]of i.parameters.entries())e.insertParameter(up(t,$,r),c);return e},up=function(e,t,i){return e=new e(i,t.name,t.id),t.types&&e.setTypes(t.types),e},Tm=function(e){const t=Object.create(null),i=T(Ae.SERIALIZER,!0);for(const r in i){let c;const $=(c=i[r])==null?void 0:c.save(e);$&&(t[r]=$)}return t},Em=function(e,t,{recordUndo:i=!1}={}){var r=T(Ae.SERIALIZER,!0);if(r){r=Object.entries(r).sort(($,v)=>v[1].priority-$[1].priority);var c=ke();fe(i),(i=s.getGroup$$module$build$src$core$events$utils())||s.setGroup$$module$build$src$core$events$utils(!0),Ce(),t instanceof Cs&&t.setResizesEnabled(!1);for(const[,$]of r.reverse()){let v;(v=$)==null||v.clear(t)}for(let[$,v]of r.reverse())if(e[$]){let H;(H=v)==null||H.load(e[$],t)}t instanceof Cs&&t.setResizesEnabled(!0),ce(),re(new(we(bn))(t)),s.setGroup$$module$build$src$core$events$utils(i),fe(c)}},dp=function(){At.registry.register({name:Ks.ESCAPE,preconditionFn(e){return!e.options.readOnly},callback(e){return e.hideChaff(),!0},keyCodes:[ft.ESC]})},hp=function(){At.registry.register({name:Ks.DELETE,preconditionFn(e){const t=Z();return!e.options.readOnly&&t!=null&&t.isDeletable()},callback(e,t){return t.preventDefault(),bi.inProgress()?!1:(Z().checkAndDelete(),!0)},keyCodes:[ft.DELETE,ft.BACKSPACE]})},pp=function(){const e=At.registry.createSerializedKey(ft.C,[ft.CTRL]),t=At.registry.createSerializedKey(ft.C,[ft.ALT]),i=At.registry.createSerializedKey(ft.C,[ft.META]);At.registry.register({name:Ks.COPY,preconditionFn(r){const c=Z();return!r.options.readOnly&&!bi.inProgress()&&c!=null&&c.isDeletable()&&c.isMovable()},callback(r,c){return c.preventDefault(),r.hideChaff(),Ll(Z()),!0},keyCodes:[e,t,i]})},$p=function(){const e=At.registry.createSerializedKey(ft.X,[ft.CTRL]),t=At.registry.createSerializedKey(ft.X,[ft.ALT]),i=At.registry.createSerializedKey(ft.X,[ft.META]);At.registry.register({name:Ks.CUT,preconditionFn(r){const c=Z();return!r.options.readOnly&&!bi.inProgress()&&c!=null&&c instanceof ts&&c.isDeletable()&&c.isMovable()&&!c.workspace.isFlyout},callback(){const r=Z();return r?(Ll(r),r.checkAndDelete(),!0):!1},keyCodes:[e,t,i]})},_p=function(){const e=At.registry.createSerializedKey(ft.V,[ft.CTRL]),t=At.registry.createSerializedKey(ft.V,[ft.ALT]),i=At.registry.createSerializedKey(ft.V,[ft.META]);At.registry.register({name:Ks.PASTE,preconditionFn(r){return!r.options.readOnly&&!bi.inProgress()},callback(){return!!kh()},keyCodes:[e,t,i]})},gp=function(){const e=At.registry.createSerializedKey(ft.Z,[ft.CTRL]),t=At.registry.createSerializedKey(ft.Z,[ft.ALT]),i=At.registry.createSerializedKey(ft.Z,[ft.META]);At.registry.register({name:Ks.UNDO,preconditionFn(r){return!r.options.readOnly&&!bi.inProgress()},callback(r){return r.hideChaff(),r.undo(!1),!0},keyCodes:[e,t,i]})},fp=function(){const e=At.registry.createSerializedKey(ft.Z,[ft.SHIFT,ft.CTRL]),t=At.registry.createSerializedKey(ft.Z,[ft.SHIFT,ft.ALT]),i=At.registry.createSerializedKey(ft.Z,[ft.SHIFT,ft.META]),r=At.registry.createSerializedKey(ft.Y,[ft.CTRL]);At.registry.register({name:Ks.REDO,preconditionFn(c){return!bi.inProgress()&&!c.options.readOnly},callback(c){return c.hideChaff(),c.undo(!0),!0},keyCodes:[e,t,i,r]})},mp=function(){dp(),hp(),pp(),$p(),_p(),gp(),fp()},bm=function(e){return e.isSelectable()},vm=function(e){ne().hideChaff(e)},st=st||{},st.scope={},st.ASSUME_ES5=!1,st.ASSUME_NO_NATIVE_MAP=!1,st.ASSUME_NO_NATIVE_SET=!1,st.SIMPLE_FROUND_POLYFILL=!1,st.ISOLATE_POLYFILLS=!1,st.FORCE_POLYFILL_PROMISE=!1,st.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,st.defineProperty=st.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(e,t,i){return e==Array.prototype||e==Object.prototype||(e[t]=i.value),e},st.getGlobal=function(e){e=[typeof globalThis=="object"&&globalThis,e,typeof window=="object"&&window,typeof self=="object"&&self,typeof Do=="object"&&Do];for(var t=0;t>>0,st.propertyToPolyfillSymbol[c]=st.IS_SYMBOL_NATIVE?st.global.Symbol(c):st.POLYFILL_PREFIX+i+"$"+c),st.defineProperty(r,st.propertyToPolyfillSymbol[c],{configurable:!0,writable:!0,value:t})))},st.polyfill("globalThis",function(e){return e||st.global},"es_2020","es3"),st.arrayIteratorImpl=function(e){var t=0;return function(){return t{const e=Sm.length,t=[];for(let i=0;20>i;i++)t[i]=Sm.charAt(Math.random()*e);return t.join("")}},gS=0,va={};va.TEST_ONLY=Rm,va.genUid=he,va.getNextUniqueId=$e;var Tp,Er,Ia,Bi,Fi,mn,br,Oa,Tn,ci,ai,vr,Fs,Ir,Or,Cr,Ui,Hi,En,yr,Us,bn,Ca,vn,ya,pt;Tp="",Er=!0,Ia=0,s.CREATE$$module$build$src$core$events$utils="create",s.CREATE$$module$build$src$core$events$utils,s.DELETE$$module$build$src$core$events$utils="delete",s.DELETE$$module$build$src$core$events$utils,s.CHANGE$$module$build$src$core$events$utils="change",s.CHANGE$$module$build$src$core$events$utils,Bi="block_field_intermediate_change",s.MOVE$$module$build$src$core$events$utils="move",s.MOVE$$module$build$src$core$events$utils,Fi="var_create",mn="var_delete",br="var_rename",Oa="ui",Tn="drag",ci="selected",ai="click",vr="marker_move",Fs="bubble_open",Ir="trashcan_open",Or="toolbox_item_select",Cr="theme_change",Ui="viewport_change",Hi="comment_create",En="comment_delete",yr="comment_change",Us="comment_move",bn="finished_loading",Ca=[s.CREATE$$module$build$src$core$events$utils,s.MOVE$$module$build$src$core$events$utils,Hi,Us],vn=[],ya={FIRE_QUEUE:vn,fireNow:D,fireInternal:Ie,setGroupInternal:Me},pt={},pt.BLOCK_CHANGE=s.CHANGE$$module$build$src$core$events$utils,pt.BLOCK_CREATE=s.CREATE$$module$build$src$core$events$utils,pt.BLOCK_DELETE=s.DELETE$$module$build$src$core$events$utils,pt.BLOCK_DRAG=Tn,pt.BLOCK_FIELD_INTERMEDIATE_CHANGE=Bi,pt.BLOCK_MOVE=s.MOVE$$module$build$src$core$events$utils,pt.BUBBLE_OPEN=Fs,pt.BUMP_EVENTS=Ca,pt.CHANGE=s.CHANGE$$module$build$src$core$events$utils,pt.CLICK=ai,pt.COMMENT_CHANGE=yr,pt.COMMENT_CREATE=Hi,pt.COMMENT_DELETE=En,pt.COMMENT_MOVE=Us,pt.CREATE=s.CREATE$$module$build$src$core$events$utils,pt.DELETE=s.DELETE$$module$build$src$core$events$utils,pt.FINISHED_LOADING=bn,pt.MARKER_MOVE=vr,pt.MOVE=s.MOVE$$module$build$src$core$events$utils,pt.SELECTED=ci,pt.TEST_ONLY=ya,pt.THEME_CHANGE=Cr,pt.TOOLBOX_ITEM_SELECT=Or,pt.TRASHCAN_OPEN=Ir,pt.UI=Oa,pt.VAR_CREATE=Fi,pt.VAR_DELETE=mn,pt.VAR_RENAME=br,pt.VIEWPORT_CHANGE=Ui,pt.clearPendingUndo=ae,pt.disable=s.disable$$module$build$src$core$events$utils,pt.disableOrphans=We,pt.enable=s.enable$$module$build$src$core$events$utils,pt.filter=B,pt.fire=re,pt.fromJson=Je,pt.get=we,pt.getDescendantIds=Xe,pt.getGroup=s.getGroup$$module$build$src$core$events$utils,pt.getRecordUndo=ke,pt.isEnabled=_e,pt.setGroup=s.setGroup$$module$build$src$core$events$utils,pt.setRecordUndo=fe,function(e){e[e.VALUE=1]="VALUE",e[e.STATEMENT=3]="STATEMENT",e[e.DUMMY=5]="DUMMY",e[e.CUSTOM=6]="CUSTOM"}(s.inputTypes$$module$build$src$core$inputs$input_types||(s.inputTypes$$module$build$src$core$inputs$input_types={})),s.inputTypes$$module$build$src$core$inputs$input_types;var Sa={parseFromString:function(){throw Error("DOMParser was not found in the global scope and was not properly injected using injectDependencies")}},Ep={serializeToString:function(){throw Error("XMLSerializer was not foundin the global scope and was not properly injected using injectDependencies")}},{document:Ra,DOMParser:xl,XMLSerializer:Bl}=globalThis;xl&&(Sa=new xl),Bl&&(Ep=new Bl);var km="https://developers.google.com/blockly/xml",fS=/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,In={};In.NAME_SPACE=km,In.createElement=s.createElement$$module$build$src$core$utils$xml,In.createTextNode=s.createTextNode$$module$build$src$core$utils$xml,In.domToText=ht,In.injectDependencies=nt,In.textToDom=s.textToDom$$module$build$src$core$utils$xml;var Uo=class{constructor(e){this.name=e}toString(){return this.name}equals(e){return this.name===e.toString()}};Uo.MUTATOR=new Uo("mutator"),Uo.WARNING=new Uo("warning"),Uo.COMMENT=new Uo("comment");var Sr={};Sr.warn=Pe;var ka="http://www.w3.org/2000/svg",ui="http://www.w3.org/1999/xhtml",us="http://www.w3.org/1999/xlink",di;(function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"})(di||(di={}));var Es=null,bp=0,Aa=null,co={};co.HTML_NS=ui,co.NodeType=di,co.SVG_NS=ka,co.XLINK_NS=us,co.addClass=I,co.containsNode=Te,co.createSvgElement=w,co.getFastTextWidth=Le,co.getFastTextWidthWithSizeString=Ue,co.getTextWidth=Se,co.hasClass=K,co.insertAfter=de,co.measureFontMetrics=be,co.removeClass=A,co.removeClasses=N,co.removeNode=U,co.setCssTransform=oe,co.startTextWidthCache=Ce,co.stopTextWidthCache=ce;var Ht=class{constructor(e,t){this.width=e,this.height=t}static equals(e,t){return e===t?!0:e&&t?e.width===t.width&&e.height===t.height:!1}},Am=function(e,t){window.alert(e),t&&t()},Lm=function(e,t){t(window.confirm(e))},Nm=function(e,t,i){i(window.prompt(e,t))},wm={confirmInternal:ye},Vi={};Vi.TEST_ONLY=wm,Vi.alert=ee,Vi.confirm=ue,Vi.prompt=g,Vi.setAlert=se,Vi.setConfirm=E,Vi.setPrompt=R;var vp,La;s.Msg$$module$build$src$core$msg=Object.create(null),vp=function(e){Object.keys(e).forEach(function(t){s.Msg$$module$build$src$core$msg[t]=e[t]})},La={},La.Msg=s.Msg$$module$build$src$core$msg,La.setLocale=vp;var Rr=class{constructor(){this.workspaceId=void 0,this.isUiEvent=!1,this.type="",this.group=s.getGroup$$module$build$src$core$events$utils(),this.recordUndo=ke()}toJson(){return{type:this.type,group:this.group}}static fromJson(e,t,i){return i.isBlank=!1,i.group=e.group||"",i.workspaceId=t.id,i}isNull(){return!1}run(e){}getEventWorkspace_(){let e;if(this.workspaceId&&(e=k(this.workspaceId)),!e)throw Error("Workspace is null. Event must have been generated from real Blockly events.");return e}},Fl=class extends Rr{constructor(e){super(),this.isBlank=typeof e>"u",e&&(this.varId=e.getId(),this.workspaceId=e.workspace.id)}toJson(){const e=super.toJson();if(!this.varId)throw Error("The var ID is undefined. Either pass a variable to the constructor, or call fromJson");return e.varId=this.varId,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new Fl),t.varId=e.varId,t}},Ip=class extends Fl{constructor(e){super(e),this.type=Fi,e&&(this.varType=e.type,this.varName=e.name)}toJson(){const e=super.toJson();if(this.varType===void 0)throw Error("The var type is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.varName)throw Error("The var name is undefined. Either pass a variable to the constructor, or call fromJson");return e.varType=this.varType,e.varName=this.varName,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new Ip),t.varType=e.varType,t.varName=e.varName,t}run(e){const t=this.getEventWorkspace_();if(!this.varId)throw Error("The var ID is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.varName)throw Error("The var name is undefined. Either pass a variable to the constructor, or call fromJson");e?t.createVariable(this.varName,this.varType,this.varId):t.deleteVariableById(this.varId)}};l(Ae.EVENT,Fi,Ip);var Ul=class{constructor(e,t,i,r){this.workspace=e,this.name=t,this.type=i||"",this.id_=r||he()}getId(){return this.id_}static compareByName(e,t){return e.name.localeCompare(t.name,void 0,{sensitivity:"base"})}},Op="VARIABLE",Cp="ijkmnopqrstuvwxyzabcdefgh",Mm={generateUniqueNameInternal:ii},ao={};ao.CATEGORY_NAME=Op,ao.TEST_ONLY=Mm,ao.VAR_LETTER_OPTIONS=Cp,ao.allDeveloperVariables=s.allDeveloperVariables$$module$build$src$core$variables,ao.allUsedVarModels=s.allUsedVarModels$$module$build$src$core$variables,ao.createVariableButtonHandler=Qo,ao.flyoutCategory=ze,ao.flyoutCategoryBlocks=yt,ao.generateUniqueName=ls,ao.generateUniqueNameFromOptions=xt,ao.generateVariableFieldDom=s.generateVariableFieldDom$$module$build$src$core$variables,ao.getAddedVariables=C,ao.getOrCreateVariablePackage=s.getOrCreateVariablePackage$$module$build$src$core$variables,ao.getVariable=s.getVariable$$module$build$src$core$variables,ao.nameUsedWithAnyType=qo,ao.nameUsedWithConflictingParam=b,ao.promptName=Ut,ao.renameVariable=s.renameVariable$$module$build$src$core$variables;var Fe=class{constructor(e,t){this.x=e,this.y=t}clone(){return new Fe(this.x,this.y)}scale(e){return this.x*=e,this.y*=e,this}translate(e,t){return this.x+=e,this.y+=t,this}static equals(e,t){return e===t?!0:e&&t?e.x===t.x&&e.y===t.y:!1}static distance(e,t){const i=e.x-t.x;return e=e.y-t.y,Math.sqrt(i*i+e*e)}static magnitude(e){return Math.sqrt(e.x*e.x+e.y*e.y)}static difference(e,t){return new Fe(e.x-t.x,e.y-t.y)}static sum(e,t){return new Fe(e.x+t.x,e.y+t.y)}},Hs=class{constructor(e,t,i,r,c){this.workspace=e,this.editable=this.movable=this.deletable=!0,this.disposed_=!1,this.isComment=!0,this.id=c&&!e.getCommentById(c)?c:he(),e.addTopComment(this),this.xy_=new Fe(0,0),this.height_=i,this.width_=r,this.RTL=e.RTL,this.content_=t,Hs.fireCreateEvent(this)}dispose(){this.disposed_||(_e()&&re(new(we(En))(this)),this.workspace.removeTopComment(this),this.disposed_=!0)}getHeight(){return this.height_}setHeight(e){this.height_=e}getWidth(){return this.width_}setWidth(e){this.width_=e}getRelativeToSurfaceXY(){return new Fe(this.xy_.x,this.xy_.y)}moveBy(e,t){const i=new(we(Us))(this);this.xy_.translate(e,t),i.recordNew(),re(i)}isDeletable(){return this.deletable&&!(this.workspace&&this.workspace.options.readOnly)}setDeletable(e){this.deletable=e}isMovable(){return this.movable&&!(this.workspace&&this.workspace.options.readOnly)}setMovable(e){this.movable=e}isEditable(){return this.editable&&!(this.workspace&&this.workspace.options.readOnly)}setEditable(e){this.editable=e}getContent(){return this.content_}setContent(e){this.content_!==e&&(re(new(we(yr))(this,this.content_,e)),this.content_=e)}toXmlWithXY(e){return e=this.toXml(e),e.setAttribute("x",String(Math.round(this.xy_.x))),e.setAttribute("y",String(Math.round(this.xy_.y))),e.setAttribute("h",String(this.height_)),e.setAttribute("w",String(this.width_)),e}toXml(e){const t=s.createElement$$module$build$src$core$utils$xml("comment");return e||(t.id=this.id),t.textContent=this.getContent(),t}static fireCreateEvent(e){if(_e()){const t=s.getGroup$$module$build$src$core$events$utils();t||s.setGroup$$module$build$src$core$events$utils(!0);try{re(new(we(Hi))(e))}finally{s.setGroup$$module$build$src$core$events$utils(t)}}}static fromXml(e,t){var i=Hs.parseAttributes(e);return t=new Hs(t,i.content,i.h,i.w,i.id),i=e.getAttribute("x"),e=e.getAttribute("y"),i=i?parseInt(i,10):NaN,e=e?parseInt(e,10):NaN,isNaN(i)||isNaN(e)||t.moveBy(i,e),Hs.fireCreateEvent(t),t}static parseAttributes(e){const t=e.getAttribute("h"),i=e.getAttribute("w"),r=e.getAttribute("x"),c=e.getAttribute("y"),$=e.getAttribute("id");if(!$)throw Error("No ID present in XML comment definition.");let v;return{id:$,h:t?parseInt(t):100,w:i?parseInt(i):100,x:r?parseInt(r):NaN,y:c?parseInt(c):NaN,content:(v=e.textContent)!=null?v:""}}},Vs=class extends Rr{constructor(e){super(),this.recordUndo=!1,this.isUiEvent=!0,this.isBlank=typeof e>"u",this.workspaceId=e||""}},yp=class extends Vs{constructor(e,t,i){super(i),this.type=ci,this.oldElementId=e??void 0,this.newElementId=t??void 0}toJson(){const e=super.toJson();return e.oldElementId=this.oldElementId,e.newElementId=this.newElementId,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new yp),t.oldElementId=e.oldElementId,t.newElementId=e.newElementId,t}};l(Ae.EVENT,ci,yp);var mS=750,Dm="ontouchstart"in globalThis||!!(globalThis.document&&document.documentElement&&"ontouchstart"in document.documentElement)||!(!globalThis.navigator||!globalThis.navigator.maxTouchPoints&&!globalThis.navigator.msMaxTouchPoints),Na=null,On={mousedown:["pointerdown"],mouseenter:["pointerenter"],mouseleave:["pointerleave"],mousemove:["pointermove"],mouseout:["pointerout"],mouseover:["pointerover"],mouseup:["pointerup","pointercancel"],touchend:["pointerup"],touchcancel:["pointercancel"]},wa=0,hi={};hi.TOUCH_ENABLED=Dm,hi.TOUCH_MAP=On,hi.checkTouchIdentifier=po,hi.clearTouchIdentifier=Ge,hi.getTouchIdentifierFromEvent=Mt,hi.longStart=V,hi.longStop=ve,hi.shouldHandleEvent=rt;var Sp,Pm,xm,Bm,Ma,Da,Rp,Fm,Um,Hm;(function(e){function t(r){return i.indexOf(r.toUpperCase())!==-1}Sp=e;const i=Sp.toUpperCase();Pm=t("JavaFX"),xm=t("WebKit"),Bm=t("Gecko")&&!xm,Ma=t("Android"),e=globalThis.navigator&&globalThis.navigator.maxTouchPoints,Da=t("iPad")||t("Macintosh")&&0.blocklyPathLight {
+ display: none;
+}
+
+.blocklyDraggable {
+ cursor: grab;
+ cursor: -webkit-grab;
+}
+
+.blocklyDragging {
+ cursor: grabbing;
+ cursor: -webkit-grabbing;
+}
+
+ /* Changes cursor on mouse down. Not effective in Firefox because of
+ https://bugzilla.mozilla.org/show_bug.cgi?id=771241 */
+.blocklyDraggable:active {
+ cursor: grabbing;
+ cursor: -webkit-grabbing;
+}
+
+.blocklyDragging.blocklyDraggingDelete {
+ cursor: url("<<>>/handdelete.cur"), auto;
+}
+
+.blocklyDragging>.blocklyPath,
+.blocklyDragging>.blocklyPathLight {
+ fill-opacity: .8;
+ stroke-opacity: .8;
+}
+
+.blocklyDragging>.blocklyPathDark {
+ display: none;
+}
+
+.blocklyDisabled>.blocklyPath {
+ fill-opacity: .5;
+ stroke-opacity: .5;
+}
+
+.blocklyDisabled>.blocklyPathLight,
+.blocklyDisabled>.blocklyPathDark {
+ display: none;
+}
+
+.blocklyInsertionMarker>.blocklyPath,
+.blocklyInsertionMarker>.blocklyPathLight,
+.blocklyInsertionMarker>.blocklyPathDark {
+ fill-opacity: .2;
+ stroke: none;
+}
+
+.blocklyMultilineText {
+ font-family: monospace;
+}
+
+.blocklyNonEditableText>text {
+ pointer-events: none;
+}
+
+.blocklyFlyout {
+ position: absolute;
+ z-index: 20;
+}
+
+.blocklyText text {
+ cursor: default;
+}
+
+/*
+ Don't allow users to select text. It gets annoying when trying to
+ drag a block and selected text moves instead.
+*/
+.blocklySvg text {
+ user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
+ cursor: inherit;
+}
+
+.blocklyHidden {
+ display: none;
+}
+
+.blocklyFieldDropdown:not(.blocklyHidden) {
+ display: block;
+}
+
+.blocklyIconGroup {
+ cursor: default;
+}
+
+.blocklyIconGroup:not(:hover),
+.blocklyIconGroupReadonly {
+ opacity: .6;
+}
+
+.blocklyIconShape {
+ fill: #00f;
+ stroke: #fff;
+ stroke-width: 1px;
+}
+
+.blocklyIconSymbol {
+ fill: #fff;
+}
+
+.blocklyMinimalBody {
+ margin: 0;
+ padding: 0;
+}
+
+.blocklyHtmlInput {
+ border: none;
+ border-radius: 4px;
+ height: 100%;
+ margin: 0;
+ outline: none;
+ padding: 0;
+ width: 100%;
+ text-align: center;
+ display: block;
+ box-sizing: border-box;
+}
+
+/* Remove the increase and decrease arrows on the field number editor */
+input.blocklyHtmlInput[type=number]::-webkit-inner-spin-button,
+input.blocklyHtmlInput[type=number]::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+
+input[type=number] {
+ -moz-appearance: textfield;
+}
+
+.blocklyMainBackground {
+ stroke-width: 1;
+ stroke: #c6c6c6; /* Equates to #ddd due to border being off-pixel. */
+}
+
+.blocklyMutatorBackground {
+ fill: #fff;
+ stroke: #ddd;
+ stroke-width: 1;
+}
+
+.blocklyFlyoutBackground {
+ fill: #ddd;
+ fill-opacity: .8;
+}
+
+.blocklyMainWorkspaceScrollbar {
+ z-index: 20;
+}
+
+.blocklyFlyoutScrollbar {
+ z-index: 30;
+}
+
+.blocklyScrollbarHorizontal,
+.blocklyScrollbarVertical {
+ position: absolute;
+ outline: none;
+}
+
+.blocklyScrollbarBackground {
+ opacity: 0;
+}
+
+.blocklyScrollbarHandle {
+ fill: #ccc;
+}
+
+.blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,
+.blocklyScrollbarHandle:hover {
+ fill: #bbb;
+}
+
+/* Darken flyout scrollbars due to being on a grey background. */
+/* By contrast, workspace scrollbars are on a white background. */
+.blocklyFlyout .blocklyScrollbarHandle {
+ fill: #bbb;
+}
+
+.blocklyFlyout .blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,
+.blocklyFlyout .blocklyScrollbarHandle:hover {
+ fill: #aaa;
+}
+
+.blocklyInvalidInput {
+ background: #faa;
+}
+
+.blocklyVerticalMarker {
+ stroke-width: 3px;
+ fill: rgba(255,255,255,.5);
+ pointer-events: none;
+}
+
+.blocklyComputeCanvas {
+ position: absolute;
+ width: 0;
+ height: 0;
+}
+
+.blocklyNoPointerEvents {
+ pointer-events: none;
+}
+
+.blocklyContextMenu {
+ border-radius: 4px;
+ max-height: 100%;
+}
+
+.blocklyDropdownMenu {
+ border-radius: 2px;
+ padding: 0 !important;
+}
+
+.blocklyDropdownMenu .blocklyMenuItem {
+ /* 28px on the left for icon or checkbox. */
+ padding-left: 28px;
+}
+
+/* BiDi override for the resting state. */
+.blocklyDropdownMenu .blocklyMenuItemRtl {
+ /* Flip left/right padding for BiDi. */
+ padding-left: 5px;
+ padding-right: 28px;
+}
+
+.blocklyWidgetDiv .blocklyMenu {
+ background: #fff;
+ border: 1px solid transparent;
+ box-shadow: 0 0 3px 1px rgba(0,0,0,.3);
+ font: normal 13px Arial, sans-serif;
+ margin: 0;
+ outline: none;
+ padding: 4px 0;
+ position: absolute;
+ overflow-y: auto;
+ overflow-x: hidden;
+ max-height: 100%;
+ z-index: 20000; /* Arbitrary, but some apps depend on it... */
+}
+
+.blocklyWidgetDiv .blocklyMenu.blocklyFocused {
+ box-shadow: 0 0 6px 1px rgba(0,0,0,.3);
+}
+
+.blocklyDropDownDiv .blocklyMenu {
+ background: inherit; /* Compatibility with gapi, reset from goog-menu */
+ border: inherit; /* Compatibility with gapi, reset from goog-menu */
+ font: normal 13px "Helvetica Neue", Helvetica, sans-serif;
+ outline: none;
+ position: relative; /* Compatibility with gapi, reset from goog-menu */
+ z-index: 20000; /* Arbitrary, but some apps depend on it... */
+}
+
+/* State: resting. */
+.blocklyMenuItem {
+ border: none;
+ color: #000;
+ cursor: pointer;
+ list-style: none;
+ margin: 0;
+ /* 7em on the right for shortcut. */
+ min-width: 7em;
+ padding: 6px 15px;
+ white-space: nowrap;
+}
+
+/* State: disabled. */
+.blocklyMenuItemDisabled {
+ color: #ccc;
+ cursor: inherit;
+}
+
+/* State: hover. */
+.blocklyMenuItemHighlight {
+ background-color: rgba(0,0,0,.1);
+}
+
+/* State: selected/checked. */
+.blocklyMenuItemCheckbox {
+ height: 16px;
+ position: absolute;
+ width: 16px;
+}
+
+.blocklyMenuItemSelected .blocklyMenuItemCheckbox {
+ background: url(<<>>/sprites.png) no-repeat -48px -16px;
+ float: left;
+ margin-left: -24px;
+ position: static; /* Scroll with the menu. */
+}
+
+.blocklyMenuItemRtl .blocklyMenuItemCheckbox {
+ float: right;
+ margin-right: -24px;
+}
+`,Mp={};Mp.inject=gd,Mp.register=cs;var Bt=class{constructor(e,t,i,r){this.top=e,this.bottom=t,this.left=i,this.right=r}getHeight(){return this.bottom-this.top}getWidth(){return this.right-this.left}contains(e,t){return e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom}intersects(e){return!(this.left>e.right||this.righte.bottom||this.bottom{this.disposed_||(this.textarea.focus(),this.addFocus(),this.svgRectTarget&&I(this.svgRectTarget,"blocklyCommentTargetFocused"),this.svgHandleTarget&&I(this.svgHandleTarget,"blocklyCommentHandleTargetFocused"))},0)}blurFocus(){this.focused=!1,setTimeout(()=>{this.disposed_||(this.textarea.blur(),this.removeFocus(),this.svgRectTarget&&A(this.svgRectTarget,"blocklyCommentTargetFocused"),this.svgHandleTarget&&A(this.svgHandleTarget,"blocklyCommentHandleTargetFocused"))},0)}static fromXmlRendered(e,t,i){s.disable$$module$build$src$core$events$utils();let r;try{const c=Hs.parseAttributes(e);if(r=new yo(t,c.content,c.h,c.w,c.id),t.rendered&&(r.initSvg(!0),r.render()),!isNaN(c.x)&&!isNaN(c.y))if(t.RTL){const $=i||t.getWidth();r.moveBy($-c.x,c.y)}else r.moveBy(c.x,c.y)}finally{s.enable$$module$build$src$core$events$utils()}return Hs.fireCreateEvent(r),r}};yo.DEFAULT_SIZE=100,yo.TOP_OFFSET=10,cs(`
+.blocklyCommentForeignObject {
+ position: relative;
+ z-index: 0;
+}
+
+.blocklyCommentRect {
+ fill: #E7DE8E;
+ stroke: #bcA903;
+ stroke-width: 1px;
+}
+
+.blocklyCommentTarget {
+ fill: transparent;
+ stroke: #bcA903;
+}
+
+.blocklyCommentTargetFocused {
+ fill: none;
+}
+
+.blocklyCommentHandleTarget {
+ fill: none;
+}
+
+.blocklyCommentHandleTargetFocused {
+ fill: transparent;
+}
+
+.blocklyFocused>.blocklyCommentRect {
+ fill: #B9B272;
+ stroke: #B9B272;
+}
+
+.blocklySelected>.blocklyCommentTarget {
+ stroke: #fc3;
+ stroke-width: 3px;
+}
+
+.blocklyCommentDeleteIcon {
+ cursor: pointer;
+ fill: #000;
+ display: none;
+}
+
+.blocklySelected > .blocklyCommentDeleteIcon {
+ display: block;
+}
+
+.blocklyDeleteIconShape {
+ fill: #000;
+ stroke: #000;
+ stroke-width: 1px;
+}
+
+.blocklyDeleteIconShape.blocklyDeleteIconHighlighted {
+ stroke: #fc3;
+}
+`);var Ba=new Set,Fa=new WeakSet,Ar=null,Dp=null,Ym=0,Ua={};Ua.finishQueuedRenders=cr,Ua.queueRender=Id,Ua.triggerQueuedRenders=Ds;var Ho={};Ho.appendDomToWorkspace=xg,Ho.blockToDom=Ni,Ho.blockToDomWithXY=Il,Ho.clearWorkspaceAndLoadFromXml=Pg,Ho.deleteNext=Xg,Ho.domToBlock=s.domToBlock$$module$build$src$core$xml,Ho.domToBlockInternal=wi,Ho.domToPrettyText=Dg,Ho.domToText=Ps,Ho.domToVariables=Ld,Ho.domToWorkspace=s.domToWorkspace$$module$build$src$core$xml,Ho.variablesToDom=kd,Ho.workspaceToDom=Ng;var Lr=class extends Error{},Km=class extends Lr{constructor(e){super("Expected to find a 'type' property, defining the block type"),this.state=e}},Hl=class extends Lr{constructor(e,t,i){super(`The block ${t.toDevString()} is missing a(n) ${e}
+connection`),this.block=t,this.state=i}},Qm=class extends Lr{constructor(e,t,i,r){super(`The block ${i.toDevString()} could not connect its
+${t} to its parent, because: ${e}`),this.childBlock=i,this.childState=r}},qm=class extends Lr{constructor(e){super(`Encountered a real block which is defined as a child of a shadow
+block. It is an invariant of Blockly that shadow blocks only have shadow
+children`),this.state=e}},Jm=class extends Lr{constructor(e,t,i){super(`Cannot add an icon of type '${e}' to the block ${t.toDevString()}, because there is no icon registered with type '${e}'. Make sure that all of your icons have been registered.`),this.block=t,this.state=i}},Cn={};Cn.BadConnectionCheck=Qm,Cn.DeserializationError=Lr,Cn.MissingBlockType=Km,Cn.MissingConnection=Hl,Cn.RealChildOfShadow=qm,Cn.UnregisteredIcon=Jm;var Zm=100,eT=75,tT=50,Ha={};Ha.BLOCKS=tT,Ha.PROCEDURES=eT,Ha.VARIABLES=Zm;var Pp={};Pp.register=Xc,Pp.unregister=jg;var oT=class{constructor(){this.priority=tT}save(e){const t=[];for(const i of e.getTopBlocks(!1))(e=xs(i,{addCoordinates:!0,doFullSerialization:!1}))&&t.push(e);return t.length?{languageVersion:0,blocks:t}:null}load(e,t){e=e.blocks;for(const i of e)_n(i,t,{recordUndo:ke()})}clear(e){for(const t of e.getTopBlocks(!1))t.dispose(!1)}};Xc("blocks",new oT);var Vl={};Vl.BlockSerializer=oT,Vl.append=_n,Vl.appendInternal=Ol,Vl.save=xs;var yn=class extends Rr{constructor(e){super(),this.isBlank=!e,e&&(this.blockId=e.id,this.workspaceId=e.workspace.id)}toJson(){const e=super.toJson();if(!this.blockId)throw Error("The block ID is undefined. Either pass a block to the constructor, or call fromJson");return e.blockId=this.blockId,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new yn),t.blockId=e.blockId,t}},xp=class extends yn{constructor(e){super(e),this.type=s.CREATE$$module$build$src$core$events$utils,e&&(e.isShadow()&&(this.recordUndo=!1),this.xml=Il(e),this.ids=Xe(e),this.json=xs(e,{addCoordinates:!0}))}toJson(){const e=super.toJson();if(!this.xml)throw Error("The block XML is undefined. Either pass a block to the constructor, or call fromJson");if(!this.ids)throw Error("The block IDs are undefined. Either pass a block to the constructor, or call fromJson");if(!this.json)throw Error("The block JSON is undefined. Either pass a block to the constructor, or call fromJson");return e.xml=Ps(this.xml),e.ids=this.ids,e.json=this.json,this.recordUndo||(e.recordUndo=this.recordUndo),e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new xp),t.xml=s.textToDom$$module$build$src$core$utils$xml(e.xml),t.ids=e.ids,t.json=e.json,e.recordUndo!==void 0&&(t.recordUndo=e.recordUndo),t}run(e){const t=this.getEventWorkspace_();if(!this.json)throw Error("The block JSON is undefined. Either pass a block to the constructor, or call fromJson");if(!this.ids)throw Error("The block IDs are undefined. Either pass a block to the constructor, or call fromJson");if(e)_n(this.json,t);else for(e=0;e ")),re(new Sn(t,"mutation",null,i,e));break;default:console.warn("Unknown change type: "+this.element)}}static getExtraBlockState_(e){return e.saveExtraState?(e=e.saveExtraState())?JSON.stringify(e):"":e.mutationToDom&&(e=e.mutationToDom())?Ps(e):""}};l(Ae.EVENT,s.CHANGE$$module$build$src$core$events$utils,Sn);var Bp=class extends yn{constructor(e){if(super(e),this.type=s.DELETE$$module$build$src$core$events$utils,e){if(e.getParent())throw Error("Connected blocks cannot be deleted.");e.isShadow()&&(this.recordUndo=!1),this.oldXml=Il(e),this.ids=Xe(e),this.wasShadow=e.isShadow(),this.oldJson=xs(e,{addCoordinates:!0})}}toJson(){const e=super.toJson();if(!this.oldXml)throw Error("The old block XML is undefined. Either pass a block to the constructor, or call fromJson");if(!this.ids)throw Error("The block IDs are undefined. Either pass a block to the constructor, or call fromJson");if(this.wasShadow===void 0)throw Error("Whether the block was a shadow is undefined. Either pass a block to the constructor, or call fromJson");if(!this.oldJson)throw Error("The old block JSON is undefined. Either pass a block to the constructor, or call fromJson");return e.oldXml=Ps(this.oldXml),e.ids=this.ids,e.wasShadow=this.wasShadow,e.oldJson=this.oldJson,this.recordUndo||(e.recordUndo=this.recordUndo),e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new Bp),t.oldXml=s.textToDom$$module$build$src$core$utils$xml(e.oldXml),t.ids=e.ids,t.wasShadow=e.wasShadow||t.oldXml.tagName.toLowerCase()==="shadow",t.oldJson=e.oldJson,e.recordUndo!==void 0&&(t.recordUndo=e.recordUndo),t}run(e){const t=this.getEventWorkspace_();if(!this.ids)throw Error("The block IDs are undefined. Either pass a block to the constructor, or call fromJson");if(!this.oldJson)throw Error("The old block JSON is undefined. Either pass a block to the constructor, or call fromJson");if(e)for(e=0;ec.top?Xd(i,r,c,$):t+$.heightdocument.documentElement.clientTop?Xd(i,r,c,$):_f(e,c,$)}},so={};so.ANIMATION_TIME=Wa,so.ARROW_HORIZONTAL_PADDING=rT,so.ARROW_SIZE=Gl,so.BORDER_SIZE=Up,so.PADDING_Y=Hp,so.TEST_ONLY=Wp,so.clearContent=jc,so.createDom=Bd,so.getContentDiv=dr,so.getOwner=Ud,so.getPositionX=yl,so.hide=Kc,so.hideIfOwner=hr,so.hideWithoutAnimation=fs,so.isVisible=jd,so.repositionForWindowResize=Kd,so.setBoundsElement=Fd,so.setColour=Yc,so.show=Wd,so.showPositionedByBlock=$f,so.showPositionedByField=Cl;var Wl=class{constructor(e){this.workspace=e,this.cursorSvg_=this.cursor_=null,this.markers=new Map,this.markerSvg_=null}registerMarker(e,t){this.markers.has(e)&&this.unregisterMarker(e),t.setDrawer(this.workspace.getRenderer().makeMarkerDrawer(this.workspace,t)),this.setMarkerSvg(t.getDrawer().createDom()),this.markers.set(e,t)}unregisterMarker(e){const t=this.markers.get(e);if(t)t.dispose(),this.markers.delete(e);else throw Error("Marker with ID "+e+" does not exist. Can only unregister markers that exist.")}getCursor(){return this.cursor_}getMarker(e){return this.markers.get(e)||null}setCursor(e){this.cursor_&&this.cursor_.getDrawer()&&this.cursor_.getDrawer().dispose(),(this.cursor_=e)&&(e=this.workspace.getRenderer().makeMarkerDrawer(this.workspace,this.cursor_),this.cursor_.setDrawer(e),this.setCursorSvg(this.cursor_.getDrawer().createDom()))}setCursorSvg(e){e?(this.workspace.getBlockCanvas().appendChild(e),this.cursorSvg_=e):this.cursorSvg_=null}setMarkerSvg(e){e?this.workspace.getBlockCanvas()&&(this.cursorSvg_?this.workspace.getBlockCanvas().insertBefore(e,this.cursorSvg_):this.workspace.getBlockCanvas().appendChild(e)):this.markerSvg_=null}updateMarkers(){this.workspace.keyboardAccessibilityMode&&this.cursorSvg_&&this.workspace.getCursor().draw()}dispose(){const e=Object.keys(this.markers);for(let t=0,i;i=e[t];t++)this.unregisterMarker(i);this.markers.clear(),this.cursor_&&(this.cursor_.dispose(),this.cursor_=null)}};Wl.LOCAL_MARKER="local_marker_1";var An={};An.commonWordPrefix=Qd,An.commonWordSuffix=qd,An.isNumber=s.isNumber$$module$build$src$core$utils$string,An.shortestStringLength=Sl,An.startsWith=gf,An.wrap=s.wrap$$module$build$src$core$utils$string;var za=void 0,zl=!1,Pr=!1,cT=50,aT=0,Ln=0,zp=0,Xp=0,ds=null,Xl=null,jp=0,Yp=10,uT=10,dT=750,Xa=5,ro=null,$o={};$o.HOVER_MS=dT,$o.LIMIT=cT,$o.MARGINS=Xa,$o.OFFSET_X=jp,$o.OFFSET_Y=Yp,$o.RADIUS_OK=uT,$o.bindMouseEvents=Rl,$o.block=ih,$o.createDom=eh,$o.dispose=sh,$o.getCustomTooltip=Ef,$o.getDiv=vf,$o.getTooltipOfObject=pr,$o.hide=ni,$o.isVisible=bf,$o.setCustomTooltip=Tf,$o.unbindMouseEvents=th,$o.unblock=nh;var Kp=.45,Qp=.65,hT={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00"},So={};So.blend=gn,So.getHsvSaturation=rh,So.getHsvValue=lh,So.hexToRgb=qc,So.hsvToHex=Jc,So.hueToHex=ch,So.names=hT,So.parse=Di,So.rgbToHex=kl,So.setHsvSaturation=kf,So.setHsvValue=Af;var jl={};jl.checkMessageReferences=ea,jl.parseBlockColour=$r,jl.replaceMessageReferences=Jt,jl.tokenizeInterpolation=ah;var xr=null,ja=null,Br="",Fr="",bs,Gs={};Gs.createDom=uh,Gs.getDiv=fn,Gs.hide=as,Gs.hideIfOwner=oa,Gs.isVisible=dh,Gs.positionWithAnchor=ph,Gs.repositionForWindowResize=$h,Gs.show=ta,Gs.testOnly_setDiv=Lf;var bt=class{constructor(e,t,i){this.DEFAULT_VALUE=null,this.name=void 0,this.constants_=this.mouseDownWrapper_=this.textContent_=this.textElement_=this.borderRect_=this.fieldGroup_=this.markerSvg_=this.cursorSvg_=this.tooltip_=this.validator_=null,this.disposed=!1,this.maxDisplayLength=50,this.sourceBlock_=null,this.enabled_=this.visible_=this.isDirty_=!0,this.suffixField=this.prefixField=this.clickTarget_=null,this.EDITABLE=!0,this.SERIALIZABLE=!1,this.CURSOR="",this.value_="DEFAULT_VALUE"in new.target.prototype?new.target.prototype.DEFAULT_VALUE:this.DEFAULT_VALUE,this.size_=new Ht(0,0),e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){e.tooltip&&this.setTooltip(Jt(e.tooltip))}setSourceBlock(e){if(this.sourceBlock_)throw Error("Field already bound to a block");this.sourceBlock_=e}getConstants(){return!this.constants_&&this.sourceBlock_&&!this.sourceBlock_.isDeadOrDying()&&this.sourceBlock_.workspace.rendered&&(this.constants_=this.sourceBlock_.workspace.getRenderer().getConstants()),this.constants_}getSourceBlock(){return this.sourceBlock_}init(){this.fieldGroup_||(this.fieldGroup_=w(te.G,{}),this.isVisible()||(this.fieldGroup_.style.display="none"),this.sourceBlock_.getSvgRoot().appendChild(this.fieldGroup_),this.initView(),this.updateEditable(),this.setTooltip(this.tooltip_),this.bindEvents_(),this.initModel())}initView(){this.createBorderRect_(),this.createTextElement_()}initModel(){}createBorderRect_(){this.borderRect_=w(te.RECT,{rx:this.getConstants().FIELD_BORDER_RECT_RADIUS,ry:this.getConstants().FIELD_BORDER_RECT_RADIUS,x:0,y:0,height:this.size_.height,width:this.size_.width,class:"blocklyFieldRect"},this.fieldGroup_)}createTextElement_(){this.textElement_=w(te.TEXT,{class:"blocklyText"},this.fieldGroup_),this.getConstants().FIELD_TEXT_BASELINE_CENTER&&this.textElement_.setAttribute("dominant-baseline","central"),this.textContent_=document.createTextNode(""),this.textElement_.appendChild(this.textContent_)}bindEvents_(){const e=this.getClickTarget_();if(!e)throw Error("A click target has not been set.");Rl(e),this.mouseDownWrapper_=xe(e,"pointerdown",this,this.onMouseDown_)}fromXml(e){this.setValue(e.textContent)}toXml(e){return e.textContent=this.getValue(),e}saveState(e){return e=this.saveLegacyState(bt),e!==null?e:this.getValue()}loadState(e){this.loadLegacyState(bt,e)||this.setValue(e)}saveLegacyState(e){return e.prototype.saveState===this.saveState&&e.prototype.toXml!==this.toXml?(e=s.createElement$$module$build$src$core$utils$xml("field"),e.setAttribute("name",this.name||""),ht(this.toXml(e)).replace(' xmlns="https://developers.google.com/blockly/xml"',"")):null}loadLegacyState(e,t){return e.prototype.loadState===this.loadState&&e.prototype.fromXml!==this.fromXml?(this.fromXml(s.textToDom$$module$build$src$core$utils$xml(t)),!0):!1}dispose(){hr(this),oa(this);let e;(e=this.getSourceBlock())!=null&&e.isDeadOrDying()||U(this.fieldGroup_),this.disposed=!0}updateEditable(){const e=this.fieldGroup_,t=this.getSourceBlock();this.EDITABLE&&e&&t&&(this.enabled_&&t.isEditable()?(I(e,"blocklyEditableText"),A(e,"blocklyNonEditableText"),e.style.cursor=this.CURSOR):(I(e,"blocklyNonEditableText"),A(e,"blocklyEditableText"),e.style.cursor=""))}setEnabled(e){this.enabled_=e,this.updateEditable()}isEnabled(){return this.enabled_}isClickable(){return this.enabled_&&!!this.sourceBlock_&&this.sourceBlock_.isEditable()&&this.showEditor_!==bt.prototype.showEditor_}isCurrentlyEditable(){return this.enabled_&&this.EDITABLE&&!!this.sourceBlock_&&this.sourceBlock_.isEditable()}isSerializable(){let e=!1;return this.name&&(this.SERIALIZABLE?e=!0:this.EDITABLE&&(console.warn("Detected an editable field that was not serializable. Please define SERIALIZABLE property as true on all editable custom fields. Proceeding with serialization."),e=!0)),e}isVisible(){return this.visible_}setVisible(e){if(this.visible_!==e){this.visible_=e;var t=this.fieldGroup_;t&&(t.style.display=e?"block":"none")}}setValidator(e){this.validator_=e}getValidator(){return this.validator_}getSvgRoot(){return this.fieldGroup_}getBorderRect(){if(!this.borderRect_)throw Error(`The border rectangle is ${this.borderRect_}.`);return this.borderRect_}getTextElement(){if(!this.textElement_)throw Error(`The text element is ${this.textElement_}.`);return this.textElement_}getTextContent(){if(!this.textContent_)throw Error(`The text content is ${this.textContent_}.`);return this.textContent_}applyColour(){}render_(){this.textContent_&&(this.textContent_.nodeValue=this.getDisplayText_()),this.updateSize_()}showEditor(e){this.isClickable()&&this.showEditor_(e)}showEditor_(e){}repositionForWindowResize(){return!1}updateSize_(e){const t=this.getConstants();e=e!==void 0?e:this.borderRect_?this.getConstants().FIELD_BORDER_RECT_X_PADDING:0;let i=2*e,r=t.FIELD_TEXT_HEIGHT,c=0;this.textElement_&&(c=Le(this.textElement_,t.FIELD_TEXT_FONTSIZE,t.FIELD_TEXT_FONTWEIGHT,t.FIELD_TEXT_FONTFAMILY),i+=c),this.borderRect_&&(r=Math.max(r,t.FIELD_BORDER_RECT_HEIGHT)),this.size_.height=r,this.size_.width=i,this.positionTextElement_(e,c),this.positionBorderRect_()}positionTextElement_(e,t){if(this.textElement_){var i=this.getConstants(),r=this.size_.height/2,c;this.textElement_.setAttribute("x",String((c=this.getSourceBlock())!=null&&c.RTL?this.size_.width-t-e:e)),this.textElement_.setAttribute("y",String(i.FIELD_TEXT_BASELINE_CENTER?r:r-i.FIELD_TEXT_HEIGHT/2+i.FIELD_TEXT_BASELINE))}}positionBorderRect_(){this.borderRect_&&(this.borderRect_.setAttribute("width",String(this.size_.width)),this.borderRect_.setAttribute("height",String(this.size_.height)),this.borderRect_.setAttribute("rx",String(this.getConstants().FIELD_BORDER_RECT_RADIUS)),this.borderRect_.setAttribute("ry",String(this.getConstants().FIELD_BORDER_RECT_RADIUS)))}getSize(){return this.isVisible()?(this.isDirty_?(this.render_(),this.isDirty_=!1):this.visible_&&this.size_.width===0&&(this.render_(),this.size_.width!==0&&console.warn("Deprecated use of setting size_.width to 0 to rerender a field. Set field.isDirty_ to true instead.")),this.size_):new Ht(0,0)}getScaledBBox(){let e;var t=this.getSourceBlock();if(!t)throw new io;if(this.borderRect_){var i=this.borderRect_.getBoundingClientRect();e=Li(this.borderRect_),t=i.width,i=i.height}else{i=this.sourceBlock_.getHeightWidth();const r=t.workspace.scale;e=this.getAbsoluteXY_(),t=(i.width+1)*r,i=(i.height+1)*r,kp?(e.x+=1.5*r,e.y+=1.5*r):(e.x-=.5*r,e.y-=.5*r)}return new Bt(e.y,e.y+i,e.x,e.x+t)}getDisplayText_(){let e=this.getText();return e?(e.length>this.maxDisplayLength&&(e=e.substring(0,this.maxDisplayLength-2)+"…"),e=e.replace(/\s/g,bt.NBSP),this.sourceBlock_&&this.sourceBlock_.RTL&&(e+=""),e):bt.NBSP}getText(){const e=this.getText_();return String(e!==null?e:this.getValue())}getText_(){return null}markDirty(){this.isDirty_=!0,this.constants_=null}forceRerender(){this.isDirty_=!0,this.sourceBlock_&&this.sourceBlock_.rendered&&(this.sourceBlock_.queueRender(),this.sourceBlock_.bumpNeighbours())}setValue(e,t=!0){if(e!==null){var i=this.doClassValidation_(e);if(e=this.processValidation_(e,i),!(e instanceof Error)){var r;i=(r=this.getValidator())==null?void 0:r.call(this,e),r=this.processValidation_(e,i),r instanceof Error||(e=this.sourceBlock_,e&&e.disposed||(i=this.getValue(),i===r?this.doValueUpdate_(r):(this.doValueUpdate_(r),t&&e&&_e()&&re(new(we(s.CHANGE$$module$build$src$core$events$utils))(e,"field",this.name||null,i,r)),this.isDirty_&&this.forceRerender())))}}}processValidation_(e,t){return t===null?(this.doValueInvalid_(e),this.isDirty_&&this.forceRerender(),Error()):t===void 0?e:t}getValue(){return this.value_}doClassValidation_(e){return e??null}doValueUpdate_(e){this.value_=e,this.isDirty_=!0}doValueInvalid_(e){}onMouseDown_(e){this.sourceBlock_&&!this.sourceBlock_.isDeadOrDying()&&(e=this.sourceBlock_.workspace.getGesture(e))&&e.setStartField(this)}setTooltip(e){e||e===""||(e=this.sourceBlock_);const t=this.getClickTarget_();t?t.tooltip=e:this.tooltip_=e}getTooltip(){const e=this.getClickTarget_();return pr(e||{tooltip:this.tooltip_})}getClickTarget_(){return this.clickTarget_||this.getSvgRoot()}getAbsoluteXY_(){return Li(this.getClickTarget_())}referencesVariables(){return!1}refreshVariableName(){}getParentInput(){let e=null;const t=this.getSourceBlock();if(!t)throw new io;const i=t.inputList;for(let r=0;re?this.menuItems.length:e,-1)}highlightFirst(){this.highlightHelper(-1,1)}highlightLast(){this.highlightHelper(this.menuItems.length,-1)}highlightHelper(e,t){e+=t;let i;for(;i=this.menuItems[e];){if(i.isEnabled()){this.setHighlighted(i);break}e+=t}}handleMouseOver(e){(e=this.getMenuItem(e.target))&&(e.isEnabled()?this.highlightedItem!==e&&this.setHighlighted(e):this.setHighlighted(null))}handleClick(e){const t=this.openingCoords;if(this.openingCoords=null,t&&typeof e.clientX=="number"){const i=new Fe(e.clientX,e.clientY);if(1>Fe.distance(t,i))return}(e=this.getMenuItem(e.target))&&e.performAction()}handleMouseEnter(e){this.focus()}handleMouseLeave(e){this.getElement()&&(this.blur(),this.setHighlighted(null))}handleKeyEvent(e){if(this.menuItems.length&&!(e.shiftKey||e.ctrlKey||e.metaKey||e.altKey)){var t=this.highlightedItem;switch(e.key){case"Enter":case" ":t&&t.performAction();break;case"ArrowUp":this.highlightPrevious();break;case"ArrowDown":this.highlightNext();break;case"PageUp":case"Home":this.highlightFirst();break;case"PageDown":case"End":this.highlightLast();break;default:return}e.preventDefault(),e.stopPropagation()}}getSize(){const e=this.getElement(),t=vl(e);return t.height=e.scrollHeight,t}},Jp=class{constructor(e,t){this.content=e,this.opt_value=t,this.enabled=!0,this.element=null,this.rightToLeft=!1,this.roleName=null,this.highlight=this.checked=this.checkable=!1,this.actionHandler=null}createDom(){const e=document.createElement("div");e.id=$e(),this.element=e,e.className="blocklyMenuItem goog-menuitem "+(this.enabled?"":"blocklyMenuItemDisabled goog-menuitem-disabled ")+(this.checked?"blocklyMenuItemSelected goog-option-selected ":"")+(this.highlight?"blocklyMenuItemHighlight goog-menuitem-highlight ":"")+(this.rightToLeft?"blocklyMenuItemRtl goog-menuitem-rtl ":"");const t=document.createElement("div");if(t.className="blocklyMenuItemContent goog-menuitem-content",this.checkable){var i=document.createElement("div");i.className="blocklyMenuItemCheckbox goog-menuitem-checkbox",t.appendChild(i)}return i=this.content,typeof this.content=="string"&&(i=document.createTextNode(this.content)),t.appendChild(i),e.appendChild(t),this.roleName&&ms(e,this.roleName),zt(e,Vt.SELECTED,this.checkable&&this.checked||!1),zt(e,Vt.DISABLED,!this.enabled),e}dispose(){this.element=null}getElement(){return this.element}getId(){return this.element.id}getValue(){let e;return(e=this.opt_value)!=null?e:null}setRightToLeft(e){this.rightToLeft=e}setRole(e){this.roleName=e}setCheckable(e){this.checkable=e}setChecked(e){this.checked=e}setHighlighted(e){this.highlight=e;const t=this.getElement();t&&this.isEnabled()&&(e?(I(t,"blocklyMenuItemHighlight"),I(t,"goog-menuitem-highlight")):(A(t,"blocklyMenuItemHighlight"),A(t,"goog-menuitem-highlight")))}isEnabled(){return this.enabled}setEnabled(e){this.enabled=e}performAction(){this.isEnabled()&&this.actionHandler&&this.actionHandler(this)}onAction(e,t){this.actionHandler=e.bind(t)}},Ws=class extends bt{constructor(e,t,i){super(bt.SKIP_SETUP),this.svgArrow=this.arrow=this.imageElement=this.menu_=this.selectedMenuItem=null,this.SERIALIZABLE=!0,this.CURSOR="default",this.clickTarget_=this.suffixField=this.prefixField=this.generatedOptions=null,e!==bt.SKIP_SETUP&&(Array.isArray(e)?(_h(e),e=xf(e),this.menuGenerator_=e.options,this.prefixField=e.prefix||null,this.suffixField=e.suffix||null):this.menuGenerator_=e,this.selectedOption=this.getOptions(!1)[0],i&&this.configure_(i),this.setValue(this.selectedOption[1]),t&&this.setValidator(t))}fromXml(e){this.isOptionListDynamic()&&this.getOptions(!1),this.setValue(e.textContent)}loadState(e){this.loadLegacyState(Ws,e)||(this.isOptionListDynamic()&&this.getOptions(!1),this.setValue(e))}initView(){this.shouldAddBorderRect_()?this.createBorderRect_():this.clickTarget_=this.sourceBlock_.getSvgRoot(),this.createTextElement_(),this.imageElement=w(te.IMAGE,{},this.fieldGroup_),this.getConstants().FIELD_DROPDOWN_SVG_ARROW?this.createSVGArrow_():this.createTextArrow_(),this.borderRect_&&I(this.borderRect_,"blocklyDropdownRect")}shouldAddBorderRect_(){let e;return!this.getConstants().FIELD_DROPDOWN_NO_BORDER_RECT_SHADOW||this.getConstants().FIELD_DROPDOWN_NO_BORDER_RECT_SHADOW&&!((e=this.getSourceBlock())!=null&&e.isShadow())}createTextArrow_(){this.arrow=w(te.TSPAN,{},this.textElement_);let e;this.arrow.appendChild(document.createTextNode((e=this.getSourceBlock())!=null&&e.RTL?Ws.ARROW_CHAR+" ":" "+Ws.ARROW_CHAR));let t;(t=this.getSourceBlock())!=null&&t.RTL?this.getTextElement().insertBefore(this.arrow,this.textContent_):this.getTextElement().appendChild(this.arrow)}createSVGArrow_(){this.svgArrow=w(te.IMAGE,{height:this.getConstants().FIELD_DROPDOWN_SVG_ARROW_SIZE+"px",width:this.getConstants().FIELD_DROPDOWN_SVG_ARROW_SIZE+"px"},this.fieldGroup_),this.svgArrow.setAttributeNS(us,"xlink:href",this.getConstants().FIELD_DROPDOWN_SVG_ARROW_DATAURI)}showEditor_(e){var t=this.getSourceBlock();if(!t)throw new io;this.dropdownCreate(),this.menu_.openingCoords=e&&typeof e.clientX=="number"?new Fe(e.clientX,e.clientY):null,jc(),e=this.menu_.render(dr()),I(e,"blocklyDropdownMenu"),this.getConstants().FIELD_DROPDOWN_COLOURED_DIV&&(e=t.isShadow()?t.getParent().getColour():t.getColour(),t=t.isShadow()?t.getParent().style.colourTertiary:this.sourceBlock_.style.colourTertiary,Yc(e,t)),Cl(this,this.dropdownDispose_.bind(this)),this.menu_.focus(),this.selectedMenuItem&&(this.menu_.setHighlighted(this.selectedMenuItem),Gc(this.selectedMenuItem.getElement(),dr(),!0)),this.applyColour()}dropdownCreate(){const e=this.getSourceBlock();if(!e)throw new io;const t=new qp;t.setRole(Vo.LISTBOX),this.menu_=t;const i=this.getOptions(!1);this.selectedMenuItem=null;for(let c=0;ct[1]===e)?e:(this.sourceBlock_&&console.warn("Cannot set the dropdown's value to an unavailable option. Block type: "+this.sourceBlock_.type+", Field name: "+this.name+", Value: "+e),null)}doValueUpdate_(e){super.doValueUpdate_(e),e=this.getOptions(!0);for(let t=0,i;i=e[t];t++)i[1]===this.value_&&(this.selectedOption=i)}applyColour(){const e=this.sourceBlock_.style;this.borderRect_&&(this.borderRect_.setAttribute("stroke",e.colourTertiary),this.menu_?this.borderRect_.setAttribute("fill",e.colourTertiary):this.borderRect_.setAttribute("fill","transparent")),this.sourceBlock_&&this.arrow&&(this.sourceBlock_.isShadow()?this.arrow.style.fill=e.colourSecondary:this.arrow.style.fill=e.colourPrimary)}render_(){this.getTextContent().nodeValue="",this.imageElement.style.display="none";const e=this.selectedOption&&this.selectedOption[0];e&&typeof e=="object"?this.renderSelectedImage(e):this.renderSelectedText(),this.positionBorderRect_()}renderSelectedImage(e){const t=this.getSourceBlock();if(!t)throw new io;this.imageElement.style.display="",this.imageElement.setAttributeNS(us,"xlink:href",e.src),this.imageElement.setAttribute("height",String(e.height)),this.imageElement.setAttribute("width",String(e.width));const i=Number(e.height);e=Number(e.width);var r=!!this.borderRect_;const c=Math.max(r?this.getConstants().FIELD_DROPDOWN_BORDER_RECT_HEIGHT:0,i+yS);r=r?this.getConstants().FIELD_BORDER_RECT_X_PADDING:0;let $;$=this.svgArrow?this.positionSVGArrow(e+r,c/2-this.getConstants().FIELD_DROPDOWN_SVG_ARROW_SIZE/2):Le(this.arrow,this.getConstants().FIELD_TEXT_FONTSIZE,this.getConstants().FIELD_TEXT_FONTWEIGHT,this.getConstants().FIELD_TEXT_FONTFAMILY),this.size_.width=e+$+2*r,this.size_.height=c;let v=0;t.RTL?this.imageElement.setAttribute("x",`${r+$}`):(v=e+$,this.getTextElement().setAttribute("text-anchor","end"),this.imageElement.setAttribute("x",`${r}`)),this.imageElement.setAttribute("y",String(c/2-i/2)),this.positionTextElement_(v+r,e+$)}renderSelectedText(){this.getTextContent().nodeValue=this.getDisplayText_();var e=this.getTextElement();I(e,"blocklyDropdownText"),e.setAttribute("text-anchor","start");var t=!!this.borderRect_;e=Math.max(t?this.getConstants().FIELD_DROPDOWN_BORDER_RECT_HEIGHT:0,this.getConstants().FIELD_TEXT_HEIGHT);const i=Le(this.getTextElement(),this.getConstants().FIELD_TEXT_FONTSIZE,this.getConstants().FIELD_TEXT_FONTWEIGHT,this.getConstants().FIELD_TEXT_FONTFAMILY);t=t?this.getConstants().FIELD_BORDER_RECT_X_PADDING:0;let r=0;this.svgArrow&&(r=this.positionSVGArrow(i+t,e/2-this.getConstants().FIELD_DROPDOWN_SVG_ARROW_SIZE/2)),this.size_.width=i+r+2*t,this.size_.height=e,this.positionTextElement_(t,i)}positionSVGArrow(e,t){if(!this.svgArrow)return 0;const i=this.getSourceBlock();if(!i)throw new io;const r=this.borderRect_?this.getConstants().FIELD_BORDER_RECT_X_PADDING:0,c=this.getConstants().FIELD_DROPDOWN_SVG_ARROW_PADDING,$=this.getConstants().FIELD_DROPDOWN_SVG_ARROW_SIZE;return this.svgArrow.setAttribute("transform","translate("+(i.RTL?r:e+c)+","+t+")"),$+c}getText_(){if(!this.selectedOption)return null;const e=this.selectedOption[0];return typeof e=="object"?e.alt:e}static fromJson(e){if(!e.options)throw Error("options are required for the dropdown field. The options property must be assigned an array of [humanReadableValue, languageNeutralValue] tuples.");return new this(e.options,void 0,e)}};Ws.CHECKMARK_OVERHANG=25,Ws.MAX_MENU_HEIGHT_VH=.45,Ws.ARROW_CHAR="▾";var CS=5,yS=2*CS;Jo("field_dropdown",Ws);var Ya=class{constructor(e){this.sourceBlock=e,this.offsetInBlock=new Fe(0,0),this.workspaceLocation=new Fe(0,0),this.svgRoot=null}getType(){throw Error("Icons must implement getType")}initView(e){if(!this.svgRoot){var t=this.sourceBlock;this.svgRoot=w(te.G,{class:"blocklyIconGroup"}),t.getSvgRoot().appendChild(this.svgRoot),this.updateSvgRootOffset(),xe(this.svgRoot,"pointerdown",this,e)}}dispose(){U(this.svgRoot)}getWeight(){return-1}getSize(){return new Ht(0,0)}applyColour(){}updateEditable(){}updateCollapsed(){this.svgRoot&&(this.sourceBlock.isCollapsed()?this.svgRoot.style.display="none":this.svgRoot.style.display="block",Mi(this)&&this.setBubbleVisible(!1))}hideForInsertionMarker(){this.svgRoot&&(this.svgRoot.style.display="none")}isShownWhenCollapsed(){return!1}setOffsetInBlock(e){this.offsetInBlock=e,this.updateSvgRootOffset()}updateSvgRootOffset(){let e;(e=this.svgRoot)==null||e.setAttribute("transform",`translate(${this.offsetInBlock.x}, ${this.offsetInBlock.y})`)}onLocationChange(e){this.workspaceLocation=Fe.sum(e,this.offsetInBlock)}onClick(){}setVisible(e){Pe("setVisible","v10","v11","setBubbleVisible"),Mi(this)&&this.setBubbleVisible(e)}},no=class{constructor(e,t,i,r,c){this.workspace=e,this.horizontal=t,this.oldHostMetrics=null,this.ratio=1,this.origin=new Fe(0,0),this.startDragHandle=this.handlePosition=this.handleLength=this.scrollbarLength=this.startDragMouse=0,this.containerVisible=this.isHandleVisible=!0,this.position=new Fe(0,0),this.onMouseMoveWrapper_=this.onMouseUpWrapper_=null,this.pair=i||!1,this.margin=c!==void 0?c:no.DEFAULT_SCROLLBAR_MARGIN,e="blocklyScrollbar"+(this.horizontal?"Horizontal":"Vertical"),r&&(e+=" "+r),this.outerSvg=w(te.SVG,{class:e}),r=w(te.G,{},this.outerSvg),this.svgBackground=w(te.RECT,{class:"blocklyScrollbarBackground"},r),e=Math.floor((no.scrollbarThickness-5)/2),this.svgHandle=w(te.RECT,{class:"blocklyScrollbarHandle",rx:e,ry:e},r),this.workspace.getThemeManager().subscribe(this.svgHandle,"scrollbarColour","fill"),this.workspace.getThemeManager().subscribe(this.svgHandle,"scrollbarOpacity","fill-opacity"),de(this.outerSvg,this.workspace.getParentSvg()),this.setInitialThickness(),t?(this.lengthAttribute_="width",this.positionAttribute_="x"):(this.lengthAttribute_="height",this.positionAttribute_="y"),this.onMouseDownBarWrapper_=xe(this.svgBackground,"pointerdown",this,this.onMouseDownBar),this.onMouseDownHandleWrapper_=xe(this.svgHandle,"pointerdown",this,this.onMouseDownHandle)}setInitialThickness(){const e=no.scrollbarThickness;this.horizontal?(this.svgBackground.setAttribute("height",String(e)),this.outerSvg.setAttribute("height",String(e)),this.svgHandle.setAttribute("height",String(e-5)),this.svgHandle.setAttribute("y","2.5")):(this.svgBackground.setAttribute("width",String(e)),this.outerSvg.setAttribute("width",String(e)),this.svgHandle.setAttribute("width",String(e-5)),this.svgHandle.setAttribute("x","2.5"))}dispose(){this.cleanUp(),Dt(this.onMouseDownBarWrapper_),Dt(this.onMouseDownHandleWrapper_),U(this.outerSvg),this.workspace.getThemeManager().unsubscribe(this.svgHandle)}constrainHandleLength(e){return e=0>=e||isNaN(e)?0:Math.min(e,this.scrollbarLength)}setHandleLength(e){this.handleLength=e,this.svgHandle.setAttribute(this.lengthAttribute_,String(this.handleLength))}constrainHandlePosition(e){return e=0>=e||isNaN(e)?0:Math.min(e,this.scrollbarLength-this.handleLength)}setHandlePosition(e){this.handlePosition=e,this.svgHandle.setAttribute(this.positionAttribute_,String(this.handlePosition))}setScrollbarLength(e){this.scrollbarLength=e,this.outerSvg.setAttribute(this.lengthAttribute_,String(this.scrollbarLength)),this.svgBackground.setAttribute(this.lengthAttribute_,String(this.scrollbarLength))}setPosition(e,t){this.position.x=e,this.position.y=t,oe(this.outerSvg,"translate("+(this.position.x+this.origin.x)+"px,"+(this.position.y+this.origin.y)+"px)")}resize(e){!e&&(e=this.workspace.getMetrics(),!e)||this.oldHostMetrics&&no.metricsAreEquivalent(e,this.oldHostMetrics)||(this.horizontal?this.resizeHorizontal(e):this.resizeVertical(e),this.oldHostMetrics=e,this.updateMetrics())}requiresViewResize(e){return this.oldHostMetrics?this.oldHostMetrics.viewWidth!==e.viewWidth||this.oldHostMetrics.viewHeight!==e.viewHeight||this.oldHostMetrics.absoluteLeft!==e.absoluteLeft||this.oldHostMetrics.absoluteTop!==e.absoluteTop:!0}resizeHorizontal(e){this.requiresViewResize(e)?this.resizeViewHorizontal(e):this.resizeContentHorizontal(e)}resizeViewHorizontal(e){var t=e.viewWidth-2*this.margin;this.pair&&(t-=no.scrollbarThickness),this.setScrollbarLength(Math.max(0,t)),t=e.absoluteLeft+this.margin,this.pair&&this.workspace.RTL&&(t+=no.scrollbarThickness),this.setPosition(t,e.absoluteTop+e.viewHeight-no.scrollbarThickness-this.margin),this.resizeContentHorizontal(e)}resizeContentHorizontal(e){if(e.viewWidth>=e.scrollWidth)this.setHandleLength(this.scrollbarLength),this.setHandlePosition(0),this.pair||this.setVisible(!1);else{this.pair||this.setVisible(!0);var t=this.scrollbarLength*e.viewWidth/e.scrollWidth;t=this.constrainHandleLength(t),this.setHandleLength(t),t=e.scrollWidth-e.viewWidth;var i=this.scrollbarLength-this.handleLength;e=(e.viewLeft-e.scrollLeft)/t*i,e=this.constrainHandlePosition(e),this.setHandlePosition(e),this.ratio=i/t}}resizeVertical(e){this.requiresViewResize(e)?this.resizeViewVertical(e):this.resizeContentVertical(e)}resizeViewVertical(e){let t=e.viewHeight-2*this.margin;this.pair&&(t-=no.scrollbarThickness),this.setScrollbarLength(Math.max(0,t)),this.setPosition(this.workspace.RTL?e.absoluteLeft+this.margin:e.absoluteLeft+e.viewWidth-no.scrollbarThickness-this.margin,e.absoluteTop+this.margin),this.resizeContentVertical(e)}resizeContentVertical(e){if(e.viewHeight>=e.scrollHeight)this.setHandleLength(this.scrollbarLength),this.setHandlePosition(0),this.pair||this.setVisible(!1);else{this.pair||this.setVisible(!0);var t=this.scrollbarLength*e.viewHeight/e.scrollHeight;t=this.constrainHandleLength(t),this.setHandleLength(t),t=e.scrollHeight-e.viewHeight;var i=this.scrollbarLength-this.handleLength;e=(e.viewTop-e.scrollTop)/t*i,e=this.constrainHandlePosition(e),this.setHandlePosition(e),this.ratio=i/t}}isVisible(){return this.isHandleVisible}setContainerVisible(e){const t=e!==this.containerVisible;this.containerVisible=e,t&&this.updateDisplay_()}setVisible(e){if(this.pair)throw Error("Unable to toggle visibility of paired scrollbars.");this.setVisibleInternal(e)}setVisibleInternal(e){const t=e!==this.isVisible();this.isHandleVisible=e,t&&this.updateDisplay_()}updateDisplay_(){this.containerVisible&&this.isVisible()?this.outerSvg.setAttribute("display","block"):this.outerSvg.setAttribute("display","none")}onMouseDownBar(e){if(this.workspace.markFocused(),Ge(),this.cleanUp(),Ai(e))e.stopPropagation();else{var t=pn(e,this.workspace.getParentSvg(),this.workspace.getInverseScreenCTM());t=this.horizontal?t.x:t.y;var i=Wc(this.svgHandle);i=this.horizontal?i.x:i.y;var r=this.handlePosition,c=.95*this.handleLength;t<=i?r-=c:t>=i+this.handleLength&&(r+=c),this.setHandlePosition(this.constrainHandlePosition(r)),this.updateMetrics(),e.stopPropagation(),e.preventDefault()}}onMouseDownHandle(e){this.workspace.markFocused(),this.cleanUp(),Ai(e)?e.stopPropagation():(this.startDragHandle=this.handlePosition,this.startDragMouse=this.horizontal?e.clientX:e.clientY,this.onMouseUpWrapper_=xe(document,"pointerup",this,this.onMouseUpHandle),this.onMouseMoveWrapper_=xe(document,"pointermove",this,this.onMouseMoveHandle),e.stopPropagation(),e.preventDefault())}onMouseMoveHandle(e){this.setHandlePosition(this.constrainHandlePosition(this.startDragHandle+((this.horizontal?e.clientX:e.clientY)-this.startDragMouse))),this.updateMetrics()}onMouseUpHandle(){Ge(),this.cleanUp()}cleanUp(){this.workspace.hideChaff(!0),this.onMouseUpWrapper_&&(Dt(this.onMouseUpWrapper_),this.onMouseUpWrapper_=null),this.onMouseMoveWrapper_&&(Dt(this.onMouseMoveWrapper_),this.onMouseMoveWrapper_=null)}getRatio_(){let e=this.handlePosition/(this.scrollbarLength-this.handleLength);return isNaN(e)&&(e=0),e}updateMetrics(){const e=this.getRatio_();this.horizontal?this.workspace.setMetrics({x:e}):this.workspace.setMetrics({y:e})}set(e,t){this.setHandlePosition(this.constrainHandlePosition(e*this.ratio)),(t||t===void 0)&&this.updateMetrics()}setOrigin(e,t){this.origin=new Fe(e,t)}static metricsAreEquivalent(e,t){return e.viewWidth===t.viewWidth&&e.viewHeight===t.viewHeight&&e.viewLeft===t.viewLeft&&e.viewTop===t.viewTop&&e.absoluteTop===t.absoluteTop&&e.absoluteLeft===t.absoluteLeft&&e.scrollWidth===t.scrollWidth&&e.scrollHeight===t.scrollHeight&&e.scrollLeft===t.scrollLeft&&e.scrollTop===t.scrollTop}};no.scrollbarThickness=Dm?25:15,no.DEFAULT_SCROLLBAR_MARGIN=.5;var Zp,$t=class{constructor(e,t,i){this.workspace=e,this.anchor=t,this.ownerRect=i,this.size=new Ht(0,0),this.colour="#ffffff",this.disposed=!1,this.relativeLeft=this.relativeTop=0,this.svgRoot=w(te.G,{},e.getBubbleCanvas()),e=w(te.G,{filter:`url(#${this.workspace.getRenderer().getConstants().embossFilterId})`},this.svgRoot),this.tail=w(te.PATH,{},e),this.background=w(te.RECT,{class:"blocklyDraggable",x:0,y:0,rx:$t.BORDER_WIDTH,ry:$t.BORDER_WIDTH},e),this.contentContainer=w(te.G,{},this.svgRoot),xe(this.background,"pointerdown",this,this.onMouseDown)}dispose(){U(this.svgRoot),this.disposed=!0}setAnchorLocation(e,t=!1){this.anchor=e,t?this.positionByRect(this.ownerRect):this.positionRelativeToAnchor(),this.renderTail()}setPositionRelativeToAnchor(e,t){this.relativeLeft=e,this.relativeTop=t,this.positionRelativeToAnchor(),this.renderTail()}getSize(){return this.size}setSize(e,t=!1){e.width=Math.max(e.width,$t.MIN_SIZE),e.height=Math.max(e.height,$t.MIN_SIZE),this.size=e,this.background.setAttribute("width",`${e.width}`),this.background.setAttribute("height",`${e.height}`),t?this.positionByRect(this.ownerRect):this.positionRelativeToAnchor(),this.renderTail()}getColour(){return this.colour}setColour(e){this.colour=e,this.tail.setAttribute("fill",e),this.background.setAttribute("fill",e)}onMouseDown(e){let t;(t=this.workspace.getGesture(e))==null||t.handleBubbleStart(e,this)}positionRelativeToAnchor(){let e=this.anchor.x;e=this.workspace.RTL?e-(this.relativeLeft+this.size.width):e+this.relativeLeft,this.moveTo(e,this.relativeTop+this.anchor.y)}moveTo(e,t){this.svgRoot.setAttribute("transform",`translate(${e}, ${t})`)}positionByRect(e=new Bt(0,0,0,0)){var t=this.workspace.getMetricsManager().getViewMetrics(!0),i=this.getOptimalRelativeLeft(t),r=this.getOptimalRelativeTop(t);const c={x:i,y:-this.size.height-this.workspace.getRenderer().getConstants().MIN_BLOCK_HEIGHT},$={x:-this.size.width-30,y:r};r={x:e.getWidth(),y:r};var v={x:i,y:e.getHeight()};i=e.getWidth()e.width)return t;if(e=this.getWorkspaceViewRect(e),this.workspace.RTL){var i=this.anchor.x-t;i-this.size.widthe.right&&(t=-(e.right-this.anchor.x))}else{i=t+this.anchor.x;const r=i+this.size.width;ie.right&&(t=e.right-this.anchor.x-this.size.width)}return t}getOptimalRelativeTop(e){let t=-this.size.height/4;if(this.size.height>e.height)return t;const i=this.anchor.y+t,r=i+this.size.height;return e=this.getWorkspaceViewRect(e),ie.bottom&&(t=e.bottom-this.anchor.y-this.size.height),t}getWorkspaceViewRect(e){const t=e.top;let i=e.top+e.height,r=e.left;return e=e.left+e.width,i-=this.getScrollbarThickness(),this.workspace.RTL?r-=this.getScrollbarThickness():e-=this.getScrollbarThickness(),new Bt(t,i,r,e)}getScrollbarThickness(){return no.scrollbarThickness/this.workspace.scale}renderTail(){const e=[];var t=this.size.width/2,i=this.size.height/2,r=-this.relativeLeft,c=-this.relativeTop;if(t===r&&i===c)e.push("M "+t+","+i);else{c-=i,r-=t,this.workspace.RTL&&(r*=-1);var $=Math.sqrt(c*c+r*r),v=Math.acos(r/$);0>c&&(v=2*Math.PI-v);var H=v+Math.PI/2;H>2*Math.PI&&(H-=2*Math.PI);var Oe=Math.sin(H);const Qt=Math.cos(H);let Ft=(this.size.width+this.size.height)/$t.TAIL_THICKNESS;Ft=Math.min(Ft,this.size.width,this.size.height)/4,H=1-$t.ANCHOR_RADIUS/$,r=t+H*r,c=i+H*c,H=t+Ft*Qt;const Go=i+Ft*Oe;t-=Ft*Qt,i-=Ft*Oe,Oe=ar(this.workspace.RTL?-$t.TAIL_ANGLE:$t.TAIL_ANGLE),Oe=v+Oe,Oe>2*Math.PI&&(Oe-=2*Math.PI),v=Math.sin(Oe)*$/$t.TAIL_BEND,$=Math.cos(Oe)*$/$t.TAIL_BEND,e.push("M"+H+","+Go),e.push("C"+(H+$)+","+(Go+v)+" "+r+","+c+" "+r+","+c),e.push("C"+r+","+c+" "+(t+$)+","+(i+v)+" "+t+","+i)}e.push("z");let Qe;(Qe=this.tail)==null||Qe.setAttribute("d",e.join(" "))}bringToFront(){let e;const t=(e=this.svgRoot)==null?void 0:e.parentNode;return this.svgRoot&&(t==null?void 0:t.lastChild)!==this.svgRoot?(t==null||t.appendChild(this.svgRoot),!0):!1}getRelativeToSurfaceXY(){return new Fe(this.workspace.RTL?-this.relativeLeft+this.anchor.x-this.size.width:this.anchor.x+this.relativeLeft,this.anchor.y+this.relativeTop)}getSvgRoot(){return this.svgRoot}moveDuringDrag(e){this.moveTo(e.x,e.y),this.relativeLeft=this.workspace.RTL?this.anchor.x-e.x-this.size.width:e.x-this.anchor.x,this.relativeTop=e.y-this.anchor.y,this.renderTail()}setDragging(e){}setDeleteStyle(e){}isDeletable(){return!1}showContextMenu(e){}};Zp=$t,$t.BORDER_WIDTH=6,$t.DOUBLE_BORDER=2*Zp.BORDER_WIDTH,$t.MIN_SIZE=Zp.DOUBLE_BORDER,$t.TAIL_THICKNESS=1,$t.TAIL_ANGLE=20,$t.TAIL_BEND=4,$t.ANCHOR_RADIUS=8;var $T={};$T.deepMerge=ri;var Nn=class{constructor(e,t,i,r){this.name=e,this.startHats=!1,this.blockStyles=t||Object.create(null),this.categoryStyles=i||Object.create(null),this.componentStyles=r||Object.create(null),this.fontStyle=Object.create(null),l(Ae.THEME,e,this,!0)}getClassName(){return this.name+"-theme"}setBlockStyle(e,t){this.blockStyles[e]=t}setCategoryStyle(e,t){this.categoryStyles[e]=t}getComponentStyle(e){if(e=this.componentStyles[e],!e)return null;if(typeof e=="string"){const t=this.getComponentStyle(e);if(t)return t}return`${e}`}setComponentStyle(e,t){this.componentStyles[e]=t}setFontStyle(e){this.fontStyle=e}setStartHats(e){this.startHats=e}static defineTheme(e,t){e=e.toLowerCase();const i=new Nn(e);let r=t.base;if(r){if(typeof r=="string"){let c;r=(c=f(Ae.THEME,r))!=null?c:void 0}r instanceof Nn&&(ri(i,r),i.name=e)}return ri(i.blockStyles,t.blockStyles),ri(i.categoryStyles,t.categoryStyles),ri(i.componentStyles,t.componentStyles),ri(i.fontStyle,t.fontStyle),t.startHats!==null&&(i.startHats=t.startHats),i}},SS={colour_blocks:{colourPrimary:"20"},list_blocks:{colourPrimary:"260"},logic_blocks:{colourPrimary:"210"},loop_blocks:{colourPrimary:"120"},math_blocks:{colourPrimary:"230"},procedure_blocks:{colourPrimary:"290"},text_blocks:{colourPrimary:"160"},variable_blocks:{colourPrimary:"330"},variable_dynamic_blocks:{colourPrimary:"310"},hat_blocks:{colourPrimary:"330",hat:"cap"}},RS={colour_category:{colour:"20"},list_category:{colour:"260"},logic_category:{colour:"210"},loop_category:{colour:"120"},math_category:{colour:"230"},procedure_category:{colour:"290"},text_category:{colour:"160"},variable_category:{colour:"330"},variable_dynamic_category:{colour:"310"}},Ka=new Nn("classic",SS,RS),e$="categoryToolbox",_T="flyoutToolbox",at;(function(e){e[e.TOP=0]="TOP",e[e.BOTTOM=1]="BOTTOM",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT"})(at||(at={}));var gT={hasCategoriesInternal:Uf},zi={};zi.Position=at,zi.TEST_ONLY=gT,zi.convertFlyoutDefToJsonArray=Al,zi.convertToolboxDefToJson=sa,zi.hasCategories=ia,zi.isCategoryCollapsible=na,zi.parseToolboxTree=fh;var hs=class{constructor(e){this.gridPattern=null,this.getMetrics=this.setMetrics=void 0;let t=null,i=!1;var r=!1,c=!1,$=!1,v=!1,H=!1;const Oe=!!e.readOnly;if(!Oe){var Qe;t=sa((Qe=e.toolbox)!=null?Qe:null),i=ia(t),r=e.trashcan,r=r===void 0?i:r,c=e.collapse,c=c===void 0?i:c,$=e.comments,$=$===void 0?i:$,v=e.disable,v=v===void 0?i:v,H=e.sounds,H=H===void 0?!0:H}Qe=e.maxTrashcanContents,r?Qe===void 0&&(Qe=32):Qe=0;const Qt=!!e.rtl;let Ft=e.horizontalLayout;Ft===void 0&&(Ft=!1);var Go=e.toolboxPosition!=="end";Go=Ft?Go?at.TOP:at.BOTTOM:Go===Qt?at.RIGHT:at.LEFT;let Jr=e.css;Jr===void 0&&(Jr=!0);let Zr="https://blockly-demo.appspot.com/static/media/";e.media?Zr=e.media.endsWith("/")?e.media:e.media+"/":"path"in e&&(Pe("path","Nov 2014","Jul 2023","media"),Zr=e.path+"media/");const CE=e.oneBasedIndex,c9=e.renderer||"geras",a9=e.plugins||{};let q$=e.modalInputs;q$===void 0&&(q$=!0),this.RTL=Qt,this.oneBasedIndex=CE===void 0?!0:CE,this.collapse=c,this.comments=$,this.disable=v,this.readOnly=Oe,this.maxBlocks=e.maxBlocks||1/0;let yE;this.maxInstances=(yE=e.maxInstances)!=null?yE:null,this.modalInputs=q$,this.pathToMedia=Zr,this.hasCategories=i,this.moveOptions=hs.parseMoveOptions_(e,i),this.hasScrollbars=!!this.moveOptions.scrollbars,this.hasTrashcan=r,this.maxTrashcanContents=Qe,this.hasSounds=H,this.hasCss=Jr,this.horizontalLayout=Ft,this.languageTree=t,this.gridOptions=hs.parseGridOptions_(e),this.zoomOptions=hs.parseZoomOptions_(e),this.toolboxPosition=Go,this.theme=hs.parseThemeOptions_(e),this.renderer=c9;let SE;this.rendererOverrides=(SE=e.rendererOverrides)!=null?SE:null;let RE;this.parentWorkspace=(RE=e.parentWorkspace)!=null?RE:null,this.plugins=a9}static parseMoveOptions_(e,t){const i=e.move||{},r={};return i.scrollbars===void 0&&e.scrollbars===void 0?r.scrollbars=t:typeof i.scrollbars=="object"?(r.scrollbars={horizontal:!!i.scrollbars.horizontal,vertical:!!i.scrollbars.vertical},r.scrollbars.horizontal&&r.scrollbars.vertical?r.scrollbars=!0:r.scrollbars.horizontal||r.scrollbars.vertical||(r.scrollbars=!1)):r.scrollbars=!!i.scrollbars||!!e.scrollbars,r.wheel=r.scrollbars&&i.wheel!==void 0?!!i.wheel:typeof r.scrollbars=="object",r.drag=r.scrollbars?i.drag===void 0?!0:!!i.drag:!1,r}static parseZoomOptions_(e){e=e.zoom||{};const t={};return t.controls=e.controls===void 0?!1:!!e.controls,t.wheel=e.wheel===void 0?!1:!!e.wheel,t.startScale=e.startScale===void 0?1:Number(e.startScale),t.maxScale=e.maxScale===void 0?3:Number(e.maxScale),t.minScale=e.minScale===void 0?.3:Number(e.minScale),t.scaleSpeed=e.scaleSpeed===void 0?1.2:Number(e.scaleSpeed),t.pinch=e.pinch===void 0?t.wheel||t.controls:!!e.pinch,t}static parseGridOptions_(e){e=e.grid||{};const t={};return t.spacing=Number(e.spacing)||0,t.colour=e.colour||"#888",t.length=e.length===void 0?1:Number(e.length),t.snap=0t.y&&e.moveBy(0,20-t.y),e.RTL){let i=-20;const r=this.miniWorkspace.getFlyout();r&&(i-=r.getWidth()),t.x>i&&e.moveBy(i-t.x,0)}else 20>t.x&&e.moveBy(20-t.x,0)}}updateBubbleSize(){if(!this.miniWorkspace.isDragging()){var e=this.getSize(),t=this.calculateWorkspaceSize();Math.abs(e.width-t.width)({kind:"block",type:i}))}),t}getAnchorLocation(){const e=Qa/2;return Fe.sum(this.workspaceLocation,new Fe(e,e))}getBubbleOwnerRect(){const e=this.sourceBlock.getSvgRoot().getBBox();return new Bt(e.y,e.y+e.height,e.x,e.x+e.width)}createRootBlock(){if(!this.sourceBlock.decompose)throw Error("Blocks with mutator icons must include a decompose method");this.rootBlock=this.sourceBlock.decompose(this.miniWorkspaceBubble.getWorkspace());for(var e of this.rootBlock.getDescendants(!1))e.queueRender();this.rootBlock.setMovable(!1),this.rootBlock.setDeletable(!1);let t,i,r,c;e=(c=(t=this.miniWorkspaceBubble)==null||(i=t.getWorkspace())==null||(r=i.getFlyout())==null?void 0:r.getWidth())!=null?c:0,this.rootBlock.moveBy(this.rootBlock.RTL?-(e+qa):qa,qa)}addSaveConnectionsListener(){if(this.sourceBlock.saveConnections&&this.rootBlock){var e=()=>{this.sourceBlock.saveConnections&&this.rootBlock&&this.sourceBlock.saveConnections(this.rootBlock)};e(),this.sourceBlock.workspace.addChangeListener(e)}}createMiniWorkspaceChangeListener(){return e=>{s.MutatorIcon$$module$build$src$core$icons$mutator_icon.isIgnorableMutatorEvent(e)||this.updateWorkspacePid||(this.updateWorkspacePid=setTimeout(()=>{this.updateWorkspacePid=null,this.recomposeSourceBlock()},0))}}static isIgnorableMutatorEvent(e){return e.isUiEvent||e.type===s.CREATE$$module$build$src$core$events$utils||e.type===s.CHANGE$$module$build$src$core$events$utils&&e.element==="disabled"}recomposeSourceBlock(){if(this.rootBlock){if(!this.sourceBlock.compose)throw Error("Blocks with mutator icons must include a compose method");var e=s.getGroup$$module$build$src$core$events$utils();e||s.setGroup$$module$build$src$core$events$utils(!0);var t=Sn.getExtraBlockState_(this.sourceBlock);this.sourceBlock.compose(this.rootBlock);var i=Sn.getExtraBlockState_(this.sourceBlock);t!==i&&re(new(we(s.CHANGE$$module$build$src$core$events$utils))(this.sourceBlock,"mutation",null,t,i)),s.setGroup$$module$build$src$core$events$utils(e)}}getWorkspace(){let e;return(e=this.miniWorkspaceBubble)==null?void 0:e.getWorkspace()}static reconnect(e,t,i){return Pe("MutatorIcon.reconnect","v10","v11","connection.reconnect"),e?e.reconnect(t,i):!1}static findParentWs(e){return Pe("MutatorIcon.findParentWs","v10","v11","workspace.getRootWorkspace"),e.getRootWorkspace()}},s.MutatorIcon$$module$build$src$core$icons$mutator_icon.TYPE=Uo.MUTATOR,s.MutatorIcon$$module$build$src$core$icons$mutator_icon.WEIGHT=1,s.MutatorIcon$$module$build$src$core$icons$mutator_icon;var Ur=Object.create(null),kS={allExtensions:Ur};s.register$$module$build$src$core$extensions("parent_tooltip_when_inline",Yf);var ps={};ps.TEST_ONLY=kS,ps.apply=la,ps.buildTooltipForDropdown=s.buildTooltipForDropdown$$module$build$src$core$extensions,ps.buildTooltipWithFieldText=s.buildTooltipWithFieldText$$module$build$src$core$extensions,ps.isRegistered=mh,ps.register=s.register$$module$build$src$core$extensions,ps.registerMixin=s.registerMixin$$module$build$src$core$extensions,ps.registerMutator=s.registerMutator$$module$build$src$core$extensions,ps.runAfterPageLoad=ua,ps.unregister=Vf,function(e){e[e.LEFT=-1]="LEFT",e[e.CENTRE=0]="CENTRE",e[e.RIGHT=1]="RIGHT"}(s.Align$$module$build$src$core$inputs$align||(s.Align$$module$build$src$core$inputs$align={})),s.Align$$module$build$src$core$inputs$align;var fT={};fT.removeElem=Po;var ft;(function(e){e[e.WIN_KEY_FF_LINUX=0]="WIN_KEY_FF_LINUX",e[e.MAC_ENTER=3]="MAC_ENTER",e[e.BACKSPACE=8]="BACKSPACE",e[e.TAB=9]="TAB",e[e.NUM_CENTER=12]="NUM_CENTER",e[e.ENTER=13]="ENTER",e[e.SHIFT=16]="SHIFT",e[e.CTRL=17]="CTRL",e[e.ALT=18]="ALT",e[e.PAUSE=19]="PAUSE",e[e.CAPS_LOCK=20]="CAPS_LOCK",e[e.ESC=27]="ESC",e[e.SPACE=32]="SPACE",e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT=37]="LEFT",e[e.UP=38]="UP",e[e.RIGHT=39]="RIGHT",e[e.DOWN=40]="DOWN",e[e.PLUS_SIGN=43]="PLUS_SIGN",e[e.PRINT_SCREEN=44]="PRINT_SCREEN",e[e.INSERT=45]="INSERT",e[e.DELETE=46]="DELETE",e[e.ZERO=48]="ZERO",e[e.ONE=49]="ONE",e[e.TWO=50]="TWO",e[e.THREE=51]="THREE",e[e.FOUR=52]="FOUR",e[e.FIVE=53]="FIVE",e[e.SIX=54]="SIX",e[e.SEVEN=55]="SEVEN",e[e.EIGHT=56]="EIGHT",e[e.NINE=57]="NINE",e[e.FF_SEMICOLON=59]="FF_SEMICOLON",e[e.FF_EQUALS=61]="FF_EQUALS",e[e.FF_DASH=173]="FF_DASH",e[e.FF_HASH=163]="FF_HASH",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.AT_SIGN=64]="AT_SIGN",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.META=91]="META",e[e.WIN_KEY_RIGHT=92]="WIN_KEY_RIGHT",e[e.CONTEXT_MENU=93]="CONTEXT_MENU",e[e.NUM_ZERO=96]="NUM_ZERO",e[e.NUM_ONE=97]="NUM_ONE",e[e.NUM_TWO=98]="NUM_TWO",e[e.NUM_THREE=99]="NUM_THREE",e[e.NUM_FOUR=100]="NUM_FOUR",e[e.NUM_FIVE=101]="NUM_FIVE",e[e.NUM_SIX=102]="NUM_SIX",e[e.NUM_SEVEN=103]="NUM_SEVEN",e[e.NUM_EIGHT=104]="NUM_EIGHT",e[e.NUM_NINE=105]="NUM_NINE",e[e.NUM_MULTIPLY=106]="NUM_MULTIPLY",e[e.NUM_PLUS=107]="NUM_PLUS",e[e.NUM_MINUS=109]="NUM_MINUS",e[e.NUM_PERIOD=110]="NUM_PERIOD",e[e.NUM_DIVISION=111]="NUM_DIVISION",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F3=114]="F3",e[e.F4=115]="F4",e[e.F5=116]="F5",e[e.F6=117]="F6",e[e.F7=118]="F7",e[e.F8=119]="F8",e[e.F9=120]="F9",e[e.F10=121]="F10",e[e.F11=122]="F11",e[e.F12=123]="F12",e[e.NUMLOCK=144]="NUMLOCK",e[e.SCROLL_LOCK=145]="SCROLL_LOCK",e[e.FIRST_MEDIA_KEY=166]="FIRST_MEDIA_KEY",e[e.LAST_MEDIA_KEY=183]="LAST_MEDIA_KEY",e[e.SEMICOLON=186]="SEMICOLON",e[e.DASH=189]="DASH",e[e.EQUALS=187]="EQUALS",e[e.COMMA=188]="COMMA",e[e.PERIOD=190]="PERIOD",e[e.SLASH=191]="SLASH",e[e.APOSTROPHE=192]="APOSTROPHE",e[e.TILDE=192]="TILDE",e[e.SINGLE_QUOTE=222]="SINGLE_QUOTE",e[e.OPEN_SQUARE_BRACKET=219]="OPEN_SQUARE_BRACKET",e[e.BACKSLASH=220]="BACKSLASH",e[e.CLOSE_SQUARE_BRACKET=221]="CLOSE_SQUARE_BRACKET",e[e.WIN_KEY=224]="WIN_KEY",e[e.MAC_FF_META=224]="MAC_FF_META",e[e.MAC_WK_CMD_LEFT=91]="MAC_WK_CMD_LEFT",e[e.MAC_WK_CMD_RIGHT=93]="MAC_WK_CMD_RIGHT",e[e.WIN_IME=229]="WIN_IME",e[e.VK_NONAME=252]="VK_NONAME",e[e.PHANTOM=255]="PHANTOM"})(ft||(ft={}));var fi={};fi.arc=oo,fi.curve=xo,fi.line=_r,fi.lineOnAxis=je,fi.lineTo=Bs,fi.moveBy=Xt,fi.moveTo=To,fi.point=tt;var Kt={};Kt.Coordinate=Fe,Kt.KeyCodes=ft,Kt.Rect=Bt,Kt.Size=Ht,Kt.Svg=te,Kt.aria=Kl,Kt.array=fT,Kt.browserEvents=$i,Kt.colour=So,Kt.deprecation=Sr,Kt.dom=co,Kt.extensions=ps,Kt.idGenerator=va,Kt.math=Ga,Kt.object=$T,Kt.parsing=jl,Kt.string=An,Kt.style=_i,Kt.svgMath=Gi,Kt.svgPaths=fi,Kt.toolbox=zi,Kt.userAgent=pi,Kt.xml=In;var t$={};t$.register=bh,t$.unregister=Kf;var o$=class extends $t{constructor(e,t,i,r){super(t,i,r),this.text=e,this.workspace=t,this.anchor=i,this.ownerRect=r,this.paragraph=this.stringToSvg(e,this.contentContainer),this.updateBubbleSize()}getText(){return this.text}setText(e){this.text=e,U(this.paragraph),this.paragraph=this.stringToSvg(e,this.contentContainer),this.updateBubbleSize()}stringToSvg(e,t){return t=this.createParagraph(t),e=this.createSpans(t,e),this.workspace.RTL&&this.rightAlignSpans(t.getBBox().width,e),t}createParagraph(e){return w(te.TEXT,{class:"blocklyText blocklyBubbleText blocklyNoPointerEvents",y:$t.BORDER_WIDTH},e)}createSpans(e,t){return t.split(`
+`).map(i=>{const r=w(te.TSPAN,{dy:"1em",x:$t.BORDER_WIDTH},e);return i=document.createTextNode(i),r.appendChild(i),r})}rightAlignSpans(e,t){for(const i of t)i.setAttribute("text-anchor","end"),i.setAttribute("x",`${e+$t.BORDER_WIDTH}`)}updateBubbleSize(){const e=this.paragraph.getBBox();this.setSize(new Ht(e.width+2*$t.BORDER_WIDTH,e.height+2*$t.BORDER_WIDTH),!0)}},mT=class extends $t{constructor(e,t,i){super(e,t,i),this.workspace=e,this.anchor=t,this.ownerRect=i,this.resizePointerMoveListener=this.resizePointerUpListener=null,this.textChangeListeners=[],this.sizeChangeListeners=[],this.text="",this.DEFAULT_SIZE=new Ht(160+$t.DOUBLE_BORDER,80+$t.DOUBLE_BORDER),this.MIN_SIZE=new Ht(45+$t.DOUBLE_BORDER,20+$t.DOUBLE_BORDER),{inputRoot:this.inputRoot,textArea:this.textArea}=this.createEditor(this.contentContainer),this.resizeGroup=this.createResizeHandle(this.svgRoot),this.setSize(this.DEFAULT_SIZE,!0)}getText(){return this.text}setText(e){this.text=e,this.textArea.value=e,this.onTextChange()}addTextChangeListener(e){this.textChangeListeners.push(e)}addSizeChangeListener(e){this.sizeChangeListeners.push(e)}createEditor(e){e=w(te.FOREIGNOBJECT,{x:$t.BORDER_WIDTH,y:$t.BORDER_WIDTH},e);const t=document.createElementNS(ui,"body");t.setAttribute("xmlns",ui),t.className="blocklyMinimalBody";const i=document.createElementNS(ui,"textarea");return i.className="blocklyCommentTextarea",i.setAttribute("dir",this.workspace.RTL?"RTL":"LTR"),t.appendChild(i),e.appendChild(t),this.bindTextAreaEvents(i),setTimeout(()=>{i.focus()},0),{inputRoot:e,textArea:i}}bindTextAreaEvents(e){xe(e,"wheel",this,t=>{t.stopPropagation()}),xe(e,"focus",this,this.onStartEdit,!0),xe(e,"change",this,this.onTextChange)}createResizeHandle(e){e=w(te.G,{class:this.workspace.RTL?"blocklyResizeSW":"blocklyResizeSE"},e);const t=2*$t.BORDER_WIDTH;return w(te.POLYGON,{points:`0,${t} ${t},${t} ${t},0`},e),w(te.LINE,{class:"blocklyResizeLine",x1:t/3,y1:t-1,x2:t-1,y2:t/3},e),w(te.LINE,{class:"blocklyResizeLine",x1:2*t/3,y1:t-1,x2:t-1,y2:2*t/3},e),xe(e,"pointerdown",this,this.onResizePointerDown),e}setSize(e,t=!1){e.width=Math.max(e.width,this.MIN_SIZE.width),e.height=Math.max(e.height,this.MIN_SIZE.height);const i=e.width-$t.DOUBLE_BORDER,r=e.height-$t.DOUBLE_BORDER;this.inputRoot.setAttribute("width",`${i}`),this.inputRoot.setAttribute("height",`${r}`),this.textArea.style.width=`${i-4}px`,this.textArea.style.height=`${r-4}px`,this.workspace.RTL?this.resizeGroup.setAttribute("transform",`translate(${$t.DOUBLE_BORDER}, ${r}) scale(-1 1)`):this.resizeGroup.setAttribute("transform",`translate(${i}, ${r})`),super.setSize(e,t),this.onSizeChange()}getSize(){return super.getSize()}onResizePointerDown(e){this.bringToFront(),Ai(e)||(this.workspace.startDrag(e,new Fe(this.workspace.RTL?-this.getSize().width:this.getSize().width,this.getSize().height)),this.resizePointerUpListener=xe(document,"pointerup",this,this.onResizePointerUp),this.resizePointerMoveListener=xe(document,"pointermove",this,this.onResizePointerMove),this.workspace.hideChaff()),e.stopPropagation()}onResizePointerUp(e){Ge(),this.resizePointerUpListener&&(Dt(this.resizePointerUpListener),this.resizePointerUpListener=null),this.resizePointerMoveListener&&(Dt(this.resizePointerMoveListener),this.resizePointerMoveListener=null)}onResizePointerMove(e){e=this.workspace.moveDrag(e),this.setSize(new Ht(this.workspace.RTL?-e.x:e.x,e.y),!1),this.onSizeChange()}onStartEdit(){this.bringToFront()&&this.textArea.focus()}onTextChange(){this.text=this.textArea.value;for(const e of this.textChangeListeners)e()}onSizeChange(){for(const e of this.sizeChangeListeners)e()}};cs(`
+.blocklyCommentTextarea {
+ background-color: #fef49c;
+ border: 0;
+ display: block;
+ margin: 0;
+ outline: 0;
+ padding: 3px;
+ resize: none;
+ text-overflow: hidden;
+}
+`);var s$=17,TT=160,ET=80,Ao=class extends Ya{constructor(e){super(e),this.sourceBlock=e,this.textBubble=this.textInputBubble=null,this.text="",this.bubbleSize=new Ht(TT,ET),this.bubbleVisiblity=!1}getType(){return Ao.TYPE}initView(e){this.svgRoot||(super.initView(e),w(te.CIRCLE,{class:"blocklyIconShape",r:"8",cx:"8",cy:"8"},this.svgRoot),w(te.PATH,{class:"blocklyIconSymbol",d:"m6.8,10h2c0.003,-0.617 0.271,-0.962 0.633,-1.266 2.875,-2.4050.607,-5.534 -3.765,-3.874v1.7c3.12,-1.657 3.698,0.118 2.336,1.25-1.201,0.998 -1.201,1.528 -1.204,2.19z"},this.svgRoot),w(te.RECT,{class:"blocklyIconSymbol",x:"6.8",y:"10.78",height:"2",width:"2"},this.svgRoot))}dispose(){super.dispose();let e;(e=this.textInputBubble)==null||e.dispose();let t;(t=this.textBubble)==null||t.dispose()}getWeight(){return Ao.WEIGHT}getSize(){return new Ht(s$,s$)}applyColour(){super.applyColour();const e=this.sourceBlock.style.colourPrimary;let t;(t=this.textInputBubble)==null||t.setColour(e);let i;(i=this.textBubble)==null||i.setColour(e)}updateEditable(){super.updateEditable(),this.bubbleIsVisible()&&(this.setBubbleVisible(!1),this.setBubbleVisible(!0))}onLocationChange(e){super.onLocationChange(e),e=this.getAnchorLocation();let t;(t=this.textInputBubble)==null||t.setAnchorLocation(e);let i;(i=this.textBubble)==null||i.setAnchorLocation(e)}setText(e){this.text=e;let t;(t=this.textInputBubble)==null||t.setText(this.text);let i;(i=this.textBubble)==null||i.setText(this.text)}getText(){return this.text}setBubbleSize(e){this.bubbleSize=e;let t;(t=this.textInputBubble)==null||t.setSize(this.bubbleSize,!0)}getBubbleSize(){return this.bubbleSize}saveState(){return this.text?{text:this.text,pinned:this.bubbleIsVisible(),height:this.bubbleSize.height,width:this.bubbleSize.width}:null}loadState(e){let t;this.text=(t=e.text)!=null?t:"";let i,r;this.bubbleSize=new Ht((i=e.width)!=null?i:TT,(r=e.height)!=null?r:ET);let c;this.bubbleVisiblity=(c=e.pinned)!=null?c:!1,setTimeout(()=>this.setBubbleVisible(this.bubbleVisiblity),1)}onClick(){super.onClick(),this.setBubbleVisible(!this.bubbleIsVisible())}onTextChange(){this.textInputBubble&&(this.text=this.textInputBubble.getText())}onSizeChange(){this.textInputBubble&&(this.bubbleSize=this.textInputBubble.getSize())}bubbleIsVisible(){return this.bubbleVisiblity}setBubbleVisible(e){(!e||!this.textBubble&&!this.textInputBubble)&&(e||this.textBubble||this.textInputBubble)&&(this.bubbleVisiblity=e,this.sourceBlock.rendered&&!this.sourceBlock.isInFlyout&&(e?(this.sourceBlock.isEditable()?this.showEditableBubble():this.showNonEditableBubble(),this.applyColour()):this.hideBubble(),re(new(we(Fs))(this.sourceBlock,e,"comment"))))}showEditableBubble(){this.textInputBubble=new mT(this.sourceBlock.workspace,this.getAnchorLocation(),this.getBubbleOwnerRect()),this.textInputBubble.setText(this.getText()),this.textInputBubble.setSize(this.bubbleSize,!0),this.textInputBubble.addTextChangeListener(()=>this.onTextChange()),this.textInputBubble.addSizeChangeListener(()=>this.onSizeChange())}showNonEditableBubble(){this.textBubble=new o$(this.getText(),this.sourceBlock.workspace,this.getAnchorLocation(),this.getBubbleOwnerRect())}hideBubble(){let e;(e=this.textInputBubble)==null||e.dispose(),this.textInputBubble=null;let t;(t=this.textBubble)==null||t.dispose(),this.textBubble=null}getAnchorLocation(){const e=s$/2;return Fe.sum(this.workspaceLocation,new Fe(e,e))}getBubbleOwnerRect(){const e=this.sourceBlock.getSvgRoot().getBBox();return new Bt(e.y,e.y+e.height,e.x,e.x+e.width)}};Ao.TYPE=Uo.COMMENT,Ao.WEIGHT=3,bh(Ao.TYPE,Ao);var wn=class extends bt{constructor(e,t,i){super(bt.SKIP_SETUP),this.class=null,this.EDITABLE=!1,this.maxDisplayLength=1/0,e!==bt.SKIP_SETUP&&(i?this.configure_(i):this.class=t||null,this.setValue(e))}configure_(e){super.configure_(e),e.class&&(this.class=e.class)}initView(){this.createTextElement_(),this.class&&I(this.getTextElement(),this.class)}doClassValidation_(e){return e==null?null:`${e}`}setClass(e){this.textElement_&&(this.class&&A(this.textElement_,this.class),e&&I(this.textElement_,e)),this.class=e}static fromJson(e){return new this(Jt(e.text),void 0,e)}};Jo("field_label",wn),wn.prototype.DEFAULT_VALUE="";var mi=class{constructor(e,t){this.name=e,this.sourceBlock=t,this.fieldRow=[],this.align=s.Align$$module$build$src$core$inputs$input.LEFT,this.visible=!0,this.type=s.inputTypes$$module$build$src$core$inputs$input_types.CUSTOM,this.connection=null}getSourceBlock(){return this.sourceBlock}appendField(e,t){return this.insertFieldAt(this.fieldRow.length,e,t),this}insertFieldAt(e,t,i){if(0>e||e>this.fieldRow.length)throw Error("index "+e+" out of bounds.");return(t||t===""&&i)&&(typeof t=="string"&&(t=s.fromJson$$module$build$src$core$field_registry({type:"field_label",text:t})),t.setSourceBlock(this.sourceBlock),this.sourceBlock.rendered&&(t.init(),t.applyColour()),t.name=i,t.setVisible(this.isVisible()),t.prefixField&&(e=this.insertFieldAt(e,t.prefixField)),this.fieldRow.splice(e,0,t),e++,t.suffixField&&(e=this.insertFieldAt(e,t.suffixField)),this.sourceBlock.rendered&&(this.sourceBlock.queueRender(),this.sourceBlock.bumpNeighbours())),e}removeField(e,t){for(let i=0,r;r=this.fieldRow[i];i++)if(r.name===e)return r.dispose(),this.fieldRow.splice(i,1),this.sourceBlock.rendered&&(this.sourceBlock.queueRender(),this.sourceBlock.bumpNeighbours()),!0;if(t)return!1;throw Error('Field "'+e+'" not found.')}isVisible(){return this.visible}setVisible(e){let t=[];if(this.visible===e)return t;this.visible=e;for(let r=0,c;c=this.fieldRow[r];r++)c.setVisible(e);if(this.connection){var i=this.connection;e?t=i.startTrackingAll():i.stopTrackingAll(),(i=i.targetBlock())&&(i.getSvgRoot().style.display=e?"block":"none")}return t}markDirty(){for(let e=0,t;t=this.fieldRow[e];e++)t.markDirty()}setCheck(e){if(!this.connection)throw Error("This input does not have a connection.");return this.connection.setCheck(e),this}setAlign(e){return this.align=e,this.sourceBlock.rendered&&this.sourceBlock.queueRender(),this}setShadowDom(e){if(!this.connection)throw Error("This input does not have a connection.");return this.connection.setShadowDom(e),this}getShadowDom(){if(!this.connection)throw Error("This input does not have a connection.");return this.connection.getShadowDom()}init(){if(this.sourceBlock.workspace.rendered)for(let e=0;ee.disposeInternal()),this.inputList.forEach(e=>e.dispose()),this.inputList.length=0,this.getConnections_(!0).forEach(e=>e.dispose()),this.disposed=!0)}isDeadOrDying(){return this.disposing||this.disposed}initModel(){for(const e of this.inputList)for(const t of e.fieldRow)t.initModel&&t.initModel()}unplug(e){this.outputConnection&&this.unplugFromRow_(e),this.previousConnection&&this.unplugFromStack_(e)}unplugFromRow_(e){let t=null,i;(i=this.outputConnection)!=null&&i.isConnected()&&(t=this.outputConnection.targetConnection,this.outputConnection.disconnect()),t&&e&&(e=this.getOnlyValueConnection_())&&e.isConnected()&&!e.targetBlock().isShadow()&&(e=e.targetConnection,e==null||e.disconnect(),this.workspace.connectionChecker.canConnect(e,t,!1)?t.connect(e):e==null||e.onFailedConnect(t))}getOnlyValueConnection_(){let e=null;for(let t=0;t(r=r+(i==="("||c===")"?"":" ")+c,i=c[c.length-1],r),""),t=t.trim()||"???",e&&t.length>e&&(t=t.substring(0,e-3)+"..."),t}toTokens(e="?"){const t=[];for(const r of this.inputList)if(r.name!=Nr){for(const c of r.fieldRow)t.push(c.getText());if(r.connection){const c=r.connection.targetBlock();if(c){var i=r.connection;let $=i.getCheck();!$&&i.targetConnection&&($=i.targetConnection.getCheck()),(i=!!$&&($.indexOf("Boolean")!==-1||$.indexOf("Number")!==-1))&&t.push("("),t.push(...c.toTokens(e)),i&&t.push(")")}else t.push(e)}}return t}appendValueInput(e){return this.appendInput(new s.ValueInput$$module$build$src$core$inputs$value_input(e,this))}appendStatementInput(e){return this.statementInputCount++,this.appendInput(new Zo(e,this))}appendDummyInput(e=""){return this.appendInput(new zs(e,this))}appendInput(e){return this.inputList.push(e),e}appendInputFromRegistry(e,t){return(e=p(Ae.INPUT,e,!1))?this.appendInput(new e(t,this)):null}jsonInit(e){var t=e.type?'Block "'+e.type+'": ':"";if(e.output&&e.previousStatement)throw Error(t+"Must not have both an output and a previousStatement.");if(e.style&&e.style.hat&&(this.hat=e.style.hat,e.style=null),e.style&&e.colour)throw Error(t+"Must not have both a colour and a style.");e.style?this.jsonInitStyle_(e,t):this.jsonInitColour_(e,t);for(var i=0;e["message"+i]!==void 0;)this.interpolate_(e["message"+i],e["args"+i]||[],e["lastDummyAlign"+i],t),i++;if(e.inputsInline!==void 0&&this.setInputsInline(e.inputsInline),e.output!==void 0&&this.setOutput(!0,e.output),e.outputShape!==void 0&&this.setOutputShape(e.outputShape),e.previousStatement!==void 0&&this.setPreviousStatement(!0,e.previousStatement),e.nextStatement!==void 0&&this.setNextStatement(!0,e.nextStatement),e.tooltip!==void 0&&(i=Jt(e.tooltip),this.setTooltip(i)),e.enableContextMenu!==void 0&&(this.contextMenu=!!e.enableContextMenu),e.suppressPrefixSuffix!==void 0&&(this.suppressPrefixSuffix=!!e.suppressPrefixSuffix),e.helpUrl!==void 0&&(i=Jt(e.helpUrl),this.setHelpUrl(i)),typeof e.extensions=="string"&&(console.warn(t+"JSON attribute 'extensions' should be an array of strings. Found raw string in JSON for '"+e.type+"' block."),e.extensions=[e.extensions]),e.mutator!==void 0&&la(e.mutator,this,!0),e=e.extensions,Array.isArray(e))for(t=0;t$||$>t)throw Error('Block "'+this.type+'": Message index %'+$+" out of range.");if(i[$])throw Error('Block "'+this.type+'": Message index %'+$+" duplicated.");i[$]=!0,r++}}if(r!==t)throw Error('Block "'+this.type+'": Message does not reference all '+t+" arg(s).")}interpolateArguments_(e,t,i){const r=[];for(let c=0;c=this.inputList.length)throw RangeError("Input index "+e+" out of bounds.");if(t>this.inputList.length)throw RangeError("Reference input "+t+" out of bounds.");const i=this.inputList[e];this.inputList.splice(e,1),et.getWeight()-i.getWeight()),e}removeIcon(e){if(!this.hasIcon(e))return!1;let t;return(t=this.getIcon(e))==null||t.dispose(),this.icons=this.icons.filter(i=>!i.getType().equals(e)),!0}hasIcon(e){return this.icons.some(t=>t.getType().equals(e))}getIcon(e){return e instanceof Uo?this.icons.find(t=>t.getType().equals(e)):this.icons.find(t=>t.getType().toString()===e)}getIcons(){return[...this.icons]}getRelativeToSurfaceXY(){return this.xy_}moveBy(e,t,i){if(this.parentBlock_)throw Error("Block has parent");const r=new(we(s.MOVE$$module$build$src$core$events$utils))(this);i&&r.setReason(i),this.xy_.translate(e,t),r.recordNew(),re(r)}makeConnection_(e){return new St(this,e)}allInputsFilled(e){if(e===void 0&&(e=!0),!e&&this.isShadow())return!1;for(let i=0,r;r=this.inputList[i];i++)if(r.connection){var t=r.connection.targetBlock();if(!t||!t.allInputsFilled(e))return!1}return(t=this.getNextBlock())?t.allInputsFilled(e):!0}toDevString(){let e=this.type?'"'+this.type+'" block':"Block";return this.id&&(e+=' (id="'+this.id+'")'),e}};Hr.COLLAPSED_INPUT_NAME=Nr,Hr.COLLAPSED_FIELD_NAME=Va;var Ja=null,Ql=null,ql={};ql.connectionUiEffect=Oh,ql.disconnectUiEffect=Ch,ql.disconnectUiStop=gr,ql.disposeUiEffect=vh;var n$=class extends Vs{constructor(e,t,i){super(e?e.workspace.id:void 0),this.type=Tn,e&&(this.blockId=e.id,this.isStart=t,this.blocks=i)}toJson(){const e=super.toJson();if(this.isStart===void 0)throw Error("Whether this event is the start of a drag is undefined. Either pass the value to the constructor, or call fromJson");if(this.blockId===void 0)throw Error("The block ID is undefined. Either pass a block to the constructor, or call fromJson");return e.isStart=this.isStart,e.blockId=this.blockId,e.blocks=this.blocks,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new n$),t.isStart=e.isStart,t.blockId=e.blockId,t.blocks=e.blocks,t}};l(Ae.EVENT,Tn,n$);var Za={};Za.bumpIntoBounds=fr,Za.bumpIntoBoundsHandler=Sh,Za.bumpTopObjectsIntoBounds=da;var Ti=class{constructor(e){this.name_=e}toString(){return this.name_}};Ti.POSITIONABLE=new Ti("positionable"),Ti.DRAG_TARGET=new Ti("drag_target"),Ti.DELETE_AREA=new Ti("delete_area"),Ti.AUTOHIDEABLE=new Ti("autohideable");var fo=class{constructor(){this.componentData=new Map,this.capabilityToComponentIds=new Map}addComponent(e,t){const i=e.component.id;if(!t&&this.componentData.has(i)){var r;throw Error('Plugin "'+i+'" with capabilities "'+((r=this.componentData.get(i))==null?void 0:r.capabilities)+'" already added.')}for(this.componentData.set(i,e),t=[],r=0;r{r.push(this.componentData.get(c))}),r.sort(function(c,$){return c.weight-$.weight}),r.forEach(function(c){i.push(c.component)})}else e.forEach(r=>{i.push(this.componentData.get(r).component)});return i}};fo.Capability=Ti;var r$,vT;r$=28,s.config$$module$build$src$core$config={dragRadius:5,flyoutDragRadius:10,snapRadius:r$,connectingSnapRadius:r$,currentConnectionPreference:8,bumpDelay:250},vT={},vT.config=s.config$$module$build$src$core$config;var IT="The insertion marker manager tried to create a marker but the result is missing %1. If you are using a mutator, make sure your domToMutation method is properly defined.",es=class{constructor(e){this.activeCandidate=this.lastMarker=this.lastOnStack=null,this.wouldDeleteBlock=!1,this.fadedBlock=this.highlightedBlock=this.markerConnection=null,Y(e),this.topBlock=e,this.workspace=e.workspace,this.firstMarker=this.createMarkerBlock(this.topBlock),this.availableConnections=this.initAvailableConnections(),this.lastOnStack&&(this.lastMarker=this.createMarkerBlock(this.lastOnStack.getSourceBlock()))}dispose(){this.availableConnections.length=0,this.disposeInsertionMarker(this.firstMarker),this.disposeInsertionMarker(this.lastMarker)}updateAvailableConnections(){this.availableConnections=this.initAvailableConnections()}wouldConnectBlock(){return!!this.activeCandidate}applyConnections(){if(this.activeCandidate){s.disable$$module$build$src$core$events$utils(),this.hidePreview(),s.enable$$module$build$src$core$events$utils();var{local:e,closest:t}=this.activeCandidate;if(e.connect(t),this.topBlock.rendered){const i=e.isSuperior()?t:e,r=this.topBlock.getRootBlock();cr().then(()=>{Oh(i.getSourceBlock()),setTimeout(()=>{r.bringToFront()},0)})}}}update(e,t){const i=this.getCandidate(e);((this.wouldDeleteBlock=this.shouldDelete(!!i,t))||this.shouldUpdatePreviews(i,e))&&(s.disable$$module$build$src$core$events$utils(),this.maybeHidePreview(i),this.maybeShowPreview(i),s.enable$$module$build$src$core$events$utils())}createMarkerBlock(e){var t=e.type;s.disable$$module$build$src$core$events$utils();let i;try{if(i=this.workspace.newBlock(t),i.setInsertionMarker(!0),e.saveExtraState){var r=e.saveExtraState();r&&i.loadExtraState&&i.loadExtraState(r)}else if(e.mutationToDom){const c=e.mutationToDom();c&&i.domToMutation&&i.domToMutation(c)}for(t=0;t{let $;($=r)==null||$.getSvgRoot().setAttribute("visibility","visible")}),this.markerConnection=c}hideInsertionMarker(){if(this.markerConnection){var e=this.markerConnection,t=e.getSourceBlock(),i=t.outputConnection,r;if((r=t.previousConnection)!=null&&r.targetConnection||i!=null&&i.targetConnection)t.unplug(!0);else{let c;(c=e.targetBlock())==null||c.unplug(!1)}if(e.targetConnection)throw Error("markerConnection still connected at the end of disconnectInsertionMarker");this.markerConnection=null,(e=t.getSvgRoot())&&e.setAttribute("visibility","hidden")}}showInsertionInputOutline(e){e=e.closest,this.highlightedBlock=e.getSourceBlock(),this.highlightedBlock.highlightShapeForInput(e,!0)}hideInsertionInputOutline(){if(this.highlightedBlock){if(!this.activeCandidate)throw Error("Cannot hide the insertion marker outline because there is no active candidate");this.highlightedBlock.highlightShapeForInput(this.activeCandidate.closest,!1),this.highlightedBlock=null}}showReplacementFade(e){if(this.fadedBlock=e.closest.targetBlock(),!this.fadedBlock)throw Error("Cannot show the replacement fade because the closest connection does not have a target block");this.fadedBlock.fadeForReplacement(!0)}hideReplacementFade(){this.fadedBlock&&(this.fadedBlock.fadeForReplacement(!1),this.fadedBlock=null)}getInsertionMarkers(){const e=[];return this.firstMarker&&e.push(this.firstMarker),this.lastMarker&&e.push(this.lastMarker),e}disposeInsertionMarker(e){if(e){s.disable$$module$build$src$core$events$utils();try{e.dispose()}finally{s.enable$$module$build$src$core$events$utils()}}}};(function(e){e=e.PREVIEW_TYPE||(e.PREVIEW_TYPE={}),e[e.INSERTION_MARKER=0]="INSERTION_MARKER",e[e.INPUT_OUTLINE=1]="INPUT_OUTLINE",e[e.REPLACEMENT_FADE=2]="REPLACEMENT_FADE"})(es||(es={})),es.PREVIEW_TYPE;var OT=class{constructor(e,t){this.dragTarget_=null,this.wouldDeleteBlock_=!1,this.draggingBlock_=e,this.draggedConnectionManager_=new es(this.draggingBlock_),this.workspace_=t,this.startXY_=this.draggingBlock_.getRelativeToSurfaceXY(),this.dragIconData_=Rh(e,this.startXY_)}dispose(){this.dragIconData_.length=0,this.draggedConnectionManager_&&this.draggedConnectionManager_.dispose()}startDrag(e,t){s.getGroup$$module$build$src$core$events$utils()||s.setGroup$$module$build$src$core$events$utils(!0),this.fireDragStartEvent_(),this.workspace_.isMutator&&this.draggingBlock_.bringToFront(),Ce(),this.workspace_.setResizesEnabled(!1),gr(),this.shouldDisconnect_(t)&&this.disconnectBlock_(t,e),this.draggingBlock_.setDragging(!0)}shouldDisconnect_(e){return!!(this.draggingBlock_.getParent()||e&&this.draggingBlock_.nextConnection&&this.draggingBlock_.nextConnection.targetBlock())}disconnectBlock_(e,t){this.draggingBlock_.unplug(e),e=this.pixelsToWorkspaceUnits_(t),e=Fe.sum(this.startXY_,e),this.draggingBlock_.translate(e.x,e.y),Ch(this.draggingBlock_),this.draggedConnectionManager_.updateAvailableConnections()}fireDragStartEvent_(){const e=new(we(Tn))(this.draggingBlock_,!0,this.draggingBlock_.getDescendants(!1));re(e)}drag(e,t){t=this.pixelsToWorkspaceUnits_(t);var i=Fe.sum(this.startXY_,t);this.draggingBlock_.moveDuringDrag(i),this.dragIcons_(t),i=this.dragTarget_,this.dragTarget_=this.workspace_.getDragTarget(e),this.draggedConnectionManager_.update(t,this.dragTarget_),e=this.wouldDeleteBlock_,this.wouldDeleteBlock_=this.draggedConnectionManager_.wouldDeleteBlock,e!==this.wouldDeleteBlock_&&this.updateCursorDuringBlockDrag_(),this.dragTarget_!==i&&(i&&i.onDragExit(this.draggingBlock_),this.dragTarget_&&this.dragTarget_.onDragEnter(this.draggingBlock_)),this.dragTarget_&&this.dragTarget_.onDragOver(this.draggingBlock_)}endDrag(e,t){this.drag(e,t),this.dragIconData_=[],this.fireDragEndEvent_(),ce(),gr(),e=null,this.dragTarget_&&this.dragTarget_.shouldPreventMove(this.draggingBlock_)||(e=this.getNewLocationAfterDrag_(t).delta),this.dragTarget_&&this.dragTarget_.onDrop(this.draggingBlock_),this.maybeDeleteBlock_()||(this.draggingBlock_.setDragging(!1),e?this.updateBlockAfterMove_():fr(this.draggingBlock_.workspace,this.workspace_.getMetricsManager().getScrollMetrics(!0),this.draggingBlock_)),this.workspace_.setResizesEnabled(!0),s.setGroup$$module$build$src$core$events$utils(!1)}getNewLocationAfterDrag_(e){e=this.pixelsToWorkspaceUnits_(e);const t=Fe.sum(this.startXY_,e);return{delta:e,newLocation:t}}maybeDeleteBlock_(){return this.wouldDeleteBlock_?(this.fireMoveEvent_(),this.draggingBlock_.dispose(!1,!0),Tr.length=0,!0):!1}updateBlockAfterMove_(){this.fireMoveEvent_(),this.draggedConnectionManager_.wouldConnectBlock()?this.draggedConnectionManager_.applyConnections():this.draggingBlock_.queueRender(),this.draggingBlock_.scheduleSnapAndBump()}fireDragEndEvent_(){const e=new(we(Tn))(this.draggingBlock_,!1,this.draggingBlock_.getDescendants(!1));re(e)}updateToolboxStyle_(e){const t=this.workspace_.getToolbox();if(t){const i=this.draggingBlock_.isDeletable()?"blocklyToolboxDelete":"blocklyToolboxGrab";e&&typeof t.removeStyle=="function"?t.removeStyle(i):e||typeof t.addStyle!="function"||t.addStyle(i)}}fireMoveEvent_(){if(!this.draggingBlock_.isDeadOrDying()){var e=new(we(s.MOVE$$module$build$src$core$events$utils))(this.draggingBlock_);e.setReason(["drag"]),e.oldCoordinate=this.startXY_,e.recordNew(),re(e)}}updateCursorDuringBlockDrag_(){this.draggingBlock_.setDeleteStyle(this.wouldDeleteBlock_)}pixelsToWorkspaceUnits_(e){return e=new Fe(e.x/this.workspace_.scale,e.y/this.workspace_.scale),this.workspace_.isMutator&&e.scale(1/this.workspace_.options.parentWorkspace.scale),e}dragIcons_(e){for(const t of this.dragIconData_)t.icon.onLocationChange(Fe.sum(t.location,e))}getInsertionMarkers(){return this.draggedConnectionManager_&&this.draggedConnectionManager_.getInsertionMarkers?this.draggedConnectionManager_.getInsertionMarkers():[]}};l(Ae.BLOCK_DRAGGER,li,OT);var Ei=null,l$={duplicateInternal:Jf,copyInternal:qf},Jl={};Jl.TEST_ONLY=l$,Jl.copy=Ll,Jl.duplicate=ha,Jl.paste=kh;var eu=null,CT={},tu=null,Xs={};Xs.callbackFactory=s.callbackFactory$$module$build$src$core$contextmenu,Xs.commentDeleteOption=Nh,Xs.commentDuplicateOption=wh,Xs.dispose=Lh,Xs.getCurrentBlock=Zf,Xs.hide=wl,Xs.setCurrentBlock=Ah,Xs.show=Nl,Xs.workspaceCommentOption=im;var kt=class{constructor(){this.registry_=new Map,this.reset()}reset(){this.registry_.clear()}register(e){if(this.registry_.has(e.id))throw Error('Menu item with ID "'+e.id+'" is already registered.');this.registry_.set(e.id,e)}unregister(e){if(!this.registry_.has(e))throw Error('Menu item with ID "'+e+'" not found.');this.registry_.delete(e)}getItem(e){let t;return(t=this.registry_.get(e))!=null?t:null}getContextMenuOptions(e,t){const i=[];for(const c of this.registry_.values())if(e===c.scopeType){var r=c.preconditionFn(t);r!=="hidden"&&(r={text:typeof c.displayText=="function"?c.displayText(t):c.displayText,enabled:r==="enabled",callback:c.callback,scope:t,weight:c.weight},i.push(r))}return i.sort(function(c,$){return c.weight-$.weight}),i}};(function(e){var t=e.ScopeType||(e.ScopeType={});t.BLOCK="block",t.WORKSPACE="workspace",e.registry=new e})(kt||(kt={})),kt.ScopeType;var yT=30,ST=!0,Mn=[];Mn[qe.INPUT_VALUE]=qe.OUTPUT_VALUE,Mn[qe.OUTPUT_VALUE]=qe.INPUT_VALUE,Mn[qe.NEXT_STATEMENT]=qe.PREVIOUS_STATEMENT,Mn[qe.PREVIOUS_STATEMENT]=qe.NEXT_STATEMENT;var c$="RENAME_VARIABLE_ID",a$="DELETE_VARIABLE_ID",Re=class{constructor(e,t,i){if(this.wsCoordinate=null,!t)throw Error("Cannot create a node without a location.");this.type=e,this.isConnectionLocation=Re.isConnectionType(e),this.location=t,this.processParams(i||null)}processParams(e){e&&e.wsCoordinate&&(this.wsCoordinate=e.wsCoordinate)}getLocation(){return this.location}getType(){return this.type}getWsCoordinate(){return this.wsCoordinate}isConnection(){return this.isConnectionLocation}findNextForInput(){var e=this.location.getParentInput();const t=e.getSourceBlock();for(e=t.inputList.indexOf(e),e+=1;eclearTimeout(e)),this.warningTextDb.clear(),this.getIcons().forEach(e=>e.dispose()))}checkAndDelete(){this.workspace.isFlyout||(s.setGroup$$module$build$src$core$events$utils(!0),this.workspace.hideChaff(),this.outputConnection?this.dispose(!1,!0):this.dispose(!0,!0),s.setGroup$$module$build$src$core$events$utils(!1))}toCopyData(){return this.isInsertionMarker_?null:{saveInfo:xs(this,{addCoordinates:!0,addNextBlocks:!1}),source:this.workspace,typeCounts:F(this,!0)}}applyColour(){this.pathObject.applyColour(this);const e=this.getIcons();for(let t=0;t{this.isDeadOrDying()||(this.warningTextDb.delete(i),this.setWarningText(e,i))},100));else if(this.isInFlyout&&(e=null),t=this.getIcon(vs.TYPE),typeof e=="string"){r=this.getSurroundParent();let c=null;for(;r;)r.isCollapsed()&&(c=r),r=r.getSurroundParent();c&&c.setWarningText(s.Msg$$module$build$src$core$msg.COLLAPSED_WARNINGS_WARNING,ts.COLLAPSED_WARNING_ID),t?t.addMessage(e,i):this.addIcon(new vs(this).addMessage(e,i))}else t&&(i?t.getText()||this.removeIcon(vs.TYPE):this.removeIcon(vs.TYPE))}setMutator(e){this.removeIcon(s.MutatorIcon$$module$build$src$core$icons$mutator_icon.TYPE),e&&this.addIcon(e)}addIcon(e){return super.addIcon(e),e instanceof vs&&(this.warning=e),e instanceof s.MutatorIcon$$module$build$src$core$icons$mutator_icon&&(this.mutator=e),this.rendered&&(e.initView(this.createIconPointerDownListener(e)),e.applyColour(),e.updateEditable(),this.queueRender(),Ds(),this.bumpNeighbours()),e}createIconPointerDownListener(e){return t=>{this.isDeadOrDying()||(t=this.workspace.getGesture(t))&&t.setStartIcon(e)}}removeIcon(e){const t=super.removeIcon(e);return e.equals(vs.TYPE)&&(this.warning=null),e.equals(s.MutatorIcon$$module$build$src$core$icons$mutator_icon.TYPE)&&(this.mutator=null),this.rendered&&(this.queueRender(),Ds(),this.bumpNeighbours()),t}setEnabled(e){this.isEnabled()!==e&&(super.setEnabled(e),this.rendered&&!this.getInheritedDisabled()&&this.updateDisabled())}setHighlighted(e){this.rendered&&this.pathObject.updateHighlighted(e)}addSelect(){this.pathObject.updateSelected(!0)}removeSelect(){this.pathObject.updateSelected(!1)}setDeleteStyle(e){this.pathObject.updateDraggingDelete(e)}getColour(){return this.style.colourPrimary}setColour(e){super.setColour(e),e=this.workspace.getRenderer().getConstants().getBlockStyleForColour(this.colour_),this.pathObject.setStyle(e.style),this.style=e.style,this.styleName_=e.name,this.applyColour()}setStyle(e){const t=this.workspace.getRenderer().getConstants().getBlockStyle(e);if(this.styleName_=e,t)this.hat=t.hat,this.pathObject.setStyle(t),this.colour_=t.colourPrimary,this.style=t,this.applyColour();else throw Error("Invalid style name: "+e)}bringToFront(){let e=this;do{const t=e.getSvgRoot(),i=t.parentNode,r=i.childNodes;r[r.length-1]!==t&&i.appendChild(t),e=e.getParent()}while(e)}setPreviousStatement(e,t){super.setPreviousStatement(e,t),this.rendered&&(this.queueRender(),this.bumpNeighbours())}setNextStatement(e,t){super.setNextStatement(e,t),this.rendered&&(this.queueRender(),this.bumpNeighbours())}setOutput(e,t){super.setOutput(e,t),this.rendered&&(this.queueRender(),this.bumpNeighbours())}setInputsInline(e){super.setInputsInline(e),this.rendered&&(this.queueRender(),this.bumpNeighbours())}removeInput(e,t){return e=super.removeInput(e,t),this.rendered&&(this.queueRender(),this.bumpNeighbours()),e}moveNumberedInputBefore(e,t){super.moveNumberedInputBefore(e,t),this.rendered&&(this.queueRender(),this.bumpNeighbours())}appendInput(e){return super.appendInput(e),this.rendered&&(this.queueRender(),this.bumpNeighbours()),e}setConnectionTracking(e){if(this.previousConnection&&this.previousConnection.setTracking(e),this.outputConnection&&this.outputConnection.setTracking(e),this.nextConnection){this.nextConnection.setTracking(e);var t=this.nextConnection.targetBlock();t&&t.setConnectionTracking(e)}if(!this.collapsed_)for(t=0;t{const t=s.getGroup$$module$build$src$core$events$utils();s.setGroup$$module$build$src$core$events$utils(e),this.getRootBlock().bumpNeighboursInternal(),s.setGroup$$module$build$src$core$events$utils(t),this.bumpNeighboursPid=0},s.config$$module$build$src$core$config.bumpDelay)}}bumpNeighboursInternal(){const e=this.getRootBlock();if(!(this.isDeadOrDying()||this.workspace.isDragging()||e.isInFlyout))for(const t of this.getConnections_(!1)){if(t.isSuperior()){let i;(i=t.targetBlock())==null||i.bumpNeighboursInternal()}for(const i of t.neighbours(s.config$$module$build$src$core$config.snapRadius))i.getSourceBlock().getRootBlock()!==e&&(t.isConnected()&&i.isConnected()||(t.isSuperior()?i.bumpAwayFrom(t):t.bumpAwayFrom(i)))}}scheduleSnapAndBump(){const e=s.getGroup$$module$build$src$core$events$utils();setTimeout(()=>{s.setGroup$$module$build$src$core$events$utils(e),this.snapToGrid(),s.setGroup$$module$build$src$core$events$utils(!1)},s.config$$module$build$src$core$config.bumpDelay/2),this.bumpNeighbours()}positionNearConnection(e,t){e.type!==qe.NEXT_STATEMENT&&e.type!==qe.INPUT_VALUE||this.moveBy(t.x-e.x,t.y-e.y)}getChildren(e){return super.getChildren(e)}queueRender(){return Id(this)}render(){this.queueRender(),Ds()}renderEfficiently(){this.rendered=!0,Ce(),this.isCollapsed()&&this.updateCollapsed_(),this.workspace.getRenderer().render(this),this.tightenChildrenEfficiently(),ce(),this.updateMarkers_()}tightenChildrenEfficiently(){for(const e of this.inputList){const t=e.connection;t&&t.tightenEfficiently()}this.nextConnection&&this.nextConnection.tightenEfficiently()}updateMarkers_(){this.workspace.keyboardAccessibilityMode&&this.pathObject.cursorSvg&&this.workspace.getCursor().draw(),this.workspace.keyboardAccessibilityMode&&this.pathObject.markerSvg&&this.workspace.getMarker(Wl.LOCAL_MARKER).draw();for(const e of this.inputList)for(const t of e.fieldRow)t.updateMarkers_()}updateConnectionAndIconLocations(){const e=this.getRelativeToSurfaceXY();this.previousConnection&&this.previousConnection.moveToOffset(e),this.outputConnection&&this.outputConnection.moveToOffset(e);for(let t=0;ti||t.getSourceBlock().isInsertionMarker())return!1;switch(t.type){case qe.PREVIOUS_STATEMENT:return this.canConnectToPrevious_(e,t);case qe.OUTPUT_VALUE:if(t.isConnected()&&!t.targetBlock().isInsertionMarker()||e.isConnected())return!1;break;case qe.INPUT_VALUE:if(t.isConnected()&&!t.targetBlock().isMovable()&&!t.targetBlock().isShadow())return!1;break;case qe.NEXT_STATEMENT:if(t.isConnected()&&!e.getSourceBlock().nextConnection&&!t.targetBlock().isShadow()&&t.targetBlock().nextConnection||t.targetBlock()&&!t.targetBlock().isMovable()&&!t.targetBlock().isShadow())return!1;break;default:return!1}return Tr.indexOf(t)===-1}canConnectToPrevious_(e,t){return e.targetConnection||Tr.indexOf(t)!==-1?!1:t.targetConnection?(e=t.targetBlock(),e.isInsertionMarker()?!e.getPreviousBlock():!1):!0}};l(Ae.CONNECTION_CHECKER,li,LT);var Vr=class{constructor(e){this.connectionChecker=e,this.connections=[]}addConnection(e,t){t=this.calculateIndexForYPos(t),this.connections.splice(t,0,e)}findIndexOfConnection(e,t){if(!this.connections.length)return-1;const i=this.calculateIndexForYPos(t);if(i>=this.connections.length)return-1;t=e.y;let r=i;for(;0<=r&&this.connections[r].y===t;){if(this.connections[r]===e)return r;r--}for(r=i;re)i=r;else{t=r;break}}return t}removeConnection(e,t){if(e=this.findIndexOfConnection(e,t),e===-1)throw Error("Unable to find connection in connectionDB.");this.connections.splice(e,1)}getNeighbours(e,t){function i(Qe){const Qt=c-r[Qe].x,Ft=$-r[Qe].y;return Math.sqrt(Qt*Qt+Ft*Ft)<=t&&Oe.push(r[Qe]),Ft"u"?"":t,this.newContents_=typeof i>"u"?"":i)}toJson(){const e=super.toJson();if(!this.oldContents_)throw Error("The old contents is undefined. Either pass a value to the constructor, or call fromJson");if(!this.newContents_)throw Error("The new contents is undefined. Either pass a value to the constructor, or call fromJson");return e.oldContents=this.oldContents_,e.newContents=this.newContents_,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new T$),t.oldContents_=e.oldContents,t.newContents_=e.newContents,t}isNull(){return this.oldContents_===this.newContents_}run(e){var t=this.getEventWorkspace_();if(!this.commentId)throw Error("The comment ID is undefined. Either pass a comment to the constructor, or call fromJson");if(t=t.getCommentById(this.commentId)){var i=e?this.newContents_:this.oldContents_;if(!i)throw Error(e?"The new contents is undefined. Either pass a value to the constructor, or call fromJson":"The old contents is undefined. Either pass a value to the constructor, or call fromJson");t.setContent(i)}else console.warn("Can't change non-existent comment: "+this.commentId)}};l(Ae.EVENT,yr,T$);var E$=class extends Xi{constructor(e){super(e),this.type=Hi,e&&(this.xml=e.toXmlWithXY())}toJson(){const e=super.toJson();if(!this.xml)throw Error("The comment XML is undefined. Either pass a comment to the constructor, or call fromJson");return e.xml=Ps(this.xml),e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new E$),t.xml=s.textToDom$$module$build$src$core$utils$xml(e.xml),t}run(e){Xi.CommentCreateDeleteHelper(this,e)}};l(Ae.EVENT,Hi,E$);var b$=class extends Xi{constructor(e){super(e),this.type=En,e&&(this.xml=e.toXmlWithXY())}run(e){Xi.CommentCreateDeleteHelper(this,!e)}toJson(){const e=super.toJson();if(!this.xml)throw Error("The comment XML is undefined. Either pass a comment to the constructor, or call fromJson");return e.xml=Ps(this.xml),e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new b$),t.xml=s.textToDom$$module$build$src$core$utils$xml(e.xml),t}};l(Ae.EVENT,En,b$);var v$=class extends Xi{constructor(e){super(e),this.type=Us,e&&(this.comment_=e,this.oldCoordinate_=e.getRelativeToSurfaceXY())}recordNew(){if(this.newCoordinate_)throw Error("Tried to record the new position of a comment on the same event twice.");if(!this.comment_)throw Error("The comment is undefined. Pass a comment to the constructor if you want to use the record functionality");this.newCoordinate_=this.comment_.getRelativeToSurfaceXY()}setOldCoordinate(e){this.oldCoordinate_=e}toJson(){const e=super.toJson();if(!this.oldCoordinate_)throw Error("The old comment position is undefined. Either pass a comment to the constructor, or call fromJson");if(!this.newCoordinate_)throw Error("The new comment position is undefined. Either call recordNew, or call fromJson");return e.oldCoordinate=`${Math.round(this.oldCoordinate_.x)}, ${Math.round(this.oldCoordinate_.y)}`,e.newCoordinate=Math.round(this.newCoordinate_.x)+","+Math.round(this.newCoordinate_.y),e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new v$),i=e.oldCoordinate.split(","),t.oldCoordinate_=new Fe(Number(i[0]),Number(i[1])),i=e.newCoordinate.split(","),t.newCoordinate_=new Fe(Number(i[0]),Number(i[1])),t}isNull(){return Fe.equals(this.oldCoordinate_,this.newCoordinate_)}run(e){var t=this.getEventWorkspace_();if(!this.commentId)throw Error("The comment ID is undefined. Either pass a comment to the constructor, or call fromJson");if(t=t.getCommentById(this.commentId)){if(e=e?this.newCoordinate_:this.oldCoordinate_,!e)throw Error("Either oldCoordinate_ or newCoordinate_ is undefined. Either pass a comment to the constructor and call recordNew, or call fromJson");var i=t.getRelativeToSurfaceXY();t.moveBy(e.x-i.x,e.y-i.y)}else console.warn("Can't move non-existent comment: "+this.commentId)}};l(Ae.EVENT,Us,v$);var I$=class extends Vs{constructor(e,t,i,r){let c=e?e.workspace.id:void 0;r&&r.getType()===Re.types.WORKSPACE&&(c=r.getLocation().id),super(c),this.type=vr,this.blockId=e==null?void 0:e.id,this.oldNode=i||void 0,this.newNode=r,this.isCursor=t}toJson(){const e=super.toJson();if(this.isCursor===void 0)throw Error("Whether this is a cursor event or not is undefined. Either pass a value to the constructor, or call fromJson");if(!this.newNode)throw Error("The new node is undefined. Either pass a node to the constructor, or call fromJson");return e.isCursor=this.isCursor,e.blockId=this.blockId,e.oldNode=this.oldNode,e.newNode=this.newNode,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new I$),t.isCursor=e.isCursor,t.blockId=e.blockId,t.oldNode=e.oldNode,t.newNode=e.newNode,t}};l(Ae.EVENT,vr,I$);var O$=class extends Vs{constructor(e,t){super(t),this.type=Cr,this.themeName=e}toJson(){const e=super.toJson();if(!this.themeName)throw Error("The theme name is undefined. Either pass a theme name to the constructor, or call fromJson");return e.themeName=this.themeName,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new O$),t.themeName=e.themeName,t}};l(Ae.EVENT,Cr,O$);var C$=class extends Vs{constructor(e,t,i){super(i),this.type=Or,this.oldItem=e??void 0,this.newItem=t??void 0}toJson(){const e=super.toJson();return e.oldItem=this.oldItem,e.newItem=this.newItem,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new C$),t.oldItem=e.oldItem,t.newItem=e.newItem,t}};l(Ae.EVENT,Or,C$);var y$=class extends Vs{constructor(e,t){super(t),this.type=Ir,this.isOpen=e}toJson(){const e=super.toJson();if(this.isOpen===void 0)throw Error("Whether this is already open or not is undefined. Either pass a value to the constructor, or call fromJson");return e.isOpen=this.isOpen,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new y$),t.isOpen=e.isOpen,t}};l(Ae.EVENT,Ir,y$);var S$=class extends Fl{constructor(e){super(e),this.type=mn,e&&(this.varType=e.type,this.varName=e.name)}toJson(){const e=super.toJson();if(this.varType===void 0)throw Error("The var type is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.varName)throw Error("The var name is undefined. Either pass a variable to the constructor, or call fromJson");return e.varType=this.varType,e.varName=this.varName,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new S$),t.varType=e.varType,t.varName=e.varName,t}run(e){const t=this.getEventWorkspace_();if(!this.varId)throw Error("The var ID is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.varName)throw Error("The var name is undefined. Either pass a variable to the constructor, or call fromJson");e?t.deleteVariableById(this.varId):t.createVariable(this.varName,this.varType,this.varId)}};l(Ae.EVENT,mn,S$);var R$=class extends Fl{constructor(e,t){super(e),this.type=br,e&&(this.oldName=e.name,this.newName=typeof t>"u"?"":t)}toJson(){const e=super.toJson();if(!this.oldName)throw Error("The old var name is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.newName)throw Error("The new var name is undefined. Either pass a value to the constructor, or call fromJson");return e.oldName=this.oldName,e.newName=this.newName,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new R$),t.oldName=e.oldName,t.newName=e.newName,t}run(e){const t=this.getEventWorkspace_();if(!this.varId)throw Error("The var ID is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.oldName)throw Error("The old var name is undefined. Either pass a variable to the constructor, or call fromJson");if(!this.newName)throw Error("The new var name is undefined. Either pass a value to the constructor, or call fromJson");e?t.renameVariableById(this.varId,this.newName):t.renameVariableById(this.varId,this.oldName)}};l(Ae.EVENT,br,R$);var k$=class extends Vs{constructor(e,t,i,r,c){super(r),this.type=Ui,this.viewTop=e,this.viewLeft=t,this.scale=i,this.oldScale=c}toJson(){const e=super.toJson();if(this.viewTop===void 0)throw Error("The view top is undefined. Either pass a value to the constructor, or call fromJson");if(this.viewLeft===void 0)throw Error("The view left is undefined. Either pass a value to the constructor, or call fromJson");if(this.scale===void 0)throw Error("The scale is undefined. Either pass a value to the constructor, or call fromJson");if(this.oldScale===void 0)throw Error("The old scale is undefined. Either pass a value to the constructor, or call fromJson");return e.viewTop=this.viewTop,e.viewLeft=this.viewLeft,e.scale=this.scale,e.oldScale=this.oldScale,e}static fromJson(e,t,i){return t=super.fromJson(e,t,i??new k$),t.viewTop=e.viewTop,t.viewLeft=e.viewLeft,t.scale=e.scale,t.oldScale=e.oldScale,t}};l(Ae.EVENT,Ui,k$),s.CHANGE$$module$build$src$core$events$utils,s.CREATE$$module$build$src$core$events$utils,s.DELETE$$module$build$src$core$events$utils,s.MOVE$$module$build$src$core$events$utils,s.CHANGE$$module$build$src$core$events$utils,s.CREATE$$module$build$src$core$events$utils,s.DELETE$$module$build$src$core$events$utils,s.MOVE$$module$build$src$core$events$utils,s.disable$$module$build$src$core$events$utils,s.enable$$module$build$src$core$events$utils,s.getGroup$$module$build$src$core$events$utils,s.setGroup$$module$build$src$core$events$utils;var Ye={};Ye.Abstract=Rr,Ye.BLOCK_CHANGE=s.CHANGE$$module$build$src$core$events$utils,Ye.BLOCK_CREATE=s.CREATE$$module$build$src$core$events$utils,Ye.BLOCK_DELETE=s.DELETE$$module$build$src$core$events$utils,Ye.BLOCK_DRAG=Tn,Ye.BLOCK_FIELD_INTERMEDIATE_CHANGE=Bi,Ye.BLOCK_MOVE=s.MOVE$$module$build$src$core$events$utils,Ye.BUBBLE_OPEN=Fs,Ye.BUMP_EVENTS=Ca,Ye.BlockBase=yn,Ye.BlockChange=Sn,Ye.BlockCreate=xp,Ye.BlockDelete=Bp,Ye.BlockDrag=n$,Ye.BlockFieldIntermediateChange=p$,Ye.BlockMove=$$,Ye.BubbleOpen=_$,Ye.BubbleType=g$,Ye.CHANGE=s.CHANGE$$module$build$src$core$events$utils,Ye.CLICK=ai,Ye.COMMENT_CHANGE=yr,Ye.COMMENT_CREATE=Hi,Ye.COMMENT_DELETE=En,Ye.COMMENT_MOVE=Us,Ye.CREATE=s.CREATE$$module$build$src$core$events$utils,Ye.Click=f$,Ye.ClickTarget=m$,Ye.CommentBase=Xi,Ye.CommentChange=T$,Ye.CommentCreate=E$,Ye.CommentDelete=b$,Ye.CommentMove=v$,Ye.DELETE=s.DELETE$$module$build$src$core$events$utils,Ye.FINISHED_LOADING=bn,Ye.FinishedLoading=sT,Ye.MARKER_MOVE=vr,Ye.MOVE=s.MOVE$$module$build$src$core$events$utils,Ye.MarkerMove=I$,Ye.SELECTED=ci,Ye.Selected=yp,Ye.THEME_CHANGE=Cr,Ye.TOOLBOX_ITEM_SELECT=Or,Ye.TRASHCAN_OPEN=Ir,Ye.ThemeChange=O$,Ye.ToolboxItemSelect=C$,Ye.TrashcanOpen=y$,Ye.UI=Oa,Ye.UiBase=Vs,Ye.VAR_CREATE=Fi,Ye.VAR_DELETE=mn,Ye.VAR_RENAME=br,Ye.VIEWPORT_CHANGE=Ui,Ye.VarBase=Fl,Ye.VarCreate=Ip,Ye.VarDelete=S$,Ye.VarRename=R$,Ye.ViewportChange=k$,Ye.clearPendingUndo=ae,Ye.disable=s.disable$$module$build$src$core$events$utils,Ye.disableOrphans=We,Ye.enable=s.enable$$module$build$src$core$events$utils,Ye.filter=B,Ye.fire=re,Ye.fromJson=Je,Ye.get=we,Ye.getDescendantIds=Xe,Ye.getGroup=s.getGroup$$module$build$src$core$events$utils,Ye.getRecordUndo=ke,Ye.isEnabled=_e,Ye.setGroup=s.setGroup$$module$build$src$core$events$utils,Ye.setRecordUndo=fe;var tc=class{constructor(){this.NO_PADDING=0,this.SMALL_PADDING=3,this.MEDIUM_PADDING=5,this.MEDIUM_LARGE_PADDING=8,this.LARGE_PADDING=10,this.TAB_HEIGHT=15,this.TAB_OFFSET_FROM_TOP=5,this.TAB_VERTICAL_OVERLAP=2.5,this.TAB_WIDTH=8,this.NOTCH_WIDTH=15,this.NOTCH_HEIGHT=4,this.MIN_BLOCK_WIDTH=12,this.EMPTY_BLOCK_SPACER_HEIGHT=16,this.CORNER_RADIUS=8,this.NOTCH_OFFSET_LEFT=15,this.STATEMENT_BOTTOM_SPACER=0,this.STATEMENT_INPUT_PADDING_LEFT=20,this.BETWEEN_STATEMENT_PADDING_Y=4,this.ADD_START_HATS=!1,this.START_HAT_HEIGHT=15,this.START_HAT_WIDTH=100,this.SPACER_DEFAULT_HEIGHT=15,this.MIN_BLOCK_HEIGHT=24,this.EMPTY_INLINE_INPUT_PADDING=14.5,this.EXTERNAL_VALUE_INPUT_PADDING=2,this.JAGGED_TEETH_HEIGHT=12,this.JAGGED_TEETH_WIDTH=6,this.FIELD_TEXT_FONTSIZE=11,this.FIELD_TEXT_FONTWEIGHT="normal",this.FIELD_TEXT_FONTFAMILY="sans-serif",this.FIELD_TEXT_BASELINE=this.FIELD_TEXT_HEIGHT=-1,this.FIELD_BORDER_RECT_RADIUS=4,this.FIELD_BORDER_RECT_HEIGHT=16,this.FIELD_BORDER_RECT_X_PADDING=5,this.FIELD_BORDER_RECT_Y_PADDING=3,this.FIELD_BORDER_RECT_COLOUR="#fff",this.FIELD_DROPDOWN_SVG_ARROW=this.FIELD_DROPDOWN_COLOURED_DIV=this.FIELD_DROPDOWN_NO_BORDER_RECT_SHADOW=!1,this.FIELD_DROPDOWN_SVG_ARROW_SIZE=12,this.FIELD_COLOUR_FULL_BLOCK=this.FIELD_TEXTINPUT_BOX_SHADOW=!1,this.FIELD_COLOUR_DEFAULT_WIDTH=26,this.defs=null,this.embossFilterId="",this.embossFilter=null,this.disabledPatternId="",this.disabledPattern=null,this.debugFilterId="",this.cssNode=this.debugFilter=null,this.CURSOR_COLOUR="#cc0a0a",this.MARKER_COLOUR="#4286f4",this.CURSOR_WS_WIDTH=100,this.WS_CURSOR_HEIGHT=5,this.CURSOR_STACK_PADDING=10,this.CURSOR_BLOCK_PADDING=2,this.CURSOR_STROKE_WIDTH=4,this.FULL_BLOCK_FIELDS=!1,this.INSERTION_MARKER_COLOUR="#000000",this.INSERTION_MARKER_OPACITY=.2,this.SHAPES={PUZZLE:1,NOTCH:2},this.TALL_INPUT_FIELD_OFFSET_Y=this.MEDIUM_PADDING,this.DUMMY_INPUT_SHADOW_MIN_HEIGHT=this.DUMMY_INPUT_MIN_HEIGHT=this.TAB_HEIGHT,this.STATEMENT_INPUT_NOTCH_OFFSET=this.NOTCH_OFFSET_LEFT,this.TOP_ROW_MIN_HEIGHT=this.MEDIUM_PADDING,this.TOP_ROW_PRECEDES_STATEMENT_MIN_HEIGHT=this.LARGE_PADDING,this.BOTTOM_ROW_MIN_HEIGHT=this.MEDIUM_PADDING,this.BOTTOM_ROW_AFTER_STATEMENT_MIN_HEIGHT=this.LARGE_PADDING,this.EMPTY_INLINE_INPUT_HEIGHT=this.TAB_HEIGHT+11,this.EMPTY_STATEMENT_INPUT_HEIGHT=this.MIN_BLOCK_HEIGHT,this.START_POINT=Xt(0,0),this.FIELD_TEXT_BASELINE_CENTER=!0,this.FIELD_DROPDOWN_BORDER_RECT_HEIGHT=this.FIELD_BORDER_RECT_HEIGHT,this.FIELD_DROPDOWN_SVG_ARROW_PADDING=this.FIELD_BORDER_RECT_X_PADDING,this.FIELD_DROPDOWN_SVG_ARROW_DATAURI="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMi43MSIgaGVpZ2h0PSI4Ljc5IiB2aWV3Qm94PSIwIDAgMTIuNzEgOC43OSI+PHRpdGxlPmRyb3Bkb3duLWFycm93PC90aXRsZT48ZyBvcGFjaXR5PSIwLjEiPjxwYXRoIGQ9Ik0xMi43MSwyLjQ0QTIuNDEsMi40MSwwLDAsMSwxMiw0LjE2TDguMDgsOC4wOGEyLjQ1LDIuNDUsMCwwLDEtMy40NSwwTDAuNzIsNC4xNkEyLjQyLDIuNDIsMCwwLDEsMCwyLjQ0LDIuNDgsMi40OCwwLDAsMSwuNzEuNzFDMSwwLjQ3LDEuNDMsMCw2LjM2LDBTMTEuNzUsMC40NiwxMiwuNzFBMi40NCwyLjQ0LDAsMCwxLDEyLjcxLDIuNDRaIiBmaWxsPSIjMjMxZjIwIi8+PC9nPjxwYXRoIGQ9Ik02LjM2LDcuNzlhMS40MywxLjQzLDAsMCwxLTEtLjQyTDEuNDIsMy40NWExLjQ0LDEuNDQsMCwwLDEsMC0yYzAuNTYtLjU2LDkuMzEtMC41Niw5Ljg3LDBhMS40NCwxLjQ0LDAsMCwxLDAsMkw3LjM3LDcuMzdBMS40MywxLjQzLDAsMCwxLDYuMzYsNy43OVoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",this.FIELD_COLOUR_DEFAULT_HEIGHT=this.FIELD_BORDER_RECT_HEIGHT,this.FIELD_CHECKBOX_X_OFFSET=this.FIELD_BORDER_RECT_X_PADDING-3,this.randomIdentifier=String(Math.random()).substring(2)}init(){this.JAGGED_TEETH=this.makeJaggedTeeth(),this.NOTCH=this.makeNotch(),this.START_HAT=this.makeStartHat(),this.PUZZLE_TAB=this.makePuzzleTab(),this.INSIDE_CORNERS=this.makeInsideCorners(),this.OUTSIDE_CORNERS=this.makeOutsideCorners()}setTheme(e){this.blockStyles=Object.create(null);const t=e.blockStyles;for(const i in t)this.blockStyles[i]=this.validatedBlockStyle_(t[i]);this.setDynamicProperties_(e)}setDynamicProperties_(e){this.setFontConstants_(e),this.setComponentConstants_(e),this.ADD_START_HATS=e.startHats!==void 0?e.startHats:this.ADD_START_HATS}setFontConstants_(e){e.fontStyle&&e.fontStyle.family&&(this.FIELD_TEXT_FONTFAMILY=e.fontStyle.family),e.fontStyle&&e.fontStyle.weight&&(this.FIELD_TEXT_FONTWEIGHT=e.fontStyle.weight),e.fontStyle&&e.fontStyle.size&&(this.FIELD_TEXT_FONTSIZE=e.fontStyle.size),e=be("Hg",this.FIELD_TEXT_FONTSIZE+"pt",this.FIELD_TEXT_FONTWEIGHT,this.FIELD_TEXT_FONTFAMILY),this.FIELD_TEXT_HEIGHT=e.height,this.FIELD_TEXT_BASELINE=e.baseline}setComponentConstants_(e){this.CURSOR_COLOUR=e.getComponentStyle("cursorColour")||this.CURSOR_COLOUR,this.MARKER_COLOUR=e.getComponentStyle("markerColour")||this.MARKER_COLOUR,this.INSERTION_MARKER_COLOUR=e.getComponentStyle("insertionMarkerColour")||this.INSERTION_MARKER_COLOUR,this.INSERTION_MARKER_OPACITY=Number(e.getComponentStyle("insertionMarkerOpacity"))||this.INSERTION_MARKER_OPACITY}getBlockStyleForColour(e){const t="auto_"+e;return this.blockStyles[t]||(this.blockStyles[t]=this.createBlockStyle_(e)),{style:this.blockStyles[t],name:t}}getBlockStyle(e){return this.blockStyles[e||""]||(e&&e.indexOf("auto_")===0?this.getBlockStyleForColour(e.substring(5)).style:this.createBlockStyle_("#000000"))}createBlockStyle_(e){return this.validatedBlockStyle_({colourPrimary:e})}validatedBlockStyle_(e){const t={};return e&&Object.assign(t,e),e=$r(t.colourPrimary||"#000"),t.colourPrimary=e.hex,t.colourSecondary=t.colourSecondary?$r(t.colourSecondary).hex:this.generateSecondaryColour_(t.colourPrimary),t.colourTertiary=t.colourTertiary?$r(t.colourTertiary).hex:this.generateTertiaryColour_(t.colourPrimary),t.hat=t.hat||"",t}generateSecondaryColour_(e){return gn("#fff",e,.6)||e}generateTertiaryColour_(e){return gn("#fff",e,.3)||e}dispose(){this.embossFilter&&U(this.embossFilter),this.disabledPattern&&U(this.disabledPattern),this.debugFilter&&U(this.debugFilter),this.cssNode=null}makeJaggedTeeth(){const e=this.JAGGED_TEETH_HEIGHT,t=this.JAGGED_TEETH_WIDTH,i=_r([tt(t,e/4),tt(2*-t,e/2),tt(t,e/4)]);return{height:e,width:t,path:i}}makeStartHat(){const e=this.START_HAT_HEIGHT,t=this.START_HAT_WIDTH,i=xo("c",[tt(30,-e),tt(70,-e),tt(t,0)]);return{height:e,width:t,path:i}}makePuzzleTab(){function e($){$=$?-1:1;const v=-$;var H=i/2;const Oe=H+2.5,Qe=H+.5,Qt=tt(-t,$*H);return H=tt(t,$*H),xo("c",[tt(0,$*Oe),tt(-t,v*Qe),Qt])+xo("s",[tt(t,2.5*v),H])}const t=this.TAB_WIDTH,i=this.TAB_HEIGHT,r=e(!0),c=e(!1);return{type:this.SHAPES.PUZZLE,width:t,height:i,pathDown:c,pathUp:r}}makeNotch(){function e(v){return _r([tt(v*r,i),tt(3*v,0),tt(v*r,-i)])}const t=this.NOTCH_WIDTH,i=this.NOTCH_HEIGHT,r=(t-3)/2,c=e(1),$=e(-1);return{type:this.SHAPES.NOTCH,width:t,height:i,pathLeft:c,pathRight:$}}makeInsideCorners(){const e=this.CORNER_RADIUS,t=oo("a","0 0,0",e,tt(-e,e)),i=oo("a","0 0,0",e,tt(e,e));return{width:e,height:e,pathTop:t,pathBottom:i}}makeOutsideCorners(){const e=this.CORNER_RADIUS,t=Xt(0,e)+oo("a","0 0,1",e,tt(e,-e)),i=oo("a","0 0,1",e,tt(e,e)),r=oo("a","0 0,1",e,tt(-e,-e)),c=oo("a","0 0,1",e,tt(-e,e));return{topLeft:t,topRight:i,bottomRight:c,bottomLeft:r,rightHeight:e}}shapeFor(e){switch(e.type){case qe.INPUT_VALUE:case qe.OUTPUT_VALUE:return this.PUZZLE_TAB;case qe.PREVIOUS_STATEMENT:case qe.NEXT_STATEMENT:return this.NOTCH;default:throw Error("Unknown connection type")}}createDom(e,t,i){this.injectCSS_(t,i),this.defs=w(te.DEFS,{},e),e=w(te.FILTER,{id:"blocklyEmbossFilter"+this.randomIdentifier},this.defs),w(te.FEGAUSSIANBLUR,{in:"SourceAlpha",stdDeviation:1,result:"blur"},e),t=w(te.FESPECULARLIGHTING,{in:"blur",surfaceScale:1,specularConstant:.5,specularExponent:10,"lighting-color":"white",result:"specOut"},e),w(te.FEPOINTLIGHT,{x:-5e3,y:-1e4,z:2e4},t),w(te.FECOMPOSITE,{in:"specOut",in2:"SourceAlpha",operator:"in",result:"specOut"},e),w(te.FECOMPOSITE,{in:"SourceGraphic",in2:"specOut",operator:"arithmetic",k1:0,k2:1,k3:1,k4:0},e),this.embossFilterId=e.id,this.embossFilter=e,e=w(te.PATTERN,{id:"blocklyDisabledPattern"+this.randomIdentifier,patternUnits:"userSpaceOnUse",width:10,height:10},this.defs),w(te.RECT,{width:10,height:10,fill:"#aaa"},e),w(te.PATH,{d:"M 0 0 L 10 10 M 10 0 L 0 10",stroke:"#cc0"},e),this.disabledPatternId=e.id,this.disabledPattern=e,this.createDebugFilter()}createDebugFilter(){if(!this.debugFilter){const e=w(te.FILTER,{id:"blocklyDebugFilter"+this.randomIdentifier,height:"160%",width:"180%",y:"-30%",x:"-40%"},this.defs),t=w(te.FECOMPONENTTRANSFER,{result:"outBlur"},e);w(te.FEFUNCA,{type:"table",tableValues:"0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"},t),w(te.FEFLOOD,{"flood-color":"#ff0000","flood-opacity":.5,result:"outColor"},e),w(te.FECOMPOSITE,{in:"outColor",in2:"outBlur",operator:"in",result:"outGlow"},e),this.debugFilterId=e.id,this.debugFilter=e}}injectCSS_(e,t){t=this.getCSS_(t),e="blockly-renderer-style-"+e,this.cssNode=document.getElementById(e);const i=t.join(`
+`);this.cssNode?this.cssNode.firstChild.textContent=i:(t=document.createElement("style"),t.id=e,e=document.createTextNode(i),t.appendChild(e),document.head.insertBefore(t,document.head.firstChild),this.cssNode=t)}getCSS_(e){return[`${e} .blocklyText, `,`${e} .blocklyFlyoutLabelText {`,`font: ${this.FIELD_TEXT_FONTWEIGHT} ${this.FIELD_TEXT_FONTSIZE}pt ${this.FIELD_TEXT_FONTFAMILY};`,"}",`${e} .blocklyText {`,"fill: #fff;","}",`${e} .blocklyNonEditableText>rect,`,`${e} .blocklyEditableText>rect {`,`fill: ${this.FIELD_BORDER_RECT_COLOUR};`,"fill-opacity: .6;","stroke: none;","}",`${e} .blocklyNonEditableText>text,`,`${e} .blocklyEditableText>text {`,"fill: #000;","}",`${e} .blocklyFlyoutLabelText {`,"fill: #000;","}",`${e} .blocklyText.blocklyBubbleText {`,"fill: #000;","}",`${e} .blocklyEditableText:not(.editing):hover>rect {`,"stroke: #fff;","stroke-width: 2;","}",`${e} .blocklyHtmlInput {`,`font-family: ${this.FIELD_TEXT_FONTFAMILY};`,`font-weight: ${this.FIELD_TEXT_FONTWEIGHT};`,"}",`${e} .blocklySelected>.blocklyPath {`,"stroke: #fc3;","stroke-width: 3px;","}",`${e} .blocklyHighlightedConnectionPath {`,"stroke: #fc3;","}",`${e} .blocklyReplaceable .blocklyPath {`,"fill-opacity: .5;","}",`${e} .blocklyReplaceable .blocklyPathLight,`,`${e} .blocklyReplaceable .blocklyPathDark {`,"display: none;","}",`${e} .blocklyInsertionMarker>.blocklyPath {`,`fill-opacity: ${this.INSERTION_MARKER_OPACITY};`,"stroke: none;","}"]}},NT=class extends tc{constructor(){super(),this.GRID_UNIT=4,this.CURSOR_COLOUR="#ffa200",this.CURSOR_RADIUS=5,this.JAGGED_TEETH_WIDTH=this.JAGGED_TEETH_HEIGHT=0,this.START_HAT_HEIGHT=22,this.START_HAT_WIDTH=96,this.SHAPES={HEXAGONAL:1,ROUND:2,SQUARE:3,PUZZLE:4,NOTCH:5},this.SHAPE_IN_SHAPE_PADDING={1:{0:5*this.GRID_UNIT,1:2*this.GRID_UNIT,2:5*this.GRID_UNIT,3:5*this.GRID_UNIT},2:{0:3*this.GRID_UNIT,1:3*this.GRID_UNIT,2:1*this.GRID_UNIT,3:2*this.GRID_UNIT},3:{0:2*this.GRID_UNIT,1:2*this.GRID_UNIT,2:2*this.GRID_UNIT,3:2*this.GRID_UNIT}},this.FULL_BLOCK_FIELDS=!0,this.FIELD_TEXT_FONTWEIGHT="bold",this.FIELD_TEXT_FONTFAMILY='"Helvetica Neue", "Segoe UI", Helvetica, sans-serif',this.FIELD_COLOUR_FULL_BLOCK=this.FIELD_TEXTINPUT_BOX_SHADOW=this.FIELD_DROPDOWN_SVG_ARROW=this.FIELD_DROPDOWN_COLOURED_DIV=this.FIELD_DROPDOWN_NO_BORDER_RECT_SHADOW=!0,this.SELECTED_GLOW_COLOUR="#fff200",this.SELECTED_GLOW_SIZE=.5,this.REPLACEMENT_GLOW_COLOUR="#fff200",this.REPLACEMENT_GLOW_SIZE=2,this.selectedGlowFilterId="",this.selectedGlowFilter=null,this.replacementGlowFilterId="",this.SQUARED=this.ROUNDED=this.HEXAGONAL=this.replacementGlowFilter=null,this.SMALL_PADDING=this.GRID_UNIT,this.MEDIUM_PADDING=2*this.GRID_UNIT,this.MEDIUM_LARGE_PADDING=3*this.GRID_UNIT,this.LARGE_PADDING=4*this.GRID_UNIT,this.CORNER_RADIUS=1*this.GRID_UNIT,this.NOTCH_WIDTH=9*this.GRID_UNIT,this.NOTCH_HEIGHT=2*this.GRID_UNIT,this.STATEMENT_INPUT_NOTCH_OFFSET=this.NOTCH_OFFSET_LEFT=3*this.GRID_UNIT,this.MIN_BLOCK_WIDTH=2*this.GRID_UNIT,this.MIN_BLOCK_HEIGHT=12*this.GRID_UNIT,this.EMPTY_STATEMENT_INPUT_HEIGHT=6*this.GRID_UNIT,this.TOP_ROW_MIN_HEIGHT=this.CORNER_RADIUS,this.TOP_ROW_PRECEDES_STATEMENT_MIN_HEIGHT=this.LARGE_PADDING,this.BOTTOM_ROW_MIN_HEIGHT=this.CORNER_RADIUS,this.BOTTOM_ROW_AFTER_STATEMENT_MIN_HEIGHT=6*this.GRID_UNIT,this.STATEMENT_BOTTOM_SPACER=-this.NOTCH_HEIGHT,this.STATEMENT_INPUT_SPACER_MIN_WIDTH=40*this.GRID_UNIT,this.STATEMENT_INPUT_PADDING_LEFT=4*this.GRID_UNIT,this.EMPTY_INLINE_INPUT_PADDING=4*this.GRID_UNIT,this.EMPTY_INLINE_INPUT_HEIGHT=8*this.GRID_UNIT,this.DUMMY_INPUT_MIN_HEIGHT=8*this.GRID_UNIT,this.DUMMY_INPUT_SHADOW_MIN_HEIGHT=6*this.GRID_UNIT,this.CURSOR_WS_WIDTH=20*this.GRID_UNIT,this.FIELD_TEXT_FONTSIZE=3*this.GRID_UNIT,this.FIELD_BORDER_RECT_RADIUS=this.CORNER_RADIUS,this.FIELD_BORDER_RECT_X_PADDING=2*this.GRID_UNIT,this.FIELD_BORDER_RECT_Y_PADDING=1.625*this.GRID_UNIT,this.FIELD_BORDER_RECT_HEIGHT=8*this.GRID_UNIT,this.FIELD_DROPDOWN_BORDER_RECT_HEIGHT=8*this.GRID_UNIT,this.FIELD_DROPDOWN_SVG_ARROW_PADDING=this.FIELD_BORDER_RECT_X_PADDING,this.FIELD_COLOUR_DEFAULT_WIDTH=2*this.GRID_UNIT,this.FIELD_COLOUR_DEFAULT_HEIGHT=4*this.GRID_UNIT,this.FIELD_CHECKBOX_X_OFFSET=1*this.GRID_UNIT,this.MAX_DYNAMIC_CONNECTION_SHAPE_WIDTH=12*this.GRID_UNIT}setFontConstants_(e){super.setFontConstants_(e),this.FIELD_DROPDOWN_BORDER_RECT_HEIGHT=this.FIELD_BORDER_RECT_HEIGHT=this.FIELD_TEXT_HEIGHT+2*this.FIELD_BORDER_RECT_Y_PADDING}init(){super.init(),this.HEXAGONAL=this.makeHexagonal(),this.ROUNDED=this.makeRounded(),this.SQUARED=this.makeSquared(),this.STATEMENT_INPUT_NOTCH_OFFSET=this.NOTCH_OFFSET_LEFT+this.INSIDE_CORNERS.rightWidth}setDynamicProperties_(e){super.setDynamicProperties_(e),this.SELECTED_GLOW_COLOUR=e.getComponentStyle("selectedGlowColour")||this.SELECTED_GLOW_COLOUR;const t=Number(e.getComponentStyle("selectedGlowSize"));this.SELECTED_GLOW_SIZE=t&&!isNaN(t)?t:this.SELECTED_GLOW_SIZE,this.REPLACEMENT_GLOW_COLOUR=e.getComponentStyle("replacementGlowColour")||this.REPLACEMENT_GLOW_COLOUR,this.REPLACEMENT_GLOW_SIZE=(e=Number(e.getComponentStyle("replacementGlowSize")))&&!isNaN(e)?e:this.REPLACEMENT_GLOW_SIZE}dispose(){super.dispose(),this.selectedGlowFilter&&U(this.selectedGlowFilter),this.replacementGlowFilter&&U(this.replacementGlowFilter)}makeStartHat(){const e=this.START_HAT_HEIGHT,t=this.START_HAT_WIDTH,i=xo("c",[tt(25,-e),tt(71,-e),tt(t,0)]);return{height:e,width:t,path:i}}makeHexagonal(){function e(i,r,c){var $=i/2;return $=$>t?t:$,c=c?-1:1,i=(r?-1:1)*i/2,Bs(-c*$,i)+Bs(c*$,i)}const t=this.MAX_DYNAMIC_CONNECTION_SHAPE_WIDTH;return{type:this.SHAPES.HEXAGONAL,isDynamic:!0,width(i){return i/=2,i>t?t:i},height(i){return i},connectionOffsetY(i){return i/2},connectionOffsetX(i){return-i},pathDown(i){return e(i,!1,!1)},pathUp(i){return e(i,!0,!1)},pathRightDown(i){return e(i,!1,!0)},pathRightUp(i){return e(i,!1,!0)}}}makeRounded(){function e(r,c,$){const v=r>i?r-i:0;return r=(r>i?i:r)/2,oo("a","0 0,1",r,tt((c?-1:1)*r,(c?-1:1)*r))+je("v",($?1:-1)*v)+oo("a","0 0,1",r,tt((c?1:-1)*r,(c?-1:1)*r))}const t=this.MAX_DYNAMIC_CONNECTION_SHAPE_WIDTH,i=2*t;return{type:this.SHAPES.ROUND,isDynamic:!0,width(r){return r/=2,r>t?t:r},height(r){return r},connectionOffsetY(r){return r/2},connectionOffsetX(r){return-r},pathDown(r){return e(r,!1,!1)},pathUp(r){return e(r,!0,!1)},pathRightDown(r){return e(r,!1,!0)},pathRightUp(r){return e(r,!1,!0)}}}makeSquared(){function e(i,r,c){return i-=2*t,oo("a","0 0,1",t,tt((r?-1:1)*t,(r?-1:1)*t))+je("v",(c?1:-1)*i)+oo("a","0 0,1",t,tt((r?1:-1)*t,(r?-1:1)*t))}const t=this.CORNER_RADIUS;return{type:this.SHAPES.SQUARE,isDynamic:!0,width(i){return t},height(i){return i},connectionOffsetY(i){return i/2},connectionOffsetX(i){return-i},pathDown(i){return e(i,!1,!1)},pathUp(i){return e(i,!0,!1)},pathRightDown(i){return e(i,!1,!0)},pathRightUp(i){return e(i,!1,!0)}}}shapeFor(e){let t=e.getCheck();switch(!t&&e.targetConnection&&(t=e.targetConnection.getCheck()),e.type){case qe.INPUT_VALUE:case qe.OUTPUT_VALUE:if(e=e.getSourceBlock().getOutputShape(),e!==null)switch(e){case this.SHAPES.HEXAGONAL:return this.HEXAGONAL;case this.SHAPES.ROUND:return this.ROUNDED;case this.SHAPES.SQUARE:return this.SQUARED}return t&&t.indexOf("Boolean")!==-1?this.HEXAGONAL:t&&t.indexOf("Number")!==-1?this.ROUNDED:(t&&t.indexOf("String"),this.ROUNDED);case qe.PREVIOUS_STATEMENT:case qe.NEXT_STATEMENT:return this.NOTCH;default:throw Error("Unknown type")}}makeNotch(){function e(Qe){return xo("c",[tt(Qe*c/2,0),tt(Qe*c*3/4,v/2),tt(Qe*c,v)])+_r([tt(Qe*c,$)])+xo("c",[tt(Qe*c/4,v/2),tt(Qe*c/2,v),tt(Qe*c,v)])+je("h",Qe*r)+xo("c",[tt(Qe*c/2,0),tt(Qe*c*3/4,-(v/2)),tt(Qe*c,-v)])+_r([tt(Qe*c,-$)])+xo("c",[tt(Qe*c/4,-(v/2)),tt(Qe*c/2,-v),tt(Qe*c,-v)])}const t=this.NOTCH_WIDTH,i=this.NOTCH_HEIGHT,r=t/3,c=r/3,$=i/2,v=$/2,H=e(1),Oe=e(-1);return{type:this.SHAPES.NOTCH,width:t,height:i,pathLeft:H,pathRight:Oe}}makeInsideCorners(){const e=this.CORNER_RADIUS,t=oo("a","0 0,0",e,tt(-e,e)),i=oo("a","0 0,1",e,tt(-e,e)),r=oo("a","0 0,0",e,tt(e,e)),c=oo("a","0 0,1",e,tt(e,e));return{width:e,height:e,pathTop:t,pathBottom:r,rightWidth:e,rightHeight:e,pathTopRight:i,pathBottomRight:c}}generateSecondaryColour_(e){return gn("#000",e,.15)||e}generateTertiaryColour_(e){return gn("#000",e,.25)||e}createDom(e,t,i){super.createDom(e,t,i),e=w(te.DEFS,{},e),t=w(te.FILTER,{id:"blocklySelectedGlowFilter"+this.randomIdentifier,height:"160%",width:"180%",y:"-30%",x:"-40%"},e),w(te.FEGAUSSIANBLUR,{in:"SourceGraphic",stdDeviation:this.SELECTED_GLOW_SIZE},t),i=w(te.FECOMPONENTTRANSFER,{result:"outBlur"},t),w(te.FEFUNCA,{type:"table",tableValues:"0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"},i),w(te.FEFLOOD,{"flood-color":this.SELECTED_GLOW_COLOUR,"flood-opacity":1,result:"outColor"},t),w(te.FECOMPOSITE,{in:"outColor",in2:"outBlur",operator:"in",result:"outGlow"},t),this.selectedGlowFilterId=t.id,this.selectedGlowFilter=t,e=w(te.FILTER,{id:"blocklyReplacementGlowFilter"+this.randomIdentifier,height:"160%",width:"180%",y:"-30%",x:"-40%"},e),w(te.FEGAUSSIANBLUR,{in:"SourceGraphic",stdDeviation:this.REPLACEMENT_GLOW_SIZE},e),t=w(te.FECOMPONENTTRANSFER,{result:"outBlur"},e),w(te.FEFUNCA,{type:"table",tableValues:"0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"},t),w(te.FEFLOOD,{"flood-color":this.REPLACEMENT_GLOW_COLOUR,"flood-opacity":1,result:"outColor"},e),w(te.FECOMPOSITE,{in:"outColor",in2:"outBlur",operator:"in",result:"outGlow"},e),w(te.FECOMPOSITE,{in:"SourceGraphic",in2:"outGlow",operator:"over"},e),this.replacementGlowFilterId=e.id,this.replacementGlowFilter=e}getCSS_(e){return[`${e} .blocklyText,`,`${e} .blocklyFlyoutLabelText {`,`font: ${this.FIELD_TEXT_FONTWEIGHT} ${this.FIELD_TEXT_FONTSIZE}pt ${this.FIELD_TEXT_FONTFAMILY};`,"}",`${e} .blocklyText {`,"fill: #fff;","}",`${e} .blocklyNonEditableText>rect:not(.blocklyDropdownRect),`,`${e} .blocklyEditableText>rect:not(.blocklyDropdownRect) {`,`fill: ${this.FIELD_BORDER_RECT_COLOUR};`,"}",`${e} .blocklyNonEditableText>text,`,`${e} .blocklyEditableText>text,`,`${e} .blocklyNonEditableText>g>text,`,`${e} .blocklyEditableText>g>text {`,"fill: #575E75;","}",`${e} .blocklyFlyoutLabelText {`,"fill: #575E75;","}",`${e} .blocklyText.blocklyBubbleText {`,"fill: #575E75;","}",`${e} .blocklyDraggable:not(.blocklyDisabled)`," .blocklyEditableText:not(.editing):hover>rect,",`${e} .blocklyDraggable:not(.blocklyDisabled)`," .blocklyEditableText:not(.editing):hover>.blocklyPath {","stroke: #fff;","stroke-width: 2;","}",`${e} .blocklyHtmlInput {`,`font-family: ${this.FIELD_TEXT_FONTFAMILY};`,`font-weight: ${this.FIELD_TEXT_FONTWEIGHT};`,"color: #575E75;","}",`${e} .blocklyDropdownText {`,"fill: #fff !important;","}",`${e}.blocklyWidgetDiv .goog-menuitem,`,`${e}.blocklyDropDownDiv .goog-menuitem {`,`font-family: ${this.FIELD_TEXT_FONTFAMILY};`,"}",`${e}.blocklyDropDownDiv .goog-menuitem-content {`,"color: #fff;","}",`${e} .blocklyHighlightedConnectionPath {`,`stroke: ${this.SELECTED_GLOW_COLOUR};`,"}",`${e} .blocklyDisabled > .blocklyOutlinePath {`,`fill: url(#blocklyDisabledPattern${this.randomIdentifier})`,"}",`${e} .blocklyInsertionMarker>.blocklyPath {`,`fill-opacity: ${this.INSERTION_MARKER_OPACITY};`,"stroke: none;","}"]}},AS=class{constructor(){this.NONE=0,this.FIELD=1,this.HAT=2,this.ICON=4,this.SPACER=8,this.BETWEEN_ROW_SPACER=16,this.IN_ROW_SPACER=32,this.EXTERNAL_VALUE_INPUT=64,this.INPUT=128,this.INLINE_INPUT=256,this.STATEMENT_INPUT=512,this.CONNECTION=1024,this.PREVIOUS_CONNECTION=2048,this.NEXT_CONNECTION=4096,this.OUTPUT_CONNECTION=8192,this.CORNER=16384,this.LEFT_SQUARE_CORNER=32768,this.LEFT_ROUND_CORNER=65536,this.RIGHT_SQUARE_CORNER=131072,this.RIGHT_ROUND_CORNER=262144,this.JAGGED_EDGE=524288,this.ROW=1048576,this.TOP_ROW=2097152,this.BOTTOM_ROW=4194304,this.INPUT_ROW=8388608,this.LEFT_CORNER=this.LEFT_SQUARE_CORNER|this.LEFT_ROUND_CORNER,this.RIGHT_CORNER=this.RIGHT_SQUARE_CORNER|this.RIGHT_ROUND_CORNER,this.nextTypeValue_=16777216}getType(e){return Object.prototype.hasOwnProperty.call(this,e)||(this[e]=this.nextTypeValue_,this.nextTypeValue_<<=1),this[e]}isField(e){return e.type&this.FIELD}isHat(e){return e.type&this.HAT}isIcon(e){return e.type&this.ICON}isSpacer(e){return e.type&this.SPACER}isInRowSpacer(e){return e.type&this.IN_ROW_SPACER}isInput(e){return e.type&this.INPUT}isExternalInput(e){return e.type&this.EXTERNAL_VALUE_INPUT}isInlineInput(e){return e.type&this.INLINE_INPUT}isStatementInput(e){return e.type&this.STATEMENT_INPUT}isPreviousConnection(e){return e.type&this.PREVIOUS_CONNECTION}isNextConnection(e){return e.type&this.NEXT_CONNECTION}isPreviousOrNextConnection(e){return e.type&(this.PREVIOUS_CONNECTION|this.NEXT_CONNECTION)}isLeftRoundedCorner(e){return e.type&this.LEFT_ROUND_CORNER}isRightRoundedCorner(e){return e.type&this.RIGHT_ROUND_CORNER}isLeftSquareCorner(e){return e.type&this.LEFT_SQUARE_CORNER}isRightSquareCorner(e){return e.type&this.RIGHT_SQUARE_CORNER}isCorner(e){return e.type&this.CORNER}isJaggedEdge(e){return e.type&this.JAGGED_EDGE}isRow(e){return e.type&this.ROW}isBetweenRowSpacer(e){return e.type&this.BETWEEN_ROW_SPACER}isTopRow(e){return e.type&this.TOP_ROW}isBottomRow(e){return e.type&this.BOTTOM_ROW}isTopOrBottomRow(e){return e.type&(this.TOP_ROW|this.BOTTOM_ROW)}isInputRow(e){return e.type&this.INPUT_ROW}},Q=new AS,js=class{constructor(e){this.centerline=this.xPos=this.height=this.width=0,this.constants_=e,this.type=Q.NONE,this.notchOffset=this.constants_.NOTCH_OFFSET_LEFT}},Dn=class extends js{constructor(e,t){super(e),this.connectionModel=t,this.shape=this.constants_.shapeFor(t),this.isDynamicShape="isDynamic"in this.shape&&this.shape.isDynamic,this.type|=Q.CONNECTION}},oc=class{constructor(e,t){this.inlinePath_=this.outlinePath_="",this.block_=e,this.info_=t,this.topLeft_=e.getRelativeToSurfaceXY(),this.constants_=t.getRenderer().getConstants()}draw(){this.drawOutline_(),this.drawInternals_(),this.block_.pathObject.setPath(this.outlinePath_+`
+`+this.inlinePath_),this.info_.RTL&&this.block_.pathObject.flipRTL(),this.recordSizeOnBlock_()}hideHiddenIcons_(){Pe("hideHiddenIcons_","v10","v11")}recordSizeOnBlock_(){this.block_.height=this.info_.height,this.block_.width=this.info_.widthWithChildren}drawOutline_(){this.drawTop_();for(let e=1;e=e.height)){if(Q.isSpacer(e)){const r=e.precedesStatement;var t=e.followsStatement;if(r||t){const c=this.constants_.INSIDE_CORNERS;var i=c.rightHeight;i=e.height-(r?i:0),t=t?c.pathBottomRight:"",e=0=i||0>=t)throw Error("Height and width values of an image field must be greater than 0.");this.size_=new Ht(t,i+Pn.Y_PADDING),this.imageHeight=i,typeof c=="function"&&(this.clickHandler=c),e!==bt.SKIP_SETUP&&(v?this.configure_(v):(this.flipRtl=!!$,this.altText=Jt(r)||""),this.setValue(Jt(e)))}configure_(e){super.configure_(e),e.flipRtl&&(this.flipRtl=e.flipRtl),e.alt&&(this.altText=Jt(e.alt))}initView(){this.imageElement=w(te.IMAGE,{height:this.imageHeight+"px",width:this.size_.width+"px",alt:this.altText},this.fieldGroup_),this.imageElement.setAttributeNS(us,"xlink:href",this.value_),this.clickHandler&&(this.imageElement.style.cursor="pointer")}updateSize_(){}doClassValidation_(e){return typeof e!="string"?null:e}doValueUpdate_(e){this.value_=e,this.imageElement&&this.imageElement.setAttributeNS(us,"xlink:href",this.value_)}getFlipRtl(){return this.flipRtl}setAlt(e){e!==this.altText&&(this.altText=e||"",this.imageElement&&this.imageElement.setAttribute("alt",this.altText))}showEditor_(){this.clickHandler&&this.clickHandler(this)}setOnClickHandler(e){this.clickHandler=e}getText_(){return this.altText}static fromJson(e){if(!e.src||!e.width||!e.height)throw Error("src, width, and height values for an image field arerequired. The width and height must be non-zero.");return new this(e.src,e.width,e.height,void 0,void 0,void 0,e)}};Pn.Y_PADDING=1,Jo("field_image",Pn),Pn.prototype.DEFAULT_VALUE="";var sc=class extends bt{constructor(e,t,i){super(bt.SKIP_SETUP),this.spellcheck_=!0,this.htmlInput_=null,this.isTextValid_=this.isBeingEdited_=!1,this.onKeyInputWrapper_=this.onKeyDownWrapper_=this.valueWhenEditorWasOpened_=null,this.fullBlockClickTarget_=!1,this.workspace_=null,this.SERIALIZABLE=!0,this.CURSOR="text",e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){super.configure_(e),e.spellcheck!==void 0&&(this.spellcheck_=e.spellcheck)}initView(){const e=this.getSourceBlock();if(!e)throw new io;if(this.getConstants().FULL_BLOCK_FIELDS){let t=0,i=0;for(let r=0,c;c=e.inputList[r];r++){for(let $=0;c.fieldRow[$];$++)t++;c.connection&&i++}this.fullBlockClickTarget_=1>=t&&e.outputConnection&&!i}else this.fullBlockClickTarget_=!1;this.fullBlockClickTarget_?this.clickTarget_=this.sourceBlock_.getSvgRoot():this.createBorderRect_(),this.createTextElement_()}doValueInvalid_(e){this.isBeingEdited_&&(this.isDirty_=!0,this.isTextValid_=!1,e=this.value_,this.value_=this.htmlInput_.getAttribute("data-untyped-default-value"),this.sourceBlock_&&_e()&&re(new(we(s.CHANGE$$module$build$src$core$events$utils))(this.sourceBlock_,"field",this.name||null,e,this.value_)))}doValueUpdate_(e){this.isTextValid_=this.isDirty_=!0,this.value_=e}applyColour(){if(this.sourceBlock_&&this.getConstants().FULL_BLOCK_FIELDS){var e=this.sourceBlock_;this.borderRect_?this.borderRect_.setAttribute("stroke",e.style.colourTertiary):e.pathObject.svgPath.setAttribute("fill",this.getConstants().FIELD_BORDER_RECT_COLOUR)}}render_(){if(super.render_(),this.isBeingEdited_){this.resizeEditor_();const e=this.htmlInput_;this.isTextValid_?(A(e,"blocklyInvalidInput"),zt(e,Vt.INVALID,!1)):(I(e,"blocklyInvalidInput"),zt(e,Vt.INVALID,!0))}}setSpellcheck(e){e!==this.spellcheck_&&(this.spellcheck_=e,this.htmlInput_&&this.htmlInput_.setAttribute("spellcheck",this.spellcheck_))}showEditor_(e,t=!1){this.workspace_=this.sourceBlock_.workspace,!t&&this.workspace_.options.modalInputs&&(Lp||Pa||kr)?this.showPromptEditor_():this.showInlineEditor_(t)}showPromptEditor_(){g(s.Msg$$module$build$src$core$msg.CHANGE_VALUE_TITLE,this.getText(),e=>{e!==null&&this.setValue(this.getValueFromEditorText_(e))})}showInlineEditor_(e){const t=this.getSourceBlock();if(!t)throw new io;ta(this,t.RTL,this.widgetDispose_.bind(this)),this.htmlInput_=this.widgetCreate_(),this.isBeingEdited_=!0,this.valueWhenEditorWasOpened_=this.value_,e||(this.htmlInput_.focus({preventScroll:!0}),this.htmlInput_.select())}widgetCreate_(){var e=this.getSourceBlock();if(!e)throw new io;s.setGroup$$module$build$src$core$events$utils(!0);const t=fn();var i=this.getClickTarget_();if(!i)throw Error("A click target has not been set.");I(i,"editing"),i=document.createElement("input"),i.className="blocklyHtmlInput",i.setAttribute("spellcheck",this.spellcheck_);const r=this.workspace_.getScale();var c=this.getConstants().FIELD_TEXT_FONTSIZE*r+"pt";return t.style.fontSize=c,i.style.fontSize=c,c=sc.BORDERRADIUS*r+"px",this.fullBlockClickTarget_&&(c=this.getScaledBBox(),c=(c.bottom-c.top)/2+"px",e=e.getParent()?e.getParent().style.colourTertiary:this.sourceBlock_.style.colourTertiary,i.style.border=1*r+"px solid "+e,t.style.borderRadius=c,t.style.transition="box-shadow 0.25s ease 0s",this.getConstants().FIELD_TEXTINPUT_BOX_SHADOW&&(t.style.boxShadow="rgba(255, 255, 255, 0.3) 0 0 0 "+4*r+"px")),i.style.borderRadius=c,t.appendChild(i),i.value=i.defaultValue=this.getEditorText_(this.value_),i.setAttribute("data-untyped-default-value",String(this.value_)),this.resizeEditor_(),this.bindInputEvents_(i),i}widgetDispose_(){this.isBeingEdited_=!1,this.isTextValid_=!0,this.forceRerender(),this.onFinishEditing_(this.value_),this.sourceBlock_&&_e()&&this.valueWhenEditorWasOpened_!==null&&this.valueWhenEditorWasOpened_!==this.value_&&(re(new(we(s.CHANGE$$module$build$src$core$events$utils))(this.sourceBlock_,"field",this.name||null,this.valueWhenEditorWasOpened_,this.value_)),this.valueWhenEditorWasOpened_=null),s.setGroup$$module$build$src$core$events$utils(!1),this.unbindInputEvents_();var e=fn().style;if(e.width="auto",e.height="auto",e.fontSize="",e.transition="",e.boxShadow="",this.htmlInput_=null,e=this.getClickTarget_(),!e)throw Error("A click target has not been set.");A(e,"editing")}onFinishEditing_(e){}bindInputEvents_(e){this.onKeyDownWrapper_=xe(e,"keydown",this,this.onHtmlInputKeyDown_),this.onKeyInputWrapper_=xe(e,"input",this,this.onHtmlInputChange_)}unbindInputEvents_(){this.onKeyDownWrapper_&&(Dt(this.onKeyDownWrapper_),this.onKeyDownWrapper_=null),this.onKeyInputWrapper_&&(Dt(this.onKeyInputWrapper_),this.onKeyInputWrapper_=null)}onHtmlInputKeyDown_(e){e.key==="Enter"?(as(),fs()):e.key==="Escape"?(this.setValue(this.htmlInput_.getAttribute("data-untyped-default-value")),as(),fs()):e.key==="Tab"&&(as(),fs(),this.sourceBlock_.tab(this,!e.shiftKey),e.preventDefault())}onHtmlInputChange_(e){e=this.value_,this.setValue(this.getValueFromEditorText_(this.htmlInput_.value),!1),this.sourceBlock_&&_e()&&this.value_!==e&&re(new(we(Bi))(this.sourceBlock_,this.name||null,e,this.value_)),cr().then(()=>{this.resizeEditor_()})}setEditorValue_(e,t=!0){this.isDirty_=!0,this.isBeingEdited_&&(this.htmlInput_.value=this.getEditorText_(e)),this.setValue(e,t)}resizeEditor_(){var e=this.getSourceBlock();if(!e)throw new io;const t=fn(),i=this.getScaledBBox();t.style.width=i.right-i.left+"px",t.style.height=i.bottom-i.top+"px",e=new Fe(e.RTL?i.right-t.offsetWidth:i.left,i.top),t.style.left=e.x+"px",t.style.top=e.y+"px"}repositionForWindowResize(){const e=this.getSourceBlock();return e instanceof ts?(fr(this.workspace_,this.workspace_.getMetricsManager().getViewMetrics(!0),e),this.resizeEditor_(),!0):!1}isTabNavigable(){return!0}getText_(){return this.isBeingEdited_&&this.htmlInput_?this.htmlInput_.value:null}getEditorText_(e){return`${e}`}getValueFromEditorText_(e){return e}};sc.BORDERRADIUS=4;var Gr=class extends sc{constructor(e,t,i){super(e,t,i)}doClassValidation_(e){return e===void 0?null:`${e}`}static fromJson(e){return new this(Jt(e.text),void 0,e)}};Jo("field_input",Gr),Gr.prototype.DEFAULT_VALUE="";var ic=class{constructor(e){this.elements=[],this.xPos=this.yPos=this.widthWithConnectedBlocks=this.minWidth=this.minHeight=this.width=this.height=0,this.hasStatement=this.hasExternalInput=!1,this.statementEdge=0,this.hasJaggedEdge=this.hasDummyInput=this.hasInlineInput=!1,this.align=null,this.constants_=e,this.type=Q.ROW,this.notchOffset=this.constants_.NOTCH_OFFSET_LEFT}getLastInput(){for(let e=this.elements.length-1;0<=e;e--){const t=this.elements[e];if(Q.isInput(t))return t}return null}measure(){throw Error("Unexpected attempt to measure a base Row.")}startsWithElemSpacer(){return!0}endsWithElemSpacer(){return!0}getFirstSpacer(){for(let e=0;e=this.rows.length-1?!!this.bottomRow.hasNextConnection:!!r.precedesStatement,Q.isInputRow($)&&$.hasStatement){$.measure();let v,H;t=$.width-((H=(v=$.getLastInput())==null?void 0:v.width)!=null?H:0)+e}else if(i&&(c===2||r)&&Q.isInputRow($)&&!$.hasStatement){r=$.xPos,i=null;for(let v=0;v<$.elements.length;v++){const H=$.elements[v];Q.isSpacer(H)&&(i=H),i&&(Q.isField(H)||Q.isInput(H))&&ri?i:this.height/2,t-i*(1-Math.sin(Math.acos((i-this.constants_.SMALL_PADDING)/i)));default:return 0}if(Q.isInlineInput(e)&&e instanceof ji){const c=e.connectedBlock;return e=c?c.pathObject.outputShapeType:e.shape.type,e==null||c&&c.outputConnection&&(c.statementInputCount||c.nextConnection)||i===r.SHAPES.HEXAGONAL&&i!==e?0:t-this.constants_.SHAPE_IN_SHAPE_PADDING[i][e]}return Q.isField(e)&&e instanceof Wr?i===r.SHAPES.ROUND&&e.field instanceof Gr?t-2.75*r.GRID_UNIT:t-this.constants_.SHAPE_IN_SHAPE_PADDING[i][0]:Q.isIcon(e)?this.constants_.SMALL_PADDING:0}finalizeVerticalAlignment_(){if(!this.outputConnection)for(let r=2;r=this.rows.length-1?!!this.bottomRow.hasNextConnection:!!v.precedesStatement;if(e?this.topRow.hasPreviousConnection:c.followsStatement){var i=$.elements[1];if(i=$.elements.length===3&&i instanceof Wr&&(i.field instanceof wn||i.field instanceof Pn),!e&&i)c.height-=this.constants_.SMALL_PADDING,v.height-=this.constants_.SMALL_PADDING,$.height-=this.constants_.MEDIUM_PADDING;else if(!e&&!t)c.height+=this.constants_.SMALL_PADDING;else if(t){for(e=!1,t=0;t<$.elements.length;t++)if(i=$.elements[t],i instanceof ji&&Q.isInlineInput(i)&&i.connectedBlock&&!i.connectedBlock.isShadow()&&40<=i.connectedBlock.getHeightWidth().height){e=!0;break}e&&(c.height-=this.constants_.SMALL_PADDING,v.height-=this.constants_.SMALL_PADDING)}}}}finalize_(){this.finalizeOutputConnection_(),this.finalizeHorizontalAlignment_(),this.finalizeVerticalAlignment_(),super.finalize_(),this.rightSide&&(this.widthWithChildren+=this.rightSide.width)}},LS="blocklyCursor",NS="blocklyMarker",wS=.75,P$=class{constructor(e,t,i){this.workspace=e,this.marker=i,this.markerSvgRect_=this.markerSvgLine_=this.markerInput_=this.markerBlock_=this.svgGroup_=this.markerSvg_=this.currentMarkerSvg=this.parent=null,this.constants_=t,e=this.isCursor()?this.constants_.CURSOR_COLOUR:this.constants_.MARKER_COLOUR,this.colour_=i.colour||e}getSvgRoot(){return this.svgGroup_}getMarker(){return this.marker}isCursor(){return this.marker.type==="cursor"}createDom(){const e=this.isCursor()?LS:NS;return this.svgGroup_=w(te.G,{class:e}),this.createDomInternal_(),this.svgGroup_}setParent_(e){this.isCursor()?(this.parent&&this.parent.setCursorSvg(null),e.setCursorSvg(this.getSvgRoot())):(this.parent&&this.parent.setMarkerSvg(null),e.setMarkerSvg(this.getSvgRoot())),this.parent=e}draw(e,t){if(t){this.constants_=this.workspace.getRenderer().getConstants();var i=this.isCursor()?this.constants_.CURSOR_COLOUR:this.constants_.MARKER_COLOUR;this.colour_=this.marker.colour||i,this.applyColour_(t),this.showAtLocation_(t),this.fireMarkerEvent(e,t),e=this.currentMarkerSvg.childNodes[0],e!==void 0&&e.beginElement&&e.beginElement()}else this.hide()}showAtLocation_(e){const t=e.getLocation().type;e.getType()===Re.types.BLOCK?this.showWithBlock_(e):e.getType()===Re.types.OUTPUT?this.showWithOutput_(e):t===qe.INPUT_VALUE?this.showWithInput_(e):t===qe.NEXT_STATEMENT?this.showWithNext_(e):e.getType()===Re.types.PREVIOUS?this.showWithPrevious_(e):e.getType()===Re.types.FIELD?this.showWithField_(e):e.getType()===Re.types.WORKSPACE?this.showWithCoordinates_(e):e.getType()===Re.types.STACK&&this.showWithStack_(e)}showWithBlockPrevOutput(e){e=e.getSourceBlock();const t=e.width;var i=e.height,r=i*wS;const c=this.constants_.CURSOR_BLOCK_PADDING;e.previousConnection?(i=this.constants_.shapeFor(e.previousConnection),this.positionPrevious_(t,c,r,i)):e.outputConnection?(r=this.constants_.shapeFor(e.outputConnection),this.positionOutput_(t,i,r)):this.positionBlock_(t,c,r),this.setParent_(e),this.showCurrent_()}showWithBlock_(e){this.showWithBlockPrevOutput(e)}showWithPrevious_(e){this.showWithBlockPrevOutput(e)}showWithOutput_(e){this.showWithBlockPrevOutput(e)}showWithCoordinates_(e){var t=e.getWsCoordinate();e=t.x,t=t.y,this.workspace.RTL&&(e-=this.constants_.CURSOR_WS_WIDTH),this.positionLine_(e,t,this.constants_.CURSOR_WS_WIDTH),this.setParent_(this.workspace),this.showCurrent_()}showWithField_(e){e=e.getLocation();const t=e.getSize().width,i=e.getSize().height;this.positionRect_(0,0,t,i),this.setParent_(e),this.showCurrent_()}showWithInput_(e){e=e.getLocation();const t=e.getSourceBlock();this.positionInput_(e),this.setParent_(t),this.showCurrent_()}showWithNext_(e){var t=e.getLocation();e=t.getSourceBlock();let i=0;t=t.getOffsetInBlock().y;const r=e.getHeightWidth().width;this.workspace.RTL&&(i=-r),this.positionLine_(i,t,r),this.setParent_(e),this.showCurrent_()}showWithStack_(e){e=e.getLocation();var t=e.getHeightWidth();const i=t.width+this.constants_.CURSOR_STACK_PADDING;t=t.height+this.constants_.CURSOR_STACK_PADDING;const r=-this.constants_.CURSOR_STACK_PADDING/2,c=-this.constants_.CURSOR_STACK_PADDING/2;let $=r;this.workspace.RTL&&($=-(i+r)),this.positionRect_($,c,i,t),this.setParent_(e),this.showCurrent_()}showCurrent_(){this.hide(),this.currentMarkerSvg&&(this.currentMarkerSvg.style.display="")}positionBlock_(e,t,i){if(e=Xt(-t,i)+je("V",-t)+je("H",e+2*t)+je("V",i),!this.markerBlock_)throw Error("createDom should be called before positioning the marker");this.markerBlock_.setAttribute("d",e),this.workspace.RTL&&this.flipRtl(this.markerBlock_),this.currentMarkerSvg=this.markerBlock_}positionInput_(e){const t=e.getOffsetInBlock().x,i=e.getOffsetInBlock().y;e=To(0,0)+this.constants_.shapeFor(e).pathDown,this.markerInput_.setAttribute("d",e),this.markerInput_.setAttribute("transform","translate("+t+","+i+")"+(this.workspace.RTL?" scale(-1 1)":"")),this.currentMarkerSvg=this.markerInput_}positionLine_(e,t,i){if(!this.markerSvgLine_)throw Error("createDom should be called before positioning the line");this.markerSvgLine_.setAttribute("x",`${e}`),this.markerSvgLine_.setAttribute("y",`${t}`),this.markerSvgLine_.setAttribute("width",`${i}`),this.currentMarkerSvg=this.markerSvgLine_}positionOutput_(e,t,i){if(!this.markerBlock_)throw Error("createDom should be called before positioning the output");e=Xt(e,0)+je("h",-(e-i.width))+je("v",this.constants_.TAB_OFFSET_FROM_TOP)+i.pathDown+je("V",t)+je("H",e),this.markerBlock_.setAttribute("d",e),this.workspace.RTL&&this.flipRtl(this.markerBlock_),this.currentMarkerSvg=this.markerBlock_}positionPrevious_(e,t,i,r){if(!this.markerBlock_)throw Error("createDom should be called before positioning the previous connection marker");e=Xt(-t,i)+je("V",-t)+je("H",this.constants_.NOTCH_OFFSET_LEFT)+r.pathLeft+je("H",e+2*t)+je("V",i),this.markerBlock_.setAttribute("d",e),this.workspace.RTL&&this.flipRtl(this.markerBlock_),this.currentMarkerSvg=this.markerBlock_}positionRect_(e,t,i,r){if(!this.markerSvgRect_)throw Error("createDom should be called before positioning the rect");this.markerSvgRect_.setAttribute("x",`${e}`),this.markerSvgRect_.setAttribute("y",`${t}`),this.markerSvgRect_.setAttribute("width",`${i}`),this.markerSvgRect_.setAttribute("height",`${r}`),this.currentMarkerSvg=this.markerSvgRect_}flipRtl(e){e.setAttribute("transform","scale(-1 1)")}hide(){if(!(this.markerSvgLine_&&this.markerSvgRect_&&this.markerInput_&&this.markerBlock_))throw Error("createDom should be called before hiding the marker");this.markerSvgLine_.style.display="none",this.markerSvgRect_.style.display="none",this.markerInput_.style.display="none",this.markerBlock_.style.display="none"}fireMarkerEvent(e,t){const i=t.getSourceBlock();e=new(we(vr))(i,this.isCursor(),e,t),re(e)}getBlinkProperties_(){return{attributeType:"XML",attributeName:"fill",dur:"1s",values:this.colour_+";transparent;transparent;",repeatCount:"indefinite"}}createDomInternal_(){if(this.markerSvg_=w(te.G,{width:this.constants_.CURSOR_WS_WIDTH,height:this.constants_.WS_CURSOR_HEIGHT},this.svgGroup_),this.markerSvgLine_=w(te.RECT,{width:this.constants_.CURSOR_WS_WIDTH,height:this.constants_.WS_CURSOR_HEIGHT,style:"display: none"},this.markerSvg_),this.markerSvgRect_=w(te.RECT,{class:"blocklyVerticalMarker",rx:10,ry:10,style:"display: none"},this.markerSvg_),this.markerInput_=w(te.PATH,{transform:"",style:"display: none"},this.markerSvg_),this.markerBlock_=w(te.PATH,{transform:"",style:"display: none",fill:"none","stroke-width":this.constants_.CURSOR_STROKE_WIDTH},this.markerSvg_),this.isCursor()){const e=this.getBlinkProperties_();w(te.ANIMATE,e,this.markerSvgLine_),w(te.ANIMATE,e,this.markerInput_),w(te.ANIMATE,Object.assign({},e,{attributeName:"stroke"}),this.markerBlock_)}return this.markerSvg_}applyColour_(e){if(!(this.markerSvgLine_&&this.markerSvgRect_&&this.markerInput_&&this.markerBlock_))throw Error("createDom should be called before applying color to the markerj");this.markerSvgLine_.setAttribute("fill",this.colour_),this.markerSvgRect_.setAttribute("stroke",this.colour_),this.markerInput_.setAttribute("fill",this.colour_),this.markerBlock_.setAttribute("stroke",this.colour_),this.isCursor()&&(e=this.colour_+";transparent;transparent;",this.markerSvgLine_.firstElementChild.setAttribute("values",e),this.markerInput_.firstElementChild.setAttribute("values",e),this.markerBlock_.firstElementChild.setAttribute("values",e))}dispose(){this.svgGroup_&&U(this.svgGroup_)}},GT=class extends P${constructor(e,t,i){super(e,t,i),this.markerCircle=null}showWithInputOutput(e){const t=e.getSourceBlock();e=e.getLocation().getOffsetInBlock(),this.positionCircle(e.x,e.y),this.setParent_(t),this.showCurrent_()}showWithOutput_(e){this.showWithInputOutput(e)}showWithInput_(e){this.showWithInputOutput(e)}showWithBlock_(e){e=e.getLocation();const t=e.getHeightWidth();this.positionRect_(0,0,t.width,t.height),this.setParent_(e),this.showCurrent_()}positionCircle(e,t){let i;(i=this.markerCircle)==null||i.setAttribute("cx",`${e}`);let r;(r=this.markerCircle)==null||r.setAttribute("cy",`${t}`),this.currentMarkerSvg=this.markerCircle}hide(){super.hide(),this.markerCircle&&(this.markerCircle.style.display="none")}createDomInternal_(){if(super.createDomInternal_(),this.markerCircle=w(te.CIRCLE,{r:this.constants_.CURSOR_RADIUS,style:"display: none","stroke-width":this.constants_.CURSOR_STROKE_WIDTH},this.markerSvg_),this.isCursor()){const e=this.getBlinkProperties_();w(te.ANIMATE,e,this.markerCircle)}return this.markerSvg_}applyColour_(e){super.applyColour_(e);let t;(t=this.markerCircle)==null||t.setAttribute("fill",this.colour_);let i;if((i=this.markerCircle)==null||i.setAttribute("stroke",this.colour_),this.isCursor()){e=this.colour_+";transparent;transparent;";let r;(r=this.markerCircle)==null||r.firstElementChild.setAttribute("values",e)}}},iu=class{constructor(e,t,i){this.markerSvg=this.cursorSvg=null,this.constants=i,this.style=t,this.svgRoot=e,this.svgPath=w(te.PATH,{class:"blocklyPath"},this.svgRoot)}setPath(e){this.svgPath.setAttribute("d",e)}flipRTL(){this.svgPath.setAttribute("transform","scale(-1 1)")}setCursorSvg(e){e?(this.svgRoot.appendChild(e),this.cursorSvg=e):this.cursorSvg=null}setMarkerSvg(e){e?(this.cursorSvg?this.svgRoot.insertBefore(e,this.cursorSvg):this.svgRoot.appendChild(e),this.markerSvg=e):this.markerSvg=null}applyColour(e){this.svgPath.setAttribute("stroke",this.style.colourTertiary),this.svgPath.setAttribute("fill",this.style.colourPrimary),this.updateShadow_(e.isShadow()),this.updateDisabled_(!e.isEnabled()||e.getInheritedDisabled())}setStyle(e){this.style=e}setClass_(e,t){e&&(t?I(this.svgRoot,e):A(this.svgRoot,e))}updateHighlighted(e){e?this.svgPath.setAttribute("filter","url(#"+this.constants.embossFilterId+")"):this.svgPath.setAttribute("filter","none")}updateShadow_(e){e&&(this.svgPath.setAttribute("stroke","none"),this.svgPath.setAttribute("fill",this.style.colourSecondary))}updateDisabled_(e){this.setClass_("blocklyDisabled",e),e&&this.svgPath.setAttribute("fill","url(#"+this.constants.disabledPatternId+")")}updateSelected(e){this.setClass_("blocklySelected",e)}updateDraggingDelete(e){this.setClass_("blocklyDraggingDelete",e)}updateInsertionMarker(e){this.setClass_("blocklyInsertionMarker",e)}updateMovable(e){this.setClass_("blocklyDraggable",e)}updateReplacementFade(e){this.setClass_("blocklyReplaceable",e)}updateShapeForInputHighlight(e,t){}},WT=class extends iu{constructor(e,t,i){super(e,t,i),this.svgPathSelected=null,this.outlines=new Map,this.remainingOutlines=new Set,this.outputShapeType=null,this.constants=i}setPath(e){super.setPath(e),this.svgPathSelected&&this.svgPathSelected.setAttribute("d",e)}applyColour(e){super.applyColour(e);const t=e.getParent();e.isShadow()&&t&&this.svgPath.setAttribute("stroke",t.style.colourTertiary);for(const i of this.outlines.values())i.setAttribute("fill",this.style.colourTertiary)}flipRTL(){super.flipRTL();for(const e of this.outlines.values())e.setAttribute("transform","scale(-1 1)")}updateSelected(e){this.setClass_("blocklySelected",e),e?this.svgPathSelected||(this.svgPathSelected=this.svgPath.cloneNode(!0),this.svgPathSelected.setAttribute("fill","none"),this.svgPathSelected.setAttribute("filter","url(#"+this.constants.selectedGlowFilterId+")"),this.svgRoot.appendChild(this.svgPathSelected)):this.svgPathSelected&&(this.svgRoot.removeChild(this.svgPathSelected),this.svgPathSelected=null)}updateReplacementFade(e){this.setClass_("blocklyReplaceable",e),e?this.svgPath.setAttribute("filter","url(#"+this.constants.replacementGlowFilterId+")"):this.svgPath.removeAttribute("filter")}updateShapeForInputHighlight(e,t){e=e.getParentInput().name,(e=this.getOutlinePath(e))&&(t?e.setAttribute("filter","url(#"+this.constants.replacementGlowFilterId+")"):e.removeAttribute("filter"))}beginDrawing(){this.remainingOutlines.clear();for(const e of this.outlines.keys())this.remainingOutlines.add(e)}endDrawing(){if(this.remainingOutlines.size)for(const e of this.remainingOutlines)this.removeOutlinePath(e);this.remainingOutlines.clear()}setOutlinePath(e,t){e=this.getOutlinePath(e),e.setAttribute("d",t),e.setAttribute("fill",this.style.colourTertiary)}getOutlinePath(e){return this.outlines.has(e)||this.outlines.set(e,w(te.PATH,{class:"blocklyOutlinePath",d:""},this.svgRoot)),this.remainingOutlines.delete(e),this.outlines.get(e)}removeOutlinePath(e){let t,i;(t=this.outlines.get(e))==null||(i=t.parentNode)==null||i.removeChild(this.outlines.get(e)),this.outlines.delete(e)}},cc=class{constructor(e){this.overrides=null,this.name=e}getClassName(){return this.name+"-renderer"}init(e,t){this.constants_=this.makeConstants_(),t&&(this.overrides=t,Object.assign(this.constants_,t)),this.constants_.setTheme(e),this.constants_.init()}createDom(e,t){this.constants_.createDom(e,this.name+"-"+t.name,"."+this.getClassName()+"."+t.getClassName())}refreshDom(e,t){const i=this.getConstants();i.dispose(),this.constants_=this.makeConstants_(),this.overrides&&Object.assign(this.constants_,this.overrides),this.constants_.randomIdentifier=i.randomIdentifier,this.constants_.setTheme(t),this.constants_.init(),this.createDom(e,t)}dispose(){this.constants_&&this.constants_.dispose()}makeConstants_(){return new tc}makeRenderInfo_(e){return new zr(this,e)}makeDrawer_(e,t){return new oc(e,t)}makeMarkerDrawer(e,t){return new P$(e,this.getConstants(),t)}makePathObject(e,t){return new iu(e,t,this.constants_)}getConstants(){return this.constants_}shouldHighlightConnection(e){return!0}orphanCanConnectAtEnd(e,t,i){return!!St.getConnectionForOrphanedConnection(e,i===qe.OUTPUT_VALUE?t.outputConnection:t.previousConnection)}getConnectionPreviewMethod(e,t,i){return t.type===qe.OUTPUT_VALUE||t.type===qe.PREVIOUS_STATEMENT?!e.isConnected()||this.orphanCanConnectAtEnd(i,e.targetBlock(),t.type)?es.PREVIEW_TYPE.INSERTION_MARKER:es.PREVIEW_TYPE.REPLACEMENT_FADE:es.PREVIEW_TYPE.INSERTION_MARKER}render(e){const t=this.makeRenderInfo_(e);t.measure(),this.makeDrawer_(e,t).draw()}},Nt={};Nt.BottomRow=A$,Nt.Connection=Dn,Nt.ConstantProvider=tc,Nt.Drawer=oc,Nt.ExternalValueInput=ou,Nt.Field=Wr,Nt.Hat=L$,Nt.Icon=MT,Nt.InRowSpacer=os,Nt.InlineInput=N$,Nt.InputConnection=ji,Nt.InputRow=w$,Nt.JaggedEdge=DT,Nt.MarkerSvg=P$,Nt.Measurable=js,Nt.NextConnection=PT,Nt.OutputConnection=xT,Nt.PathObject=iu,Nt.PreviousConnection=BT,Nt.RenderInfo=zr,Nt.Renderer=cc,Nt.RoundCorner=rc,Nt.Row=ic,Nt.SpacerRow=M$,Nt.SquareCorner=lc,Nt.StatementInput=nc,Nt.TopRow=D$,Nt.Types=Q,Nt.init=Dh,Nt.register=mr,Nt.unregister=nm;var zT=class extends cc{constructor(e){super(e)}makeConstants_(){return new NT}makeRenderInfo_(e){return new VT(this,e)}makeDrawer_(e,t){return new wT(e,t)}makeMarkerDrawer(e,t){return new GT(e,this.getConstants(),t)}makePathObject(e,t){return new WT(e,t,this.getConstants())}getConstants(){return this.constants_}shouldHighlightConnection(e){return e.type!==qe.INPUT_VALUE&&e.type!==qe.OUTPUT_VALUE}getConnectionPreviewMethod(e,t,i){return t.type===qe.OUTPUT_VALUE?e.isConnected()?es.PREVIEW_TYPE.REPLACEMENT_FADE:es.PREVIEW_TYPE.INPUT_OUTLINE:super.getConnectionPreviewMethod(e,t,i)}};mr("zelos",zT);var Is={};Is.BottomRow=FT,Is.ConstantProvider=NT,Is.Drawer=wT,Is.MarkerSvg=GT,Is.PathObject=WT,Is.RenderInfo=VT,Is.Renderer=zT,Is.RightConnectionShape=UT,Is.StatementInput=su,Is.TopRow=HT,qh();var No={};No.registerCleanup=Bh,No.registerCollapse=Uh,No.registerCollapseExpandBlock=jh,No.registerComment=zh,No.registerDefaultOptions=qh,No.registerDelete=Kh,No.registerDeleteAll=Gh,No.registerDisable=Yh,No.registerDuplicate=Wh,No.registerExpand=Hh,No.registerHelp=Qh,No.registerInline=Xh,No.registerRedo=xh,No.registerUndo=Ph;var XT=class{constructor(){}onDragEnter(e){}onDragOver(e){}onDragExit(e){}onDrop(e){}getClientRect(){return null}shouldPreventMove(e){return!1}},nu=class extends XT{constructor(){super(),this.wouldDelete_=!1}wouldDelete(e,t){return e instanceof ts?(e=!e.getParent()&&e.isDeletable(),this.updateWouldDelete_(e&&!t)):this.updateWouldDelete_(e.isDeletable()),this.wouldDelete_}updateWouldDelete_(e){this.wouldDelete_=e}},mt=class extends sc{constructor(e,t,i){super(bt.SKIP_SETUP),this.clockwise=mt.CLOCKWISE,this.offset=mt.OFFSET,this.wrap=mt.WRAP,this.round=mt.ROUND,this.boundEvents=[],this.symbol_=this.gauge=this.line=null,e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){switch(super.configure_(e),e.mode){case ru.COMPASS:this.clockwise=!0,this.offset=90;break;case ru.PROTRACTOR:this.clockwise=!1,this.offset=0}e.clockwise&&(this.clockwise=e.clockwise),e.offset&&(this.offset=e.offset),e.wrap&&(this.wrap=e.wrap),e.round&&(this.round=e.round)}initView(){super.initView(),this.symbol_=w(te.TSPAN,{}),this.symbol_.appendChild(document.createTextNode("°")),this.getTextElement().appendChild(this.symbol_)}render_(){super.render_(),this.updateGraph()}showEditor_(e){super.showEditor_(e,Lp||Pa||kr),e=this.dropdownCreate(),dr().appendChild(e),this.sourceBlock_ instanceof ts&&Yc(this.sourceBlock_.style.colourPrimary,this.sourceBlock_.style.colourTertiary),Cl(this,this.dropdownDispose.bind(this)),this.updateGraph()}dropdownCreate(){const e=w(te.SVG,{xmlns:ka,"xmlns:html":ui,"xmlns:xlink":us,version:"1.1",height:2*mt.HALF+"px",width:2*mt.HALF+"px",style:"touch-action: none"}),t=w(te.CIRCLE,{cx:mt.HALF,cy:mt.HALF,r:mt.RADIUS,class:"blocklyAngleCircle"},e);this.gauge=w(te.PATH,{class:"blocklyAngleGauge"},e),this.line=w(te.LINE,{x1:mt.HALF,y1:mt.HALF,class:"blocklyAngleLine"},e);for(let i=0;360>i;i+=15)w(te.LINE,{x1:mt.HALF+mt.RADIUS,y1:mt.HALF,x2:mt.HALF+mt.RADIUS-(i%45===0?10:5),y2:mt.HALF,class:"blocklyAngleMarks",transform:"rotate("+i+","+mt.HALF+","+mt.HALF+")"},e);return this.boundEvents.push(xe(e,"click",this,this.hide)),this.boundEvents.push(xe(t,"pointerdown",this,this.onMouseMove_,!0)),this.boundEvents.push(xe(t,"pointermove",this,this.onMouseMove_,!0)),e}dropdownDispose(){for(const e of this.boundEvents)Dt(e);this.boundEvents.length=0,this.line=this.gauge=null}hide(){hr(this),as()}onMouseMove_(e){var t=this.gauge.ownerSVGElement.getBoundingClientRect();const i=e.clientX-t.left-mt.HALF;e=e.clientY-t.top-mt.HALF,t=Math.atan(-e/i),isNaN(t)||(t=xd(t),0>i?t+=180:0e&&(e+=360),e>this.wrap&&(e-=360),e}static fromJson(e){return new this(e.angle,void 0,e)}};mt.HALF=50,mt.RADIUS=mt.HALF-1,mt.CLOCKWISE=!1,mt.OFFSET=0,mt.WRAP=360,mt.ROUND=15,Jo("field_angle",mt),mt.prototype.DEFAULT_VALUE=0,cs(`
+.blocklyAngleCircle {
+ stroke: #444;
+ stroke-width: 1;
+ fill: #ddd;
+ fill-opacity: 0.8;
+}
+
+.blocklyAngleMarks {
+ stroke: #444;
+ stroke-width: 1;
+}
+
+.blocklyAngleGauge {
+ fill: #f88;
+ fill-opacity: 0.8;
+ pointer-events: none;
+}
+
+.blocklyAngleLine {
+ stroke: #f00;
+ stroke-width: 2;
+ stroke-linecap: round;
+ pointer-events: none;
+}
+`);var ru;(function(e){e.COMPASS="compass",e.PROTRACTOR="protractor"})(ru||(ru={}));var xn=class extends bt{constructor(e,t,i){super(bt.SKIP_SETUP),this.SERIALIZABLE=!0,this.CURSOR="default",this.value_=this.value_,this.checkChar=xn.CHECK_CHAR,e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){super.configure_(e),e.checkCharacter&&(this.checkChar=e.checkCharacter)}saveState(){const e=this.saveLegacyState(xn);return e!==null?e:this.getValueBoolean()}initView(){super.initView();const e=this.getTextElement();I(e,"blocklyCheckbox"),e.style.display=this.value_?"block":"none"}render_(){this.textContent_&&(this.textContent_.nodeValue=this.getDisplayText_()),this.updateSize_(this.getConstants().FIELD_CHECKBOX_X_OFFSET)}getDisplayText_(){return this.checkChar}setCheckCharacter(e){this.checkChar=e||xn.CHECK_CHAR,this.forceRerender()}showEditor_(){this.setValue(!this.value_)}doClassValidation_(e){return e===!0||e==="TRUE"?"TRUE":e===!1||e==="FALSE"?"FALSE":null}doValueUpdate_(e){this.value_=this.convertValueToBool_(e),this.textElement_&&(this.textElement_.style.display=this.value_?"block":"none")}getValue(){return this.value_?"TRUE":"FALSE"}getValueBoolean(){return this.value_}getText(){return String(this.convertValueToBool_(this.value_))}convertValueToBool_(e){return typeof e=="string"?e==="TRUE":!!e}static fromJson(e){return new this(e.checked,void 0,e)}};xn.CHECK_CHAR="✓",Jo("field_checkbox",xn),xn.prototype.DEFAULT_VALUE=!1;var ss=class extends bt{constructor(e,t,i){super(bt.SKIP_SETUP),this.highlightedIndex=this.picker=null,this.boundEvents=[],this.SERIALIZABLE=!0,this.CURSOR="default",this.isDirty_=!1,this.titles=this.colours=null,this.columns=0,e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){super.configure_(e),e.colourOptions&&(this.colours=e.colourOptions),e.colourTitles&&(this.titles=e.colourTitles),e.columns&&(this.columns=e.columns)}initView(){this.size_=new Ht(this.getConstants().FIELD_COLOUR_DEFAULT_WIDTH,this.getConstants().FIELD_COLOUR_DEFAULT_HEIGHT),this.getConstants().FIELD_COLOUR_FULL_BLOCK?this.sourceBlock_ instanceof ts&&(this.clickTarget_=this.sourceBlock_.getSvgRoot()):(this.createBorderRect_(),this.getBorderRect().style.fillOpacity="1")}applyColour(){this.getConstants().FIELD_COLOUR_FULL_BLOCK?this.sourceBlock_ instanceof ts&&(this.sourceBlock_.pathObject.svgPath.setAttribute("fill",this.getValue()),this.sourceBlock_.pathObject.svgPath.setAttribute("stroke","#fff")):this.borderRect_&&(this.borderRect_.style.fill=this.getValue())}doClassValidation_(e){return typeof e!="string"?null:Di(e)}doValueUpdate_(e){this.value_=e,this.borderRect_?this.borderRect_.style.fill=e:this.sourceBlock_&&this.sourceBlock_.rendered&&this.sourceBlock_ instanceof ts&&(this.sourceBlock_.pathObject.svgPath.setAttribute("fill",e),this.sourceBlock_.pathObject.svgPath.setAttribute("stroke","#fff"))}getText(){let e=this.value_;return/^#(.)\1(.)\2(.)\3$/.test(e)&&(e="#"+e[1]+e[3]+e[5]),e}setColours(e,t){return this.colours=e,t&&(this.titles=t),this}setColumns(e){return this.columns=e,this}showEditor_(){this.dropdownCreate(),dr().appendChild(this.picker),Cl(this,this.dropdownDispose.bind(this)),this.picker.focus({preventScroll:!0})}onClick(e){e=(e=e.target)&&e.getAttribute("data-colour"),e!==null&&(this.setValue(e),hr(this))}onKeyDown(e){let t=!0;var i;switch(e.key){case"ArrowUp":this.moveHighlightBy(0,-1);break;case"ArrowDown":this.moveHighlightBy(0,1);break;case"ArrowLeft":this.moveHighlightBy(-1,0);break;case"ArrowRight":this.moveHighlightBy(1,0);break;case"Enter":(i=this.getHighlighted())&&(i=i.getAttribute("data-colour"),i!==null&&this.setValue(i)),fs();break;default:t=!1}t&&e.stopPropagation()}moveHighlightBy(e,t){if(this.highlightedIndex){var i=this.colours||ss.COLOURS,r=this.columns||ss.COLUMNS,c=this.highlightedIndex%r,$=Math.floor(this.highlightedIndex/r);c+=e,$+=t,0>e?0>c&&0<$?(c=r-1,$--):0>c&&(c=0):0r-1&&$r-1&&c--:0>t?0>$&&($=0):0Math.floor(i.length/r)-1&&($=Math.floor(i.length/r)-1),this.setHighlightedCell(this.picker.childNodes[$].childNodes[c],$*r+c)}}onMouseMove(e){const t=(e=e.target)&&Number(e.getAttribute("data-index"));t!==null&&t!==this.highlightedIndex&&this.setHighlightedCell(e,t)}onMouseEnter(){let e;(e=this.picker)==null||e.focus({preventScroll:!0})}onMouseLeave(){var e;(e=this.picker)==null||e.blur(),(e=this.getHighlighted())&&A(e,"blocklyColourHighlighted")}getHighlighted(){if(!this.highlightedIndex)return null;const e=this.columns||ss.COLUMNS,t=this.picker.childNodes[Math.floor(this.highlightedIndex/e)];return t?t.childNodes[this.highlightedIndex%e]:null}setHighlightedCell(e,t){const i=this.getHighlighted();i&&A(i,"blocklyColourHighlighted"),I(e,"blocklyColourHighlighted"),this.highlightedIndex=t,(e=e.getAttribute("id"))&&this.picker&&zt(this.picker,Vt.ACTIVEDESCENDANT,e)}dropdownCreate(){const e=this.columns||ss.COLUMNS,t=this.colours||ss.COLOURS,i=this.titles||ss.TITLES,r=this.getValue(),c=document.createElement("table");c.className="blocklyColourTable",c.tabIndex=0,c.dir="ltr",ms(c,Vo.GRID),zt(c,Vt.EXPANDED,!0),zt(c,Vt.ROWCOUNT,Math.floor(t.length/e)),zt(c,Vt.COLCOUNT,e);let $;for(let v=0;vtr>td {
+ border: 0.5px solid #888;
+ box-sizing: border-box;
+ cursor: pointer;
+ display: inline-block;
+ height: 20px;
+ padding: 0;
+ width: 20px;
+}
+
+.blocklyColourTable>tr>td.blocklyColourHighlighted {
+ border-color: #eee;
+ box-shadow: 2px 2px 7px 2px rgba(0, 0, 0, 0.3);
+ position: relative;
+}
+
+.blocklyColourSelected, .blocklyColourSelected:hover {
+ border-color: #eee !important;
+ outline: 1px solid #333;
+ position: relative;
+}
+`);var jT=class extends wn{constructor(e,t,i){super(String(e??""),t,i),this.EDITABLE=!1,this.SERIALIZABLE=!0}static fromJson(e){return new this(Jt(e.text),void 0,e)}};Jo("field_label_serializable",jT);var x$=class extends Gr{constructor(e,t,i){super(bt.SKIP_SETUP),this.textGroup=null,this.maxLines_=1/0,this.isOverflowedY_=!1,e!==bt.SKIP_SETUP&&(i&&this.configure_(i),this.setValue(e),t&&this.setValidator(t))}configure_(e){super.configure_(e),e.maxLines&&this.setMaxLines(e.maxLines)}toXml(e){return e.textContent=this.getValue().replace(/\n/g,"
"),e}fromXml(e){this.setValue(e.textContent.replace(/
/g,`
+`))}saveState(){const e=this.saveLegacyState(x$);return e!==null?e:this.getValue()}loadState(e){this.loadLegacyState(bt,e)||this.setValue(e)}initView(){this.createBorderRect_(),this.textGroup=w(te.G,{class:"blocklyEditableText"},this.fieldGroup_)}getDisplayText_(){const e=this.getSourceBlock();if(!e)throw new io;let t=this.getText();if(!t)return bt.NBSP;const i=t.split(`
+`);t="";const r=this.isOverflowedY_?this.maxLines_:i.length;for(let c=0;cthis.maxDisplayLength?$=$.substring(0,this.maxDisplayLength-4)+"...":this.isOverflowedY_&&c===r-1&&($=$.substring(0,$.length-3)+"..."),$=$.replace(/\s/g,bt.NBSP),t+=$,c!==r-1&&(t+=`
+`)}return e.RTL&&(t+=""),t}doValueUpdate_(e){super.doValueUpdate_(e),this.value_!==null&&(this.isOverflowedY_=this.value_.split(`
+`).length>this.maxLines_)}render_(){var e=this.getSourceBlock();if(!e)throw new io;for(var t,i=this.textGroup;t=i.firstChild;)i.removeChild(t);t=this.getDisplayText_().split(`
+`);let r=0;for(let c=0;cc&&(c=H),$+=this.getConstants().FIELD_TEXT_HEIGHT+(0this.maxDisplayLength&&(e[H]=e[H].substring(0,this.maxDisplayLength)),v.textContent=e[H];const Oe=Le(v,t,i,r);Oe>c&&(c=Oe)}c+=this.htmlInput_.offsetWidth-this.htmlInput_.clientWidth}this.borderRect_&&($+=2*this.getConstants().FIELD_BORDER_RECT_Y_PADDING,c+=2*this.getConstants().FIELD_BORDER_RECT_X_PADDING,this.borderRect_.setAttribute("width",`${c}`),this.borderRect_.setAttribute("height",`${$}`)),this.size_.width=c,this.size_.height=$,this.positionBorderRect_()}showEditor_(e,t){super.showEditor_(e,t),this.forceRerender()}widgetCreate_(){const e=fn(),t=this.workspace_.getScale(),i=document.createElement("textarea");i.className="blocklyHtmlInput blocklyHtmlTextAreaInput",i.setAttribute("spellcheck",String(this.spellcheck_));var r=this.getConstants().FIELD_TEXT_FONTSIZE*t+"pt";e.style.fontSize=r,i.style.fontSize=r,i.style.borderRadius=Gr.BORDERRADIUS*t+"px",r=this.getConstants().FIELD_BORDER_RECT_X_PADDING*t;const c=this.getConstants().FIELD_BORDER_RECT_Y_PADDING*t/2;return i.style.padding=c+"px "+r+"px "+c+"px "+r+"px",r=this.getConstants().FIELD_TEXT_HEIGHT+this.getConstants().FIELD_BORDER_RECT_Y_PADDING,i.style.lineHeight=r*t+"px",e.appendChild(i),i.value=i.defaultValue=this.getEditorText_(this.value_),i.setAttribute("data-untyped-default-value",String(this.value_)),i.setAttribute("data-old-value",""),kp?setTimeout(this.resizeEditor_.bind(this),0):this.resizeEditor_(),this.bindInputEvents_(i),i}setMaxLines(e){typeof e=="number"&&0this.max_&&(e.max=`${this.max_}`,zt(e,Vt.VALUEMAX,this.max_)),e}static fromJson(e){return new this(e.value,void 0,void 0,void 0,void 0,e)}};Jo("field_number",B$),B$.prototype.DEFAULT_VALUE=0;var ac=class extends Ws{constructor(e,t,i,r,c){super(bt.SKIP_SETUP),this.defaultType="",this.variableTypes=[],this.variable=null,this.SERIALIZABLE=!0,this.menuGenerator_=ac.dropdownCreate,this.defaultVariableName=typeof e=="string"?e:"",this.size_=new Ht(0,0),e!==bt.SKIP_SETUP&&(c?this.configure_(c):this.setTypes(i,r),t&&this.setValidator(t))}configure_(e){super.configure_(e),this.setTypes(e.variableTypes,e.defaultType)}initModel(){var e=this.getSourceBlock();if(!e)throw new io;this.variable||(e=s.getOrCreateVariablePackage$$module$build$src$core$variables(e.workspace,null,this.defaultVariableName,this.defaultType),this.doValueUpdate_(e.getId()))}shouldAddBorderRect_(){const e=this.getSourceBlock();if(!e)throw new io;return super.shouldAddBorderRect_()&&(!this.getConstants().FIELD_DROPDOWN_NO_BORDER_RECT_SHADOW||e.type!=="variables_get")}fromXml(e){var t=this.getSourceBlock();if(!t)throw new io;const i=e.getAttribute("id"),r=e.textContent,c=e.getAttribute("variabletype")||e.getAttribute("variableType")||"";if(t=s.getOrCreateVariablePackage$$module$build$src$core$variables(t.workspace,i,r,c),c!==null&&c!==t.type)throw Error("Serialized variable type with id '"+t.getId()+"' had type "+t.type+", and does not match variable field that references it: "+Ps(e)+".");this.setValue(t.getId())}toXml(e){return this.initModel(),e.id=this.variable.getId(),e.textContent=this.variable.name,this.variable.type&&e.setAttribute("variabletype",this.variable.type),e}saveState(e){var t=this.saveLegacyState(ac);return t!==null||(this.initModel(),t={id:this.variable.getId()},e&&(t.name=this.variable.name,t.type=this.variable.type)),t}loadState(e){const t=this.getSourceBlock();if(!t)throw new io;this.loadLegacyState(ac,e)||(e=s.getOrCreateVariablePackage$$module$build$src$core$variables(t.workspace,e.id||null,e.name,e.type||""),this.setValue(e.getId()))}setSourceBlock(e){if(e.isShadow())throw Error("Variable fields are not allowed to exist on shadow blocks.");super.setSourceBlock(e)}getValue(){return this.variable?this.variable.getId():null}getText(){return this.variable?this.variable.name:""}getVariable(){return this.variable}getValidator(){return this.variable?this.validator_:null}doClassValidation_(e){if(e===null)return null;var t=this.getSourceBlock();if(!t)throw new io;return t=s.getVariable$$module$build$src$core$variables(t.workspace,e),t?(t=t.type,this.typeIsAllowed(t)?e:(console.warn("Variable type doesn't match this field! Type was "+t),null)):(console.warn("Variable id doesn't point to a real variable! ID was "+e),null)}doValueUpdate_(e){const t=this.getSourceBlock();if(!t)throw new io;this.variable=s.getVariable$$module$build$src$core$variables(t.workspace,e),super.doValueUpdate_(e)}typeIsAllowed(e){const t=this.getVariableTypes();if(!t)return!0;for(let i=0;i(this.flyout?s.config$$module$build$src$core$config.flyoutDragRadius:s.config$$module$build$src$core$config.dragRadius)}updateIsDraggingFromFlyout(){let e;if(!this.targetBlock||(e=this.flyout)==null||!e.isBlockCreatable(this.targetBlock))return!1;if(!this.flyout.targetWorkspace)throw Error(`Cannot update dragging from the flyout because the ' +
+ 'flyout's target workspace is undefined`);return!this.flyout.isScrollable()||this.flyout.isDragTowardWorkspace(this.currentDragDeltaXY)?(this.startWorkspace_=this.flyout.targetWorkspace,this.startWorkspace_.updateScreenCalculationsIfScrolled(),s.getGroup$$module$build$src$core$events$utils()||s.setGroup$$module$build$src$core$events$utils(!0),this.startBlock=null,this.targetBlock=this.flyout.createBlock(this.targetBlock),this.targetBlock.select(),!0):!1}updateIsDraggingBubble(){return this.startBubble?(this.startDraggingBubble(),!0):!1}updateIsDraggingBlock(){if(!this.targetBlock)return!1;if(this.flyout){if(this.updateIsDraggingFromFlyout())return this.startDraggingBlock(),!0}else if(this.targetBlock.isMovable())return this.startDraggingBlock(),!0;return!1}updateIsDraggingWorkspace(){if(!this.startWorkspace_)throw Error("Cannot update dragging the workspace because the start workspace is undefined");(this.flyout?this.flyout.isScrollable():this.startWorkspace_&&this.startWorkspace_.isDraggable())&&(this.workspaceDragger=new KT(this.startWorkspace_),this.workspaceDragger.startDrag())}updateIsDragging(){if(this.calledUpdateIsDragging)throw Error("updateIsDragging_ should only be called once per gesture.");this.calledUpdateIsDragging=!0,this.updateIsDraggingBubble()||this.updateIsDraggingBlock()||this.updateIsDraggingWorkspace()}startDraggingBlock(){this.blockDragger=new(y(Ae.BLOCK_DRAGGER,this.creatorWorkspace.options,!0))(this.targetBlock,this.startWorkspace_),this.blockDragger.startDrag(this.currentDragDeltaXY,this.healStack),this.blockDragger.drag(this.mostRecentEvent,this.currentDragDeltaXY)}startDraggingBubble(){if(!this.startBubble)throw Error("Cannot update dragging the bubble because the start bubble is undefined");if(!this.startWorkspace_)throw Error("Cannot update dragging the bubble because the start workspace is undefined");this.bubbleDragger=new AT(this.startBubble,this.startWorkspace_),this.bubbleDragger.startBubbleDrag(),this.bubbleDragger.dragBubble(this.mostRecentEvent,this.currentDragDeltaXY)}doStart(e){if(!this.startWorkspace_)throw Error("Cannot start the touch gesture becauase the start workspace is undefined");this.isPinchZoomEnabled=this.startWorkspace_.options.zoomOptions&&this.startWorkspace_.options.zoomOptions.pinch,El(e)?this.cancel():(this.gestureHasStarted=!0,gr(),this.startWorkspace_.updateScreenCalculationsIfScrolled(),this.startWorkspace_.isMutator&&this.startWorkspace_.resize(),this.currentDropdownOwner=Ud(),this.startWorkspace_.hideChaff(!!this.flyout),this.startWorkspace_.markFocused(),this.mostRecentEvent=e,ih(),this.targetBlock&&this.targetBlock.select(),Ai(e)?this.handleRightClick(e):(e.type.toLowerCase()==="pointerdown"&&e.pointerType!=="mouse"&&V(e,this),this.mouseDownXY=new Fe(e.clientX,e.clientY),this.healStack=e.altKey||e.ctrlKey||e.metaKey,this.bindMouseEvents(e),this.isEnding_||this.handleTouchStart(e)))}bindMouseEvents(e){this.boundEvents.push(xe(document,"pointerdown",null,this.handleStart.bind(this),!0)),this.boundEvents.push(xe(document,"pointermove",null,this.handleMove.bind(this),!0)),this.boundEvents.push(xe(document,"pointerup",null,this.handleUp.bind(this),!0)),e.preventDefault(),e.stopPropagation()}handleStart(e){this.isDragging()||(this.handleTouchStart(e),this.isMultiTouch()&&ve())}handleMove(e){this.isDragging()&&rt(e)||!this.isMultiTouch()?(this.updateFromEvent(e),this.workspaceDragger?this.workspaceDragger.drag(this.currentDragDeltaXY):this.blockDragger?this.blockDragger.drag(this.mostRecentEvent,this.currentDragDeltaXY):this.bubbleDragger&&this.bubbleDragger.dragBubble(this.mostRecentEvent,this.currentDragDeltaXY),e.preventDefault(),e.stopPropagation()):this.isMultiTouch()&&(this.handleTouchMove(e),ve())}handleUp(e){if(this.isDragging()||this.handleTouchEnd(e),!this.isMultiTouch()||this.isDragging()){if(!rt(e))return;if(this.updateFromEvent(e),ve(),this.isEnding_){console.log("Trying to end a gesture recursively.");return}this.isEnding_=!0,this.bubbleDragger?this.bubbleDragger.endBubbleDrag(e,this.currentDragDeltaXY):this.blockDragger?this.blockDragger.endDrag(e,this.currentDragDeltaXY):this.workspaceDragger?this.workspaceDragger.endDrag(this.currentDragDeltaXY):this.isBubbleClick()?this.doBubbleClick():this.isFieldClick()?this.doFieldClick():this.isIconClick()?this.doIconClick():this.isBlockClick()?this.doBlockClick():this.isWorkspaceClick()&&this.doWorkspaceClick(e)}e.preventDefault(),e.stopPropagation(),this.dispose()}handleTouchStart(e){var t=Mt(e);this.cachedPoints.set(t,this.getTouchPoint(e));var i=Array.from(this.cachedPoints.keys());i.length===2&&(t=this.cachedPoints.get(i[0]),i=this.cachedPoints.get(i[1]),this.startDistance=Fe.distance(t,i),this.isMultiTouch_=!0,e.preventDefault())}handleTouchMove(e){const t=Mt(e);this.cachedPoints.set(t,this.getTouchPoint(e)),this.isPinchZoomEnabled&&this.cachedPoints.size===2?this.handlePinch(e):this.handleMove(e)}handlePinch(e){var t=Array.from(this.cachedPoints.keys()),i=this.cachedPoints.get(t[0]);if(t=this.cachedPoints.get(t[1]),i=Fe.distance(i,t)/this.startDistance,0this.previousScale){if(t=i-this.previousScale,t=0this.cachedPoints.size&&(this.cachedPoints.clear(),this.previousScale=0)}getTouchPoint(e){return this.startWorkspace_?new Fe(e.pageX,e.pageY):null}isMultiTouch(){return this.isMultiTouch_}cancel(){this.isEnding_||(ve(),this.bubbleDragger?this.bubbleDragger.endBubbleDrag(this.mostRecentEvent,this.currentDragDeltaXY):this.blockDragger?this.blockDragger.endDrag(this.mostRecentEvent,this.currentDragDeltaXY):this.workspaceDragger&&this.workspaceDragger.endDrag(this.currentDragDeltaXY),this.dispose())}handleRightClick(e){this.targetBlock?(this.bringBlockToFront(),this.targetBlock.workspace.hideChaff(!!this.flyout),this.targetBlock.showContextMenu(e)):this.startBubble?this.startBubble.showContextMenu(e):this.startWorkspace_&&!this.flyout&&(this.startWorkspace_.hideChaff(),this.startWorkspace_.showContextMenu(e)),e.preventDefault(),e.stopPropagation(),this.dispose()}handleWsStart(e,t){if(this.gestureHasStarted)throw Error("Tried to call gesture.handleWsStart, but the gesture had already been started.");this.setStartWorkspace(t),this.mostRecentEvent=e,this.doStart(e)}fireWorkspaceClick(e){re(new(we(ai))(null,e.id,"workspace"))}handleFlyoutStart(e,t){if(this.gestureHasStarted)throw Error("Tried to call gesture.handleFlyoutStart, but the gesture had already been started.");this.setStartFlyout(t),this.handleWsStart(e,t.getWorkspace())}handleBlockStart(e,t){if(this.gestureHasStarted)throw Error("Tried to call gesture.handleBlockStart, but the gesture had already been started.");this.setStartBlock(t),this.mostRecentEvent=e}handleBubbleStart(e,t){if(this.gestureHasStarted)throw Error("Tried to call gesture.handleBubbleStart, but the gesture had already been started.");this.setStartBubble(t),this.mostRecentEvent=e}doBubbleClick(){this.startBubble instanceof yo&&(this.startBubble.setFocus(),this.startBubble.select())}doFieldClick(){if(!this.startField)throw Error("Cannot do a field click because the start field is undefined");this.currentDropdownOwner!==this.startField&&this.startField.showEditor(this.mostRecentEvent),this.bringBlockToFront()}doIconClick(){if(!this.startIcon)throw Error("Cannot do an icon click because the start icon is undefined");this.startIcon.onClick()}doBlockClick(){if(this.flyout&&this.flyout.autoClose){if(!this.targetBlock)throw Error("Cannot do a block click because the target block is undefined");this.targetBlock.isEnabled()&&(s.getGroup$$module$build$src$core$events$utils()||s.setGroup$$module$build$src$core$events$utils(!0),this.flyout.createBlock(this.targetBlock).scheduleSnapAndBump())}else{if(!this.startWorkspace_)throw Error("Cannot do a block click because the start workspace is undefined");const e=new(we(ai))(this.startBlock,this.startWorkspace_.id,"block");re(e)}this.bringBlockToFront(),s.setGroup$$module$build$src$core$events$utils(!1)}doWorkspaceClick(e){e=this.creatorWorkspace,Z()&&Z().unselect(),this.fireWorkspaceClick(this.startWorkspace_||e)}bringBlockToFront(){this.targetBlock&&!this.flyout&&this.targetBlock.bringToFront()}setStartField(e){if(this.gestureHasStarted)throw Error("Tried to call gesture.setStartField, but the gesture had already been started.");this.startField||(this.startField=e)}setStartIcon(e){if(this.gestureHasStarted)throw Error("Tried to call gesture.setStartIcon, but the gesture had already been started.");this.startIcon||(this.startIcon=e)}setStartBubble(e){this.startBubble||(this.startBubble=e)}setStartBlock(e){this.startBlock||this.startBubble||(this.startBlock=e,e.isInFlyout&&e!==e.getRootBlock()?this.setTargetBlock(e.getRootBlock()):this.setTargetBlock(e))}setTargetBlock(e){e.isShadow()?this.setTargetBlock(e.getParent()):this.targetBlock=e}setStartWorkspace(e){this.startWorkspace_||(this.startWorkspace_=e)}setStartFlyout(e){this.flyout||(this.flyout=e)}isBubbleClick(){return!!this.startBubble&&!this.hasExceededDragRadius}isBlockClick(){return!!this.startBlock&&!this.hasExceededDragRadius&&!this.isFieldClick()&&!this.isIconClick()}isFieldClick(){return(this.startField?this.startField.isClickable():!1)&&!this.hasExceededDragRadius&&(!this.flyout||!this.flyout.autoClose)}isIconClick(){return!!this.startIcon&&!this.hasExceededDragRadius}isWorkspaceClick(){return!this.startBlock&&!this.startBubble&&!this.startField&&!this.hasExceededDragRadius}isDragging(){return!!this.workspaceDragger||!!this.blockDragger||!!this.bubbleDragger}hasStarted(){return this.gestureHasStarted}getInsertionMarkers(){return this.blockDragger?this.blockDragger.getInsertionMarkers():[]}getCurrentDragger(){let e,t;return(t=(e=this.blockDragger)!=null?e:this.workspaceDragger)!=null?t:this.bubbleDragger}static inProgress(){const e=P();for(let t=0,i;i=e[t];t++)if(i.currentGesture_)return!0;return!1}},H$=class{constructor(e,t){this.pattern=e;let i;this.spacing=(i=t.spacing)!=null?i:0;let r;this.length=(r=t.length)!=null?r:1,this.line2=(this.line1=e.firstChild)&&this.line1.nextSibling;let c;this.snapToGrid=(c=t.snap)!=null?c:!1}shouldSnap(){return this.snapToGrid}getSpacing(){return this.spacing}getPatternId(){return this.pattern.id}update(e){var t=this.spacing*e;this.pattern.setAttribute("width",`${t}`),this.pattern.setAttribute("height",`${t}`),t=Math.floor(this.spacing/2)+.5;let i=t-this.length/2,r=t+this.length/2;t*=e,i*=e,r*=e,this.setLineAttributes(this.line1,e,i,r,t,t),this.setLineAttributes(this.line2,e,t,t,i,r)}setLineAttributes(e,t,i,r,c,$){e&&(e.setAttribute("stroke-width",`${t}`),e.setAttribute("x1",`${i}`),e.setAttribute("y1",`${c}`),e.setAttribute("x2",`${r}`),e.setAttribute("y2",`${$}`))}moveTo(e,t){this.pattern.setAttribute("x",`${e}`),this.pattern.setAttribute("y",`${t}`)}static createDom(e,t,i){e=w(te.PATTERN,{id:"blocklyGridPattern"+e,patternUnits:"userSpaceOnUse"},i);let r,c;if(0<((r=t.length)!=null?r:1)&&0<((c=t.spacing)!=null?c:0)){w(te.LINE,{stroke:t.colour},e);let $;($=t.length)!=null&&$&&w(te.LINE,{stroke:t.colour},e)}else w(te.LINE,{},e);return e}};s.Names$$module$build$src$core$names=class{constructor(e,t){this.db=new Map,this.dbReverse=new Set,this.variableMap=null,this.variablePrefix=t||"",this.reservedWords=new Set(e?e.split(","):[])}reset(){this.db.clear(),this.dbReverse.clear(),this.variableMap=null}setVariableMap(e){this.variableMap=e}getNameForUserVariable(e){return this.variableMap?(e=this.variableMap.getVariableById(e))?e.name:null:(console.warn(`Deprecated call to Names.prototype.getName without defining a variable map. To fix, add the following code in your generator's init() function:
+Blockly.YourGeneratorName.nameDB_.setVariableMap(workspace.getVariableMap());`),null)}populateVariables(e){e=s.allUsedVarModels$$module$build$src$core$variables(e);for(let t=0;t{c&&t&&this.deleteVariableInternal(t,r)})):this.deleteVariableInternal(t,r)}else console.warn("Can't delete non-existent variable: "+e)}deleteVariableInternal(e,t){const i=s.getGroup$$module$build$src$core$events$utils();i||s.setGroup$$module$build$src$core$events$utils(!0);try{for(let r=0;re.name)}getVariableUsesById(e){const t=[],i=this.workspace.getAllBlocks(!1);for(let r=0;rthis.remainingCapacityOfType(i))return!1;t+=e[i]}return!(t>this.remainingCapacity())}hasBlockLimits(){return this.options.maxBlocks!==1/0||!!this.options.maxInstances}getUndoStack(){return this.undoStack_}getRedoStack(){return this.redoStack_}undo(e){var t=e?this.redoStack_:this.undoStack_,i=e?this.undoStack_:this.redoStack_;const r=t.pop();if(r){for(var c=[r];t.length&&r.group&&r.group===t[t.length-1].group;){const $=t.pop();$&&c.push($)}for(t=0;tthis.MAX_UNDO&&0<=this.MAX_UNDO;)this.undoStack_.shift();for(let t=0;timage, .blocklyZoom>svg>image {
+ opacity: .4;
+}
+
+.blocklyZoom>image:hover, .blocklyZoom>svg>image:hover {
+ opacity: .6;
+}
+
+.blocklyZoom>image:active, .blocklyZoom>svg>image:active {
+ opacity: .8;
+}
+`);var xS=20,Cs=class extends uc{constructor(e){super(e),this.resizeHandlerWrapper=null,this.resizesEnabled=this.isVisible_=this.rendered=!0,this.startScrollY=this.startScrollX=this.scrollY=this.scrollX=0,this.dragDeltaXY=null,this.oldScale=this.scale=1,this.oldLeft=this.oldTop=0,this.inverseScreenCTM=this.targetWorkspace=this.configureContextMenu=this.lastRecordedPageScroll=this.injectionDiv=this.currentGesture_=this.toolbox_=this.flyout=this.scrollbar=this.trashcan=null,this.inverseScreenCTMDirty=!0,this.highlightedBlocks=[],this.toolboxCategoryCallbacks=new Map,this.flyoutButtonCallbacks=new Map,this.cachedParentSvg=null,this.keyboardAccessibilityMode=!1,this.topBoundedElements=[],this.dragTargetAreas=[],this.zoomControls_=null,this.metricsManager=new(y(Ae.METRICS_MANAGER,e,!0))(this),this.getMetrics=e.getMetrics||this.metricsManager.getMetrics.bind(this.metricsManager),this.setMetrics=e.setMetrics||Cs.setTopLevelWorkspaceMetrics_,this.componentManager=new fo,this.connectionDBList=Vr.init(this.connectionChecker),this.audioManager=new JT(e.parentWorkspace),this.grid=this.options.gridPattern?new H$(this.options.gridPattern,e.gridOptions):null,this.markerManager=new Wl(this),ao&&ze&&this.registerToolboxCategoryCallback(Op,ze),Ki&&fa&&this.registerToolboxCategoryCallback(V$,fa),Eo&&ga&&(this.registerToolboxCategoryCallback(lu,ga),this.addChangeListener(tp)),this.themeManager_=this.options.parentWorkspace?this.options.parentWorkspace.getThemeManager():new qT(this,this.options.theme||Ka),this.themeManager_.subscribeWorkspace(this);let t;this.renderer=Dh(this.options.renderer||"geras",this.getTheme(),(t=this.options.rendererOverrides)!=null?t:void 0),this.cachedParentSvgSize=new Ht(0,0)}getMarkerManager(){return this.markerManager}getMetricsManager(){return this.metricsManager}setMetricsManager(e){this.metricsManager=e,this.getMetrics=this.metricsManager.getMetrics.bind(this.metricsManager)}getComponentManager(){return this.componentManager}setCursorSvg(e){this.markerManager.setCursorSvg(e)}setMarkerSvg(e){this.markerManager.setMarkerSvg(e)}getMarker(e){return this.markerManager?this.markerManager.getMarker(e):null}getCursor(){return this.markerManager?this.markerManager.getCursor():null}getRenderer(){return this.renderer}getThemeManager(){return this.themeManager_}getTheme(){return this.themeManager_.getTheme()}setTheme(e){e||(e=Ka),this.themeManager_.setTheme(e)}refreshTheme(){this.svgGroup_&&this.renderer.refreshDom(this.svgGroup_,this.getTheme()),this.updateBlockStyles_(this.getAllBlocks(!1).filter(function(t){return!!t.getStyleName()})),this.refreshToolboxSelection(),this.toolbox_&&this.toolbox_.refreshTheme(),this.isVisible()&&this.setVisible(!0);const e=new(we(Cr))(this.getTheme().name,this.id);re(e)}updateBlockStyles_(e){for(let t=0,i;i=e[t];t++){const r=i.getStyleName();r&&i.setStyle(r)}}getInverseScreenCTM(){if(this.inverseScreenCTMDirty){const e=this.getParentSvg().getScreenCTM();e&&(this.inverseScreenCTM=e.inverse(),this.inverseScreenCTMDirty=!1)}return this.inverseScreenCTM}updateInverseScreenCTM(){this.inverseScreenCTMDirty=!0}isVisible(){return this.isVisible_}getSvgXY(e){let t=0,i=0,r=1;(this.getCanvas().contains(e)||this.getBubbleCanvas().contains(e))&&(r=this.scale);do{const c=$n(e);(e===this.getCanvas()||e===this.getBubbleCanvas())&&(r=1),t+=c.x*r,i+=c.y*r,e=e.parentNode}while(e&&e!==this.getParentSvg());return new Fe(t,i)}getCachedParentSvgSize(){const e=this.cachedParentSvgSize;return new Ht(e.width,e.height)}getOriginOffsetInPixels(){return Wc(this.getCanvas())}getInjectionDiv(){if(!this.injectionDiv){let e=this.svgGroup_;for(;e;){if((" "+(e.getAttribute("class")||"")+" ").indexOf(" injectionDiv ")!==-1){this.injectionDiv=e;break}e=e.parentNode}}return this.injectionDiv}getBlockCanvas(){return this.svgBlockCanvas_}setResizeHandlerWrapper(e){this.resizeHandlerWrapper=e}createDom(e){return this.svgGroup_=w(te.G,{class:"blocklyWorkspace"}),e&&(this.svgBackground_=w(te.RECT,{height:"100%",width:"100%",class:e},this.svgGroup_),e==="blocklyMainBackground"&&this.grid?this.svgBackground_.style.fill="url(#"+this.grid.getPatternId()+")":this.themeManager_.subscribe(this.svgBackground_,"workspaceBackgroundColour","fill")),this.svgBlockCanvas_=w(te.G,{class:"blocklyBlockCanvas"},this.svgGroup_),this.svgBubbleCanvas_=w(te.G,{class:"blocklyBubbleCanvas"},this.svgGroup_),this.isFlyout||(xe(this.svgGroup_,"pointerdown",this,this.onMouseDown_,!1),document.body.addEventListener("wheel",function(){}),xe(this.svgGroup_,"wheel",this,this.onMouseWheel_)),this.options.hasCategories&&(this.toolbox_=new(y(Ae.TOOLBOX,this.options,!0))(this)),this.grid&&this.grid.update(this.scale),this.recordDragTargets(),(e=y(Ae.CURSOR,this.options))&&this.markerManager.setCursor(new e),this.renderer.createDom(this.svgGroup_,this.getTheme()),this.svgGroup_}dispose(){if(this.rendered=!1,this.currentGesture_&&this.currentGesture_.cancel(),this.svgGroup_&&U(this.svgGroup_),this.toolbox_&&(this.toolbox_.dispose(),this.toolbox_=null),this.flyout&&(this.flyout.dispose(),this.flyout=null),this.trashcan&&(this.trashcan.dispose(),this.trashcan=null),this.scrollbar&&(this.scrollbar.dispose(),this.scrollbar=null),this.zoomControls_&&this.zoomControls_.dispose(),this.audioManager&&this.audioManager.dispose(),this.grid&&(this.grid=null),this.renderer.dispose(),this.markerManager&&this.markerManager.dispose(),super.dispose(),this.themeManager_&&(this.themeManager_.unsubscribeWorkspace(this),this.themeManager_.unsubscribe(this.svgBackground_),this.options.parentWorkspace||this.themeManager_.dispose()),this.connectionDBList.length=0,this.toolboxCategoryCallbacks.clear(),this.flyoutButtonCallbacks.clear(),!this.options.parentWorkspace){const e=this.getParentSvg();e&&e.parentNode&&U(e.parentNode)}this.resizeHandlerWrapper&&(Dt(this.resizeHandlerWrapper),this.resizeHandlerWrapper=null)}addTrashcan(){this.trashcan=Cs.newTrashcan(this);const e=this.trashcan.createDom();this.svgGroup_.insertBefore(e,this.svgBlockCanvas_)}static newTrashcan(e){throw Error("The implementation of newTrashcan should be monkey-patched in by blockly.ts")}addZoomControls(){this.zoomControls_=new ZT(this);const e=this.zoomControls_.createDom();this.svgGroup_.appendChild(e)}addFlyout(e){const t=new hs({parentWorkspace:this,rtl:this.RTL,oneBasedIndex:this.options.oneBasedIndex,horizontalLayout:this.horizontalLayout,renderer:this.options.renderer,rendererOverrides:this.options.rendererOverrides,move:{scrollbars:!0}});return t.toolboxPosition=this.options.toolboxPosition,this.flyout=this.horizontalLayout?new(y(Ae.FLYOUTS_HORIZONTAL_TOOLBOX,this.options,!0))(t):new(y(Ae.FLYOUTS_VERTICAL_TOOLBOX,this.options,!0))(t),this.flyout.autoClose=!1,this.flyout.getWorkspace().setVisible(!0),this.flyout.createDom(e)}getFlyout(e){return this.flyout||e?this.flyout:this.toolbox_?this.toolbox_.getFlyout():null}getToolbox(){return this.toolbox_}updateScreenCalculations_(){this.updateInverseScreenCTM(),this.recordDragTargets()}resizeContents(){this.resizesEnabled&&this.rendered&&(this.scrollbar&&this.scrollbar.resize(),this.updateInverseScreenCTM())}resize(){this.toolbox_&&this.toolbox_.position(),this.flyout&&this.flyout.position();const e=this.componentManager.getComponents(fo.Capability.POSITIONABLE,!0),t=this.getMetricsManager().getUiMetrics(),i=[];for(let r=0,c;c=e[r];r++){c.position(t,i);const $=c.getBoundingRectangle();$&&i.push($)}this.scrollbar&&this.scrollbar.resize(),this.updateScreenCalculations_()}updateScreenCalculationsIfScrolled(){const e=vd();Fe.equals(this.lastRecordedPageScroll,e)||(this.lastRecordedPageScroll=e,this.updateScreenCalculations_())}getCanvas(){return this.svgBlockCanvas_}setCachedParentSvgSize(e,t){const i=this.getParentSvg();e!=null&&(this.cachedParentSvgSize.width=e,i.setAttribute("data-cached-width",`${e}`)),t!=null&&(this.cachedParentSvgSize.height=t,i.setAttribute("data-cached-height",`${t}`))}getBubbleCanvas(){return this.svgBubbleCanvas_}getParentSvg(){if(!this.cachedParentSvg){let e=this.svgGroup_;for(;e;){if(e.tagName==="svg"){this.cachedParentSvg=e;break}e=e.parentNode}}return this.cachedParentSvg}maybeFireViewportChangeEvent(){if(_e()){var e=this.scale,t=-this.scrollY,i=-this.scrollX;if(!(e===this.oldScale&&1>Math.abs(t-this.oldTop)&&1>Math.abs(i-this.oldLeft))){var r=new(we(Ui))(t,i,e,this.id,this.oldScale);this.oldScale=e,this.oldTop=t,this.oldLeft=i,re(r)}}}translate(e,t){const i="translate("+e+","+t+") scale("+this.scale+")";this.svgBlockCanvas_.setAttribute("transform",i),this.svgBubbleCanvas_.setAttribute("transform",i),this.grid&&this.grid.moveTo(e,t),this.maybeFireViewportChangeEvent()}getWidth(){const e=this.getMetrics();return e?e.viewWidth/this.scale:0}setVisible(e){this.isVisible_=e,this.svgGroup_&&(this.scrollbar&&this.scrollbar.setContainerVisible(e),this.getFlyout()&&this.getFlyout().setContainerVisible(e),this.getParentSvg().style.display=e?"block":"none",this.toolbox_&&this.toolbox_.setVisible(e),e||this.hideChaff(!0))}render(){for(var e=this.getAllBlocks(!1),t=e.length-1;0<=t;t--)e[t].queueRender();if(this.currentGesture_)for(e=this.currentGesture_.getInsertionMarkers(),t=0;tvoid this.markerManager.updateMarkers())}highlightBlock(e,t){if(t===void 0){for(let i=0,r;r=this.highlightedBlocks[i];i++)r.setHighlighted(!1);this.highlightedBlocks.length=0}(e=e?this.getBlockById(e):null)&&((t=t===void 0||t)?this.highlightedBlocks.indexOf(e)===-1&&this.highlightedBlocks.push(e):Po(this.highlightedBlocks,e),e.setHighlighted(t))}paste(e){if(!this.rendered||!e.type&&!e.tagName)return null;this.currentGesture_&&this.currentGesture_.cancel();const t=s.getGroup$$module$build$src$core$events$utils();t||s.setGroup$$module$build$src$core$events$utils(!0);let i;try{i=e.type?this.pasteBlock_(null,e):e.tagName.toLowerCase()==="comment"?this.pasteWorkspaceComment_(e):this.pasteBlock_(e,null)}finally{s.setGroup$$module$build$src$core$events$utils(t)}return i}pasteBlock_(e,t){s.disable$$module$build$src$core$events$utils();let i;try{let r=0,c=0;if(e){i=wi(e,this);let $;r=parseInt(($=e.getAttribute("x"))!=null?$:"0"),this.RTL&&(r=-r);let v;c=parseInt((v=e.getAttribute("y"))!=null?v:"0")}else t&&(i=_n(t,this),r=t.x||10,this.RTL&&(r=this.getWidth()-r),c=t.y||10);if(!isNaN(r)&&!isNaN(c)){let $;do{$=!1;const v=this.getAllBlocks(!1);for(let H=0,Oe;Oe=v[H];H++){const Qe=Oe.getRelativeToSurfaceXY();if(1>=Math.abs(r-Qe.x)&&1>=Math.abs(c-Qe.y)){$=!0;break}}if(!$){const H=i.getConnections_(!1);for(let Oe=0,Qe;Qe=H[Oe];Oe++)if(Qe.closest(s.config$$module$build$src$core$config.snapRadius,new Fe(r,c)).connection){$=!0;break}}$&&(r=this.RTL?r-s.config$$module$build$src$core$config.snapRadius:r+s.config$$module$build$src$core$config.snapRadius,c+=2*s.config$$module$build$src$core$config.snapRadius)}while($);i.moveTo(new Fe(r,c))}}finally{s.enable$$module$build$src$core$events$utils()}return _e()&&!i.isShadow()&&re(new(we(s.CREATE$$module$build$src$core$events$utils))(i)),i.select(),i}pasteWorkspaceComment_(e){s.disable$$module$build$src$core$events$utils();let t;try{t=yo.fromXmlRendered(e,this);let i,r=parseInt((i=e.getAttribute("x"))!=null?i:"0"),c,$=parseInt((c=e.getAttribute("y"))!=null?c:"0");isNaN(r)||isNaN($)||(this.RTL&&(r=-r),t.moveBy(r+50,$+50))}finally{s.enable$$module$build$src$core$events$utils()}return _e()&&Hs.fireCreateEvent(t),t.select(),t}refreshToolboxSelection(){const e=this.isFlyout?this.targetWorkspace:this;e&&!e.currentGesture_&&e.toolbox_&&e.toolbox_.getFlyout()&&e.toolbox_.refreshSelection()}renameVariableById(e,t){super.renameVariableById(e,t),this.refreshToolboxSelection()}deleteVariableById(e){super.deleteVariableById(e),this.refreshToolboxSelection()}createVariable(e,t,i){return e=super.createVariable(e,t,i),this.refreshToolboxSelection(),e}recordDragTargets(){const e=this.componentManager.getComponents(fo.Capability.DRAG_TARGET,!0);this.dragTargetAreas=[];for(let t=0,i;i=e[t];t++){const r=i.getClientRect();r&&this.dragTargetAreas.push({component:i,clientRect:r})}}newBlock(e,t){throw Error("The implementation of newBlock should be monkey-patched in by blockly.ts")}getDragTarget(e){for(let t=0,i;i=this.dragTargetAreas[t];t++)if(i.clientRect.contains(e.clientX,e.clientY))return i.component;return null}onMouseDown_(e){const t=this.getGesture(e);t&&t.handleWsStart(e,this)}startDrag(e,t){e=pn(e,this.getParentSvg(),this.getInverseScreenCTM()),e.x/=this.scale,e.y/=this.scale,this.dragDeltaXY=Fe.difference(t,e)}moveDrag(e){return e=pn(e,this.getParentSvg(),this.getInverseScreenCTM()),e.x/=this.scale,e.y/=this.scale,Fe.sum(this.dragDeltaXY,e)}isDragging(){return this.currentGesture_!==null&&this.currentGesture_.isDragging()}isDraggable(){return this.options.moveOptions&&this.options.moveOptions.drag}isMovable(){return this.options.moveOptions&&!!this.options.moveOptions.scrollbars||this.options.moveOptions&&this.options.moveOptions.wheel||this.options.moveOptions&&this.options.moveOptions.drag||this.options.zoomOptions&&this.options.zoomOptions.wheel||this.options.zoomOptions&&this.options.zoomOptions.pinch}isMovableHorizontally(){const e=!!this.scrollbar;return this.isMovable()&&(!e||e&&this.scrollbar.canScrollHorizontally())}isMovableVertically(){const e=!!this.scrollbar;return this.isMovable()&&(!e||e&&this.scrollbar.canScrollVertically())}onMouseWheel_(e){if(bi.inProgress())e.preventDefault(),e.stopPropagation();else{var t=this.options.zoomOptions&&this.options.zoomOptions.wheel,i=this.options.moveOptions&&this.options.moveOptions.wheel;if(t||i){var r=bl(e);if(Ap)var c=e.metaKey;t&&(e.ctrlKey||c||!i)?(r=-r.y/50,t=pn(e,this.getParentSvg(),this.getInverseScreenCTM()),this.zoom(t.x,t.y,r)):(t=this.scrollX-r.x,i=this.scrollY-r.y,e.shiftKey&&!r.x&&(t=this.scrollX-r.y,i=this.scrollY),this.scroll(t,i)),e.preventDefault()}}}getBlocksBoundingBox(){const e=this.getTopBoundedElements();if(!e.length)return new Bt(0,0,0,0);const t=e[0].getBoundingRectangle();for(let r=1;rt.bottom&&(t.bottom=i.bottom),i.leftt.right&&(t.right=i.right))}return t}cleanUp(){this.setResizesEnabled(!1),s.setGroup$$module$build$src$core$events$utils(!0);const e=this.getTopBlocks(!0);let t=0;for(let i=0,r;r=e[i];i++){if(!r.isMovable())continue;const c=r.getRelativeToSurfaceXY();r.moveBy(-c.x,t-c.y,["cleanup"]),r.snapToGrid(),t=r.getRelativeToSurfaceXY().y+r.getHeightWidth().height+this.renderer.getConstants().MIN_BLOCK_HEIGHT}s.setGroup$$module$build$src$core$events$utils(!1),this.setResizesEnabled(!0)}showContextMenu(e){if(!this.options.readOnly&&!this.isFlyout){var t=kt.registry.getContextMenuOptions(kt.ScopeType.WORKSPACE,{workspace:this});this.configureContextMenu&&this.configureContextMenu(t,e),Nl(e,t,this.RTL)}}updateToolbox(e){if(e=sa(e)){if(!this.options.languageTree)throw Error("Existing toolbox is null. Can't create new toolbox.");if(ia(e)){if(!this.toolbox_)throw Error("Existing toolbox has no categories. Can't change mode.");this.options.languageTree=e,this.toolbox_.render(e)}else{if(!this.flyout)throw Error("Existing toolbox has categories. Can't change mode.");this.options.languageTree=e,this.flyout.show(e)}}else if(this.options.languageTree)throw Error("Can't nullify an existing toolbox.")}markFocused(){this.options.parentWorkspace?this.options.parentWorkspace.markFocused():(ie(this),this.getParentSvg().focus({preventScroll:!0}))}zoom(e,t,i){i=Math.pow(this.options.zoomOptions.scaleSpeed,i);const r=this.scale*i;if(this.scale!==r){r>this.options.zoomOptions.maxScale?i=this.options.zoomOptions.maxScale/this.scale:rthis.options.zoomOptions.maxScale?e=this.options.zoomOptions.maxScale:this.options.zoomOptions.minScale&&et.autoHide(e))}static setTopLevelWorkspaceMetrics_(e){const t=this.getMetrics();typeof e.x=="number"&&(this.scrollX=-(t.scrollLeft+(t.scrollWidth-t.viewWidth)*e.x)),typeof e.y=="number"&&(this.scrollY=-(t.scrollTop+(t.scrollHeight-t.viewHeight)*e.y)),this.translate(this.scrollX+t.absoluteLeft,this.scrollY+t.absoluteTop)}},jr;(function(e){e.BLOCK="block",e.BUTTON="button"})(jr||(jr={}));var cu=class extends nu{constructor(e){super(),this.horizontalLayout=!1,this.boundEvents=[],this.filterWrapper=this.reflowWrapper=null,this.mats=[],this.buttons_=[],this.listeners=[],this.permanentlyDisabled=[],this.recycledBlocks=[],this.autoClose=!0,this.isVisible_=!1,this.containerVisible=!0,this.CORNER_RADIUS=8,this.SCROLLBAR_MARGIN=2.5,this.height_=this.width_=0,this.dragAngleRange_=70,this.svgGroup_=this.svgBackground_=null,e.setMetrics=this.setMetrics_.bind(this),this.workspace_=new Cs(e),this.workspace_.setMetricsManager(new YT(this.workspace_,this)),this.workspace_.internalIsFlyout=!0,this.workspace_.setVisible(this.isVisible_),this.id=he(),this.RTL=!!e.RTL,this.toolboxPosition_=e.toolboxPosition,this.tabWidth_=this.workspace_.getRenderer().getConstants().TAB_WIDTH,this.rectMap_=new WeakMap,this.MARGIN=this.CORNER_RADIUS,this.GAP_X=3*this.MARGIN,this.GAP_Y=3*this.MARGIN}createDom(e){return this.svgGroup_=w(e,{class:"blocklyFlyout",style:"display: none"}),this.svgBackground_=w(te.PATH,{class:"blocklyFlyoutBackground"},this.svgGroup_),this.svgGroup_.appendChild(this.workspace_.createDom()),this.workspace_.getThemeManager().subscribe(this.svgBackground_,"flyoutBackgroundColour","fill"),this.workspace_.getThemeManager().subscribe(this.svgBackground_,"flyoutOpacity","fill-opacity"),this.svgGroup_}init(e){this.targetWorkspace=e,this.workspace_.targetWorkspace=e,this.workspace_.scrollbar=new U$(this.workspace_,this.horizontalLayout,!this.horizontalLayout,"blocklyFlyoutScrollbar",this.SCROLLBAR_MARGIN),this.hide(),this.boundEvents.push(xe(this.svgGroup_,"wheel",this,this.wheel_)),this.autoClose||(this.filterWrapper=this.filterForCapacity.bind(this),this.targetWorkspace.addChangeListener(this.filterWrapper)),this.boundEvents.push(xe(this.svgBackground_,"pointerdown",this,this.onMouseDown)),this.workspace_.getGesture=this.targetWorkspace.getGesture.bind(this.targetWorkspace),this.workspace_.setVariableMap(this.targetWorkspace.getVariableMap()),this.workspace_.createPotentialVariableMap(),e.getComponentManager().addComponent({component:this,weight:1,capabilities:[fo.Capability.DELETE_AREA,fo.Capability.DRAG_TARGET]})}dispose(){this.hide(),this.workspace_.getComponentManager().removeComponent(this.id);for(const e of this.boundEvents)Dt(e);this.boundEvents.length=0,this.filterWrapper&&this.targetWorkspace.removeChangeListener(this.filterWrapper),this.workspace_&&(this.workspace_.getThemeManager().unsubscribe(this.svgBackground_),this.workspace_.dispose()),this.svgGroup_&&U(this.svgGroup_)}getWidth(){return this.width_}getHeight(){return this.height_}getFlyoutScale(){return this.targetWorkspace.scale}getWorkspace(){return this.workspace_}isVisible(){return this.isVisible_}setVisible(e){const t=e!==this.isVisible();this.isVisible_=e,t&&(this.autoClose||this.workspace_.recordDragTargets(),this.updateDisplay())}setContainerVisible(e){const t=e!==this.containerVisible;this.containerVisible=e,t&&this.updateDisplay()}updateDisplay(){let e;e=this.containerVisible?this.isVisible():!1,this.svgGroup_&&(this.svgGroup_.style.display=e?"block":"none");let t;(t=this.workspace_.scrollbar)==null||t.setContainerVisible(e)}positionAt_(e,t,i,r){let c;(c=this.svgGroup_)==null||c.setAttribute("width",`${e}`);let $;($=this.svgGroup_)==null||$.setAttribute("height",`${t}`),this.workspace_.setCachedParentSvgSize(e,t),this.svgGroup_&&oe(this.svgGroup_,"translate("+i+"px,"+r+"px)"),(e=this.workspace_.scrollbar)&&(e.setOrigin(i,r),e.resize(),e.hScroll&&e.hScroll.setPosition(e.hScroll.position.x,e.hScroll.position.y),e.vScroll&&e.vScroll.setPosition(e.vScroll.position.x,e.vScroll.position.y))}hide(){if(this.isVisible()){this.setVisible(!1);for(const e of this.listeners)Dt(e);this.listeners.length=0,this.reflowWrapper&&(this.workspace_.removeChangeListener(this.reflowWrapper),this.reflowWrapper=null)}}show(e){this.workspace_.setResizesEnabled(!1),this.hide(),this.clearOldBlocks(),typeof e=="string"&&(e=this.getDynamicCategoryContents(e)),this.setVisible(!0),e=Al(e),e=this.createFlyoutInfo(e),Ds(),this.layout_(e.contents,e.gaps),this.horizontalLayout?this.height_=0:this.width_=0,this.workspace_.setResizesEnabled(!0),this.reflow(),this.filterForCapacity(),this.position(),this.reflowWrapper=this.reflow.bind(this),this.workspace_.addChangeListener(this.reflowWrapper),this.emptyRecycledBlocks()}createFlyoutInfo(e){const t=[],i=[];this.permanentlyDisabled.length=0;const r=this.horizontalLayout?this.GAP_X:this.GAP_Y;for(const c of e){if("custom"in c){e=this.getDynamicCategoryContents(c.custom),e=Al(e);const{contents:$,gaps:v}=this.createFlyoutInfo(e);t.push(...$),i.push(...v)}switch(c.kind.toUpperCase()){case"BLOCK":e=c;const $=this.createFlyoutBlock(e);t.push({type:jr.BLOCK,block:$}),this.addBlockGap(e,i,r);break;case"SEP":this.addSeparatorGap(c,i,r);break;case"LABEL":e=this.createButton(c,!0),t.push({type:jr.BUTTON,button:e}),i.push(r);break;case"BUTTON":e=this.createButton(c,!1),t.push({type:jr.BUTTON,button:e}),i.push(r)}}return{contents:t,gaps:i}}getDynamicCategoryContents(e){if(e=this.workspace_.targetWorkspace.getToolboxCategoryCallback(e),typeof e!="function")throw TypeError("Couldn't find a callback function when opening a toolbox category.");return e(this.workspace_.targetWorkspace)}createButton(e,t){return new Os(this.workspace_,this.targetWorkspace,e,t)}createFlyoutBlock(e){let t;return e.blockxml?(e=typeof e.blockxml=="string"?s.textToDom$$module$build$src$core$utils$xml(e.blockxml):e.blockxml,(t=this.getRecycledBlock(e.getAttribute("type")))||(t=wi(e,this.workspace_))):(t=this.getRecycledBlock(e.type),t||(e.enabled===void 0&&(e.enabled=e.disabled!=="true"&&e.disabled!==!0),t=Ol(e,this.workspace_))),t.isEnabled()||this.permanentlyDisabled.push(t),t}getRecycledBlock(e){let t=-1;for(let i=0;i{const i=this.targetWorkspace.getGesture(t);i&&(i.setStartBlock(e),i.handleFlyoutStart(t,this))}}onMouseDown(e){const t=this.targetWorkspace.getGesture(e);t&&t.handleFlyoutStart(e,this)}isBlockCreatable(e){return e.isEnabled()}createBlock(e){let t=null;s.disable$$module$build$src$core$events$utils();var i=this.targetWorkspace.getAllVariables();this.targetWorkspace.setResizesEnabled(!1);try{t=this.placeNewBlock(e)}finally{s.enable$$module$build$src$core$events$utils()}if(this.targetWorkspace.hideChaff(),e=C(this.targetWorkspace,i),_e()){for(s.setGroup$$module$build$src$core$events$utils(!0),i=0;i90-t||e>-90-t&&e<-90+t}getClientRect(){if(!this.svgGroup_||this.autoClose||!this.isVisible())return null;const e=this.svgGroup_.getBoundingClientRect(),t=e.top;return this.toolboxPosition_===at.TOP?new Bt(-1e9,t+e.height,-1e9,1e9):new Bt(t,1e9,-1e9,1e9)}reflowInternal_(){this.workspace_.scale=this.getFlyoutScale();let e=0;const t=this.workspace_.getTopBlocks(!1);for(let r=0,c;c=t[r];r++)e=Math.max(e,c.getHeightWidth().height);const i=this.buttons_;for(let r=0,c;c=i[r];r++)e=Math.max(e,c.height);if(e+=1.5*this.MARGIN,e*=this.workspace_.scale,e+=no.scrollbarThickness,this.height_!==e){for(let r=0,c;c=t[r];r++)this.rectMap_.has(c)&&this.moveRectToBlock_(this.rectMap_.get(c),c);this.targetWorkspace.toolboxPosition!==this.toolboxPosition_||this.toolboxPosition_!==at.TOP||this.targetWorkspace.getToolbox()||this.targetWorkspace.translate(this.targetWorkspace.scrollX,this.targetWorkspace.scrollY+e),this.height_=e,this.position(),this.targetWorkspace.recordDragTargets()}}};l(Ae.FLYOUTS_HORIZONTAL_TOOLBOX,li,eE);var W$=class extends cu{constructor(e){super(e)}setMetrics_(e){if(this.isVisible()){var t=this.workspace_.getMetricsManager(),i=t.getScrollMetrics(),r=t.getViewMetrics();t=t.getAbsoluteMetrics(),typeof e.y=="number"&&(this.workspace_.scrollY=-(i.top+(i.height-r.height)*e.y)),this.workspace_.translate(this.workspace_.scrollX+t.left,this.workspace_.scrollY+t.top)}}getX(){if(!this.isVisible())return 0;var e=this.targetWorkspace.getMetricsManager();const t=e.getAbsoluteMetrics(),i=e.getViewMetrics();return e=e.getToolboxMetrics(),this.targetWorkspace.toolboxPosition===this.toolboxPosition_?this.targetWorkspace.getToolbox()?this.toolboxPosition_===at.LEFT?e.width:i.width-this.width_:this.toolboxPosition_===at.LEFT?0:i.width:this.toolboxPosition_===at.LEFT?0:i.width+t.left-this.width_}getY(){return 0}position(){if(this.isVisible()&&this.targetWorkspace.isVisible()){var e=this.targetWorkspace.getMetricsManager().getViewMetrics();this.height_=e.height,this.setBackgroundPath(this.width_-this.CORNER_RADIUS,e.height-2*this.CORNER_RADIUS),e=this.getX();var t=this.getY();this.positionAt_(this.width_,this.height_,e,t)}}setBackgroundPath(e,t){const i=this.toolboxPosition_===at.RIGHT;var r=e+this.CORNER_RADIUS;r=["M "+(i?r:0)+",0"],r.push("h",i?-e:e),r.push("a",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,i?0:1,i?-this.CORNER_RADIUS:this.CORNER_RADIUS,this.CORNER_RADIUS),r.push("v",Math.max(0,t)),r.push("a",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,i?0:1,i?this.CORNER_RADIUS:-this.CORNER_RADIUS,this.CORNER_RADIUS),r.push("h",i?e:-e),r.push("z"),this.svgBackground_.setAttribute("d",r.join(" "))}scrollToStart(){let e;(e=this.workspace_.scrollbar)==null||e.setY(0)}wheel_(e){var t=bl(e);if(t.y){const i=this.workspace_.getMetricsManager(),r=i.getScrollMetrics();t=i.getViewMetrics().top-r.top+t.y;let c;(c=this.workspace_.scrollbar)==null||c.setY(t),as(),fs()}e.preventDefault(),e.stopPropagation()}layout_(e,t){this.workspace_.scale=this.targetWorkspace.scale;var i=this.MARGIN;const r=this.RTL?i:i+this.tabWidth_;for(let H=0,Oe;Oe=e[H];H++)if(Oe.type==="block"){var c=Oe.block,$=c.getDescendants(!1);for(let Qt=0,Ft;Ft=$[Qt];Qt++)Ft.isInFlyout=!0;$=c.getSvgRoot();const Qe=c.getHeightWidth();var v=c.outputConnection?r-this.tabWidth_:r;c.moveBy(v,i),v=this.createRect_(c,this.RTL?v-Qe.width:v,i,Qe,H),this.addBlockListeners_($,c,v),i+=Qe.height+t[H]}else Oe.type==="button"&&(c=Oe.button,this.initFlyoutButton_(c,r,i),i+=c.height+t[H])}isDragTowardWorkspace(e){e=Math.atan2(e.y,e.x)/Math.PI*180;const t=this.dragAngleRange_;return e-t||e<-180+t||e>180-t}getClientRect(){if(!this.svgGroup_||this.autoClose||!this.isVisible())return null;const e=this.svgGroup_.getBoundingClientRect(),t=e.left;return this.toolboxPosition_===at.LEFT?new Bt(-1e9,1e9,-1e9,t+e.width):new Bt(-1e9,1e9,t,1e9)}reflowInternal_(){this.workspace_.scale=this.getFlyoutScale();let e=0;var t=this.workspace_.getTopBlocks(!1);for(let r=0,c;c=t[r];r++){var i=c.getHeightWidth().width;c.outputConnection&&(i-=this.tabWidth_),e=Math.max(e,i)}for(let r=0,c;c=this.buttons_[r];r++)e=Math.max(e,c.width);if(e+=1.5*this.MARGIN+this.tabWidth_,e*=this.workspace_.scale,e+=no.scrollbarThickness,this.width_!==e){for(let r=0,c;c=t[r];r++){if(this.RTL){i=c.getRelativeToSurfaceXY().x;let $=e/this.workspace_.scale-this.MARGIN;c.outputConnection||($-=this.tabWidth_),c.moveBy($-i,0)}this.rectMap_.has(c)&&this.moveRectToBlock_(this.rectMap_.get(c),c)}if(this.RTL)for(let r=0,c;c=this.buttons_[r];r++)t=c.getPosition().y,c.moveTo(e/this.workspace_.scale-c.width-this.MARGIN-this.tabWidth_,t);this.targetWorkspace.toolboxPosition!==this.toolboxPosition_||this.toolboxPosition_!==at.LEFT||this.targetWorkspace.getToolbox()||this.targetWorkspace.translate(this.targetWorkspace.scrollX+e,this.targetWorkspace.scrollY),this.width_=e,this.position(),this.targetWorkspace.recordDragTargets()}}};W$.registryName="verticalFlyout",l(Ae.FLYOUTS_VERTICAL_TOOLBOX,li,W$);var tE;s.CodeGenerator$$module$build$src$core$generator=class{constructor(e){this.forBlock=Object.create(null),this.FUNCTION_NAME_PLACEHOLDER_="{leCUI8hutHZI4480Dc}",this.STATEMENT_SUFFIX=this.STATEMENT_PREFIX=this.INFINITE_LOOP_TRAP=null,this.INDENT=" ",this.COMMENT_WRAP=60,this.ORDER_OVERRIDES=[],this.isInitialized=null,this.RESERVED_WORDS_="",this.definitions_=Object.create(null),this.functionNames_=Object.create(null),this.nameDB_=void 0,this.name_=e,this.FUNCTION_NAME_PLACEHOLDER_REGEXP_=new RegExp(this.FUNCTION_NAME_PLACEHOLDER_,"g")}workspaceToCode(e){e||(console.warn("No workspace specified in workspaceToCode call. Guessing."),e=ne());var t=[];this.init(e),e=e.getTopBlocks(!0);for(let i=0,r;r=e[i];i++){let c=this.blockToCode(r);Array.isArray(c)&&(c=c[0]),c&&(r.outputConnection&&(c=this.scrubNakedValue(c),this.STATEMENT_PREFIX&&!r.suppressPrefixSuffix&&(c=this.injectId(this.STATEMENT_PREFIX,r)+c),this.STATEMENT_SUFFIX&&!r.suppressPrefixSuffix&&(c+=this.injectId(this.STATEMENT_SUFFIX,r))),t.push(c))}return t=t.join(`
+`),t=this.finish(t),t=t.replace(/^\s+\n/,""),t=t.replace(/\n\s+$/,`
+`),t=t.replace(/[ \t]+\n/g,`
+`)}prefixLines(e,t){return t+e.replace(/(?!\n$)\n/g,`
+`+t)}allNestedComments(e){const t=[];e=e.getDescendants(!0);for(let i=0;i.blocklyPathLight,`,`${e} .blocklyInsertionMarker>.blocklyPathDark {`,`fill-opacity: ${this.INSERTION_MARKER_OPACITY};`,"stroke: none;","}"])}},iE=class{constructor(e){this.inlineSteps_=this.steps_="",this.info_=e,this.RTL_=this.info_.RTL,e=e.getRenderer(),this.constants_=e.getConstants(),this.highlightConstants_=e.getHighlightConstants(),this.highlightOffset=this.highlightConstants_.OFFSET,this.outsideCornerPaths_=this.highlightConstants_.OUTSIDE_CORNER,this.insideCornerPaths_=this.highlightConstants_.INSIDE_CORNER,this.puzzleTabPaths_=this.highlightConstants_.PUZZLE_TAB,this.notchPaths_=this.highlightConstants_.NOTCH,this.startPaths_=this.highlightConstants_.START_HAT,this.jaggedTeethPaths_=this.highlightConstants_.JAGGED_TEETH}getPath(){return this.steps_+`
+`+this.inlineSteps_}drawTopCorner(e){this.steps_+=Xt(e.xPos,this.info_.startY);for(let t=0,i;i=e.elements[t];t++)Q.isLeftSquareCorner(i)?this.steps_+=this.highlightConstants_.START_POINT:Q.isLeftRoundedCorner(i)?this.steps_+=this.outsideCornerPaths_.topLeft(this.RTL_):Q.isPreviousConnection(i)?this.steps_+=this.notchPaths_.pathLeft:Q.isHat(i)?this.steps_+=this.startPaths_.path(this.RTL_):Q.isSpacer(i)&&i.width!==0&&(this.steps_+=je("H",i.xPos+i.width-this.highlightOffset));this.steps_+=je("H",e.xPos+e.width-this.highlightOffset)}drawJaggedEdge_(e){this.info_.RTL&&(this.steps_+=this.jaggedTeethPaths_.pathLeft+je("v",e.height-this.jaggedTeethPaths_.height-this.highlightOffset))}drawValueInput(e){const t=e.getLastInput();if(this.RTL_){const i=e.height-t.connectionHeight;this.steps_+=To(t.xPos+t.width-this.highlightOffset,e.yPos)+this.puzzleTabPaths_.pathDown(this.RTL_)+je("v",i)}else this.steps_+=To(t.xPos+t.width,e.yPos)+this.puzzleTabPaths_.pathDown(this.RTL_)}drawStatementInput(e){const t=e.getLastInput();if(t)if(this.RTL_){const i=e.height-2*this.insideCornerPaths_.height;this.steps_+=To(t.xPos,e.yPos)+this.insideCornerPaths_.pathTop(this.RTL_)+je("v",i)+this.insideCornerPaths_.pathBottom(this.RTL_)+Bs(e.width-t.xPos-this.insideCornerPaths_.width,0)}else this.steps_+=To(t.xPos,e.yPos+e.height)+this.insideCornerPaths_.pathBottom(this.RTL_)+Bs(e.width-t.xPos-this.insideCornerPaths_.width,0)}drawRightSideRow(e){const t=e.xPos+e.width-this.highlightOffset;e instanceof M$&&e.followsStatement&&(this.steps_+=je("H",t)),this.RTL_&&(this.steps_+=je("H",t),e.height>this.highlightOffset&&(this.steps_+=je("V",e.yPos+e.height-this.highlightOffset)))}drawBottomRow(e){if(this.RTL_)this.steps_+=je("V",e.baseline-this.highlightOffset);else{const t=this.info_.bottomRow.elements[0];Q.isLeftSquareCorner(t)?this.steps_+=To(e.xPos+this.highlightOffset,e.baseline-this.highlightOffset):Q.isLeftRoundedCorner(t)&&(this.steps_+=To(e.xPos,e.baseline),this.steps_+=this.outsideCornerPaths_.bottomLeft())}}drawLeft(){var e=this.info_.outputConnection;e&&(e=e.connectionOffsetY+e.height,this.RTL_?this.steps_+=To(this.info_.startX,e):(this.steps_+=To(this.info_.startX+this.highlightOffset,this.info_.bottomRow.baseline-this.highlightOffset),this.steps_+=je("V",e)),this.steps_+=this.puzzleTabPaths_.pathUp(this.RTL_)),this.RTL_||(e=this.info_.topRow,Q.isLeftRoundedCorner(e.elements[0])?this.steps_+=je("V",this.outsideCornerPaths_.height):this.steps_+=je("V",e.capline+this.highlightOffset))}drawInlineInput(e){const t=this.highlightOffset,i=e.xPos+e.connectionWidth;var r=e.centerline-e.height/2;const c=e.width-e.connectionWidth,$=r+t;this.RTL_?(r=e.connectionOffsetY-t,e=e.height-(e.connectionOffsetY+e.connectionHeight)+t,this.inlineSteps_+=To(i-t,$)+je("v",r)+this.puzzleTabPaths_.pathDown(this.RTL_)+je("v",e)+je("h",c)):this.inlineSteps_+=To(e.xPos+e.width+t,$)+je("v",e.height)+je("h",-c)+To(i,r+e.connectionOffsetY)+this.puzzleTabPaths_.pathDown(this.RTL_)}},nE=class extends oc{constructor(e,t){super(e,t),this.highlighter_=new iE(t)}draw(){this.drawOutline_(),this.drawInternals_();const e=this.block_.pathObject;e.setPath(this.outlinePath_+`
+`+this.inlinePath_),e.setHighlightPath(this.highlighter_.getPath()),this.info_.RTL&&e.flipRTL(),this.recordSizeOnBlock_()}drawTop_(){this.highlighter_.drawTopCorner(this.info_.topRow),this.highlighter_.drawRightSideRow(this.info_.topRow),super.drawTop_()}drawJaggedEdge_(e){this.highlighter_.drawJaggedEdge_(e),super.drawJaggedEdge_(e)}drawValueInput_(e){this.highlighter_.drawValueInput(e),super.drawValueInput_(e)}drawStatementInput_(e){this.highlighter_.drawStatementInput(e),super.drawStatementInput_(e)}drawRightSideRow_(e){this.highlighter_.drawRightSideRow(e),this.outlinePath_+=je("H",e.xPos+e.width)+je("V",e.yPos+e.height)}drawBottom_(){this.highlighter_.drawBottomRow(this.info_.bottomRow),super.drawBottom_()}drawLeft_(){this.highlighter_.drawLeft(),super.drawLeft_()}drawInlineInput_(e){this.highlighter_.drawInlineInput(e),super.drawInlineInput_(e)}positionInlineInputConnection_(e){const t=e.centerline-e.height/2;if(e.connectionModel){let i=e.xPos+e.connectionWidth+this.constants_.DARK_PATH_OFFSET;this.info_.RTL&&(i*=-1),e.connectionModel.setOffsetInBlock(i,t+e.connectionOffsetY+this.constants_.DARK_PATH_OFFSET)}}positionStatementInputConnection_(e){const t=e.getLastInput();if(t!=null&&t.connectionModel){let i=e.xPos+e.statementEdge+t.notchOffset;i=this.info_.RTL?-1*i:i+this.constants_.DARK_PATH_OFFSET,t.connectionModel.setOffsetInBlock(i,e.yPos+this.constants_.DARK_PATH_OFFSET)}}positionExternalValueConnection_(e){const t=e.getLastInput();if(t&&t.connectionModel){let i=e.xPos+e.width+this.constants_.DARK_PATH_OFFSET;this.info_.RTL&&(i*=-1),t.connectionModel.setOffsetInBlock(i,e.yPos)}}positionNextConnection_(){const e=this.info_.bottomRow;if(e.connection){const t=e.connection,i=t.xPos;t.connectionModel.setOffsetInBlock((this.info_.RTL?-i:i)+this.constants_.DARK_PATH_OFFSET/2,e.baseline+this.constants_.DARK_PATH_OFFSET)}}},rE=class{constructor(e){this.OFFSET=.5,this.constantProvider=e,this.START_POINT=Xt(this.OFFSET,this.OFFSET)}init(){this.INSIDE_CORNER=this.makeInsideCorner(),this.OUTSIDE_CORNER=this.makeOutsideCorner(),this.PUZZLE_TAB=this.makePuzzleTab(),this.NOTCH=this.makeNotch(),this.JAGGED_TEETH=this.makeJaggedTeeth(),this.START_HAT=this.makeStartHat()}makeInsideCorner(){const e=this.constantProvider.CORNER_RADIUS,t=this.OFFSET,i=(1-Math.SQRT1_2)*(e+t)-t,r=Xt(i,i)+oo("a","0 0,0",e,tt(-i-t,e-i)),c=oo("a","0 0,0",e+t,tt(e+t,e+t)),$=Xt(i,-i)+oo("a","0 0,0",e+t,tt(e-i,i+t));return{width:e+t,height:e,pathTop(v){return v?r:""},pathBottom(v){return v?c:$}}}makeOutsideCorner(){const e=this.constantProvider.CORNER_RADIUS,t=this.OFFSET,i=(1-Math.SQRT1_2)*(e-t)+t,r=Xt(i,i)+oo("a","0 0,1",e-t,tt(e-i,-i+t)),c=Xt(t,e)+oo("a","0 0,1",e-t,tt(e,-e+t)),$=-i,v=Xt(i,$)+oo("a","0 0,1",e-t,tt(-i+t,-$-e));return{height:e,topLeft(H){return H?r:c},bottomLeft(){return v}}}makePuzzleTab(){const e=this.constantProvider.TAB_WIDTH,t=this.constantProvider.TAB_HEIGHT,i=Xt(-2,-t+3.4)+Bs(-.45*e,-2.1),r=je("v",2.5)+Xt(.97*-e,2.5)+xo("q",[tt(.05*-e,10),tt(.3*e,9.5)])+Xt(.67*e,-1.9)+je("v",2.5),c=je("v",-1.5)+Xt(-.92*e,-.5)+xo("q",[tt(-.19*e,-5.5),tt(0,-11)])+Xt(.92*e,1),$=Xt(-5,t-.7)+Bs(.46*e,-2.1);return{width:e,height:t,pathUp(v){return v?i:c},pathDown(v){return v?r:$}}}makeNotch(){return{pathLeft:je("h",this.OFFSET)+this.constantProvider.NOTCH.pathLeft}}makeJaggedTeeth(){return{pathLeft:Bs(5.1,2.6)+Xt(-10.2,6.8)+Bs(5.1,2.6),height:12,width:10.2}}makeStartHat(){const e=this.constantProvider.START_HAT.height,t=Xt(25,-8.7)+xo("c",[tt(29.7,-6.2),tt(57.2,-.5),tt(75,8.7)]),i=xo("c",[tt(17.8,-9.2),tt(45.3,-14.9),tt(75,-8.7)])+To(100.5,e+.5);return{path(r){return r?t:i}}}},lE=class extends N${constructor(e,t){super(e,t),this.constants_=e,this.connectedBlock&&(this.width+=this.constants_.DARK_PATH_OFFSET,this.height+=this.constants_.DARK_PATH_OFFSET)}},cE=class extends nc{constructor(e,t){super(e,t),this.constants_=e,this.connectedBlock&&(this.height+=this.constants_.DARK_PATH_OFFSET)}},aE=class extends zr{constructor(e,t){super(e,t),this.renderer_=e}getRenderer(){return this.renderer_}populateBottomRow_(){super.populateBottomRow_(),this.block_.inputList.length&&this.block_.inputList[this.block_.inputList.length-1]instanceof Zo||(this.bottomRow.minHeight=this.constants_.MEDIUM_PADDING-this.constants_.DARK_PATH_OFFSET)}addInput_(e,t){this.isInline&&e instanceof s.ValueInput$$module$build$src$core$inputs$value_input?(t.elements.push(new lE(this.constants_,e)),t.hasInlineInput=!0):e instanceof Zo?(t.elements.push(new cE(this.constants_,e)),t.hasStatement=!0):e instanceof s.ValueInput$$module$build$src$core$inputs$value_input?(t.elements.push(new ou(this.constants_,e)),t.hasExternalInput=!0):e instanceof zs&&(t.minHeight=Math.max(t.minHeight,this.constants_.DUMMY_INPUT_MIN_HEIGHT),t.hasDummyInput=!0),this.isInline||t.align!==null||(t.align=e.align)}addElemSpacing_(){let e=!1;for(let i=0,r;r=this.rows[i];i++)r.hasExternalInput&&(e=!0);for(let i=0,r;r=this.rows[i];i++){var t=r.elements;if(r.elements=[],r.startsWithElemSpacer()&&r.elements.push(new os(this.constants_,this.getInRowSpacing_(null,t[0]))),t.length){for(let c=0;clp(t)),e.length?e:null}load(e,t){const i=t.getProcedureMap();for(const r of e)i.add(ap(this.procedureModelClass,this.parameterModelClass,r,t))}clear(e){e.getProcedureMap().clear()}},Yr={};Yr.ProcedureSerializer=BS,Yr.loadParameter=up,Yr.loadProcedure=ap,Yr.saveParameter=cp,Yr.saveProcedure=lp;var mE=class{constructor(){this.priority=Zm}save(e){const t=[];for(const i of e.getAllVariables())e={name:i.name,id:i.getId()},i.type&&(e.type=i.type),t.push(e);return t.length?t:null}load(e,t){for(const i of e)t.createVariable(i.name,i.type,i.id)}clear(e){e.getVariableMap().clear()}};Xc("variables",new mE);var TE={};TE.VariableSerializer=mE;var X$={};X$.load=Em,X$.save=Tm;var FS={blocks:Vl,exceptions:Cn,priorities:Ha,procedures:Yr,registry:Pp,variables:TE,workspaces:X$},Ks;(function(e){e.ESCAPE="escape",e.DELETE="delete",e.COPY="copy",e.CUT="cut",e.PASTE="paste",e.UNDO="undo",e.REDO="redo"})(Ks||(Ks={})),mp();var Qs={};Qs.names=Ks,Qs.registerCopy=pp,Qs.registerCut=$p,Qs.registerDefaultShortcuts=mp,Qs.registerDelete=hp,Qs.registerEscape=dp,Qs.registerPaste=_p,Qs.registerRedo=fp,Qs.registerUndo=gp;var US={colour_blocks:{colourPrimary:"#CF63CF",colourSecondary:"#C94FC9",colourTertiary:"#BD42BD"},list_blocks:{colourPrimary:"#9966FF",colourSecondary:"#855CD6",colourTertiary:"#774DCB"},logic_blocks:{colourPrimary:"#4C97FF",colourSecondary:"#4280D7",colourTertiary:"#3373CC"},loop_blocks:{colourPrimary:"#0fBD8C",colourSecondary:"#0DA57A",colourTertiary:"#0B8E69"},math_blocks:{colourPrimary:"#59C059",colourSecondary:"#46B946",colourTertiary:"#389438"},procedure_blocks:{colourPrimary:"#FF6680",colourSecondary:"#FF4D6A",colourTertiary:"#FF3355"},text_blocks:{colourPrimary:"#FFBF00",colourSecondary:"#E6AC00",colourTertiary:"#CC9900"},variable_blocks:{colourPrimary:"#FF8C1A",colourSecondary:"#FF8000",colourTertiary:"#DB6E00"},variable_dynamic_blocks:{colourPrimary:"#FF8C1A",colourSecondary:"#FF8000",colourTertiary:"#DB6E00"},hat_blocks:{colourPrimary:"#4C97FF",colourSecondary:"#4280D7",colourTertiary:"#3373CC",hat:"cap"}},HS={colour_category:{colour:"#CF63CF"},list_category:{colour:"#9966FF"},logic_category:{colour:"#4C97FF"},loop_category:{colour:"#0fBD8C"},math_category:{colour:"#59C059"},procedure_category:{colour:"#FF6680"},text_category:{colour:"#FFBF00"},variable_category:{colour:"#FF8C1A"},variable_dynamic_category:{colour:"#FF8C1A"}},VS=new Nn("zelos",US,HS),j$={};j$.Classic=Ka,j$.Zelos=VS;var Y$=class{constructor(e,t,i){this.id_=e.toolboxitemid||$e(),this.level_=(this.parent_=i||null)?this.parent_.getLevel()+1:0,this.toolboxItemDef_=e,this.parentToolbox_=t,this.workspace_=this.parentToolbox_.getWorkspace()}init(){}getDiv(){return null}getClickTarget(){return null}getId(){return this.id_}getParent(){return null}getLevel(){return this.level_}isSelectable(){return!1}isCollapsible(){return!1}dispose(){}setVisible_(e){}},ys=class extends Y${constructor(e,t,i){super(e,t,i),this.colour_=this.name_="",this.labelDom_=this.iconDom_=this.rowContents_=this.rowDiv_=this.htmlDiv_=null,this.isDisabled_=this.isHidden_=!1,this.flyoutItems_=[],this.cssConfig_=this.makeDefaultCssConfig_()}init(){this.parseCategoryDef_(this.toolboxItemDef_),this.parseContents_(this.toolboxItemDef_),this.createDom_(),this.toolboxItemDef_.hidden==="true"&&this.hide()}makeDefaultCssConfig_(){return{container:"blocklyToolboxCategory",row:"blocklyTreeRow",rowcontentcontainer:"blocklyTreeRowContentContainer",icon:"blocklyTreeIcon",label:"blocklyTreeLabel",contents:"blocklyToolboxContents",selected:"blocklyTreeSelected",openicon:"blocklyTreeIconOpen",closedicon:"blocklyTreeIconClosed"}}parseContents_(e){if("custom"in e)this.flyoutItems_=e.custom;else if(e=e.contents)for(let t=0;t>>/sprites.png);
+ height: 16px;
+ vertical-align: middle;
+ visibility: hidden;
+ width: 16px;
+}
+
+.blocklyTreeIconClosed {
+ background-position: -32px -1px;
+}
+
+.blocklyToolboxDiv[dir="RTL"] .blocklyTreeIconClosed {
+ background-position: 0 -1px;
+}
+
+.blocklyTreeSelected>.blocklyTreeIconClosed {
+ background-position: -32px -17px;
+}
+
+.blocklyToolboxDiv[dir="RTL"] .blocklyTreeSelected>.blocklyTreeIconClosed {
+ background-position: 0 -17px;
+}
+
+.blocklyTreeIconOpen {
+ background-position: -16px -1px;
+}
+
+.blocklyTreeSelected>.blocklyTreeIconOpen {
+ background-position: -16px -17px;
+}
+
+.blocklyTreeLabel {
+ cursor: default;
+ font: 16px sans-serif;
+ padding: 0 3px;
+ vertical-align: middle;
+}
+
+.blocklyToolboxDelete .blocklyTreeLabel {
+ cursor: url("<<>>/handdelete.cur"), auto;
+}
+
+.blocklyTreeSelected .blocklyTreeLabel {
+ color: #fff;
+}
+`),l(Ae.TOOLBOX_ITEM,ys.registrationName,ys);var hc=class extends Y${constructor(e,t){super(e,t),this.cssConfig_={container:"blocklyTreeSeparator"},this.htmlDiv_=null,Object.assign(this.cssConfig_,e.cssconfig||e.cssConfig)}init(){this.createDom_()}createDom_(){const e=document.createElement("div"),t=this.cssConfig_.container;return t&&I(e,t),this.htmlDiv_=e}getDiv(){return this.htmlDiv_}dispose(){U(this.htmlDiv_)}};hc.registrationName="sep",cs(`
+.blocklyTreeSeparator {
+ border-bottom: solid #e5e5e5 1px;
+ height: 0;
+ margin: 5px 0;
+}
+
+.blocklyToolboxDiv[layout="h"] .blocklyTreeSeparator {
+ border-right: solid #e5e5e5 1px;
+ border-bottom: none;
+ height: auto;
+ margin: 0 5px 0 5px;
+ padding: 5px 0;
+ width: 0;
+}
+`),l(Ae.TOOLBOX_ITEM,hc.registrationName,hc);var Kr=class extends ys{constructor(e,t,i){super(e,t,i),this.subcategoriesDiv_=null,this.expanded_=!1,this.toolboxItems_=[]}makeDefaultCssConfig_(){const e=super.makeDefaultCssConfig_();return e.contents="blocklyToolboxContents",e}parseContents_(e){if("custom"in e)this.flyoutItems_=e.custom;else{const t=e.contents;if(t){this.flyoutItems_=[],e=!0;for(let i=0;i>>/handdelete.cur"), auto;
+}
+
+.blocklyToolboxGrab {
+ cursor: url("<<>>/handclosed.cur"), auto;
+ cursor: grabbing;
+ cursor: -webkit-grabbing;
+}
+
+/* Category tree in Toolbox. */
+.blocklyToolboxDiv {
+ background-color: #ddd;
+ overflow-x: visible;
+ overflow-y: auto;
+ padding: 4px 0 4px 0;
+ position: absolute;
+ z-index: 70; /* so blocks go under toolbox when dragging */
+ -webkit-tap-highlight-color: transparent; /* issue #1345 */
+}
+
+.blocklyToolboxContents {
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: column;
+}
+
+.blocklyToolboxContents:focus {
+ outline: none;
+}
+`),l(Ae.TOOLBOX,li,EE);var bE=class extends nu{constructor(e){super(),this.workspace=e,this.id="trashcan",this.contents=[],this.flyout=null,this.isLidOpen=!1,this.minOpenness=0,this.lidTask=this.svgLid=this.svgGroup=null,this.top=this.left=this.lidOpen=0,this.initialized=!1,0>=this.workspace.options.maxTrashcanContents||(e=new hs({scrollbars:!0,parentWorkspace:this.workspace,rtl:this.workspace.RTL,oneBasedIndex:this.workspace.options.oneBasedIndex,renderer:this.workspace.options.renderer,rendererOverrides:this.workspace.options.rendererOverrides,move:{scrollbars:!0}}),this.workspace.horizontalLayout?(e.toolboxPosition=this.workspace.toolboxPosition===at.TOP?at.BOTTOM:at.TOP,this.flyout=new(y(Ae.FLYOUTS_HORIZONTAL_TOOLBOX,this.workspace.options,!0))(e)):(e.toolboxPosition=this.workspace.toolboxPosition===at.RIGHT?at.LEFT:at.RIGHT,this.flyout=new(y(Ae.FLYOUTS_VERTICAL_TOOLBOX,this.workspace.options,!0))(e)),this.workspace.addChangeListener(this.onDelete.bind(this)))}createDom(){this.svgGroup=w(te.G,{class:"blocklyTrash"});let e;const t=String(Math.random()).substring(2);e=w(te.CLIPPATH,{id:"blocklyTrashBodyClipPath"+t},this.svgGroup),w(te.RECT,{width:Qr,height:au,y:qr},e);const i=w(te.IMAGE,{width:wo.width,x:-K$,height:wo.height,y:-Q$,"clip-path":"url(#blocklyTrashBodyClipPath"+t+")"},this.svgGroup);return i.setAttributeNS(us,"xlink:href",this.workspace.options.pathToMedia+wo.url),e=w(te.CLIPPATH,{id:"blocklyTrashLidClipPath"+t},this.svgGroup),w(te.RECT,{width:Qr,height:qr},e),this.svgLid=w(te.IMAGE,{width:wo.width,x:-K$,height:wo.height,y:-Q$,"clip-path":"url(#blocklyTrashLidClipPath"+t+")"},this.svgGroup),this.svgLid.setAttributeNS(us,"xlink:href",this.workspace.options.pathToMedia+wo.url),wt(this.svgGroup,"pointerdown",this,this.blockMouseDownWhenOpenable),wt(this.svgGroup,"pointerup",this,this.click),wt(i,"pointerover",this,this.mouseOver),wt(i,"pointerout",this,this.mouseOut),this.animateLid(),this.svgGroup}init(){0{let i;(i=this.flyout)==null||i.show(e),t.cursor="";let r;(r=this.workspace.scrollbar)==null||r.setVisible(!1)},10),this.fireUiEvent(!0)}}closeFlyout(){if(this.contentsIsOpen()){var e;(e=this.flyout)==null||e.hide();var t;(t=this.workspace.scrollbar)==null||t.setVisible(!0),this.fireUiEvent(!1),this.workspace.recordDragTargets()}}autoHide(e){!e&&this.flyout&&this.closeFlyout()}emptyContents(){this.hasContents()&&(this.contents.length=0,this.setMinOpenness(0),this.closeFlyout())}position(e,t){if(this.initialized){var i=Ta(this.workspace,e);e=ma(i,new Ht(Qr,au+qr),GS,vE,e,this.workspace),t=Ea(e,vE,i.vertical===vi.TOP?Qi.DOWN:Qi.UP,t),this.top=t.top,this.left=t.left;var r;(r=this.svgGroup)==null||r.setAttribute("transform","translate("+this.left+","+this.top+")")}}getBoundingRectangle(){return new Bt(this.top,this.top+au+qr,this.left,this.left+Qr)}getClientRect(){if(!this.svgGroup)return null;var e=this.svgGroup.getBoundingClientRect();const t=e.top+Q$-uu;return e=e.left+K$-uu,new Bt(t,t+qr+au+2*uu,e,e+Qr+2*uu)}onDragOver(e){this.setLidOpen(this.wouldDelete_)}onDragExit(e){this.setLidOpen(!1)}onDrop(e){setTimeout(this.setLidOpen.bind(this,!1),100)}setLidOpen(e){this.isLidOpen!==e&&(this.lidTask&&clearTimeout(this.lidTask),this.isLidOpen=e,this.animateLid())}animateLid(){const e=XS;var t=1/(e+1);this.lidOpen+=this.isLidOpen?t:-t,this.lidOpen=Math.min(Math.max(this.lidOpen,this.minOpenness),1),this.setLidAngle(this.lidOpen*OE),t=IE+this.lidOpen*(jS-IE),this.svgGroup&&(this.svgGroup.style.opacity=`${t}`),this.lidOpen>this.minOpenness&&1>this.lidOpen&&(this.lidTask=setTimeout(this.animateLid.bind(this),zS/e))}setLidAngle(e){const t=this.workspace.toolboxPosition===at.RIGHT||this.workspace.horizontalLayout&&this.workspace.RTL;let i;(i=this.svgLid)==null||i.setAttribute("transform","rotate("+(t?-e:e)+","+(t?4:Qr-4)+","+(qr-2)+")")}setMinOpenness(e){this.minOpenness=e,this.isLidOpen||this.setLidAngle(e*OE)}closeLid(){this.setLidOpen(!1)}click(){this.hasContents()&&this.openFlyout()}fireUiEvent(e){e=new(we(Ir))(e,this.workspace.id),re(e)}blockMouseDownWhenOpenable(e){!this.contentsIsOpen()&&this.hasContents()&&e.stopPropagation()}mouseOver(){this.hasContents()&&this.setLidOpen(!0)}mouseOut(){this.setLidOpen(!1)}onDelete(e){if(!(0>=this.workspace.options.maxTrashcanContents||e.type!==s.DELETE$$module$build$src$core$events$utils||e.type!==s.DELETE$$module$build$src$core$events$utils||e.wasShadow)){if(!e.oldJson)throw Error("Encountered a delete event without proper oldJson");if(e=JSON.stringify(this.cleanBlockJson(e.oldJson)),this.contents.indexOf(e)===-1){for(this.contents.unshift(e);this.contents.length>this.workspace.options.maxTrashcanContents;)this.contents.pop();this.setMinOpenness(WS)}}}cleanBlockJson(e){function t(i){if(i){if(delete i.id,delete i.x,delete i.y,delete i.enabled,i.icons&&i.icons.comment){var r=i.icons.comment;delete r.height,delete r.width,delete r.pinned}r=i.inputs;for(var c in r){var $=r[c];const v=$.block;$=$.shadow,v&&t(v),$&&t($)}i.next&&(c=i.next,i=c.block,c=c.shadow,i&&t(i),c&&t(c))}}return e=JSON.parse(JSON.stringify(e)),t(e),Object.assign({},{kind:"BLOCK"},e)}},Qr=47,au=44,qr=16,vE=20,GS=20,uu=10,K$=0,Q$=32,WS=.1,zS=80,XS=4,IE=.4,jS=.8,OE=45,YS="10.1.3",KS=s.Align$$module$build$src$core$inputs$align.LEFT,QS=s.Align$$module$build$src$core$inputs$align.CENTRE,qS=s.Align$$module$build$src$core$inputs$align.RIGHT,JS=qe.INPUT_VALUE,ZS=qe.OUTPUT_VALUE,e9=qe.NEXT_STATEMENT,t9=qe.PREVIOUS_STATEMENT,o9=s.inputTypes$$module$build$src$core$inputs$input_types.DUMMY,s9=at.TOP,i9=at.BOTTOM,n9=at.LEFT,r9=at.RIGHT;uc.prototype.newBlock=function(e,t){return new Hr(this,e,t)},Cs.prototype.newBlock=function(e,t){return new ts(this,e,t)},Cs.newTrashcan=function(e){return new bE(e)},yo.prototype.showContextMenu=function(e){if(!this.workspace.options.readOnly){var t=[];this.isDeletable()&&this.isMovable()&&(t.push(wh(this)),t.push(Nh(this))),Nl(e,t,this.RTL)}},gi.prototype.newWorkspaceSvg=function(e){return new Cs(e)},s.Names$$module$build$src$core$names.prototype.populateProcedures=function(e){e=_a(e),e=e[0].concat(e[1]);for(let t=0;tl.Msg$$module$build$src$core$msg.LISTS_INDEX_OF_TOOLTIP.replace("%1",this.workspace.options.oneBasedIndex?"0":"-1"))}};d.lists_indexOf=T;var y={init:function(){var g=[[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_GET,"GET"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_GET_REMOVE,"GET_REMOVE"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_REMOVE,"REMOVE"]];this.WHERE_OPTIONS=[[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FROM_START,"FROM_START"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FROM_END,"FROM_END"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FIRST,"FIRST"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_LAST,"LAST"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_RANDOM,"RANDOM"]],this.setHelpUrl(l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_HELPURL),this.setStyle("list_blocks"),g=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:g}),g.setValidator(function(R){R=R==="REMOVE",this.getSourceBlock().updateStatement_(R)}),this.appendValueInput("VALUE").setCheck("Array").appendField(l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_INPUT_IN_LIST),this.appendDummyInput().appendField(g,"MODE").appendField("","SPACE"),this.appendDummyInput("AT"),l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TAIL&&this.appendDummyInput("TAIL").appendField(l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TAIL),this.setInputsInline(!0),this.setOutput(!0),this.updateAt_(!0),this.setTooltip(()=>{const R=this.getFieldValue("MODE"),G=this.getFieldValue("WHERE");let q="";switch(R+" "+G){case"GET FROM_START":case"GET FROM_END":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM;break;case"GET FIRST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST;break;case"GET LAST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST;break;case"GET RANDOM":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM;break;case"GET_REMOVE FROM_START":case"GET_REMOVE FROM_END":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM;break;case"GET_REMOVE FIRST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST;break;case"GET_REMOVE LAST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST;break;case"GET_REMOVE RANDOM":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM;break;case"REMOVE FROM_START":case"REMOVE FROM_END":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM;break;case"REMOVE FIRST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST;break;case"REMOVE LAST":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST;break;case"REMOVE RANDOM":q=l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM}return(G==="FROM_START"||G==="FROM_END")&&(q+=" "+(G==="FROM_START"?l.Msg$$module$build$src$core$msg.LISTS_INDEX_FROM_START_TOOLTIP:l.Msg$$module$build$src$core$msg.LISTS_INDEX_FROM_END_TOOLTIP).replace("%1",this.workspace.options.oneBasedIndex?"#1":"#0")),q})},mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");g.setAttribute("statement",String(!this.outputConnection));const R=this.getInput("AT")instanceof l.ValueInput$$module$build$src$core$inputs$value_input;return g.setAttribute("at",String(R)),g},domToMutation:function(g){const R=g.getAttribute("statement")==="true";this.updateStatement_(R),g=g.getAttribute("at")!=="false",this.updateAt_(g)},saveExtraState:function(){return this.outputConnection?null:{isStatement:!0}},loadExtraState:function(g){g.isStatement?this.updateStatement_(!0):typeof g=="string"&&this.domToMutation(l.textToDom$$module$build$src$core$utils$xml(g))},updateStatement_:function(g){g!==!this.outputConnection&&(this.unplug(!0,!0),g?(this.setOutput(!1),this.setPreviousStatement(!0),this.setNextStatement(!0)):(this.setPreviousStatement(!1),this.setNextStatement(!1),this.setOutput(!0)))},updateAt_:function(g){this.removeInput("AT"),this.removeInput("ORDINAL",!0),g?(this.appendValueInput("AT").setCheck("Number"),l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput("ORDINAL").appendField(l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX)):this.appendDummyInput("AT");const R=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:this.WHERE_OPTIONS});R.setValidator(function(G){const q=G==="FROM_START"||G==="FROM_END";if(q!==g){const Ee=this.getSourceBlock();return Ee.updateAt_(q),Ee.setFieldValue(G,"WHERE"),null}}),this.getInput("AT").appendField(R,"WHERE"),l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_TAIL&&this.moveInputBefore("TAIL",null)}};d.lists_getIndex=y;var k={init:function(){var g=[[l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_SET,"SET"],[l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_INSERT,"INSERT"]];this.WHERE_OPTIONS=[[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FROM_START,"FROM_START"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FROM_END,"FROM_END"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_FIRST,"FIRST"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_LAST,"LAST"],[l.Msg$$module$build$src$core$msg.LISTS_GET_INDEX_RANDOM,"RANDOM"]],this.setHelpUrl(l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_HELPURL),this.setStyle("list_blocks"),this.appendValueInput("LIST").setCheck("Array").appendField(l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_INPUT_IN_LIST),g=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:g}),this.appendDummyInput().appendField(g,"MODE").appendField("","SPACE"),this.appendDummyInput("AT"),this.appendValueInput("TO").appendField(l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_INPUT_TO),this.setInputsInline(!0),this.setPreviousStatement(!0),this.setNextStatement(!0),this.setTooltip(l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP),this.updateAt_(!0),this.setTooltip(()=>{const R=this.getFieldValue("MODE"),G=this.getFieldValue("WHERE");let q="";switch(R+" "+G){case"SET FROM_START":case"SET FROM_END":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM;break;case"SET FIRST":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST;break;case"SET LAST":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST;break;case"SET RANDOM":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM;break;case"INSERT FROM_START":case"INSERT FROM_END":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM;break;case"INSERT FIRST":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST;break;case"INSERT LAST":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST;break;case"INSERT RANDOM":q=l.Msg$$module$build$src$core$msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM}return(G==="FROM_START"||G==="FROM_END")&&(q+=" "+l.Msg$$module$build$src$core$msg.LISTS_INDEX_FROM_START_TOOLTIP.replace("%1",this.workspace.options.oneBasedIndex?"#1":"#0")),q})},mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation"),R=this.getInput("AT")instanceof l.ValueInput$$module$build$src$core$inputs$value_input;return g.setAttribute("at",String(R)),g},domToMutation:function(g){g=g.getAttribute("at")!=="false",this.updateAt_(g)},saveExtraState:function(){return null},loadExtraState:function(){},updateAt_:function(g){this.removeInput("AT"),this.removeInput("ORDINAL",!0),g?(this.appendValueInput("AT").setCheck("Number"),l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput("ORDINAL").appendField(l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX)):this.appendDummyInput("AT");const R=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:this.WHERE_OPTIONS});R.setValidator(function(G){const q=G==="FROM_START"||G==="FROM_END";if(q!==g){const Ee=this.getSourceBlock();return Ee.updateAt_(q),Ee.setFieldValue(G,"WHERE"),null}}),this.moveInputBefore("AT","TO"),this.getInput("ORDINAL")&&this.moveInputBefore("ORDINAL","TO"),this.getInput("AT").appendField(R,"WHERE")}};d.lists_setIndex=k;var P={init:function(){this.WHERE_OPTIONS_1=[[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_START_FROM_START,"FROM_START"],[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_START_FROM_END,"FROM_END"],[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_START_FIRST,"FIRST"]],this.WHERE_OPTIONS_2=[[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_END_FROM_START,"FROM_START"],[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_END_FROM_END,"FROM_END"],[l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_END_LAST,"LAST"]],this.setHelpUrl(l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_HELPURL),this.setStyle("list_blocks"),this.appendValueInput("LIST").setCheck("Array").appendField(l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_INPUT_IN_LIST),this.appendDummyInput("AT1"),this.appendDummyInput("AT2"),l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_TAIL&&this.appendDummyInput("TAIL").appendField(l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_TAIL),this.setInputsInline(!0),this.setOutput(!0,"Array"),this.updateAt_(1,!0),this.updateAt_(2,!0),this.setTooltip(l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_TOOLTIP)},mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");var R=this.getInput("AT1")instanceof l.ValueInput$$module$build$src$core$inputs$value_input;return g.setAttribute("at1",String(R)),R=this.getInput("AT2")instanceof l.ValueInput$$module$build$src$core$inputs$value_input,g.setAttribute("at2",String(R)),g},domToMutation:function(g){const R=g.getAttribute("at1")==="true";g=g.getAttribute("at2")==="true",this.updateAt_(1,R),this.updateAt_(2,g)},saveExtraState:function(){return null},loadExtraState:function(){},updateAt_:function(g,R){this.removeInput("AT"+g),this.removeInput("ORDINAL"+g,!0),R?(this.appendValueInput("AT"+g).setCheck("Number"),l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput("ORDINAL"+g).appendField(l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX)):this.appendDummyInput("AT"+g);const G=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:this["WHERE_OPTIONS_"+g]});G.setValidator(function(q){const Ee=q==="FROM_START"||q==="FROM_END";if(Ee!==R){const ze=this.getSourceBlock();return ze.updateAt_(g,Ee),ze.setFieldValue(q,"WHERE"+g),null}}),this.getInput("AT"+g).appendField(G,"WHERE"+g),g===1&&(this.moveInputBefore("AT1","AT2"),this.getInput("ORDINAL1")&&this.moveInputBefore("ORDINAL1","AT2")),l.Msg$$module$build$src$core$msg.LISTS_GET_SUBLIST_TAIL&&this.moveInputBefore("TAIL",null)}};d.lists_getSublist=P,d.lists_sort={init:function(){this.jsonInit({message0:"%{BKY_LISTS_SORT_TITLE}",args0:[{type:"field_dropdown",name:"TYPE",options:[["%{BKY_LISTS_SORT_TYPE_NUMERIC}","NUMERIC"],["%{BKY_LISTS_SORT_TYPE_TEXT}","TEXT"],["%{BKY_LISTS_SORT_TYPE_IGNORECASE}","IGNORE_CASE"]]},{type:"field_dropdown",name:"DIRECTION",options:[["%{BKY_LISTS_SORT_ORDER_ASCENDING}","1"],["%{BKY_LISTS_SORT_ORDER_DESCENDING}","-1"]]},{type:"input_value",name:"LIST",check:"Array"}],output:"Array",style:"list_blocks",tooltip:"%{BKY_LISTS_SORT_TOOLTIP}",helpUrl:"%{BKY_LISTS_SORT_HELPURL}"})}},d.lists_split={init:function(){const g=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:[[l.Msg$$module$build$src$core$msg.LISTS_SPLIT_LIST_FROM_TEXT,"SPLIT"],[l.Msg$$module$build$src$core$msg.LISTS_SPLIT_TEXT_FROM_LIST,"JOIN"]]});if(!g)throw Error("field_dropdown not found");g.setValidator(R=>{this.updateType_(R)}),this.setHelpUrl(l.Msg$$module$build$src$core$msg.LISTS_SPLIT_HELPURL),this.setStyle("list_blocks"),this.appendValueInput("INPUT").setCheck("String").appendField(g,"MODE"),this.appendValueInput("DELIM").setCheck("String").appendField(l.Msg$$module$build$src$core$msg.LISTS_SPLIT_WITH_DELIMITER),this.setInputsInline(!0),this.setOutput(!0,"Array"),this.setTooltip(()=>{const R=this.getFieldValue("MODE");if(R==="SPLIT")return l.Msg$$module$build$src$core$msg.LISTS_SPLIT_TOOLTIP_SPLIT;if(R==="JOIN")return l.Msg$$module$build$src$core$msg.LISTS_SPLIT_TOOLTIP_JOIN;throw Error("Unknown mode: "+R)})},updateType_:function(g){if(this.getFieldValue("MODE")!==g){const R=this.getInput("INPUT").connection;R.setShadowDom(null);const G=R.targetBlock();G&&(R.disconnect(),G.isShadow()?G.dispose(!1):this.bumpNeighbours())}g==="SPLIT"?(this.outputConnection.setCheck("Array"),this.getInput("INPUT").setCheck("String")):(this.outputConnection.setCheck("String"),this.getInput("INPUT").setCheck("Array"))},mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");return g.setAttribute("mode",this.getFieldValue("MODE")),g},domToMutation:function(g){this.updateType_(g.getAttribute("mode"))},saveExtraState:function(){return null},loadExtraState:function(){}},l.defineBlocks$$module$build$src$core$common(d);var x={};x.blocks=d;var z=l.createBlockDefinitionsFromJsonArray$$module$build$src$core$common([{type:"logic_boolean",message0:"%1",args0:[{type:"field_dropdown",name:"BOOL",options:[["%{BKY_LOGIC_BOOLEAN_TRUE}","TRUE"],["%{BKY_LOGIC_BOOLEAN_FALSE}","FALSE"]]}],output:"Boolean",style:"logic_blocks",tooltip:"%{BKY_LOGIC_BOOLEAN_TOOLTIP}",helpUrl:"%{BKY_LOGIC_BOOLEAN_HELPURL}"},{type:"controls_if",message0:"%{BKY_CONTROLS_IF_MSG_IF} %1",args0:[{type:"input_value",name:"IF0",check:"Boolean"}],message1:"%{BKY_CONTROLS_IF_MSG_THEN} %1",args1:[{type:"input_statement",name:"DO0"}],previousStatement:null,nextStatement:null,style:"logic_blocks",helpUrl:"%{BKY_CONTROLS_IF_HELPURL}",suppressPrefixSuffix:!0,mutator:"controls_if_mutator",extensions:["controls_if_tooltip"]},{type:"controls_ifelse",message0:"%{BKY_CONTROLS_IF_MSG_IF} %1",args0:[{type:"input_value",name:"IF0",check:"Boolean"}],message1:"%{BKY_CONTROLS_IF_MSG_THEN} %1",args1:[{type:"input_statement",name:"DO0"}],message2:"%{BKY_CONTROLS_IF_MSG_ELSE} %1",args2:[{type:"input_statement",name:"ELSE"}],previousStatement:null,nextStatement:null,style:"logic_blocks",tooltip:"%{BKYCONTROLS_IF_TOOLTIP_2}",helpUrl:"%{BKY_CONTROLS_IF_HELPURL}",suppressPrefixSuffix:!0,extensions:["controls_if_tooltip"]},{type:"logic_compare",message0:"%1 %2 %3",args0:[{type:"input_value",name:"A"},{type:"field_dropdown",name:"OP",options:[["=","EQ"],["≠","NEQ"],["<","LT"],["≤","LTE"],[">","GT"],["≥","GTE"]]},{type:"input_value",name:"B"}],inputsInline:!0,output:"Boolean",style:"logic_blocks",helpUrl:"%{BKY_LOGIC_COMPARE_HELPURL}",extensions:["logic_compare","logic_op_tooltip"]},{type:"logic_operation",message0:"%1 %2 %3",args0:[{type:"input_value",name:"A",check:"Boolean"},{type:"field_dropdown",name:"OP",options:[["%{BKY_LOGIC_OPERATION_AND}","AND"],["%{BKY_LOGIC_OPERATION_OR}","OR"]]},{type:"input_value",name:"B",check:"Boolean"}],inputsInline:!0,output:"Boolean",style:"logic_blocks",helpUrl:"%{BKY_LOGIC_OPERATION_HELPURL}",extensions:["logic_op_tooltip"]},{type:"logic_negate",message0:"%{BKY_LOGIC_NEGATE_TITLE}",args0:[{type:"input_value",name:"BOOL",check:"Boolean"}],output:"Boolean",style:"logic_blocks",tooltip:"%{BKY_LOGIC_NEGATE_TOOLTIP}",helpUrl:"%{BKY_LOGIC_NEGATE_HELPURL}"},{type:"logic_null",message0:"%{BKY_LOGIC_NULL}",output:null,style:"logic_blocks",tooltip:"%{BKY_LOGIC_NULL_TOOLTIP}",helpUrl:"%{BKY_LOGIC_NULL_HELPURL}"},{type:"logic_ternary",message0:"%{BKY_LOGIC_TERNARY_CONDITION} %1",args0:[{type:"input_value",name:"IF",check:"Boolean"}],message1:"%{BKY_LOGIC_TERNARY_IF_TRUE} %1",args1:[{type:"input_value",name:"THEN"}],message2:"%{BKY_LOGIC_TERNARY_IF_FALSE} %1",args2:[{type:"input_value",name:"ELSE"}],output:null,style:"logic_blocks",tooltip:"%{BKY_LOGIC_TERNARY_TOOLTIP}",helpUrl:"%{BKY_LOGIC_TERNARY_HELPURL}",extensions:["logic_ternary"]},{type:"controls_if_if",message0:"%{BKY_CONTROLS_IF_IF_TITLE_IF}",nextStatement:null,enableContextMenu:!1,style:"logic_blocks",tooltip:"%{BKY_CONTROLS_IF_IF_TOOLTIP}"},{type:"controls_if_elseif",message0:"%{BKY_CONTROLS_IF_ELSEIF_TITLE_ELSEIF}",previousStatement:null,nextStatement:null,enableContextMenu:!1,style:"logic_blocks",tooltip:"%{BKY_CONTROLS_IF_ELSEIF_TOOLTIP}"},{type:"controls_if_else",message0:"%{BKY_CONTROLS_IF_ELSE_TITLE_ELSE}",previousStatement:null,enableContextMenu:!1,style:"logic_blocks",tooltip:"%{BKY_CONTROLS_IF_ELSE_TOOLTIP}"}]),ne={EQ:"%{BKY_LOGIC_COMPARE_TOOLTIP_EQ}",NEQ:"%{BKY_LOGIC_COMPARE_TOOLTIP_NEQ}",LT:"%{BKY_LOGIC_COMPARE_TOOLTIP_LT}",LTE:"%{BKY_LOGIC_COMPARE_TOOLTIP_LTE}",GT:"%{BKY_LOGIC_COMPARE_TOOLTIP_GT}",GTE:"%{BKY_LOGIC_COMPARE_TOOLTIP_GTE}",AND:"%{BKY_LOGIC_OPERATION_TOOLTIP_AND}",OR:"%{BKY_LOGIC_OPERATION_TOOLTIP_OR}"};l.register$$module$build$src$core$extensions("logic_op_tooltip",l.buildTooltipForDropdown$$module$build$src$core$extensions("OP",ne));var ie={elseifCount_:0,elseCount_:0,mutationToDom:function(){if(!this.elseifCount_&&!this.elseCount_)return null;const g=l.createElement$$module$build$src$core$utils$xml("mutation");return this.elseifCount_&&g.setAttribute("elseif",String(this.elseifCount_)),this.elseCount_&&g.setAttribute("else","1"),g},domToMutation:function(g){this.elseifCount_=parseInt(g.getAttribute("elseif"),10)||0,this.elseCount_=parseInt(g.getAttribute("else"),10)||0,this.rebuildShape_()},saveExtraState:function(){if(!this.elseifCount_&&!this.elseCount_)return null;const g=Object.create(null);return this.elseifCount_&&(g.elseIfCount=this.elseifCount_),this.elseCount_&&(g.hasElse=!0),g},loadExtraState:function(g){this.elseifCount_=g.elseIfCount||0,this.elseCount_=g.hasElse?1:0,this.updateShape_()},decompose:function(g){const R=g.newBlock("controls_if_if");R.initSvg();let G=R.nextConnection;for(let q=1;q<=this.elseifCount_;q++){const Ee=g.newBlock("controls_if_elseif");Ee.initSvg(),G.connect(Ee.previousConnection),G=Ee.nextConnection}return this.elseCount_&&(g=g.newBlock("controls_if_else"),g.initSvg(),G.connect(g.previousConnection)),R},compose:function(g){g=g.nextConnection.targetBlock(),this.elseCount_=this.elseifCount_=0;const R=[null],G=[null];let q=null;for(;g;){if(!g.isInsertionMarker())switch(g.type){case"controls_if_elseif":this.elseifCount_++,R.push(g.valueConnection_),G.push(g.statementConnection_);break;case"controls_if_else":this.elseCount_++,q=g.statementConnection_;break;default:throw TypeError("Unknown block type: "+g.type)}g=g.getNextBlock()}this.updateShape_(),this.reconnectChildBlocks_(R,G,q)},saveConnections:function(g){g=g.nextConnection.targetBlock();let R=1;for(;g;){if(!g.isInsertionMarker())switch(g.type){case"controls_if_elseif":var G=this.getInput("IF"+R);const q=this.getInput("DO"+R);g.valueConnection_=G&&G.connection.targetConnection,g.statementConnection_=q&&q.connection.targetConnection,R++;break;case"controls_if_else":G=this.getInput("ELSE"),g.statementConnection_=G&&G.connection.targetConnection;break;default:throw TypeError("Unknown block type: "+g.type)}g=g.getNextBlock()}},rebuildShape_:function(){const g=[null],R=[null];let G=null;this.getInput("ELSE")&&(G=this.getInput("ELSE").connection.targetConnection);for(let q=1;this.getInput("IF"+q);q++){const Ee=this.getInput("IF"+q),ze=this.getInput("DO"+q);g.push(Ee.connection.targetConnection),R.push(ze.connection.targetConnection)}this.updateShape_(),this.reconnectChildBlocks_(g,R,G)},updateShape_:function(){this.getInput("ELSE")&&this.removeInput("ELSE");for(var g=1;this.getInput("IF"+g);g++)this.removeInput("IF"+g),this.removeInput("DO"+g);for(g=1;g<=this.elseifCount_;g++)this.appendValueInput("IF"+g).setCheck("Boolean").appendField(l.Msg$$module$build$src$core$msg.CONTROLS_IF_MSG_ELSEIF),this.appendStatementInput("DO"+g).appendField(l.Msg$$module$build$src$core$msg.CONTROLS_IF_MSG_THEN);this.elseCount_&&this.appendStatementInput("ELSE").appendField(l.Msg$$module$build$src$core$msg.CONTROLS_IF_MSG_ELSE)},reconnectChildBlocks_:function(g,R,G){for(let q=1;q<=this.elseifCount_;q++){let Ee;(Ee=g[q])==null||Ee.reconnect(this,"IF"+q);let ze;(ze=R[q])==null||ze.reconnect(this,"DO"+q)}G==null||G.reconnect(this,"ELSE")}};l.registerMutator$$module$build$src$core$extensions("controls_if_mutator",ie,null,["controls_if_elseif","controls_if_else"]);var Z=function(){this.setTooltip((function(){if(this.elseifCount_||this.elseCount_){if(!this.elseifCount_&&this.elseCount_)return l.Msg$$module$build$src$core$msg.CONTROLS_IF_TOOLTIP_2;if(this.elseifCount_&&!this.elseCount_)return l.Msg$$module$build$src$core$msg.CONTROLS_IF_TOOLTIP_3;if(this.elseifCount_&&this.elseCount_)return l.Msg$$module$build$src$core$msg.CONTROLS_IF_TOOLTIP_4}else return l.Msg$$module$build$src$core$msg.CONTROLS_IF_TOOLTIP_1;return""}).bind(this))};l.register$$module$build$src$core$extensions("controls_if_tooltip",Z);var Y={onchange:function(g){this.prevBlocks_||(this.prevBlocks_=[null,null]);var R=this.getInputTargetBlock("A");const G=this.getInputTargetBlock("B");R&&G&&!this.workspace.connectionChecker.doTypeChecks(R.outputConnection,G.outputConnection)&&(l.setGroup$$module$build$src$core$events$utils(g.group),g=this.prevBlocks_[0],g!==R&&(R.unplug(),!g||g.isDisposed()||g.isShadow()||this.getInput("A").connection.connect(g.outputConnection)),R=this.prevBlocks_[1],R!==G&&(G.unplug(),!R||R.isDisposed()||R.isShadow()||this.getInput("B").connection.connect(R.outputConnection)),this.bumpNeighbours(),l.setGroup$$module$build$src$core$events$utils(!1)),this.prevBlocks_[0]=this.getInputTargetBlock("A"),this.prevBlocks_[1]=this.getInputTargetBlock("B")}},M=function(){this.mixin(Y)};l.register$$module$build$src$core$extensions("logic_compare",M);var L={prevParentConnection_:null,onchange:function(g){const R=this.getInputTargetBlock("THEN"),G=this.getInputTargetBlock("ELSE"),q=this.outputConnection.targetConnection;if((R||G)&&q)for(let Ee=0;2>Ee;Ee++){const ze=Ee===1?R:G;ze&&!ze.workspace.connectionChecker.doTypeChecks(ze.outputConnection,q)&&(l.setGroup$$module$build$src$core$events$utils(g.group),q===this.prevParentConnection_?(this.unplug(),q.getSourceBlock().bumpNeighbours()):(ze.unplug(),ze.bumpNeighbours()),l.setGroup$$module$build$src$core$events$utils(!1))}this.prevParentConnection_=q}};l.registerMixin$$module$build$src$core$extensions("logic_ternary",L),l.defineBlocks$$module$build$src$core$common(z);var S=l.createBlockDefinitionsFromJsonArray$$module$build$src$core$common([{type:"controls_repeat_ext",message0:"%{BKY_CONTROLS_REPEAT_TITLE}",args0:[{type:"input_value",name:"TIMES",check:"Number"}],message1:"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1",args1:[{type:"input_statement",name:"DO"}],previousStatement:null,nextStatement:null,style:"loop_blocks",tooltip:"%{BKY_CONTROLS_REPEAT_TOOLTIP}",helpUrl:"%{BKY_CONTROLS_REPEAT_HELPURL}"},{type:"controls_repeat",message0:"%{BKY_CONTROLS_REPEAT_TITLE}",args0:[{type:"field_number",name:"TIMES",value:10,min:0,precision:1}],message1:"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1",args1:[{type:"input_statement",name:"DO"}],previousStatement:null,nextStatement:null,style:"loop_blocks",tooltip:"%{BKY_CONTROLS_REPEAT_TOOLTIP}",helpUrl:"%{BKY_CONTROLS_REPEAT_HELPURL}"},{type:"controls_whileUntil",message0:"%1 %2",args0:[{type:"field_dropdown",name:"MODE",options:[["%{BKY_CONTROLS_WHILEUNTIL_OPERATOR_WHILE}","WHILE"],["%{BKY_CONTROLS_WHILEUNTIL_OPERATOR_UNTIL}","UNTIL"]]},{type:"input_value",name:"BOOL",check:"Boolean"}],message1:"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1",args1:[{type:"input_statement",name:"DO"}],previousStatement:null,nextStatement:null,style:"loop_blocks",helpUrl:"%{BKY_CONTROLS_WHILEUNTIL_HELPURL}",extensions:["controls_whileUntil_tooltip"]},{type:"controls_for",message0:"%{BKY_CONTROLS_FOR_TITLE}",args0:[{type:"field_variable",name:"VAR",variable:null},{type:"input_value",name:"FROM",check:"Number",align:"RIGHT"},{type:"input_value",name:"TO",check:"Number",align:"RIGHT"},{type:"input_value",name:"BY",check:"Number",align:"RIGHT"}],message1:"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1",args1:[{type:"input_statement",name:"DO"}],inputsInline:!0,previousStatement:null,nextStatement:null,style:"loop_blocks",helpUrl:"%{BKY_CONTROLS_FOR_HELPURL}",extensions:["contextMenu_newGetVariableBlock","controls_for_tooltip"]},{type:"controls_forEach",message0:"%{BKY_CONTROLS_FOREACH_TITLE}",args0:[{type:"field_variable",name:"VAR",variable:null},{type:"input_value",name:"LIST",check:"Array"}],message1:"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1",args1:[{type:"input_statement",name:"DO"}],previousStatement:null,nextStatement:null,style:"loop_blocks",helpUrl:"%{BKY_CONTROLS_FOREACH_HELPURL}",extensions:["contextMenu_newGetVariableBlock","controls_forEach_tooltip"]},{type:"controls_flow_statements",message0:"%1",args0:[{type:"field_dropdown",name:"FLOW",options:[["%{BKY_CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK}","BREAK"],["%{BKY_CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE}","CONTINUE"]]}],previousStatement:null,style:"loop_blocks",helpUrl:"%{BKY_CONTROLS_FLOW_STATEMENTS_HELPURL}",suppressPrefixSuffix:!0,extensions:["controls_flow_tooltip","controls_flow_in_loop_check"]}]),F={WHILE:"%{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_WHILE}",UNTIL:"%{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL}"};l.register$$module$build$src$core$extensions("controls_whileUntil_tooltip",l.buildTooltipForDropdown$$module$build$src$core$extensions("MODE",F));var W={BREAK:"%{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK}",CONTINUE:"%{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE}"};l.register$$module$build$src$core$extensions("controls_flow_tooltip",l.buildTooltipForDropdown$$module$build$src$core$extensions("FLOW",W));var X={customContextMenu:function(g){if(!this.isInFlyout){var R=this.getField("VAR").getVariable(),G=R.name;if(!this.isCollapsed()&&G!==null){R=l.generateVariableFieldDom$$module$build$src$core$variables(R);const q=l.createElement$$module$build$src$core$utils$xml("block");q.setAttribute("type","variables_get"),q.appendChild(R),g.push({enabled:!0,text:l.Msg$$module$build$src$core$msg.VARIABLES_SET_CREATE_GET.replace("%1",G),callback:l.callbackFactory$$module$build$src$core$contextmenu(this,q)})}}}};l.registerMixin$$module$build$src$core$extensions("contextMenu_newGetVariableBlock",X),l.register$$module$build$src$core$extensions("controls_for_tooltip",l.buildTooltipWithFieldText$$module$build$src$core$extensions("%{BKY_CONTROLS_FOR_TOOLTIP}","VAR")),l.register$$module$build$src$core$extensions("controls_forEach_tooltip",l.buildTooltipWithFieldText$$module$build$src$core$extensions("%{BKY_CONTROLS_FOREACH_TOOLTIP}","VAR"));var le=new Set(["controls_repeat","controls_repeat_ext","controls_forEach","controls_for","controls_whileUntil"]),$e={getSurroundLoop:function(){let g=this;do{if(le.has(g.type))return g;g=g.getSurroundParent()}while(g);return null},onchange:function(g){var R=this.workspace;if(R.isDragging&&!R.isDragging()&&g.type===l.MOVE$$module$build$src$core$events$utils&&(R=!!this.getSurroundLoop(),this.setWarningText(R?null:l.Msg$$module$build$src$core$msg.CONTROLS_FLOW_STATEMENTS_WARNING),!this.isInFlyout)){const G=l.getGroup$$module$build$src$core$events$utils();l.setGroup$$module$build$src$core$events$utils(g.group),this.setEnabled(R),l.setGroup$$module$build$src$core$events$utils(G)}}};l.registerMixin$$module$build$src$core$extensions("controls_flow_in_loop_check",$e),l.defineBlocks$$module$build$src$core$common(S);var he={};he.blocks=S,he.loopTypes=le;var fe=l.createBlockDefinitionsFromJsonArray$$module$build$src$core$common([{type:"math_number",message0:"%1",args0:[{type:"field_number",name:"NUM",value:0}],output:"Number",helpUrl:"%{BKY_MATH_NUMBER_HELPURL}",style:"math_blocks",tooltip:"%{BKY_MATH_NUMBER_TOOLTIP}",extensions:["parent_tooltip_when_inline"]},{type:"math_arithmetic",message0:"%1 %2 %3",args0:[{type:"input_value",name:"A",check:"Number"},{type:"field_dropdown",name:"OP",options:[["%{BKY_MATH_ADDITION_SYMBOL}","ADD"],["%{BKY_MATH_SUBTRACTION_SYMBOL}","MINUS"],["%{BKY_MATH_MULTIPLICATION_SYMBOL}","MULTIPLY"],["%{BKY_MATH_DIVISION_SYMBOL}","DIVIDE"],["%{BKY_MATH_POWER_SYMBOL}","POWER"]]},{type:"input_value",name:"B",check:"Number"}],inputsInline:!0,output:"Number",style:"math_blocks",helpUrl:"%{BKY_MATH_ARITHMETIC_HELPURL}",extensions:["math_op_tooltip"]},{type:"math_single",message0:"%1 %2",args0:[{type:"field_dropdown",name:"OP",options:[["%{BKY_MATH_SINGLE_OP_ROOT}","ROOT"],["%{BKY_MATH_SINGLE_OP_ABSOLUTE}","ABS"],["-","NEG"],["ln","LN"],["log10","LOG10"],["e^","EXP"],["10^","POW10"]]},{type:"input_value",name:"NUM",check:"Number"}],output:"Number",style:"math_blocks",helpUrl:"%{BKY_MATH_SINGLE_HELPURL}",extensions:["math_op_tooltip"]},{type:"math_trig",message0:"%1 %2",args0:[{type:"field_dropdown",name:"OP",options:[["%{BKY_MATH_TRIG_SIN}","SIN"],["%{BKY_MATH_TRIG_COS}","COS"],["%{BKY_MATH_TRIG_TAN}","TAN"],["%{BKY_MATH_TRIG_ASIN}","ASIN"],["%{BKY_MATH_TRIG_ACOS}","ACOS"],["%{BKY_MATH_TRIG_ATAN}","ATAN"]]},{type:"input_value",name:"NUM",check:"Number"}],output:"Number",style:"math_blocks",helpUrl:"%{BKY_MATH_TRIG_HELPURL}",extensions:["math_op_tooltip"]},{type:"math_constant",message0:"%1",args0:[{type:"field_dropdown",name:"CONSTANT",options:[["π","PI"],["e","E"],["φ","GOLDEN_RATIO"],["sqrt(2)","SQRT2"],["sqrt(½)","SQRT1_2"],["∞","INFINITY"]]}],output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_CONSTANT_TOOLTIP}",helpUrl:"%{BKY_MATH_CONSTANT_HELPURL}"},{type:"math_number_property",message0:"%1 %2",args0:[{type:"input_value",name:"NUMBER_TO_CHECK",check:"Number"},{type:"field_dropdown",name:"PROPERTY",options:[["%{BKY_MATH_IS_EVEN}","EVEN"],["%{BKY_MATH_IS_ODD}","ODD"],["%{BKY_MATH_IS_PRIME}","PRIME"],["%{BKY_MATH_IS_WHOLE}","WHOLE"],["%{BKY_MATH_IS_POSITIVE}","POSITIVE"],["%{BKY_MATH_IS_NEGATIVE}","NEGATIVE"],["%{BKY_MATH_IS_DIVISIBLE_BY}","DIVISIBLE_BY"]]}],inputsInline:!0,output:"Boolean",style:"math_blocks",tooltip:"%{BKY_MATH_IS_TOOLTIP}",mutator:"math_is_divisibleby_mutator"},{type:"math_change",message0:"%{BKY_MATH_CHANGE_TITLE}",args0:[{type:"field_variable",name:"VAR",variable:"%{BKY_MATH_CHANGE_TITLE_ITEM}"},{type:"input_value",name:"DELTA",check:"Number"}],previousStatement:null,nextStatement:null,style:"variable_blocks",helpUrl:"%{BKY_MATH_CHANGE_HELPURL}",extensions:["math_change_tooltip"]},{type:"math_round",message0:"%1 %2",args0:[{type:"field_dropdown",name:"OP",options:[["%{BKY_MATH_ROUND_OPERATOR_ROUND}","ROUND"],["%{BKY_MATH_ROUND_OPERATOR_ROUNDUP}","ROUNDUP"],["%{BKY_MATH_ROUND_OPERATOR_ROUNDDOWN}","ROUNDDOWN"]]},{type:"input_value",name:"NUM",check:"Number"}],output:"Number",style:"math_blocks",helpUrl:"%{BKY_MATH_ROUND_HELPURL}",tooltip:"%{BKY_MATH_ROUND_TOOLTIP}"},{type:"math_on_list",message0:"%1 %2",args0:[{type:"field_dropdown",name:"OP",options:[["%{BKY_MATH_ONLIST_OPERATOR_SUM}","SUM"],["%{BKY_MATH_ONLIST_OPERATOR_MIN}","MIN"],["%{BKY_MATH_ONLIST_OPERATOR_MAX}","MAX"],["%{BKY_MATH_ONLIST_OPERATOR_AVERAGE}","AVERAGE"],["%{BKY_MATH_ONLIST_OPERATOR_MEDIAN}","MEDIAN"],["%{BKY_MATH_ONLIST_OPERATOR_MODE}","MODE"],["%{BKY_MATH_ONLIST_OPERATOR_STD_DEV}","STD_DEV"],["%{BKY_MATH_ONLIST_OPERATOR_RANDOM}","RANDOM"]]},{type:"input_value",name:"LIST",check:"Array"}],output:"Number",style:"math_blocks",helpUrl:"%{BKY_MATH_ONLIST_HELPURL}",mutator:"math_modes_of_list_mutator",extensions:["math_op_tooltip"]},{type:"math_modulo",message0:"%{BKY_MATH_MODULO_TITLE}",args0:[{type:"input_value",name:"DIVIDEND",check:"Number"},{type:"input_value",name:"DIVISOR",check:"Number"}],inputsInline:!0,output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_MODULO_TOOLTIP}",helpUrl:"%{BKY_MATH_MODULO_HELPURL}"},{type:"math_constrain",message0:"%{BKY_MATH_CONSTRAIN_TITLE}",args0:[{type:"input_value",name:"VALUE",check:"Number"},{type:"input_value",name:"LOW",check:"Number"},{type:"input_value",name:"HIGH",check:"Number"}],inputsInline:!0,output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_CONSTRAIN_TOOLTIP}",helpUrl:"%{BKY_MATH_CONSTRAIN_HELPURL}"},{type:"math_random_int",message0:"%{BKY_MATH_RANDOM_INT_TITLE}",args0:[{type:"input_value",name:"FROM",check:"Number"},{type:"input_value",name:"TO",check:"Number"}],inputsInline:!0,output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_RANDOM_INT_TOOLTIP}",helpUrl:"%{BKY_MATH_RANDOM_INT_HELPURL}"},{type:"math_random_float",message0:"%{BKY_MATH_RANDOM_FLOAT_TITLE_RANDOM}",output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_RANDOM_FLOAT_TOOLTIP}",helpUrl:"%{BKY_MATH_RANDOM_FLOAT_HELPURL}"},{type:"math_atan2",message0:"%{BKY_MATH_ATAN2_TITLE}",args0:[{type:"input_value",name:"X",check:"Number"},{type:"input_value",name:"Y",check:"Number"}],inputsInline:!0,output:"Number",style:"math_blocks",tooltip:"%{BKY_MATH_ATAN2_TOOLTIP}",helpUrl:"%{BKY_MATH_ATAN2_HELPURL}"}]),ke={ADD:"%{BKY_MATH_ARITHMETIC_TOOLTIP_ADD}",MINUS:"%{BKY_MATH_ARITHMETIC_TOOLTIP_MINUS}",MULTIPLY:"%{BKY_MATH_ARITHMETIC_TOOLTIP_MULTIPLY}",DIVIDE:"%{BKY_MATH_ARITHMETIC_TOOLTIP_DIVIDE}",POWER:"%{BKY_MATH_ARITHMETIC_TOOLTIP_POWER}",ROOT:"%{BKY_MATH_SINGLE_TOOLTIP_ROOT}",ABS:"%{BKY_MATH_SINGLE_TOOLTIP_ABS}",NEG:"%{BKY_MATH_SINGLE_TOOLTIP_NEG}",LN:"%{BKY_MATH_SINGLE_TOOLTIP_LN}",LOG10:"%{BKY_MATH_SINGLE_TOOLTIP_LOG10}",EXP:"%{BKY_MATH_SINGLE_TOOLTIP_EXP}",POW10:"%{BKY_MATH_SINGLE_TOOLTIP_POW10}",SIN:"%{BKY_MATH_TRIG_TOOLTIP_SIN}",COS:"%{BKY_MATH_TRIG_TOOLTIP_COS}",TAN:"%{BKY_MATH_TRIG_TOOLTIP_TAN}",ASIN:"%{BKY_MATH_TRIG_TOOLTIP_ASIN}",ACOS:"%{BKY_MATH_TRIG_TOOLTIP_ACOS}",ATAN:"%{BKY_MATH_TRIG_TOOLTIP_ATAN}",SUM:"%{BKY_MATH_ONLIST_TOOLTIP_SUM}",MIN:"%{BKY_MATH_ONLIST_TOOLTIP_MIN}",MAX:"%{BKY_MATH_ONLIST_TOOLTIP_MAX}",AVERAGE:"%{BKY_MATH_ONLIST_TOOLTIP_AVERAGE}",MEDIAN:"%{BKY_MATH_ONLIST_TOOLTIP_MEDIAN}",MODE:"%{BKY_MATH_ONLIST_TOOLTIP_MODE}",STD_DEV:"%{BKY_MATH_ONLIST_TOOLTIP_STD_DEV}",RANDOM:"%{BKY_MATH_ONLIST_TOOLTIP_RANDOM}"};l.register$$module$build$src$core$extensions("math_op_tooltip",l.buildTooltipForDropdown$$module$build$src$core$extensions("OP",ke));var re={mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation"),R=this.getFieldValue("PROPERTY")==="DIVISIBLE_BY";return g.setAttribute("divisor_input",String(R)),g},domToMutation:function(g){g=g.getAttribute("divisor_input")==="true",this.updateShape_(g)},updateShape_:function(g){const R=this.getInput("DIVISOR");g?R||this.appendValueInput("DIVISOR").setCheck("Number"):R&&this.removeInput("DIVISOR")}},Ie=function(){this.getField("PROPERTY").setValidator(function(g){g=g==="DIVISIBLE_BY",this.getSourceBlock().updateShape_(g)})};l.registerMutator$$module$build$src$core$extensions("math_is_divisibleby_mutator",re,Ie),l.register$$module$build$src$core$extensions("math_change_tooltip",l.buildTooltipWithFieldText$$module$build$src$core$extensions("%{BKY_MATH_CHANGE_TOOLTIP}","VAR"));var D={updateType_:function(g){g==="MODE"?this.outputConnection.setCheck("Array"):this.outputConnection.setCheck("Number")},mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");return g.setAttribute("op",this.getFieldValue("OP")),g},domToMutation:function(g){if(g=g.getAttribute("op"),g===null)throw new TypeError("xmlElement had no op attribute");this.updateType_(g)}},B=function(){this.getField("OP").setValidator((function(g){this.updateType_(g)}).bind(this))};l.registerMutator$$module$build$src$core$extensions("math_modes_of_list_mutator",D,B),l.defineBlocks$$module$build$src$core$common(fe);var ae={};ae.blocks=fe;var _e={},Me={setStatements_:function(g){this.hasStatements_!==g&&(g?(this.appendStatementInput("STACK").appendField(l.Msg$$module$build$src$core$msg.PROCEDURES_DEFNORETURN_DO),this.getInput("RETURN")&&this.moveInputBefore("STACK","RETURN")):this.removeInput("STACK",!0),this.hasStatements_=g)},updateParams_:function(){let g="";this.arguments_.length&&(g=l.Msg$$module$build$src$core$msg.PROCEDURES_BEFORE_PARAMS+" "+this.arguments_.join(", ")),l.disable$$module$build$src$core$events$utils();try{this.setFieldValue(g,"PARAMS")}finally{l.enable$$module$build$src$core$events$utils()}},mutationToDom:function(g){const R=l.createElement$$module$build$src$core$utils$xml("mutation");g&&R.setAttribute("name",this.getFieldValue("NAME"));for(let G=0;G{this.updateType_(R)}),this.appendValueInput("TEXT").appendField(g,"TYPE"),this.setOutput(!0,"String"),this.setTooltip(()=>this.getFieldValue("TYPE")==="TEXT"?l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TOOLTIP_TEXT:l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TOOLTIP_NUMBER)}});var Pe=Object.assign({},et,{init:function(){this.mixin(w);var g=[[l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TYPE_TEXT,"TEXT"],[l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TYPE_NUMBER,"NUMBER"]];this.setHelpUrl(l.Msg$$module$build$src$core$msg.TEXT_PROMPT_HELPURL),this.setStyle("text_blocks"),g=l.fromJson$$module$build$src$core$field_registry({type:"field_dropdown",options:g}),g.setValidator(R=>{this.updateType_(R)}),this.appendDummyInput().appendField(g,"TYPE").appendField(this.newQuote_(!0)).appendField(l.fromJson$$module$build$src$core$field_registry({type:"field_input",text:""}),"TEXT").appendField(this.newQuote_(!1)),this.setOutput(!0,"String"),this.setTooltip(()=>this.getFieldValue("TYPE")==="TEXT"?l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TOOLTIP_TEXT:l.Msg$$module$build$src$core$msg.TEXT_PROMPT_TOOLTIP_NUMBER)}});nt.text_prompt=Pe,nt.text_count={init:function(){this.jsonInit({message0:l.Msg$$module$build$src$core$msg.TEXT_COUNT_MESSAGE0,args0:[{type:"input_value",name:"SUB",check:"String"},{type:"input_value",name:"TEXT",check:"String"}],output:"Number",inputsInline:!0,style:"text_blocks",tooltip:l.Msg$$module$build$src$core$msg.TEXT_COUNT_TOOLTIP,helpUrl:l.Msg$$module$build$src$core$msg.TEXT_COUNT_HELPURL})}},nt.text_replace={init:function(){this.jsonInit({message0:l.Msg$$module$build$src$core$msg.TEXT_REPLACE_MESSAGE0,args0:[{type:"input_value",name:"FROM",check:"String"},{type:"input_value",name:"TO",check:"String"},{type:"input_value",name:"TEXT",check:"String"}],output:"String",inputsInline:!0,style:"text_blocks",tooltip:l.Msg$$module$build$src$core$msg.TEXT_REPLACE_TOOLTIP,helpUrl:l.Msg$$module$build$src$core$msg.TEXT_REPLACE_HELPURL})}},nt.text_reverse={init:function(){this.jsonInit({message0:l.Msg$$module$build$src$core$msg.TEXT_REVERSE_MESSAGE0,args0:[{type:"input_value",name:"TEXT",check:"String"}],output:"String",inputsInline:!0,style:"text_blocks",tooltip:l.Msg$$module$build$src$core$msg.TEXT_REVERSE_TOOLTIP,helpUrl:l.Msg$$module$build$src$core$msg.TEXT_REVERSE_HELPURL})}};var w={QUOTE_IMAGE_LEFT_DATAURI:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAQAAAAqJXdxAAAAn0lEQVQI1z3OMa5BURSF4f/cQhAKjUQhuQmFNwGJEUi0RKN5rU7FHKhpjEH3TEMtkdBSCY1EIv8r7nFX9e29V7EBAOvu7RPjwmWGH/VuF8CyN9/OAdvqIXYLvtRaNjx9mMTDyo+NjAN1HNcl9ZQ5oQMM3dgDUqDo1l8DzvwmtZN7mnD+PkmLa+4mhrxVA9fRowBWmVBhFy5gYEjKMfz9AylsaRRgGzvZAAAAAElFTkSuQmCC",QUOTE_IMAGE_RIGHT_DATAURI:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAQAAAAqJXdxAAAAqUlEQVQI1z3KvUpCcRiA8ef9E4JNHhI0aFEacm1o0BsI0Slx8wa8gLauoDnoBhq7DcfWhggONDmJJgqCPA7neJ7p934EOOKOnM8Q7PDElo/4x4lFb2DmuUjcUzS3URnGib9qaPNbuXvBO3sGPHJDRG6fGVdMSeWDP2q99FQdFrz26Gu5Tq7dFMzUvbXy8KXeAj57cOklgA+u1B5AoslLtGIHQMaCVnwDnADZIFIrXsoXrgAAAABJRU5ErkJggg==",QUOTE_IMAGE_WIDTH:12,QUOTE_IMAGE_HEIGHT:12,quoteField_:function(g){for(let R=0,G;G=this.inputList[R];R++)for(let q=0,Ee;Ee=G.fieldRow[q];q++)if(g===Ee.name){G.insertFieldAt(q,this.newQuote_(!0)),G.insertFieldAt(q+2,this.newQuote_(!1));return}console.warn('field named "'+g+'" not found in '+this.toDevString())},newQuote_:function(g){return g=this.RTL?!g:g,l.fromJson$$module$build$src$core$field_registry({type:"field_image",src:g?this.QUOTE_IMAGE_LEFT_DATAURI:this.QUOTE_IMAGE_RIGHT_DATAURI,width:this.QUOTE_IMAGE_WIDTH,height:this.QUOTE_IMAGE_HEIGHT,alt:g?"“":"”"})}},I=function(){this.mixin(w),this.quoteField_("TEXT")},N={itemCount_:0,mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");return g.setAttribute("items",`${this.itemCount_}`),g},domToMutation:function(g){this.itemCount_=parseInt(g.getAttribute("items"),10),this.updateShape_()},saveExtraState:function(){return{itemCount:this.itemCount_}},loadExtraState:function(g){this.itemCount_=g.itemCount,this.updateShape_()},decompose:function(g){const R=g.newBlock("text_create_join_container");R.initSvg();let G=R.getInput("STACK").connection;for(let q=0;ql.Msg$$module$build$src$core$msg.TEXT_INDEXOF_TOOLTIP.replace("%1",this.workspace.options.oneBasedIndex?"0":"-1"))},U={isAt_:!1,mutationToDom:function(){const g=l.createElement$$module$build$src$core$utils$xml("mutation");return g.setAttribute("at",`${this.isAt_}`),g},domToMutation:function(g){g=g.getAttribute("at")!=="false",this.updateAt_(g)},updateAt_:function(g){this.removeInput("AT",!0),this.removeInput("ORDINAL",!0),g&&(this.appendValueInput("AT").setCheck("Number"),l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput("ORDINAL").appendField(l.Msg$$module$build$src$core$msg.ORDINAL_NUMBER_SUFFIX)),l.Msg$$module$build$src$core$msg.TEXT_CHARAT_TAIL&&(this.removeInput("TAIL",!0),this.appendDummyInput("TAIL").appendField(l.Msg$$module$build$src$core$msg.TEXT_CHARAT_TAIL)),this.isAt_=g}},de=function(){this.getField("WHERE").setValidator(function(g){g=g==="FROM_START"||g==="FROM_END";const R=this.getSourceBlock();g!==R.isAt_&&R.updateAt_(g)}),this.updateAt_(!0),this.setTooltip(()=>{var g=this.getFieldValue("WHERE");let R=l.Msg$$module$build$src$core$msg.TEXT_CHARAT_TOOLTIP;return(g==="FROM_START"||g==="FROM_END")&&(g=g==="FROM_START"?l.Msg$$module$build$src$core$msg.LISTS_INDEX_FROM_START_TOOLTIP:l.Msg$$module$build$src$core$msg.LISTS_INDEX_FROM_END_TOOLTIP)&&(R+=" "+g.replace("%1",this.workspace.options.oneBasedIndex?"#1":"#0")),R})};l.register$$module$build$src$core$extensions("text_indexOf_tooltip",K),l.register$$module$build$src$core$extensions("text_quotes",I),l.registerMutator$$module$build$src$core$extensions("text_join_mutator",N,A),l.registerMutator$$module$build$src$core$extensions("text_charAt_mutator",U,de),l.defineBlocks$$module$build$src$core$common(nt);var Te={};Te.blocks=nt;var oe=l.createBlockDefinitionsFromJsonArray$$module$build$src$core$common([{type:"variables_get",message0:"%1",args0:[{type:"field_variable",name:"VAR",variable:"%{BKY_VARIABLES_DEFAULT_NAME}"}],output:null,style:"variable_blocks",helpUrl:"%{BKY_VARIABLES_GET_HELPURL}",tooltip:"%{BKY_VARIABLES_GET_TOOLTIP}",extensions:["contextMenu_variableSetterGetter"]},{type:"variables_set",message0:"%{BKY_VARIABLES_SET}",args0:[{type:"field_variable",name:"VAR",variable:"%{BKY_VARIABLES_DEFAULT_NAME}"},{type:"input_value",name:"VALUE"}],previousStatement:null,nextStatement:null,style:"variable_blocks",tooltip:"%{BKY_VARIABLES_SET_TOOLTIP}",helpUrl:"%{BKY_VARIABLES_SET_HELPURL}",extensions:["contextMenu_variableSetterGetter"]}]),Ce={customContextMenu:function(g){if(this.isInFlyout)(this.type==="variables_get"||this.type==="variables_get_reporter")&&(R={text:l.Msg$$module$build$src$core$msg.RENAME_VARIABLE,enabled:!0,callback:ce(this)},G=this.getField("VAR").getText(),G={text:l.Msg$$module$build$src$core$msg.DELETE_VARIABLE.replace("%1",G),enabled:!0,callback:Se(this)},g.unshift(R),g.unshift(G));else{if(this.type==="variables_get")var R="variables_set",G=l.Msg$$module$build$src$core$msg.VARIABLES_GET_CREATE_SET;else R="variables_get",G=l.Msg$$module$build$src$core$msg.VARIABLES_SET_CREATE_GET;const q=this.getField("VAR").getText(),Ee=l.createElement$$module$build$src$core$utils$xml("field");Ee.setAttribute("name","VAR"),Ee.appendChild(l.createTextNode$$module$build$src$core$utils$xml(q));const ze=l.createElement$$module$build$src$core$utils$xml("block");ze.setAttribute("type",R),ze.appendChild(Ee),g.push({enabled:0 String(b) ? 1 : -1; },
+ 'IGNORE_CASE': function(a, b) {
+ return String(a).toLowerCase() > String(b).toLowerCase() ? 1 : -1; },
+ };
+ var compare = compareFuncs[type];
+ return function(a, b) { return compare(a, b) * direction; };
+}
+ `),[C+".slice().sort("+m+'("'+_+'", '+V+"))",E.FUNCTION_CALL]},Z=function(_,m){let C=m.valueToCode(_,"INPUT",E.MEMBER);if(m=m.valueToCode(_,"DELIM",E.NONE)||"''",_=_.getFieldValue("MODE"),_==="SPLIT")C||(C="''"),_="split";else if(_==="JOIN")C||(C="[]"),_="join";else throw Error("Unknown mode: "+_);return[C+"."+_+"("+m+")",E.FUNCTION_CALL]},Y=function(_,m){return[(m.valueToCode(_,"LIST",E.FUNCTION_CALL)||"[]")+".slice().reverse()",E.FUNCTION_CALL]},M=function(_,m){var C=0;let V="";m.STATEMENT_PREFIX&&(V+=m.injectId(m.STATEMENT_PREFIX,_));do{const ve=m.valueToCode(_,"IF"+C,E.NONE)||"false";let Ge=m.statementToCode(_,"DO"+C);m.STATEMENT_SUFFIX&&(Ge=m.prefixLines(m.injectId(m.STATEMENT_SUFFIX,_),m.INDENT)+Ge),V+=(0",GTE:">="}[_.getFieldValue("OP")],V=C==="=="||C==="!="?E.EQUALITY:E.RELATIONAL,ve=m.valueToCode(_,"A",V)||"0";return _=m.valueToCode(_,"B",V)||"0",[ve+" "+C+" "+_,V]},S=function(_,m){const C=_.getFieldValue("OP")==="AND"?"&&":"||",V=C==="&&"?E.LOGICAL_AND:E.LOGICAL_OR;let ve=m.valueToCode(_,"A",V);return _=m.valueToCode(_,"B",V),ve||_?(m=C==="&&"?"true":"false",ve||(ve=m),_||(_=m)):_=ve="false",[ve+" "+C+" "+_,V]},F=function(_,m){const C=E.LOGICAL_NOT;return["!"+(m.valueToCode(_,"BOOL",C)||"true"),C]},W=function(_,m){return[_.getFieldValue("BOOL")==="TRUE"?"true":"false",E.ATOMIC]},X=function(_,m){return["null",E.ATOMIC]},le=function(_,m){const C=m.valueToCode(_,"IF",E.CONDITIONAL)||"false",V=m.valueToCode(_,"THEN",E.CONDITIONAL)||"null";return _=m.valueToCode(_,"ELSE",E.CONDITIONAL)||"null",[C+" ? "+V+" : "+_,E.CONDITIONAL]},$e=function(_,m){let C;C=_.getField("TIMES")?String(Number(_.getFieldValue("TIMES"))):m.valueToCode(_,"TIMES",E.ASSIGNMENT)||"0";let V=m.statementToCode(_,"DO");V=m.addLoopTrap(V,_),_="";const ve=m.nameDB_.getDistinctName("count",l.NameType$$module$build$src$core$names.VARIABLE);let Ge=C;return C.match(/^\w+$/)||l.isNumber$$module$build$src$core$utils$string(C)||(Ge=m.nameDB_.getDistinctName("repeat_end",l.NameType$$module$build$src$core$names.VARIABLE),_+="var "+Ge+" = "+C+`;
+`),_+("for (var "+ve+" = 0; "+ve+" < "+Ge+"; "+ve+`++) {
+`+V+`}
+`)},he=function(_,m){const C=_.getFieldValue("MODE")==="UNTIL";let V=m.valueToCode(_,"BOOL",C?E.LOGICAL_NOT:E.NONE)||"false",ve=m.statementToCode(_,"DO");return ve=m.addLoopTrap(ve,_),C&&(V="!"+V),"while ("+V+`) {
+`+ve+`}
+`},fe=function(_,m){var C=m.nameDB_.getName(_.getFieldValue("VAR"),l.NameType$$module$build$src$core$names.VARIABLE),V=m.valueToCode(_,"FROM",E.ASSIGNMENT)||"0",ve=m.valueToCode(_,"TO",E.ASSIGNMENT)||"0";const Ge=m.valueToCode(_,"BY",E.ASSIGNMENT)||"1";let rt=m.statementToCode(_,"DO");if(rt=m.addLoopTrap(rt,_),l.isNumber$$module$build$src$core$utils$string(V)&&l.isNumber$$module$build$src$core$utils$string(ve)&&l.isNumber$$module$build$src$core$utils$string(Ge))m=Number(V)<=Number(ve),_="for ("+C+" = "+V+"; "+C+(m?" <= ":" >= ")+ve+"; "+C,C=Math.abs(Number(Ge)),_=C===1?_+(m?"++":"--"):_+((m?" += ":" -= ")+C),_+=`) {
+`+rt+`}
+`;else{_="";let Mt=V;V.match(/^\w+$/)||l.isNumber$$module$build$src$core$utils$string(V)||(Mt=m.nameDB_.getDistinctName(C+"_start",l.NameType$$module$build$src$core$names.VARIABLE),_+="var "+Mt+" = "+V+`;
+`),V=ve,ve.match(/^\w+$/)||l.isNumber$$module$build$src$core$utils$string(ve)||(V=m.nameDB_.getDistinctName(C+"_end",l.NameType$$module$build$src$core$names.VARIABLE),_+="var "+V+" = "+ve+`;
+`),ve=m.nameDB_.getDistinctName(C+"_inc",l.NameType$$module$build$src$core$names.VARIABLE),_+="var "+ve+" = ",_=l.isNumber$$module$build$src$core$utils$string(Ge)?_+(Math.abs(Ge)+`;
+`):_+("Math.abs("+Ge+`);
+`),_+="if ("+Mt+" > "+V+`) {
+`,_+=m.INDENT+ve+" = -"+ve+`;
+`,_=_+`}
+for (`+(C+" = "+Mt+"; "+ve+" >= 0 ? "+C+" <= "+V+" : "+C+" >= "+V+"; "+C+" += "+ve+`) {
+`+rt+`}
+`)}return _},ke=function(_,m){const C=m.nameDB_.getName(_.getFieldValue("VAR"),l.NameType$$module$build$src$core$names.VARIABLE);var V=m.valueToCode(_,"LIST",E.ASSIGNMENT)||"[]";let ve=m.statementToCode(_,"DO");ve=m.addLoopTrap(ve,_),_="";let Ge=V;return V.match(/^\w+$/)||(Ge=m.nameDB_.getDistinctName(C+"_list",l.NameType$$module$build$src$core$names.VARIABLE),_+="var "+Ge+" = "+V+`;
+`),V=m.nameDB_.getDistinctName(C+"_index",l.NameType$$module$build$src$core$names.VARIABLE),ve=m.INDENT+C+" = "+Ge+"["+V+`];
+`+ve,_+("for (var "+V+" in "+Ge+`) {
+`+ve+`}
+`)},re=function(_,m){let C="";if(m.STATEMENT_PREFIX&&(C+=m.injectId(m.STATEMENT_PREFIX,_)),m.STATEMENT_SUFFIX&&(C+=m.injectId(m.STATEMENT_SUFFIX,_)),m.STATEMENT_PREFIX){const V=_.getSurroundLoop();V&&!V.suppressPrefixSuffix&&(C+=m.injectId(m.STATEMENT_PREFIX,V))}switch(_.getFieldValue("FLOW")){case"BREAK":return C+`break;
+`;case"CONTINUE":return C+`continue;
+`}throw Error("Unknown flow statement.")},Ie=function(_,m){return _=Number(_.getFieldValue("NUM")),[_,0<=_?E.ATOMIC:E.UNARY_NEGATION]},D=function(_,m){var C={ADD:[" + ",E.ADDITION],MINUS:[" - ",E.SUBTRACTION],MULTIPLY:[" * ",E.MULTIPLICATION],DIVIDE:[" / ",E.DIVISION],POWER:[null,E.NONE]}[_.getFieldValue("OP")];const V=C[0];C=C[1];const ve=m.valueToCode(_,"A",C)||"0";return _=m.valueToCode(_,"B",C)||"0",V?[ve+V+_,C]:["Math.pow("+ve+", "+_+")",E.FUNCTION_CALL]},B=function(_,m){const C=_.getFieldValue("OP");let V;if(C==="NEG")return _=m.valueToCode(_,"NUM",E.UNARY_NEGATION)||"0",_[0]==="-"&&(_=" "+_),["-"+_,E.UNARY_NEGATION];switch(_=C==="SIN"||C==="COS"||C==="TAN"?m.valueToCode(_,"NUM",E.DIVISION)||"0":m.valueToCode(_,"NUM",E.NONE)||"0",C){case"ABS":V="Math.abs("+_+")";break;case"ROOT":V="Math.sqrt("+_+")";break;case"LN":V="Math.log("+_+")";break;case"EXP":V="Math.exp("+_+")";break;case"POW10":V="Math.pow(10,"+_+")";break;case"ROUND":V="Math.round("+_+")";break;case"ROUNDUP":V="Math.ceil("+_+")";break;case"ROUNDDOWN":V="Math.floor("+_+")";break;case"SIN":V="Math.sin("+_+" / 180 * Math.PI)";break;case"COS":V="Math.cos("+_+" / 180 * Math.PI)";break;case"TAN":V="Math.tan("+_+" / 180 * Math.PI)"}if(V)return[V,E.FUNCTION_CALL];switch(C){case"LOG10":V="Math.log("+_+") / Math.log(10)";break;case"ASIN":V="Math.asin("+_+") / Math.PI * 180";break;case"ACOS":V="Math.acos("+_+") / Math.PI * 180";break;case"ATAN":V="Math.atan("+_+") / Math.PI * 180";break;default:throw Error("Unknown math operator: "+C)}return[V,E.DIVISION]},ae=function(_,m){return{PI:["Math.PI",E.MEMBER],E:["Math.E",E.MEMBER],GOLDEN_RATIO:["(1 + Math.sqrt(5)) / 2",E.DIVISION],SQRT2:["Math.SQRT2",E.MEMBER],SQRT1_2:["Math.SQRT1_2",E.MEMBER],INFINITY:["Infinity",E.ATOMIC]}[_.getFieldValue("CONSTANT")]},_e=function(_,m){var C={EVEN:[" % 2 === 0",E.MODULUS,E.EQUALITY],ODD:[" % 2 === 1",E.MODULUS,E.EQUALITY],WHOLE:[" % 1 === 0",E.MODULUS,E.EQUALITY],POSITIVE:[" > 0",E.RELATIONAL,E.RELATIONAL],NEGATIVE:[" < 0",E.RELATIONAL,E.RELATIONAL],DIVISIBLE_BY:[null,E.MODULUS,E.EQUALITY],PRIME:[null,E.NONE,E.FUNCTION_CALL]};const V=_.getFieldValue("PROPERTY"),[ve,Ge,rt]=C[V];return C=m.valueToCode(_,"NUMBER_TO_CHECK",Ge)||"0",V==="PRIME"?_=m.provideFunction_("mathIsPrime",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(n) {
+ // https://en.wikipedia.org/wiki/Primality_test#Naive_methods
+ if (n == 2 || n == 3) {
+ return true;
+ }
+ // False if n is NaN, negative, is 1, or not whole.
+ // And false if n is divisible by 2 or 3.
+ if (isNaN(n) || n <= 1 || n % 1 !== 0 || n % 2 === 0 || n % 3 === 0) {
+ return false;
+ }
+ // Check all the numbers of form 6k +/- 1, up to sqrt(n).
+ for (var x = 6; x <= Math.sqrt(n) + 1; x += 6) {
+ if (n % (x - 1) === 0 || n % (x + 1) === 0) {
+ return false;
+ }
+ }
+ return true;
+}
+`)+"("+C+")":V==="DIVISIBLE_BY"?(_=m.valueToCode(_,"DIVISOR",E.MODULUS)||"0",_=C+" % "+_+" === 0"):_=C+ve,[_,rt]},Me=function(_,m){const C=m.valueToCode(_,"DELTA",E.ADDITION)||"0";return _=m.nameDB_.getName(_.getFieldValue("VAR"),l.NameType$$module$build$src$core$names.VARIABLE),_+" = (typeof "+_+" === 'number' ? "+_+" : 0) + "+C+`;
+`},Xe=function(_,m){var C=_.getFieldValue("OP");switch(C){case"SUM":_=m.valueToCode(_,"LIST",E.MEMBER)||"[]",_+=".reduce(function(x, y) {return x + y;}, 0)";break;case"MIN":_=m.valueToCode(_,"LIST",E.NONE)||"[]",_="Math.min.apply(null, "+_+")";break;case"MAX":_=m.valueToCode(_,"LIST",E.NONE)||"[]",_="Math.max.apply(null, "+_+")";break;case"AVERAGE":C=m.provideFunction_("mathMean",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(myList) {
+ return myList.reduce(function(x, y) {return x + y;}, 0) / myList.length;
+}
+`),_=m.valueToCode(_,"LIST",E.NONE)||"[]",_=C+"("+_+")";break;case"MEDIAN":C=m.provideFunction_("mathMedian",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(myList) {
+ var localList = myList.filter(function (x) {return typeof x === 'number';});
+ if (!localList.length) return null;
+ localList.sort(function(a, b) {return b - a;});
+ if (localList.length % 2 === 0) {
+ return (localList[localList.length / 2 - 1] + localList[localList.length / 2]) / 2;
+ } else {
+ return localList[(localList.length - 1) / 2];
+ }
+}
+`),_=m.valueToCode(_,"LIST",E.NONE)||"[]",_=C+"("+_+")";break;case"MODE":C=m.provideFunction_("mathModes",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(values) {
+ var modes = [];
+ var counts = [];
+ var maxCount = 0;
+ for (var i = 0; i < values.length; i++) {
+ var value = values[i];
+ var found = false;
+ var thisCount;
+ for (var j = 0; j < counts.length; j++) {
+ if (counts[j][0] === value) {
+ thisCount = ++counts[j][1];
+ found = true;
+ break;
+ }
+ }
+ if (!found) {
+ counts.push([value, 1]);
+ thisCount = 1;
+ }
+ maxCount = Math.max(thisCount, maxCount);
+ }
+ for (var j = 0; j < counts.length; j++) {
+ if (counts[j][1] === maxCount) {
+ modes.push(counts[j][0]);
+ }
+ }
+ return modes;
+}
+`),_=m.valueToCode(_,"LIST",E.NONE)||"[]",_=C+"("+_+")";break;case"STD_DEV":C=m.provideFunction_("mathStandardDeviation",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(numbers) {
+ var n = numbers.length;
+ if (!n) return null;
+ var mean = numbers.reduce(function(x, y) {return x + y;}) / n;
+ var variance = 0;
+ for (var j = 0; j < n; j++) {
+ variance += Math.pow(numbers[j] - mean, 2);
+ }
+ variance = variance / n;
+ return Math.sqrt(variance);
+}
+`),_=m.valueToCode(_,"LIST",E.NONE)||"[]",_=C+"("+_+")";break;case"RANDOM":C=m.provideFunction_("mathRandomList",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(list) {
+ var x = Math.floor(Math.random() * list.length);
+ return list[x];
+}
+`),_=m.valueToCode(_,"LIST",E.NONE)||"[]",_=C+"("+_+")";break;default:throw Error("Unknown operator: "+C)}return[_,E.FUNCTION_CALL]},Je=function(_,m){const C=m.valueToCode(_,"DIVIDEND",E.MODULUS)||"0";return _=m.valueToCode(_,"DIVISOR",E.MODULUS)||"0",[C+" % "+_,E.MODULUS]},we=function(_,m){const C=m.valueToCode(_,"VALUE",E.NONE)||"0",V=m.valueToCode(_,"LOW",E.NONE)||"0";return _=m.valueToCode(_,"HIGH",E.NONE)||"Infinity",["Math.min(Math.max("+C+", "+V+"), "+_+")",E.FUNCTION_CALL]},We=function(_,m){const C=m.valueToCode(_,"FROM",E.NONE)||"0";return _=m.valueToCode(_,"TO",E.NONE)||"0",[m.provideFunction_("mathRandomInt",`
+function ${m.FUNCTION_NAME_PLACEHOLDER_}(a, b) {
+ if (a > b) {
+ // Swap a and b to ensure a is smaller.
+ var c = a;
+ a = b;
+ b = c;
+ }
+ return Math.floor(Math.random() * (b - a + 1) + a);
+}
+`)+"("+C+", "+_+")",E.FUNCTION_CALL]},Ze=function(_,m){return["Math.random()",E.FUNCTION_CALL]},nt=function(_,m){const C=m.valueToCode(_,"X",E.NONE)||"0";return["Math.atan2("+(m.valueToCode(_,"Y",E.NONE)||"0")+", "+C+") / Math.PI * 180",E.DIVISION]},ht=function(_,m){const C=m.nameDB_.getName(_.getFieldValue("NAME"),l.NameType$$module$build$src$core$names.PROCEDURE);var V="";m.STATEMENT_PREFIX&&(V+=m.injectId(m.STATEMENT_PREFIX,_)),m.STATEMENT_SUFFIX&&(V+=m.injectId(m.STATEMENT_SUFFIX,_)),V&&(V=m.prefixLines(V,m.INDENT));let ve="";m.INFINITE_LOOP_TRAP&&(ve=m.prefixLines(m.injectId(m.INFINITE_LOOP_TRAP,_),m.INDENT));const Ge=m.statementToCode(_,"STACK");let rt=m.valueToCode(_,"RETURN",E.NONE)||"",Mt="";Ge&&rt&&(Mt=V),rt&&(rt=m.INDENT+"return "+rt+`;
+`);const po=[],xe=_.getVars();for(let wt=0;wtC?rt=Mt=this.ORDER_SUBTRACTION:V&&(rt=Mt=this.ORDER_UNARY_NEGATION),_=this.valueToCode(_,m,Mt)||Ge,l.isNumber$$module$build$src$core$utils$string(_)?(_=Number(_)+C,V&&(_=-_)):(0C&&(_=_+" - "+-C),V&&(_=C?"-("+_+")":"-"+_),rt=Math.floor(rt),ve=Math.floor(ve),rt&&ve>=rt&&(_="("+_+")")),_}},R={};R.colour_blend=h,R.colour_picker=a,R.colour_random=u,R.colour_rgb=d;var G=function(_,m,C){return m==="FIRST"?"0":m==="FROM_END"?_+".length - 1 - "+C:m==="LAST"?_+".length - 1":C},q={};q.lists_create_empty=p,q.lists_create_with=f,q.lists_getIndex=x,q.lists_getSublist=ne,q.lists_indexOf=P,q.lists_isEmpty=k,q.lists_length=y,q.lists_repeat=T,q.lists_reverse=Y,q.lists_setIndex=z,q.lists_sort=ie,q.lists_split=Z;var Ee={};Ee.controls_if=M,Ee.controls_ifelse=M,Ee.logic_boolean=W,Ee.logic_compare=L,Ee.logic_negate=F,Ee.logic_null=X,Ee.logic_operation=S,Ee.logic_ternary=le;var ze={};ze.controls_flow_statements=re,ze.controls_for=fe,ze.controls_forEach=ke,ze.controls_repeat=$e,ze.controls_repeat_ext=$e,ze.controls_whileUntil=he;var yt={};yt.math_arithmetic=D,yt.math_atan2=nt,yt.math_change=Me,yt.math_constant=ae,yt.math_constrain=we,yt.math_modulo=Je,yt.math_number=Ie,yt.math_number_property=_e,yt.math_on_list=Xe,yt.math_random_float=Ze,yt.math_random_int=We,yt.math_round=B,yt.math_single=B,yt.math_trig=B;var ls={};ls.procedures_callnoreturn=Pe,ls.procedures_callreturn=et,ls.procedures_defnoreturn=ht,ls.procedures_defreturn=ht,ls.procedures_ifreturn=w;var ii=/^\s*'([^']|\\')*'\s*$/,xt=function(_){return ii.test(_)?[_,E.ATOMIC]:["String("+_+")",E.FUNCTION_CALL]},Qo=function(_,m,C){return m==="FIRST"?"0":m==="FROM_END"?_+".length - 1 - "+C:m==="LAST"?_+".length - 1":C},Ut={};Ut.text=I,Ut.text_append=K,Ut.text_changeCase=ce,Ut.text_charAt=oe,Ut.text_count=be,Ut.text_getSubstring=Ce,Ut.text_indexOf=Te,Ut.text_isEmpty=de,Ut.text_join=A,Ut.text_length=U,Ut.text_multiline=N,Ut.text_print=Le,Ut.text_prompt=Ue,Ut.text_prompt_ext=Ue,Ut.text_replace=ee,Ut.text_reverse=se,Ut.text_trim=Se;var ws={};ws.variables_get=ue,ws.variables_set=ye;var qo={};qo.variables_get_dynamic=ue,qo.variables_set_dynamic=ye;var b=new g;Object.assign(b.forBlock,R,q,Ee,ze,yt,ls,Ut,ws,qo);var O={};return O.JavascriptGenerator=g,O.Order=E,O.javascriptGenerator=b,O.__namespace__=l,O})}(d0)),d0.exports}var wb;function o8(){return wb||(wb=1,function(o,n){(function(s,l){o.exports=l(Vc(),t8())})(Do,function(s,l){/**
+ * @license
+ * Copyright 2020 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */return l})}(u0)),u0.exports}var Mb;function s8(){return Mb||(Mb=1,function(o,n){(function(s,l){o.exports=l(Vc(),J5(),e8(),o8())})(Do,function(s,l,a,u){return s.setLocale(l),s})}(s0)),s0.exports}(function(o,n){(function(s,l){o.exports=l(s8())})(Do,function(s){/**
+ * @license
+ * Copyright 2019 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */return s})})(ZI);var i8=ZI.exports;const Tt=CI(i8);Tt.defineBlocksWithJsonArray([{type:"controls_forever",message0:"%1",args0:[{type:"field_label",text:"永远 循环"}],message1:"%1",args1:[{type:"input_statement",name:"DO"}],previousStatement:null,nextStatement:null,style:"controller",tooltip:"重复执行。"},{type:"math_evenly_divisible",message0:"%1 能被 %2 整除",args0:[{type:"input_value",name:"DIVIDEND",check:"Number",value:0},{type:"input_value",name:"DIVISOR",check:"Number",value:0}],output:"Boolean",style:"calculation",tooltip:"判断第一个数是否恰好被第二个数整除。"},{type:"lists_split",message0:"把 %1 按 %2 %3",args0:[{type:"input_value",name:"INPUT",check:["String","Array"]},{type:"input_value",name:"DELIM",check:"String"},{type:"field_dropdown",name:"MODE",options:[["分开成列表","SPLIT"],["合并为文本","JOIN"]]}],output:["String","Array"],style:"calculation",tooltip:"将文本分开成列表或将列表合并为文本。"},{type:"text_charAt",message0:"取 %1 %2 第 %3 个字符",args0:[{type:"input_value",name:"VALUE",check:"String"},{type:"field_dropdown",name:"WHERE",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX",check:"Number"}],output:"String",style:"calculation",tooltip:"取文本指定位置的字符。"},{type:"text_getSubstring",message0:"取 %1 %2 第 %3 到 %4 第 %5 个字符",args0:[{type:"input_value",name:"VALUE",check:"String"},{type:"field_dropdown",name:"WHERE1",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX1",check:"Number"},{type:"field_dropdown",name:"WHERE2",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX2",check:"Number"}],output:"String",style:"calculation",tooltip:"取文本指定位置的字符。"},{type:"math_types",message0:"把 %1 转换为 %2 类型",args0:[{type:"input_value",name:"VALUE"},{type:"field_dropdown",name:"TYPE",options:[["字符串","STRING"],["数值","NUMBER"],["布尔","BOOLEAN"]]}],output:"String",style:"calculation",tooltip:"将对象转换为指定类型。"},{type:"lists_push",message0:"添加 %1 到 %2 末尾",args0:[{type:"input_value",name:"VALUE",check:"Number"},{type:"input_value",name:"LIST",check:"Array"}],previousStatement:null,nextStatement:null,style:"lists",tooltip:"添加值到列表的末尾。"},{type:"lists_insert",message0:"插入 %1 到 %2 %3 第 %4 项后面",args0:[{type:"input_value",name:"VALUE"},{type:"input_value",name:"LIST",check:"Array"},{type:"field_dropdown",name:"WHERE",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX",check:"Number"}],previousStatement:null,nextStatement:null,style:"lists",tooltip:"添加值到列表的末尾。"},{type:"lists_delete",message0:"删除 %1 %2 第 %3 项",args0:[{type:"input_value",name:"LIST",check:"Array"},{type:"field_dropdown",name:"WHERE",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX",check:"Number"}],previousStatement:null,nextStatement:null,style:"lists_delete",tooltip:"删除列表的指定项。"},{type:"lists_set",message0:"替换 %1 %2 第 %3 项为 %4",args0:[{type:"input_value",name:"LIST",check:"Array"},{type:"field_dropdown",name:"WHERE",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX",check:"Number"},{type:"input_value",name:"VALUE"}],previousStatement:null,nextStatement:null,style:"lists",tooltip:"替换列表的指定项。"},{type:"lists_get",message0:"%1 %2 第 %3 项",args0:[{type:"input_value",name:"LIST",check:"Array"},{type:"field_dropdown",name:"WHERE",options:[["正数","FROM_START"],["倒数","FROM_END"]]},{type:"input_value",name:"INDEX",check:"Number"}],output:"Any",style:"lists",tooltip:"获取列表的指定项。"},{type:"lists_index",message0:"%1 中 %2 %3 的位置",args0:[{type:"input_value",name:"LIST",check:"Array"},{type:"field_dropdown",name:"WHICH",options:[["第一个","FIRST"],["最后一个","LAST"]]},{type:"input_value",name:"VALUE"}],output:"Number",style:"lists",tooltip:"返回在列表中的第一个/最后一个匹配项的索引值,如果找不到项目则返回列表本身。"},{type:"lists_includes",message0:"%1 中包含 %2",args0:[{type:"input_value",name:"LIST",check:"Array"},{type:"input_value",name:"VALUE"}],output:"Boolean",style:"lists",tooltip:"列表中是否包含指定项。"},{type:"time_current",message0:"当前时间戳",output:"Number",style:"time",tooltip:"获取当前时间戳。"},{type:"time_timestamp_to_date",message0:"时间戳 %1 转换为日期字符串",args0:[{type:"input_value",name:"TIMESTAMP",check:"Number"}],output:"String",style:"time",tooltip:"将时间戳转换为日期字符串。"},{type:"time_import",message0:"引入time库",previousStatement:null,nextStatement:null,style:"time",tooltip:"引入时间库。"},{type:"sqlite_open",message0:"打开数据库 %1",args0:[{type:"input_value",name:"DATABASE",check:"String"}],output:"sqlite3.Connection",style:"sqlite",tooltip:"打开数据库连接。"},{type:"sqlite_query",message0:"执行查询 %1",args0:[{type:"input_value",name:"QUERY",check:"String"}],output:"sqlite3.Cursor",style:"sqlite",tooltip:"执行SQL查询。"},{type:"sqlite_exec",message0:"执行命令 %1",args0:[{type:"input_value",name:"COMMAND",check:"String"}],previousStatement:null,nextStatement:null,style:"sqlite",tooltip:"执行SQL命令。"},{type:"sqlite_close",message0:"关闭数据库连接",previousStatement:null,nextStatement:null,style:"sqlite",tooltip:"关闭数据库连接。"},{type:"http_import",message0:"引入http库",previousStatement:null,nextStatement:null,style:"http",tooltip:"引入HTTP库。"},{type:"http_get",message0:"发送GET请求到 链接:%1 请求头(字典):%2 cookie(字典):%3",args0:[{type:"input_value",name:"URL",check:"String"},{type:"input_value",name:"HEADERS",check:"Array"},{type:"input_value",name:"COOKIES",check:"Array"}],output:"String",style:"http",tooltip:"发送GET请求。"},{type:"http_post",message0:"发送POST请求到 链接:%1 请求体(字典):%2 请求头(字典):%3 cookie(字典):%4",args0:[{type:"input_value",name:"URL",check:"String"},{type:"input_value",name:"BODY",check:"Array"},{type:"input_value",name:"HEADERS",check:"Array"},{type:"input_value",name:"COOKIES",check:"Array"}],output:"String",style:"http",tooltip:"发送POST请求。"},{type:"dict_get",message0:"获取字典 %1 的键 %2 的值",args0:[{type:"input_value",name:"DICT",check:"Array"},{type:"input_value",name:"KEY",check:"String"}],output:"Any",style:"dict",tooltip:"获取字典的指定键的值。"},{type:"dict_create",message0:"创建字典",output:"Array",style:"dict",tooltip:"创建一个空字典。"},{type:"dict_set",message0:"设置字典 %1 的键 %2 的值为 %3",args0:[{type:"input_value",name:"DICT",check:"Array"},{type:"input_value",name:"KEY",check:"String"},{type:"input_value",name:"VALUE"}],previousStatement:null,nextStatement:null,style:"dict",tooltip:"设置字典的指定键的值。"},{type:"set_dict",message0:"创建字典 键 %1 : %2",args0:[{type:"input_value",name:"KEY",check:"String"},{type:"input_value",name:"VALUE"}],output:"Array",style:"dict",tooltip:"创建一个空字典。"}]);const n8="categoryToolbox",r8=[{kind:"category",name:"控制",categorystyle:"controller",contents:[{kind:"block",type:"controls_forever"},{kind:"block",type:"controls_repeat_ext",inputs:{TIMES:{block:{type:"math_number",fields:{NUM:1}}}}},{kind:"block",type:"controls_for",inputs:{FROM:{block:{type:"math_number",fields:{NUM:1}}},TO:{block:{type:"math_number",fields:{NUM:10}}},BY:{block:{type:"math_number",fields:{NUM:1}}}}},{kind:"block",type:"controls_forEach"},{kind:"block",type:"controls_whileUntil"},{kind:"block",type:"controls_flow_statements"},{kind:"sep",gap:"64"},{kind:"block",type:"controls_if"},{kind:"block",type:"controls_if",extraState:{hasElse:!0}},{kind:"sep",gap:"64"},{kind:"block",type:"logic_ternary",inline:"true"}]},{kind:"category",name:"运算",categorystyle:"calculation",contents:[{kind:"block",type:"math_number",fields:{NUM:0}},{kind:"block",type:"math_arithmetic",inputs:{A:{block:{type:"math_number",fields:{NUM:0}}},B:{block:{type:"math_number",fields:{NUM:0}}}}},{kind:"block",type:"math_random_int",inputs:{FROM:{block:{type:"math_number",fields:{NUM:0}}},TO:{block:{type:"math_number",fields:{NUM:5}}}}},{kind:"sep",gap:"64"},{kind:"block",type:"logic_boolean"},{kind:"block",type:"logic_compare"},{kind:"block",type:"logic_operation"},{kind:"block",type:"logic_negate"},{kind:"sep",gap:"64"},{kind:"block",type:"math_round"},{kind:"block",type:"math_modulo"},{kind:"block",type:"math_evenly_divisible",inputs:{DIVIDEND:{block:{type:"math_number",fields:{NUM:9}}},DIVISOR:{block:{type:"math_number",fields:{NUM:3}}}}},{kind:"block",type:"math_number_property"},{kind:"block",type:"math_trig"},{kind:"block",type:"math_single"},{kind:"sep",gap:"64"},{kind:"block",type:"text"},{kind:"block",type:"text_join",inline:"true",extraState:{itemCount:2}},{kind:"block",type:"lists_split"},{kind:"block",type:"text_indexOf"},{kind:"block",type:"text_charAt"},{kind:"block",type:"text_getSubstring"},{kind:"block",type:"text_replace"},{kind:"block",type:"text_count"},{kind:"block",type:"text_length"},{kind:"block",type:"text_changeCase"},{kind:"block",type:"text_trim"},{kind:"block",type:"math_types"}]},{kind:"category",name:"变量",categorystyle:"variable",custom:"VARIABLE",contents:[{kind:"block",type:"variables_set"},{kind:"block",type:"math_change"},{kind:"block",type:"variables_get"}]},{kind:"category",name:"列表",categorystyle:"list",contents:[{kind:"block",type:"lists_create_empty"},{kind:"block",type:"lists_create_with",inline:"true",extraState:{itemCount:1}},{kind:"block",type:"lists_push"},{kind:"block",type:"lists_insert"},{kind:"block",type:"lists_delete"},{kind:"block",type:"lists_set"},{kind:"sep",gap:"64"},{kind:"block",type:"lists_get"},{kind:"block",type:"lists_length"},{kind:"block",type:"lists_index"},{kind:"block",type:"lists_includes"}]},{kind:"category",name:"字典",categorystyle:"dict",contents:[{kind:"block",type:"set_dict",inline:"true",extraState:{itemCount:1}},{kind:"block",type:"dict_get"},{kind:"block",type:"dict_create"},{kind:"block",type:"dict_set"}]},{kind:"category",name:"函数",categorystyle:"function",custom:"PROCEDURE",contents:[{kind:"block",type:"procedures_defnoreturn"},{kind:"block",type:"procedures_defreturn"}]},{kind:"category",name:"时间",categorystyle:"time",contents:[{kind:"block",type:"time_import"},{kind:"block",type:"time_current"},{kind:"block",type:"time_timestamp_to_date"}]},{kind:"category",name:"HTTP",categorystyle:"http",contents:[{kind:"block",type:"http_import"},{kind:"block",type:"http_get"},{kind:"block",type:"http_post"}]},{kind:"category",name:"Sqlite",categorystyle:"sqlite",contents:[{kind:"block",type:"sqlite_open"},{kind:"block",type:"sqlite_query"},{kind:"block",type:"sqlite_exec"},{kind:"block",type:"sqlite_close"}]}],e2={kind:n8,contents:r8};function tn(o,n){const s=Tt.Blocks[o].init;Tt.Blocks[o].init=function(){s.bind(this)(),this.setStyle(n),this.inputsInline=!0}}e2.contents.forEach(function(o){if("contents"in o){let n=o.categorystyle;o.contents.forEach(function(s){s.kind==="block"&&tn(s.type,n)})}else console.warn("This category is empty. ","If you are using a custom approach, ","please list all possible blocks in contents for a unified format.")});Tt.Theme.defineTheme("codemao",{base:Tt.Themes.Zelos,blockStyles:{controller:{colourPrimary:"#68cdff",colourTertiary:"#5db8e5"},calculation:{colourPrimary:"#feae8a",colourTertiary:"#e49c7c"},function:{colourPrimary:"#f88767",colourTertiary:"#df795c"},utility:{colourPrimary:"#00afc3",colourTertiary:"#009daf"},variable:{colourPrimary:"#ffbb55",colourTertiary:"#e5a84c"},list:{colourPrimary:"#f9cc37",colourTertiary:"#e0b731"},time:{colourPrimary:"#f9cc37",colourTertiary:"#e0b731"},dictionary:{colourPrimary:"#a073ff",colourTertiary:"#9067e5"},color:{colourPrimary:"#2bc9a7",colourTertiary:"#19b693"},http:{colourPrimary:"#f9cc37",colourTertiary:"#e0b731"},sqlite:{colourPrimary:"#f9cc37",colourTertiary:"#e0b731"},dict:{colourPrimary:"#a073ff",colourTertiary:"#9067e5"}},categoryStyles:{controller:{colour:"#01adff"},calculation:{colour:"#f0aa8b"},function:{colour:"#f88767"},utility:{colour:"#5ab45b"},variable:{colour:"#ffbb55"},list:{colour:"#ff9c37"},dictionary:{colour:"#2bc9a7"},time:{colour:"#f9cc37"},color:{colour:"#2bc9a7"},http:{colour:"#f9cc37"},sqlite:{colour:"#f9cc37"},dict:{colour:"#a073ff"}}});class l8 extends Tt.zelos.ConstantProvider{constructor(){super(),this.NOTCH_WIDTH=0,this.NOTCH_HEIGHT=8,this.CORNER_RADIUS=4,this.FIELD_TEXT_FONTSIZE=13,this.FIELD_TEXT_FONTWEIGHT="500",this.TOP_ROW_MIN_HEIGHT=2,this.BOTTOM_ROW_MIN_HEIGHT=2,this.SELECTED_GLOW_COLOUR="#4062f6",this.REPLACEMENT_GLOW_COLOUR="#4062f6"}makeNotch(){function l(d){return Tt.utils.svgPaths.line([Tt.utils.svgPaths.point(0,0),Tt.utils.svgPaths.point(d*0,0),Tt.utils.svgPaths.point(0,-0)])}const a=l(1),u=l(-1);return{width:0,height:0+this.NOTCH_HEIGHT,pathLeft:a,pathRight:u}}}class c8 extends Tt.zelos.Renderer{constructor(n){super(n)}makeConstants_(){return new l8}}Tt.blockRendering.register("codemao",c8);var t2={exports:{}},h0={exports:{}},Db;function a8(){return Db||(Db=1,function(o,n){(function(s,l){o.exports=l(_d())})(Do,function(s){var l=s.__namespace__,a=function(b,O){return[O.quote_(b.getFieldValue("COLOUR")),E.ATOMIC]},u=function(b,O){return O.definitions_.import_random="import random",["'#%06x' % random.randint(0, 2**24 - 1)",E.FUNCTION_CALL]},d=function(b,O){const _=O.provideFunction_("colour_rgb",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(r, g, b):
+ r = round(min(100, max(0, r)) * 2.55)
+ g = round(min(100, max(0, g)) * 2.55)
+ b = round(min(100, max(0, b)) * 2.55)
+ return '#%02x%02x%02x' % (r, g, b)
+`),m=O.valueToCode(b,"RED",E.NONE)||0,C=O.valueToCode(b,"GREEN",E.NONE)||0;return b=O.valueToCode(b,"BLUE",E.NONE)||0,[_+"("+m+", "+C+", "+b+")",E.FUNCTION_CALL]},h=function(b,O){const _=O.provideFunction_("colour_blend",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(colour1, colour2, ratio):
+ r1, r2 = int(colour1[1:3], 16), int(colour2[1:3], 16)
+ g1, g2 = int(colour1[3:5], 16), int(colour2[3:5], 16)
+ b1, b2 = int(colour1[5:7], 16), int(colour2[5:7], 16)
+ ratio = min(1, max(0, ratio))
+ r = round(r1 * (1 - ratio) + r2 * ratio)
+ g = round(g1 * (1 - ratio) + g2 * ratio)
+ b = round(b1 * (1 - ratio) + b2 * ratio)
+ return '#%02x%02x%02x' % (r, g, b)
+`),m=O.valueToCode(b,"COLOUR1",E.NONE)||"'#000000'",C=O.valueToCode(b,"COLOUR2",E.NONE)||"'#000000'";return b=O.valueToCode(b,"RATIO",E.NONE)||0,[_+"("+m+", "+C+", "+b+")",E.FUNCTION_CALL]},p=function(b,O){return["[]",E.ATOMIC]},f=function(b,O){const _=Array(b.itemCount_);for(let m=0;m",GTE:">="}[b.getFieldValue("OP")],m=E.RELATIONAL,C=O.valueToCode(b,"A",m)||"0";return b=O.valueToCode(b,"B",m)||"0",[C+" "+_+" "+b,m]},S=function(b,O){const _=b.getFieldValue("OP")==="AND"?"and":"or",m=_==="and"?E.LOGICAL_AND:E.LOGICAL_OR;let C=O.valueToCode(b,"A",m);return b=O.valueToCode(b,"B",m),C||b?(O=_==="and"?"True":"False",C||(C=O),b||(b=O)):b=C="False",[C+" "+_+" "+b,m]},F=function(b,O){return["not "+(O.valueToCode(b,"BOOL",E.LOGICAL_NOT)||"True"),E.LOGICAL_NOT]},W=function(b,O){return[b.getFieldValue("BOOL")==="TRUE"?"True":"False",E.ATOMIC]},X=function(b,O){return["None",E.ATOMIC]},le=function(b,O){const _=O.valueToCode(b,"IF",E.CONDITIONAL)||"False",m=O.valueToCode(b,"THEN",E.CONDITIONAL)||"None";return b=O.valueToCode(b,"ELSE",E.CONDITIONAL)||"None",[m+" if "+_+" else "+b,E.CONDITIONAL]},$e=function(b,O){let _;_=b.getField("TIMES")?String(parseInt(b.getFieldValue("TIMES"),10)):O.valueToCode(b,"TIMES",E.NONE)||"0",_=l.isNumber$$module$build$src$core$utils$string(_)?parseInt(_,10):"int("+_+")";let m=O.statementToCode(b,"DO");return m=O.addLoopTrap(m,b)||O.PASS,"for "+O.nameDB_.getDistinctName("count",l.NameType$$module$build$src$core$names.VARIABLE)+" in range("+_+`):
+`+m},he=function(b,O){const _=b.getFieldValue("MODE")==="UNTIL";let m=O.valueToCode(b,"BOOL",_?E.LOGICAL_NOT:E.NONE)||"False",C=O.statementToCode(b,"DO");return C=O.addLoopTrap(C,b)||O.PASS,_&&(m="not "+m),"while "+m+`:
+`+C},fe=function(b,O){const _=O.nameDB_.getName(b.getFieldValue("VAR"),l.NameType$$module$build$src$core$names.VARIABLE);var m=O.valueToCode(b,"FROM",E.NONE)||"0",C=O.valueToCode(b,"TO",E.NONE)||"0",V=O.valueToCode(b,"BY",E.NONE)||"1";let ve=O.statementToCode(b,"DO");ve=O.addLoopTrap(ve,b)||O.PASS;let Ge="";const rt=function(){return O.provideFunction_("upRange",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(start, stop, step):
+ while start <= stop:
+ yield start
+ start += abs(step)
+`)},Mt=function(){return O.provideFunction_("downRange",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(start, stop, step):
+ while start >= stop:
+ yield start
+ start -= abs(step)
+`)};if(b=function(po,xe,wt){return"("+po+" <= "+xe+") and "+rt()+"("+po+", "+xe+", "+wt+") or "+Mt()+"("+po+", "+xe+", "+wt+")"},l.isNumber$$module$build$src$core$utils$string(m)&&l.isNumber$$module$build$src$core$utils$string(C)&&l.isNumber$$module$build$src$core$utils$string(V))m=Number(m),C=Number(C),V=Math.abs(Number(V)),m%1===0&&C%1===0&&V%1===0?(m<=C?(C++,b=m===0&&V===1?C:m+", "+C,V!==1&&(b+=", "+V)):(C--,b=m+", "+C+", -"+V),b="range("+b+")"):(b=mb?E.UNARY_SIGN:E.ATOMIC,[b,O]},D=function(b,O){var _={ADD:[" + ",E.ADDITIVE],MINUS:[" - ",E.ADDITIVE],MULTIPLY:[" * ",E.MULTIPLICATIVE],DIVIDE:[" / ",E.MULTIPLICATIVE],POWER:[" ** ",E.EXPONENTIATION]}[b.getFieldValue("OP")];const m=_[0];_=_[1];const C=O.valueToCode(b,"A",_)||"0";return b=O.valueToCode(b,"B",_)||"0",[C+m+b,_]},B=function(b,O){const _=b.getFieldValue("OP");let m;if(_==="NEG")return m=O.valueToCode(b,"NUM",E.UNARY_SIGN)||"0",["-"+m,E.UNARY_SIGN];switch(O.definitions_.import_math="import math",b=_==="SIN"||_==="COS"||_==="TAN"?O.valueToCode(b,"NUM",E.MULTIPLICATIVE)||"0":O.valueToCode(b,"NUM",E.NONE)||"0",_){case"ABS":m="math.fabs("+b+")";break;case"ROOT":m="math.sqrt("+b+")";break;case"LN":m="math.log("+b+")";break;case"LOG10":m="math.log10("+b+")";break;case"EXP":m="math.exp("+b+")";break;case"POW10":m="math.pow(10,"+b+")";break;case"ROUND":m="round("+b+")";break;case"ROUNDUP":m="math.ceil("+b+")";break;case"ROUNDDOWN":m="math.floor("+b+")";break;case"SIN":m="math.sin("+b+" / 180.0 * math.pi)";break;case"COS":m="math.cos("+b+" / 180.0 * math.pi)";break;case"TAN":m="math.tan("+b+" / 180.0 * math.pi)"}if(m)return[m,E.FUNCTION_CALL];switch(_){case"ASIN":m="math.asin("+b+") / math.pi * 180";break;case"ACOS":m="math.acos("+b+") / math.pi * 180";break;case"ATAN":m="math.atan("+b+") / math.pi * 180";break;default:throw Error("Unknown math operator: "+_)}return[m,E.MULTIPLICATIVE]},ae=function(b,O){const _={PI:["math.pi",E.MEMBER],E:["math.e",E.MEMBER],GOLDEN_RATIO:["(1 + math.sqrt(5)) / 2",E.MULTIPLICATIVE],SQRT2:["math.sqrt(2)",E.MEMBER],SQRT1_2:["math.sqrt(1.0 / 2)",E.MEMBER],INFINITY:["float('inf')",E.ATOMIC]};return b=b.getFieldValue("CONSTANT"),b!=="INFINITY"&&(O.definitions_.import_math="import math"),_[b]},_e=function(b,O){var _={EVEN:[" % 2 == 0",E.MULTIPLICATIVE,E.RELATIONAL],ODD:[" % 2 == 1",E.MULTIPLICATIVE,E.RELATIONAL],WHOLE:[" % 1 == 0",E.MULTIPLICATIVE,E.RELATIONAL],POSITIVE:[" > 0",E.RELATIONAL,E.RELATIONAL],NEGATIVE:[" < 0",E.RELATIONAL,E.RELATIONAL],DIVISIBLE_BY:[null,E.MULTIPLICATIVE,E.RELATIONAL],PRIME:[null,E.NONE,E.FUNCTION_CALL]};const m=b.getFieldValue("PROPERTY"),[C,V,ve]=_[m];if(_=O.valueToCode(b,"NUMBER_TO_CHECK",V)||"0",m==="PRIME")O.definitions_.import_math="import math",O.definitions_.from_numbers_import_Number="from numbers import Number",b=O.provideFunction_("math_isPrime",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(n):
+ # https://en.wikipedia.org/wiki/Primality_test#Naive_methods
+ # If n is not a number but a string, try parsing it.
+ if not isinstance(n, Number):
+ try:
+ n = float(n)
+ except:
+ return False
+ if n == 2 or n == 3:
+ return True
+ # False if n is negative, is 1, or not whole, or if n is divisible by 2 or 3.
+ if n <= 1 or n % 1 != 0 or n % 2 == 0 or n % 3 == 0:
+ return False
+ # Check all the numbers of form 6k +/- 1, up to sqrt(n).
+ for x in range(6, int(math.sqrt(n)) + 2, 6):
+ if n % (x - 1) == 0 or n % (x + 1) == 0:
+ return False
+ return True
+`)+"("+_+")";else if(m==="DIVISIBLE_BY"){if(b=O.valueToCode(b,"DIVISOR",E.MULTIPLICATIVE)||"0",b==="0")return["False",E.ATOMIC];b=_+" % "+b+" == 0"}else b=_+C;return[b,ve]},Me=function(b,O){O.definitions_.from_numbers_import_Number="from numbers import Number";const _=O.valueToCode(b,"DELTA",E.ADDITIVE)||"0";return b=O.nameDB_.getName(b.getFieldValue("VAR"),l.NameType$$module$build$src$core$names.VARIABLE),b+" = ("+b+" if isinstance("+b+", Number) else 0) + "+_+`
+`},Xe=function(b,O){const _=b.getFieldValue("OP");switch(b=O.valueToCode(b,"LIST",E.NONE)||"[]",_){case"SUM":O="sum("+b+")";break;case"MIN":O="min("+b+")";break;case"MAX":O="max("+b+")";break;case"AVERAGE":O.definitions_.from_numbers_import_Number="from numbers import Number",O=O.provideFunction_("math_mean",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(myList):
+ localList = [e for e in myList if isinstance(e, Number)]
+ if not localList: return
+ return float(sum(localList)) / len(localList)
+`)+"("+b+")";break;case"MEDIAN":O.definitions_.from_numbers_import_Number="from numbers import Number",O=O.provideFunction_("math_median",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(myList):
+ localList = sorted([e for e in myList if isinstance(e, Number)])
+ if not localList: return
+ if len(localList) % 2 == 0:
+ return (localList[len(localList) // 2 - 1] + localList[len(localList) // 2]) / 2.0
+ else:
+ return localList[(len(localList) - 1) // 2]
+`)+"("+b+")";break;case"MODE":O=O.provideFunction_("math_modes",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(some_list):
+ modes = []
+ # Using a lists of [item, count] to keep count rather than dict
+ # to avoid "unhashable" errors when the counted item is itself a list or dict.
+ counts = []
+ maxCount = 1
+ for item in some_list:
+ found = False
+ for count in counts:
+ if count[0] == item:
+ count[1] += 1
+ maxCount = max(maxCount, count[1])
+ found = True
+ if not found:
+ counts.append([item, 1])
+ for counted_item, item_count in counts:
+ if item_count == maxCount:
+ modes.append(counted_item)
+ return modes
+`)+"("+b+")";break;case"STD_DEV":O.definitions_.import_math="import math",O=O.provideFunction_("math_standard_deviation",`
+def ${O.FUNCTION_NAME_PLACEHOLDER_}(numbers):
+ n = len(numbers)
+ if n == 0: return
+ mean = float(sum(numbers)) / n
+ variance = sum((x - mean) ** 2 for x in numbers) / n
+ return math.sqrt(variance)
+`)+"("+b+")";break;case"RANDOM":O.definitions_.import_random="import random",O="random.choice("+b+")";break;default:throw Error("Unknown operator: "+_)}return[O,E.FUNCTION_CALL]},Je=function(b,O){const _=O.valueToCode(b,"DIVIDEND",E.MULTIPLICATIVE)||"0";return b=O.valueToCode(b,"DIVISOR",E.MULTIPLICATIVE)||"0",[_+" % "+b,E.MULTIPLICATIVE]},we=function(b,O){const _=O.valueToCode(b,"VALUE",E.NONE)||"0",m=O.valueToCode(b,"LOW",E.NONE)||"0";return b=O.valueToCode(b,"HIGH",E.NONE)||"float('inf')",["min(max("+_+", "+m+"), "+b+")",E.FUNCTION_CALL]},We=function(b,O){O.definitions_.import_random="import random";const _=O.valueToCode(b,"FROM",E.NONE)||"0";return b=O.valueToCode(b,"TO",E.NONE)||"0",["random.randint("+_+", "+b+")",E.FUNCTION_CALL]},Ze=function(b,O){return O.definitions_.import_random="import random",["random.random()",E.FUNCTION_CALL]},nt=function(b,O){O.definitions_.import_math="import math";const _=O.valueToCode(b,"X",E.NONE)||"0";return["math.atan2("+(O.valueToCode(b,"Y",E.NONE)||"0")+", "+_+") / math.pi * 180",E.MULTIPLICATIVE]},ht=function(b,O){var _=[],m=b.workspace,C=l.allUsedVarModels$$module$build$src$core$variables(m)||[];for(let xe=0,wt;wt=C[xe];xe++){var V=wt.name;b.getVars().indexOf(V)===-1&&_.push(O.nameDB_.getName(V,l.NameType$$module$build$src$core$names.VARIABLE))}for(m=l.allDeveloperVariables$$module$build$src$core$variables(m),C=0;C_?"int("+b+" - "+-_+")":"int("+b+")",m&&(b="-"+b)),b}},R={};R.colour_blend=h,R.colour_picker=a,R.colour_random=u,R.colour_rgb=d;var G={};G.lists_create_empty=p,G.lists_create_with=f,G.lists_getIndex=x,G.lists_getSublist=ne,G.lists_indexOf=P,G.lists_isEmpty=k,G.lists_length=y,G.lists_repeat=T,G.lists_reverse=Y,G.lists_setIndex=z,G.lists_sort=ie,G.lists_split=Z;var q={};q.controls_if=M,q.controls_ifelse=M,q.logic_boolean=W,q.logic_compare=L,q.logic_negate=F,q.logic_null=X,q.logic_operation=S,q.logic_ternary=le;var Ee={};Ee.controls_flow_statements=re,Ee.controls_for=fe,Ee.controls_forEach=ke,Ee.controls_repeat=$e,Ee.controls_repeat_ext=$e,Ee.controls_whileUntil=he;var ze={};ze.math_arithmetic=D,ze.math_atan2=nt,ze.math_change=Me,ze.math_constant=ae,ze.math_constrain=we,ze.math_modulo=Je,ze.math_number=Ie,ze.math_number_property=_e,ze.math_on_list=Xe,ze.math_random_float=Ze,ze.math_random_int=We,ze.math_round=B,ze.math_single=B,ze.math_trig=B;var yt={};yt.procedures_callnoreturn=Pe,yt.procedures_callreturn=et,yt.procedures_defnoreturn=ht,yt.procedures_defreturn=ht,yt.procedures_ifreturn=w;var ls=/^\s*'([^']|\\')*'\s*$/,ii=function(b){return ls.test(b)?[b,E.ATOMIC]:["str("+b+")",E.FUNCTION_CALL]},xt={};xt.text=I,xt.text_append=K,xt.text_changeCase=ce,xt.text_charAt=oe,xt.text_count=be,xt.text_getSubstring=Ce,xt.text_indexOf=Te,xt.text_isEmpty=de,xt.text_join=A,xt.text_length=U,xt.text_multiline=N,xt.text_print=Le,xt.text_prompt=Ue,xt.text_prompt_ext=Ue,xt.text_replace=ee,xt.text_reverse=se,xt.text_trim=Se;var Qo={};Qo.variables_get=ue,Qo.variables_set=ye;var Ut={};Ut.variables_get_dynamic=ue,Ut.variables_set_dynamic=ye;var ws=new g;ws.addReservedWords("math,random,Number"),Object.assign(ws.forBlock,R,G,q,Ee,ze,yt,xt,Qo,Ut);var qo={};return qo.Order=E,qo.PythonGenerator=g,qo.pythonGenerator=ws,qo.__namespace__=l,qo})}(h0)),h0.exports}(function(o,n){(function(s,l){o.exports=l(Vc(),a8())})(Do,function(s,l){/**
+ * @license
+ * Copyright 2020 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */return l})})(t2);var Ve=t2.exports;function tr(o){return/^\d+$/.test(o)}Ve.pythonGenerator.forBlock.controls_forever=function(o,n){return`while True:
+`+n.statementToCode(o,"DO")};Ve.pythonGenerator.forBlock.math_evenly_divisible=function(o,n){const s=n.valueToCode(o,"DIVIDEND",Ve.Order.NONE)||"0",l=n.valueToCode(o,"DIVISOR",Ve.Order.NONE)||"1";return[s+" % "+l+" == 0",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.text_charAt=function(o,n){const s=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"''";let l=n.valueToCode(o,"AT",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE")==="FROM_START"?l=tr(l)?Number(l)-1:l+" - 1":o.getFieldValue("WHERE")==="FROM_END"&&(l=s+".length - "+l),[s+"["+l+"]",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.text_getSubstring=function(o,n){const s=n.valueToCode(o,"STRING",Ve.Order.NONE)||"''";let l=n.valueToCode(o,"WHERE1",Ve.Order.NONE)||"1",a=n.valueToCode(o,"WHERE2",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE1")==="FROM_START"?l=tr(l)?Number(l)-1:l+" - 1":o.getFieldValue("WHERE1")==="FROM_END"&&(l=s+".length - "+l),o.getFieldValue("WHERE2")==="FROM_END"&&(a=tr(a)?Number(a)-1:a+" - 1",a=s+".length - "+a),[s+"["+l+":"+a+"]",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.math_types=function(o,n){const s={STRING:"str",NUMBER:"float",BOOLEAN:"bool"},l=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"";return[s[o.getFieldValue("TYPE")]+"("+l+")",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.lists_push=function(o,n){const s=n.valueToCode(o,"ITEM",Ve.Order.NONE)||"";return(n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]")+".append("+s+")"};Ve.pythonGenerator.forBlock.lists_insert=function(o,n){const s=n.valueToCode(o,"ITEM",Ve.Order.NONE)||"None",l=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]";let a=n.valueToCode(o,"AT",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE")==="FROM_START"?a=tr(a)?Number(a)-1:a+" - 1":o.getFieldValue("WHERE")==="FROM_END"&&(a=l+".length - "+a),l+".insert("+a+", "+s+")"};Ve.pythonGenerator.forBlock.lists_delete=function(o,n){const s=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]";let l=n.valueToCode(o,"AT",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE")==="FROM_START"?l=tr(l)?Number(l)-1:l+" - 1":o.getFieldValue("WHERE")==="FROM_END"&&(l=s+".length - "+l),s+".pop("+l+")"};Ve.pythonGenerator.forBlock.lists_set=function(o,n){const s=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]",l=n.valueToCode(o,"TO",Ve.Order.NONE)||"None";let a=n.valueToCode(o,"AT",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE")==="FROM_START"?a=tr(a)?Number(a)-1:a+" - 1":o.getFieldValue("WHERE")==="FROM_END"&&(a=s+".length - "+a),s+"["+a+"] = "+l};Ve.pythonGenerator.forBlock.lists_get=function(o,n){const s=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]";let l=n.valueToCode(o,"AT",Ve.Order.NONE)||"1";return o.getFieldValue("WHERE")==="FROM_START"?l=tr(l)?Number(l)-1:l+" - 1":o.getFieldValue("WHERE")==="FROM_END"&&(l=s+".length - "+l),[s+"["+l+"]",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.lists_index=function(o,n){const s=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]",l=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"''";let a;return o.getFieldValue("WHERE")==="FROM_START"?a=s+".index("+l+") + 1":o.getFieldValue("WHERE")==="FROM_END"&&(a=s+".rindex("+l+") + 1"),[a,Ve.Order.NONE]};Ve.pythonGenerator.forBlock.lists_includes=function(o,n){const s=n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]",l=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"''";return[s+".count("+l+") > 0",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.lists_length=function(o,n){return[(n.valueToCode(o,"LIST",Ve.Order.NONE)||"[]")+".length",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.time_current=function(){return["time.time()",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.time_timestamp_to_date=function(o,n){return["datetime.datetime.fromtimestamp("+(n.valueToCode(o,"TIMESTAMP",Ve.Order.NONE)||"0")+').strftime("%Y-%m-%d %H:%M:%S")',Ve.Order.NONE]};Ve.pythonGenerator.forBlock.time_import=function(){return`import time
+`};Ve.pythonGenerator.forBlock.http_import=function(){return`import requests
+`};Ve.pythonGenerator.forBlock.http_get=function(o,n){const s=n.valueToCode(o,"URL",Ve.Order.NONE)||"''",l=n.valueToCode(o,"HEADERS",Ve.Order.NONE)||"{}",a=n.valueToCode(o,"COOKIES",Ve.Order.NONE)||"{}";return["requests.get("+s+", headers="+l+", cookies="+a+")",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.http_post=function(o,n){const s=n.valueToCode(o,"URL",Ve.Order.NONE)||"''",l=n.valueToCode(o,"HEADERS",Ve.Order.NONE)||"{}",a=n.valueToCode(o,"COOKIES",Ve.Order.NONE)||"{}",u=n.valueToCode(o,"DATA",Ve.Order.NONE)||"{}";return["requests.post("+s+", headers="+l+", cookies="+a+", data="+u+")",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.dict_create=function(){return["dict()",Ve.Order.NONE]};Ve.pythonGenerator.forBlock.dict_set=function(o,n){const s=n.valueToCode(o,"KEY",Ve.Order.NONE)||"''",l=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"''";return(n.valueToCode(o,"DICT",Ve.Order.NONE)||"{}")+"["+s+"] = "+l};Ve.pythonGenerator.forBlock.set_dict=function(o,n){const s=n.valueToCode(o,"KEY",Ve.Order.NONE)||"''",l=n.valueToCode(o,"VALUE",Ve.Order.NONE)||"''";return"{"+s+":"+l+"}"};Ve.pythonGenerator.forBlock.dict_get=function(o,n){const s=n.valueToCode(o,"KEY",Ve.Order.NONE)||"''";return[(n.valueToCode(o,"DICT",Ve.Order.NONE)||"{}")+"["+s+"]",Ve.Order.NONE]};var Ns=(o,n)=>{const s=o.__vccOpts||o;for(const[l,a]of n)s[l]=a;return s};const u8={name:"IconDark",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},d8=["fill"],h8=Ne("defs",null,[Ne("clipPath",{id:"svg_a82fd95db1__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),p8=Ne("g",{"clip-path":"url(#svg_a82fd95db1__a)"},[Ne("path",{d:"M28.4559,2.45191Q26.2603,2,24,2Q19.525399999999998,2,15.436,3.72969Q11.48756,5.39973,8.44365,8.44365Q5.39973,11.48757,3.729689,15.436Q2,19.525399999999998,2,24Q2,28.4746,3.72969,32.564Q5.39973,36.5124,8.44365,39.5564Q11.48757,42.6003,15.436,44.2703Q19.525399999999998,46,24,46Q28.4746,46,32.564,44.2703Q36.5124,42.6003,39.5564,39.5564Q42.6003,36.5124,44.2703,32.564Q46,28.4746,46,24Q46,21.7397,45.548,19.544Q45.5199,19.407600000000002,45.4732,19.2763Q45.4265,19.1451,45.362,19.0216Q45.2975,18.8981,45.2165,18.7847Q45.1355,18.6714,45.0396,18.5703Q44.9437,18.4693,44.8347,18.3825Q44.7257,18.2958,44.6057,18.224899999999998Q44.4857,18.1541,44.3571,18.1006Q44.2285,18.0471,44.0936,18.012Q43.9986,17.9872,43.9015,17.971899999999998Q43.8045,17.9565,43.7064,17.950699999999998Q43.6083,17.945,43.5101,17.948900000000002Q43.4119,17.9527,43.3146,17.9662Q43.2173,17.9797,43.1218,18.0027Q43.0262,18.0256,42.9334,18.0578Q42.8406,18.0901,42.7514,18.1312Q42.6621,18.1724,42.5774,18.222099999999998Q42.4926,18.2718,42.4132,18.3295Q42.3337,18.3873,42.2602,18.4526Q42.1868,18.517899999999997,42.1201,18.59Q42.0535,18.6622,41.9942,18.7406Q41.9349,18.8189,41.8836,18.9027Q41.8323,18.9865,41.7894,19.0749Q41.7465,19.1633,41.7126,19.255499999999998Q41.6786,19.3477,41.6538,19.4428Q40.7431,22.9361,37.8816,25.1777Q34.9751,27.4545,31.2727,27.4545Q29.0889,27.4545,27.0978,26.6123Q25.1731,25.7983,23.6874,24.3126Q22.2017,22.8269,21.3877,20.9022Q20.5455,18.911099999999998,20.5455,16.7273Q20.5455,13.02491,22.8223,10.118459999999999Q25.0639,7.2569300000000005,28.5573,6.346159999999999Q28.6921,6.31101,28.8207,6.25751Q28.9494,6.20401,29.0693,6.13319Q29.1893,6.06237,29.2983,5.9756Q29.4073,5.8888300000000005,29.5032,5.78778Q29.5992,5.68674,29.6801,5.57337Q29.7611,5.46,29.8256,5.3365Q29.8901,5.213,29.9368,5.0817499999999995Q29.9836,4.9505040000000005,30.0116,4.814043Q30.0513,4.621105,30.0527,4.424127Q30.054,4.227148,30.0168,4.0336998Q29.9797,3.840251,29.9055,3.6577669999999998Q29.8313,3.475282,29.723,3.310774Q29.6146,3.146266,29.4763,3.006056Q29.3379,2.86585,29.1749,2.75532Q29.0118,2.6448,28.8303,2.56821Q28.6488,2.49162,28.4559,2.45191ZM20.8976,6.26333Q18.894,6.6101399999999995,16.9942,7.41371Q13.76432,8.77983,11.272079999999999,11.272079999999999Q8.77983,13.76432,7.41371,16.9942Q6,20.3366,6,24Q6,27.6634,7.41371,31.0058Q8.77983,34.2357,11.272079999999999,36.7279Q13.76433,39.2202,16.9942,40.5863Q20.3366,42,24,42Q27.6634,42,31.0058,40.5863Q34.2357,39.2202,36.7279,36.7279Q39.2202,34.2357,40.5863,31.0058Q41.3899,29.106,41.7367,27.1024Q41.0902,27.7453,40.3483,28.3265Q36.3553,31.4545,31.2727,31.4545Q28.2778,31.4545,25.5396,30.2964Q22.8963,29.1783,20.859,27.141Q18.8216,25.1037,17.7036,22.4604Q16.5455,19.7222,16.5455,16.7273Q16.5455,11.6447,19.6735,7.65174Q20.2547,6.90977,20.8976,6.26333Z","fill-rule":"evenodd"})],-1),$8=[h8,p8];function _8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-dark`],width:"1em",height:"1em"},o.$attrs),$8,16,d8)}var g8=Ns(u8,[["render",_8]]);const f8={name:"IconCode",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},m8=["fill"],T8=Ne("defs",null,[Ne("clipPath",{id:"svg_c13367945d__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),E8=Ne("g",{"clip-path":"url(#svg_c13367945d__a)","fill-rule":"evenodd"},[Ne("path",{d:"M13.6112 38.4392L13.6119 38.4399Q13.7504 38.5734 13.9118 38.6781 14.0732 38.7827 14.2516 38.8547 14.43 38.9267 14.6188 38.963300000000004 14.8076 39 15 39 15.0183 39 15.0367 38.999700000000004 15.2336 38.9961 15.4261 38.9541 15.6185 38.912099999999995 15.7991 38.8334 15.9797 38.7547 16.1414 38.6423 16.3032 38.5299 16.4399 38.3881 16.5734 38.2496 16.6781 38.0882 16.7827 37.9268 16.8547 37.748400000000004 16.9267 37.57 16.9633 37.3812 17 37.1924 17 37 17 36.981700000000004 16.9997 36.963300000000004 16.9961 36.766400000000004 16.9541 36.573899999999995 16.912100000000002 36.3815 16.833399999999997 36.200900000000004 16.7547 36.0203 16.6423 35.858599999999996 16.529899999999998 35.696799999999996 16.3881 35.5601L16.3873 35.5594 5.8288899999999995 25.3812 16.438200000000002 14.38983 16.439 14.38898Q16.572699999999998 14.25047 16.677500000000002 14.088989999999999 16.782400000000003 13.927508 16.8545 13.748998 16.9266 13.570489 16.9633 13.381504 17 13.19252 17 13.000000000000012 17 12.9823145 16.9997 12.9646317 16.9962 12.76768 16.9544 12.575192 16.9125 12.382703 16.8339 12.202077 16.7553 12.02145 16.643 11.85963 16.5307 11.6978 16.389 11.561 16.250500000000002 11.4273 16.089 11.32247 15.9275 11.217649999999999 15.749 11.14555 15.5705 11.07345 15.3815 11.03672 15.1925 11 15 11L14.9976 11Q14.9811 11.00002 14.9646 11.00031 14.7677 11.0038 14.5752 11.04564 14.3827 11.08748 14.2021 11.16606 14.0215 11.24465 13.8596 11.35697 13.6978 11.46929 13.561 11.61102L13.5602 11.61187 1.561 24.043100000000003 1.5601 24.0441Q1.42339 24.1859 1.31697 24.3517 1.21055 24.517400000000002 1.13852 24.7008 1.06649 24.8841 1.03161 25.078.9967299999999999 25.2718 1.00034 25.4688 1.00395 25.6657 1.04591 25.8582 1.08788 26.0507 1.16658 26.2312 1.24529 26.4118 1.35771 26.5736 1.47013 26.735300000000002 1.61195 26.872L13.6112 38.4392zM31.6128 35.5593L31.61195 35.5601Q31.47013 35.696799999999996 31.35771 35.858599999999996 31.24529 36.0203 31.16658 36.200900000000004 31.08788 36.3815 31.04591 36.573899999999995 31.00395 36.766400000000004 31.00034 36.963300000000004 31 36.981700000000004 31 37 31 37.0297 31.00088 37.0594 31.00638 37.2442 31.04565 37.4249 31.08491 37.6055 31.15663 37.7759 31.22834 37.9463 31.33007 38.1006 31.4318 38.254999999999995 31.5601 38.3881 31.70002 38.5332 31.8661 38.6475 32.032178 38.7618 32.217728 38.8407 32.403278 38.9195 32.600833 38.9598 32.798388 39 33 39 33.03343 39 33.066851 38.9989 33.250672 38.9927 33.430289 38.953199999999995 33.609906 38.9136 33.779294 38.841899999999995 33.948681 38.7703 34.10216 38.6689 34.25563 38.5676 34.38805 38.4399L34.3889 38.439099999999996 46.3881 26.872Q46.5299 26.735300000000002 46.6423 26.5736 46.7547 26.4118 46.8334 26.2312 46.9121 26.0507 46.9541 25.8582 46.9961 25.6657 46.999700000000004 25.4688 47.003299999999996 25.2718 46.9684 25.078 46.9335 24.8841 46.8615 24.7008 46.7894 24.517400000000002 46.683 24.3517 46.5766 24.1859 46.4399 24.0441L46.439 24.043100000000003 34.4391 11.61111 34.439 11.61102Q34.2991 11.46607 34.1331 11.351939999999999 33.9671 11.23781 33.781676 11.15908 33.596251 11.08035 33.398849 11.04017 33.201448 11 32.999999999999986 11 32.9659166 11 32.9318531 11.00116 32.748036 11.00743 32.568444 11.04711 32.388853 11.0868 32.219512 11.15858 32.050171 11.23035 31.89676 11.33181 31.74335 11.43326 31.61102 11.561 31.46607 11.7009 31.35194 11.8669 31.23781 12.0329 31.15908 12.218323999999999 31.08035 12.403749 31.04017 12.601151 31 12.798552 31 13 31 13.0340834 31.00116 13.0681469 31.00743 13.251964 31.04711 13.431556 31.0868 13.611147 31.15858 13.780488 31.23035 13.949829 31.33181 14.10324 31.43326 14.25665 31.561 14.38898L31.56109 14.38908 42.17111 25.3812 31.6128 35.5593zM26.02983 3.655886L19.02994 43.6552Q19 43.8263 19 44L19.00009 44.0195Q19.00094 44.1063 19.0093 44.1926 19.01766 44.279 19.03347 44.3644 19.04929 44.4497 19.07243 44.5334 19.095579999999998 44.617 19.12588 44.6984 19.15619 44.7797 19.19343 44.8581 19.23067 44.9365 19.27455 45.0114 19.31844 45.0862 19.36865 45.157 19.41887 45.2278 19.47502 45.294 19.53118 45.3602 19.59285 45.4212 19.65453 45.4823 19.72126 45.5378 19.788 45.5933 19.85929 45.6428 19.93058 45.6923 20.005894 45.7354 20.081206 45.7786 20.159972 45.815 20.238738 45.8515 20.320366 45.881 20.401994 45.9105 20.48587 45.9328 20.569746 45.9551 20.655239 45.9701 20.82632 46 21 46 21.0211794 46 21.0423827 45.9996 21.339964 45.9932 21.622812 45.9006 21.905661 45.8079 22.149259999999998 45.6368 22.31047 45.5236 22.44651 45.3812 22.58254 45.2387 22.68816 45.0724 22.79379 44.9062 22.86495 44.7225 22.9361 44.5388 22.97006 44.3448L29.97006 4.344761Q30 4.173682 30 4.0000044183 30 3.9788062 29.99955 3.9576172 29.99324 3.660036 29.900550000000003 3.377187 29.807859999999998 3.0943389999999997 29.63683 2.85074 29.52363 2.68953 29.38116 2.55349 29.2387 2.41746 29.07243 2.31184 28.90616 2.20621 28.72248 2.1350499999999997 28.53879 2.0639000000000003 28.34476 2.02994 28.17368 2 28 2L27.98053 2.00009Q27.89374 2.00094 27.80735 2.0093 27.720959999999998 2.0176600000000002 27.63562 2.0334700000000003 27.55028 2.04929 27.466630000000002 2.0724299999999998 27.38298 2.09558 27.301650000000002 2.12588 27.22032 2.15619 27.14192 2.19343 27.06352 2.23067 26.98865 2.27455 26.91377 2.31844 26.84297 2.3686499999999997 26.77218 2.41887 26.706 2.4750199999999998 26.63982 2.53118 26.57876 2.5928500000000003 26.51769 2.6545300000000003 26.4622 2.72126 26.40671 2.7880000000000003 26.3572 2.85929 26.3077 2.93058 26.26456 3.005894 26.221420000000002 3.081206 26.18497 3.159972 26.14851 3.238738 26.11902 3.320366 26.08952 3.401994 26.06721 3.4858700000000002 26.0449 3.569746 26.02994 3.655239L26.02983 3.655886z"})],-1),b8=[T8,E8];function v8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-code`],width:"1em",height:"1em"},o.$attrs),b8,16,m8)}var I8=Ns(f8,[["render",v8]]);const O8={name:"IconBigger",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},C8=["fill"],y8=rd(' ',2),S8=[y8];function R8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-bigger`],width:"1em",height:"1em"},o.$attrs),S8,16,C8)}var k8=Ns(O8,[["render",R8]]);const A8={name:"IconSmaller",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},L8=["fill"],N8=Ne("defs",null,[Ne("clipPath",{id:"svg_23394313d7__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),w8=Ne("g",{"clip-path":"url(#svg_23394313d7__a)"},[Ne("path",{d:"M6,26L42,26Q42.0983,26,42.196,25.99037Q42.2938,25.98074,42.3902,25.961570000000002Q42.4865,25.9424,42.5806,25.91388Q42.6746,25.88536,42.7654,25.84776Q42.8561,25.81016,42.9428,25.763840000000002Q43.0294,25.71753,43.1111,25.66294Q43.1928,25.60835,43.2688,25.54602Q43.3447,25.48369,43.4142,25.41421Q43.4837,25.34474,43.546,25.26879Q43.6083,25.19284,43.6629,25.11114Q43.7175,25.02945,43.7638,24.942793Q43.8102,24.856141,43.8478,24.765367Q43.8854,24.674592,43.9139,24.580569Q43.9424,24.486546,43.9616,24.390181Q43.9807,24.293815,43.9904,24.196034Q44,24.0982537,44,24Q44,23.9017463,43.9904,23.803966Q43.9807,23.706185,43.9616,23.609819Q43.9424,23.513454,43.9139,23.419431Q43.8854,23.325408,43.8478,23.234633Q43.8102,23.143859,43.7638,23.057207Q43.7175,22.97055,43.6629,22.88886Q43.6083,22.80716,43.546,22.73121Q43.4837,22.65526,43.4142,22.58579Q43.3447,22.51631,43.2688,22.45398Q43.1928,22.39165,43.1111,22.33706Q43.0294,22.28247,42.9428,22.236159999999998Q42.8561,22.18984,42.7654,22.15224Q42.6746,22.11464,42.5806,22.08612Q42.4865,22.0576,42.3902,22.038429999999998Q42.2938,22.01926,42.196,22.00963Q42.0983,22,42,22L6,22Q5.9017463,22,5.803966,22.00963Q5.706185,22.01926,5.609819,22.038429999999998Q5.513454,22.0576,5.419431,22.08612Q5.325408,22.11464,5.234633,22.15224Q5.143859,22.18984,5.057207,22.236159999999998Q4.97055,22.28247,4.88886,22.33706Q4.80716,22.39165,4.73121,22.45398Q4.65526,22.51631,4.58579,22.58579Q4.51631,22.65526,4.45398,22.73121Q4.39165,22.80716,4.33706,22.88886Q4.28247,22.97055,4.23616,23.057207Q4.18984,23.143859,4.15224,23.234633Q4.11464,23.325408,4.08612,23.419431Q4.0576,23.513454,4.03843,23.609819Q4.01926,23.706185,4.00963,23.803966Q4,23.9017463,4,24Q4,24.0982537,4.00963,24.196034Q4.01926,24.293815,4.03843,24.390181Q4.0576,24.486546,4.08612,24.580569Q4.11464,24.674592,4.15224,24.765367Q4.18984,24.856141,4.23616,24.942793Q4.28247,25.02945,4.33706,25.11114Q4.39165,25.19284,4.45398,25.26879Q4.51631,25.34474,4.58579,25.41421Q4.65526,25.48369,4.73121,25.54602Q4.80716,25.60835,4.88886,25.66294Q4.97055,25.71753,5.057207,25.763840000000002Q5.143859,25.81016,5.234633,25.84776Q5.325408,25.88536,5.419431,25.91388Q5.513454,25.9424,5.609819,25.961570000000002Q5.706185,25.98074,5.803966,25.99037Q5.9017463,26,6,26Z","fill-rule":"evenodd"})],-1),M8=[N8,w8];function D8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-smaller`],width:"1em",height:"1em"},o.$attrs),M8,16,L8)}var P8=Ns(A8,[["render",D8]]);const x8={name:"IconAuto",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},B8=["fill"],F8=rd(' ',2),U8=[F8];function H8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-auto`],width:"1em",height:"1em"},o.$attrs),U8,16,B8)}var V8=Ns(x8,[["render",H8]]);const G8={name:"IconLight",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},W8=["fill"],z8=rd(' ',2),X8=[z8];function j8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-light`],width:"1em",height:"1em"},o.$attrs),X8,16,W8)}var Y8=Ns(G8,[["render",j8]]);const K8={name:"IconClose",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},Q8=["fill"],q8=rd(' ',2),J8=[q8];function Z8(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-close`],width:"1em",height:"1em"},o.$attrs),J8,16,Q8)}var o2=Ns(K8,[["render",Z8]]);const eD={name:"IconDownload",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},tD=["fill"],oD=Ne("defs",null,[Ne("clipPath",{id:"svg_fd45640674__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),sD=Ne("g",{"clip-path":"url(#svg_fd45640674__a)"},[Ne("path",{d:"M26,26.3152L31.6577,20.6569L34.4863,23.4851L24.0022,33.9704L13.51586,23.4853L16.34414,20.6567L22,26.3119L22,5L26,5L26,26.3152ZM10,39L10,35L6,35L6,43L42,43L42,35L38,35L38,39L10,39Z","fill-rule":"evenodd"})],-1),iD=[oD,sD];function nD(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-download`],width:"1em",height:"1em"},o.$attrs),iD,16,tD)}var rD=Ns(eD,[["render",nD]]);const lD={name:"IconCleanup",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},cD=["fill"],aD=Ne("defs",null,[Ne("clipPath",{id:"svg_9a669f61db__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),uD=Ne("g",{"clip-path":"url(#svg_9a669f61db__a)","fill-rule":"evenodd"},[Ne("path",{d:"M14 7L14 19Q14 19.098300000000002 14.00963 19.195999999999998 14.01926 19.293799999999997 14.03843 19.3902 14.0576 19.4865 14.08612 19.5806 14.11464 19.674599999999998 14.152239999999999 19.7654 14.18984 19.856099999999998 14.23616 19.9428 14.28247 20.029400000000003 14.33706 20.1111 14.39165 20.1928 14.45398 20.2688 14.51631 20.3447 14.58579 20.4142 14.65526 20.4837 14.73121 20.546 14.80716 20.6084 14.88886 20.6629 14.97055 20.7175 15.057207 20.7638 15.143858999999999 20.810200000000002 15.234633 20.8478 15.325408 20.8854 15.419431 20.913899999999998 15.513454 20.9424 15.609819 20.9616 15.706185 20.9807 15.803966 20.9904 15.9017463 21 16 21L42 21Q42.098299999999995 21 42.196 20.9904 42.293800000000005 20.9807 42.3902 20.9616 42.4865 20.9424 42.580600000000004 20.913899999999998 42.6746 20.8854 42.7654 20.8478 42.8561 20.810200000000002 42.9428 20.7638 43.029399999999995 20.7175 43.1111 20.6629 43.1928 20.6084 43.2688 20.546 43.3447 20.4837 43.4142 20.4142 43.4837 20.3447 43.546 20.2688 43.6084 20.1928 43.6629 20.1111 43.7175 20.029400000000003 43.7638 19.9428 43.810199999999995 19.856099999999998 43.8478 19.7654 43.885400000000004 19.674599999999998 43.9139 19.5806 43.9424 19.4865 43.961600000000004 19.3902 43.9807 19.293799999999997 43.9904 19.195999999999998 44 19.098300000000002 44 19L44 7Q44 6.9017463 43.9904 6.803966 43.9807 6.706185 43.961600000000004 6.609819 43.9424 6.513454 43.9139 6.419431 43.885400000000004 6.325408 43.8478 6.234633 43.810199999999995 6.143859 43.7638 6.057207 43.7175 5.97055 43.6629 5.88886 43.6084 5.80716 43.546 5.73121 43.4837 5.65526 43.4142 5.58579 43.3447 5.51631 43.2688 5.45398 43.1928 5.39165 43.1111 5.33706 43.029399999999995 5.28247 42.9428 5.23616 42.8561 5.18984 42.7654 5.15224 42.6746 5.11464 42.580600000000004 5.08612 42.4865 5.0576 42.3902 5.03843 42.293800000000005 5.01926 42.196 5.00963 42.098299999999995 5 42 5L16 5Q15.9017463 5 15.803966 5.00963 15.706185 5.01926 15.609819 5.03843 15.513454 5.0576 15.419431 5.08612 15.325408 5.11464 15.234633 5.15224 15.143858999999999 5.18984 15.057207 5.23616 14.97055 5.28247 14.88886 5.33706 14.80716 5.39165 14.73121 5.45398 14.65526 5.51631 14.58579 5.58579 14.51631 5.65526 14.45398 5.73121 14.39165 5.80716 14.33706 5.88886 14.28247 5.97055 14.23616 6.057207 14.18984 6.143859 14.152239999999999 6.234633 14.11464 6.325408 14.08612 6.419431 14.0576 6.513454 14.03843 6.609819 14.01926 6.706185 14.00963 6.803966 14 6.9017463 14 7zM18 17L18 9 40 9 40 17 18 17zM8 42L8 6Q8 5.9017463 7.99037 5.803966 7.98074 5.706185 7.96157 5.609819 7.9424 5.513454 7.91388 5.419431 7.88536 5.325408 7.84776 5.234633 7.81016 5.143859 7.76384 5.057207 7.71753 4.97055 7.66294 4.88886 7.60835 4.80716 7.54602 4.73121 7.48369 4.65526 7.41421 4.58579 7.34474 4.51631 7.26879 4.45398 7.19284 4.39165 7.11114 4.33706 7.02945 4.28247 6.942793 4.23616 6.856141 4.18984 6.765367 4.15224 6.674592 4.11464 6.580569 4.08612 6.486546 4.0576 6.390181 4.03843 6.293815 4.01926 6.196034 4.00963 6.0982537 4 6 4 5.9017463 4 5.803966 4.00963 5.706185 4.01926 5.609819 4.03843 5.513454 4.0576 5.419431 4.08612 5.325408 4.11464 5.234633 4.15224 5.143859 4.18984 5.057207 4.23616 4.97055 4.28247 4.88886 4.33706 4.80716 4.39165 4.73121 4.45398 4.65526 4.51631 4.58579 4.58579 4.51631 4.65526 4.45398 4.73121 4.39165 4.80716 4.33706 4.88886 4.28247 4.97055 4.23616 5.057207 4.18984 5.143859 4.15224 5.234633 4.11464 5.325408 4.08612 5.419431 4.0576 5.513454 4.03843 5.609819 4.01926 5.706185 4.00963 5.803966 4 5.9017463 4 6L4 42Q4 42.0983 4.00963 42.196 4.01926 42.2938 4.03843 42.3902 4.0576 42.4865 4.08612 42.5806 4.11464 42.6746 4.15224 42.7654 4.18984 42.8561 4.23616 42.9428 4.28247 43.0294 4.33706 43.1111 4.39165 43.1928 4.45398 43.2688 4.51631 43.3447 4.58579 43.4142 4.65526 43.4837 4.73121 43.546 4.80716 43.6083 4.88886 43.6629 4.97055 43.7175 5.057207 43.7638 5.143859 43.8102 5.234633 43.8478 5.325408 43.8854 5.419431 43.9139 5.513454 43.9424 5.609819 43.9616 5.706185 43.9807 5.803966 43.9904 5.9017463 44 6 44 6.0982537 44 6.196034 43.9904 6.293815 43.9807 6.390181 43.9616 6.486546 43.9424 6.580569 43.9139 6.674592 43.8854 6.765367 43.8478 6.856141 43.8102 6.942793 43.7638 7.02945 43.7175 7.11114 43.6629 7.19284 43.6083 7.26879 43.546 7.34474 43.4837 7.41421 43.4142 7.48369 43.3447 7.54602 43.2688 7.60835 43.1928 7.66294 43.1111 7.71753 43.0294 7.76384 42.9428 7.81016 42.8561 7.84776 42.7654 7.88536 42.6746 7.91388 42.5806 7.9424 42.4865 7.96157 42.3902 7.98074 42.2938 7.99037 42.196 8 42.0983 8 42zM14 29L14 41Q14 41.0983 14.00963 41.196 14.01926 41.2938 14.03843 41.3902 14.0576 41.4865 14.08612 41.580600000000004 14.11464 41.6746 14.152239999999999 41.7654 14.18984 41.8561 14.23616 41.9428 14.28247 42.0294 14.33706 42.1111 14.39165 42.1928 14.45398 42.2688 14.51631 42.3447 14.58579 42.4142 14.65526 42.4837 14.73121 42.546 14.80716 42.6084 14.88886 42.6629 14.97055 42.7175 15.057207 42.7638 15.143858999999999 42.8102 15.234633 42.8478 15.325408 42.885400000000004 15.419431 42.9139 15.513454 42.9424 15.609819 42.961600000000004 15.706185 42.9807 15.803966 42.9904 15.9017463 43 16 43L38 43Q38.098299999999995 43 38.196 42.9904 38.293800000000005 42.9807 38.3902 42.961600000000004 38.4865 42.9424 38.580600000000004 42.9139 38.6746 42.885400000000004 38.7654 42.8478 38.8561 42.8102 38.9428 42.7638 39.029399999999995 42.7175 39.1111 42.6629 39.1928 42.6084 39.2688 42.546 39.3447 42.4837 39.4142 42.4142 39.4837 42.3447 39.546 42.2688 39.6084 42.1928 39.6629 42.1111 39.7175 42.0294 39.7638 41.9428 39.810199999999995 41.8561 39.8478 41.7654 39.885400000000004 41.6746 39.9139 41.580600000000004 39.9424 41.4865 39.961600000000004 41.3902 39.9807 41.2938 39.9904 41.196 40 41.0983 40 41L40 29Q40 28.9017463 39.9904 28.803966 39.9807 28.706185 39.961600000000004 28.609819 39.9424 28.513454 39.9139 28.419431 39.885400000000004 28.325408 39.8478 28.234633 39.810199999999995 28.143859 39.7638 28.057207 39.7175 27.97055 39.6629 27.88886 39.6084 27.80716 39.546 27.73121 39.4837 27.65526 39.4142 27.58579 39.3447 27.51631 39.2688 27.45398 39.1928 27.39165 39.1111 27.33706 39.029399999999995 27.28247 38.9428 27.236159999999998 38.8561 27.18984 38.7654 27.15224 38.6746 27.11464 38.580600000000004 27.08612 38.4865 27.0576 38.3902 27.038429999999998 38.293800000000005 27.01926 38.196 27.00963 38.098299999999995 27 38 27L16 27Q15.9017463 27 15.803966 27.00963 15.706185 27.01926 15.609819 27.038429999999998 15.513454 27.0576 15.419431 27.08612 15.325408 27.11464 15.234633 27.15224 15.143858999999999 27.18984 15.057207 27.236159999999998 14.97055 27.28247 14.88886 27.33706 14.80716 27.39165 14.73121 27.45398 14.65526 27.51631 14.58579 27.58579 14.51631 27.65526 14.45398 27.73121 14.39165 27.80716 14.33706 27.88886 14.28247 27.97055 14.23616 28.057207 14.18984 28.143859 14.152239999999999 28.234633 14.11464 28.325408 14.08612 28.419431 14.0576 28.513454 14.03843 28.609819 14.01926 28.706185 14.00963 28.803966 14 28.9017463 14 29zM18 39L18 31 36 31 36 39 18 39z"})],-1),dD=[aD,uD];function hD(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-cleanup`],width:"1em",height:"1em"},o.$attrs),dD,16,cD)}var pD=Ns(lD,[["render",hD]]);const $D={name:"IconDown",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},_D=["fill"],gD=Ne("defs",null,[Ne("clipPath",{id:"svg_74e8333ad1__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),fD=Ne("g",{"clip-path":"url(#svg_74e8333ad1__a)"},[Ne("path",{d:"M13.41445,16.58602L13.41421,16.58579Q13.27493,16.4465,13.11114,16.33706Q12.947355,16.22762,12.765367,16.15224Q12.583378,16.07686,12.390181,16.038429999999998Q12.196983,16,12,16Q11.803017,16,11.609819,16.038429999999998Q11.416622,16.07686,11.234633,16.15224Q11.052645,16.22762,10.88886,16.33706Q10.72507,16.4465,10.58579,16.58579Q10.4465,16.72507,10.33706,16.88886Q10.22762,17.052645,10.152239999999999,17.234633Q10.07686,17.416622,10.03843,17.609819Q10,17.803017,10,18Q10,18.196983,10.03843,18.390181Q10.07686,18.583378,10.152239999999999,18.765367Q10.22762,18.947355,10.33706,19.11114Q10.4465,19.27493,10.58579,19.41421L10.58602,19.41445L22.5858,31.4142Q22.725099999999998,31.5535,22.8889,31.6629Q23.052599999999998,31.772399999999998,23.2346,31.8478Q23.416600000000003,31.923099999999998,23.6098,31.9616Q23.803,32,24,32Q24.197,32,24.3902,31.9616Q24.583399999999997,31.923099999999998,24.7654,31.8478Q24.947400000000002,31.772399999999998,25.1111,31.6629Q25.274900000000002,31.5535,25.4142,31.4142L37.4135,19.41496L37.4142,19.41421Q37.5535,19.27493,37.6629,19.11114Q37.772400000000005,18.947355,37.8478,18.765367Q37.923100000000005,18.583378,37.961600000000004,18.390181Q38,18.196983,38,18Q38,17.803017,37.961600000000004,17.609819Q37.923100000000005,17.416621,37.8478,17.234633Q37.772400000000005,17.052645,37.6629,16.88886Q37.5535,16.72507,37.4142,16.58579Q37.2749,16.4465,37.1111,16.33706Q36.9474,16.22762,36.7654,16.15224Q36.5834,16.07686,36.3902,16.038429999999998Q36.197,16,36,16Q35.803,16,35.6098,16.038429999999998Q35.4166,16.07686,35.2346,16.15224Q35.0526,16.22762,34.8889,16.33706Q34.7251,16.4465,34.5858,16.58579L34.585,16.58654L24,27.17157L13.41445,16.58602Z","fill-rule":"evenodd"})],-1),mD=[gD,fD];function TD(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-down`],width:"1em",height:"1em"},o.$attrs),mD,16,_D)}var ED=Ns($D,[["render",TD]]);const bD={name:"IconUp",props:{prefix:{type:String,default:"boxy"},useCurrentColor:{type:Boolean,default:!0}}},vD=["fill"],ID=Ne("defs",null,[Ne("clipPath",{id:"svg_46c48bec0d__a"},[Ne("rect",{width:"48",height:"48",rx:"0"})])],-1),OD=Ne("g",{"clip-path":"url(#svg_46c48bec0d__a)"},[Ne("path",{d:"M34.5848,31.4132L34.5858,31.4142Q34.7251,31.5535,34.8889,31.6629Q35.0526,31.772399999999998,35.2346,31.8478Q35.4166,31.923099999999998,35.6098,31.9616Q35.803,32,36,32Q36.197,32,36.3902,31.9616Q36.5834,31.923099999999998,36.7654,31.8478Q36.9474,31.772399999999998,37.1111,31.6629Q37.2749,31.5535,37.4142,31.4142Q37.5535,31.274900000000002,37.6629,31.1111Q37.772400000000005,30.947400000000002,37.8478,30.7654Q37.923100000000005,30.583399999999997,37.961600000000004,30.3902Q38,30.197,38,30Q38,29.803,37.961600000000004,29.6098Q37.923100000000005,29.416600000000003,37.8478,29.2346Q37.772400000000005,29.052599999999998,37.6629,28.8889Q37.5535,28.725099999999998,37.4142,28.5858L25.4142,16.58579Q25.274900000000002,16.4465,25.1111,16.33706Q24.947400000000002,16.22762,24.7654,16.15224Q24.583399999999997,16.07686,24.3902,16.038429999999998Q24.197,16,24,16Q23.803,16,23.6098,16.038429999999998Q23.416600000000003,16.07686,23.2346,16.15224Q23.052599999999998,16.22762,22.8889,16.33706Q22.725099999999998,16.4465,22.5858,16.58579L10.58654,28.585L10.58579,28.5858Q10.4465,28.725099999999998,10.33706,28.8889Q10.22762,29.052599999999998,10.152239999999999,29.2346Q10.07686,29.416600000000003,10.03843,29.6098Q10,29.803,10,30Q10,30.048099999999998,10.00231,30.0961Q10.01119,30.2807,10.05376,30.4606Q10.09634,30.6405,10.17116,30.8095Q10.245989999999999,30.9786,10.35053,31.131Q10.45507,31.2835,10.58579,31.4142Q10.72507,31.5535,10.88886,31.6629Q11.052645,31.772399999999998,11.234633,31.8478Q11.416621,31.923099999999998,11.609819,31.9616Q11.803017,32,12,32Q12.196983,32,12.390181,31.9616Q12.583378,31.923099999999998,12.765367,31.8478Q12.947355,31.772399999999998,13.11114,31.6629Q13.27493,31.5535,13.41421,31.4142L13.41496,31.4135L24,20.82843L34.5848,31.4132Z","fill-rule":"evenodd"})],-1),CD=[ID,OD];function yD(o,n,s,l,a,u){return me(),Be("svg",Ot({xmlns:"http://www.w3.org/2000/svg",fill:s.useCurrentColor?"currentColor":"#000",viewBox:"0 0 48 48",class:[`${s.prefix}-icon`,`${s.prefix}-icon-up`],width:"1em",height:"1em"},o.$attrs),CD,16,vD)}var SD=Ns(bD,[["render",yD]]);const lr=X5("main",()=>{const o=xE(null),n=xE(null),s=ge(!1),l=ge(!1);return{workspaceSvg:o,searchPlugin:n,hasLayoutSider:s,searchVisible:l}});const RD={id:"codespace"},Pb="未检测到积木块",kD={__name:"Codespace",setup(o){const n=ge(Pb),s=lr();Wt(()=>{s.workspaceSvg.addChangeListener(()=>{n.value=Ve.pythonGenerator.workspaceToCode(s.workspaceSvg)||Pb})});function l(){s.hasLayoutSider=!1}return(a,u)=>{const d=_t("highlightjs"),h=TI;return me(),it(h,{style:{overflow:"auto"}},{default:He(()=>[Ne("div",RD,[Ne("div",null,[J(Xo(o2),{onClick:l})]),Ne("div",null,[J(d,{autodetect:"",code:n.value},null,8,["code"])])])]),_:1})}}};Tt.dialog.setAlert(function(o,n){dn.confirm({title:"注意",content:o,okText:"确认",onCancel:n,onOk:n,hideCancel:!0})});Tt.dialog.setConfirm(function(o,n){dn.confirm({title:"注意",content:o,okText:"确认",cancelText:"取消",onCancel:function(){n(!1)},onOk:function(){n(!0)}})});Tt.dialog.setPrompt(function(o,n,s){dn.confirm({title:o.replace(":",""),content:()=>Zs(_I,{defaultValue:n,id:"dialog-input"}),okText:"确认",cancelText:"取消",onCancel:function(){s(null)},onOk:function(){s(document.querySelector("#dialog-input input").value)}})});const AD={};const LD="/assets/boxy-1d58dca5.png";function s2(o){return G0()?(qb(o),!0):!1}function ND(o){return typeof o=="function"?o():Xo(o)}const wD=typeof window<"u";/*!
+ * cookie
+ * Copyright(c) 2012-2014 Roman Shtylman
+ * Copyright(c) 2015 Douglas Christopher Wilson
+ * MIT Licensed
+ */var i2=DD,xb=PD,MD=Object.prototype.toString,Cu=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function DD(o,n){if(typeof o!="string")throw new TypeError("argument str must be a string");for(var s={},l=n||{},a=l.decode||xD,u=0;u{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=i2(document.cookie),this._checkChanges(a)};const l=typeof document>"u"?"":document.cookie;this.cookies=VD(n||l),this.defaultSetOptions=s,this.HAS_DOCUMENT_COOKIE=HD()}_emitChange(n){for(let s=0;s{n[l]!==this.cookies[l]&&this._emitChange({name:l,value:p0(n[l])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(n,s={}){return s.doNotUpdate||this.update(),p0(this.cookies[n],s)}getAll(n={}){n.doNotUpdate||this.update();const s={};for(let l in this.cookies)s[l]=p0(this.cookies[l],n);return s}set(n,s,l){l?l=Object.assign(Object.assign({},this.defaultSetOptions),l):l=this.defaultSetOptions;const a=typeof s=="string"?s:JSON.stringify(s);this.cookies=Object.assign(Object.assign({},this.cookies),{[n]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=xb(n,a,l)),this._emitChange({name:n,value:s,options:l})}remove(n,s){const l=s=Object.assign(Object.assign({},s),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[n],this.HAS_DOCUMENT_COOKIE&&(document.cookie=xb(n,"",l)),this._emitChange({name:n,value:void 0,options:s})}addChangeListener(n){this.changeListeners.push(n),this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(n){const s=this.changeListeners.indexOf(n);s>=0&&this.changeListeners.splice(s,1),this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}var zD=Object.defineProperty,Bb=Object.getOwnPropertySymbols,XD=Object.prototype.hasOwnProperty,jD=Object.prototype.propertyIsEnumerable,Fb=(o,n,s)=>n in o?zD(o,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[n]=s,Ub=(o,n)=>{for(var s in n||(n={}))XD.call(n,s)&&Fb(o,s,n[s]);if(Bb)for(var s of Bb(n))jD.call(n,s)&&Fb(o,s,n[s]);return o};function n2(o,{doNotParse:n=!1,autoUpdateDependencies:s=!1}={},l=new WD){const a=s?[...o||[]]:o;let u=l.getAll({doNotParse:!0});const d=ge(0),h=()=>{const p=l.getAll({doNotParse:!0});YD(a||null,p,u)&&d.value++,u=p};return l.addChangeListener(h),s2(()=>{l.removeChangeListener(h)}),{get:(...p)=>(s&&a&&!a.includes(p[0])&&a.push(p[0]),d.value,l.get(p[0],Ub({doNotParse:n},p[1]))),getAll:(...p)=>(d.value,l.getAll(Ub({doNotParse:n},p[0]))),set:(...p)=>l.set(...p),remove:(...p)=>l.remove(...p),addChangeListener:(...p)=>l.addChangeListener(...p),removeChangeListener:(...p)=>l.removeChangeListener(...p)}}function YD(o,n,s){if(!o)return!0;for(const l of o)if(n[l]!==s[l])return!0;return!1}const KD={id:"modal-content"},QD=Ne("p",null,"积木盒宽度",-1),qD=Ne("p",null,"主题",-1),JD=Ne("span",{style:{color:"var(--color-text-4)"}},"Copyright 2023 Coconut Studio",-1),ZD={__name:"Settings",setup(o,{expose:n}){const s=n2(["flyout","theme"]),l=ge(!1),a=ge(s.get("flyout")||"full"),u=ge(s.get("theme")||"auto");function d(){l.value=!0}function h(){const y=document.querySelector("div.injectionDiv > svg.blocklyFlyout");y&&(y.style.width="320px")}function p(y){h(),a.value=y,s.set("flyout",y)}function f(y){let k=y;y==="auto"&&(k=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),document.body.setAttribute("arco-theme",k)}function T(y){f(y),u.value=y,s.set("theme",y)}return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(y){u.value==="auto"&&f(y.matches?"dark":"light")}),Wt(()=>{let y=document.createElement("style");y.innerHTML="* { transition: color ease 50ms, background-color ease 200ms, border ease 300ms; }",document.head.appendChild(y)}),f(s.get("theme")||"auto"),n({handleClick:d}),(y,k)=>{const P=uw,x=wu,z=Ig,ne=Cc,ie=aw,Z=dn;return me(),it(Z,{visible:l.value,"onUpdate:visible":k[0]||(k[0]=Y=>l.value=Y),width:"auto",footer:"false"},{title:He(()=>[Zt("设置")]),footer:He(()=>[JD]),default:He(()=>[Ne("div",KD,[J(z,null,{default:He(()=>[QD,J(x,{"model-value":a.value,onChange:p,type:"button"},{default:He(()=>[J(P,{value:"full"},{default:He(()=>[Zt("适应")]),_:1}),J(P,{value:"fixed"},{default:He(()=>[Zt("固定")]),_:1})]),_:1},8,["model-value"])]),_:1}),J(z,null,{default:He(()=>[qD,J(ie,{"model-value":u.value,onChange:T,style:{"text-align":"justify"}},{default:He(()=>[J(ne,{value:"light"},{icon:He(()=>[J(Xo(Y8))]),default:He(()=>[Zt("白天模式")]),_:1}),J(ne,{value:"dark"},{icon:He(()=>[J(Xo(g8))]),default:He(()=>[Zt("黑夜模式")]),_:1}),J(ne,{value:"auto"},{icon:He(()=>[J(Xo(V8))]),default:He(()=>[Zt("跟随系统")]),_:1})]),_:1},8,["model-value"])]),_:1})])]),_:1},8,["visible"])}}};const e7={id:"modal-content"},t7=Ne("span",{style:{color:"var(--color-text-4)"}},"Copyright 2023 Coconut Studio",-1),o7={__name:"Pip",setup(o,{expose:n}){const s=ge(!1),l=ge([]);function a(){s.value=!0,u()}async function u(){try{const h=await(await fetch("./api/pipList")).json();l.value=h.pipList}catch(d){console.error("获取 Pip 列表失败:",d)}}return n({handlePipClick:a}),(d,h)=>{const p=dn;return me(),it(p,{visible:s.value,"onUpdate:visible":h[0]||(h[0]=f=>s.value=f),width:"auto",footer:"false"},{title:He(()=>[Zt("Pip 列表")]),footer:He(()=>[t7]),default:He(()=>[Ne("div",e7,[Ne("ul",null,[(me(!0),Be(Gt,null,sd(l.value,(f,T)=>(me(),Be("li",{key:T},Ci(f[0]),1))),128))])])]),_:1},8,["visible"])}}};const s7=Ne("img",{alt:"Logo",src:LD,width:"36",height:"36"},null,-1),i7=[s7],n7={class:"navigatorMenu"},r7={__name:"Navigator",setup(o){const n=ge(),s=ge(),l=ge(),a=lr();function u(){Tt.hideChaff()}function d(){const k=Tt.serialization.workspaces.save(a.workspaceSvg),P=JSON.stringify(k),x=new Blob([P],{type:"text/plain;charset=utf-8"}),z=URL.createObjectURL(x),ne=document.createElement("a");ne.href=z,ne.download="project.boxy",ne.click(),n.value=!1}function h(){const k=document.createElement("input");k.setAttribute("type","file"),k.setAttribute("name","file"),k.setAttribute("visibility","hidden"),k.setAttribute("accept",".boxy"),k.addEventListener("change",function(){const P=this.files[0],x=new FileReader;x.addEventListener("load",function(){const z=JSON.parse(this.result);Tt.serialization.workspaces.load(z,a.workspaceSvg)}),x.readAsText(P)}),k.click(),n.value=!1}function p(){a.searchVisible=!0,n.value=!1}function f(){s.value.handleClick(),n.value=!1}function T(){window.open("https://www.yuque.com/hzsn/boxy"),n.value=!1}function y(){l.value.handlePipClick(),n.value=!1}return(k,P)=>{const x=LN,z=yw,ne=Wu;return me(),Be(Gt,null,[J(ne,{trigger:["hover","click"],position:"rt","popup-visible":n.value,"onUpdate:popupVisible":P[0]||(P[0]=ie=>n.value=ie)},{content:He(()=>[Ne("div",n7,[J(x,null,{default:He(()=>[Zt("新建")]),_:1}),J(x,{onClick:y},{default:He(()=>[Zt("PIP库管理")]),_:1}),J(x,{onClick:d},{default:He(()=>[Zt("保存到电脑")]),_:1}),J(x,{onClick:h},{default:He(()=>[Zt("打开本地文件")]),_:1}),J(z,{margin:"1px"}),J(x,{onClick:p},{default:He(()=>[Zt("查找")]),_:1}),J(z,{margin:"1px"}),J(x,{onClick:f},{default:He(()=>[Zt("设置")]),_:1}),J(x,{onClick:T},{default:He(()=>[Zt("关于")]),_:1})])]),default:He(()=>[Ne("div",{id:"logo",onClick:u},i7)]),_:1},8,["popup-visible"]),J(ZD,{ref_key:"modal",ref:s},null,512),J(o7,{ref_key:"pipModal",ref:l},null,512)],64)}}};const l7={__name:"Screenshot",setup(o){const n=ge(),s=ge();function l(){const h=document.createElement("a");h.download="block.png",h.href=n.value,h.click()}function a(h){const p=document.createElement("img"),f=document.createElement("canvas"),T=f.getContext("2d"),y=Math.sqrt(40);f.width=h.width*y,f.height=h.height*y,p.onload=function(){T.drawImage(p,0,0,h.width,h.height,0,0,f.width,f.height);try{n.value=f.toDataURL("image/png"),s.value=!0}catch{console.warn("Error converting the workspace svg to a png.")}},p.src=h.data}function u(h,p){const f=document.getElementsByTagName("textarea");for(const S of f)S.innerHTML=S.value;const T=h.getBlocksBoundingBox(),y=T.x||T.left,k=T.y||T.top,P=T.width||T.right-y,x=T.height||T.bottom-k,ne=h.getCanvas().cloneNode(!0);ne.removeAttribute("transform");const ie=document.createElementNS("http://www.w3.org/2000/svg","svg");ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),ie.appendChild(ne),ie.setAttribute("viewBox",y+" "+k+" "+P+" "+x),ie.setAttribute("class","blocklySvg "+(h.options.renderer||"geras")+"-renderer "+(h.getTheme?h.getTheme().name+"-theme":"")),ie.setAttribute("width",P),ie.setAttribute("height",x),ie.setAttribute("style","background-color: transparent");const Z=[].slice.call(document.head.querySelectorAll("style")).filter(S=>/\.blocklySvg/.test(S.innerText)||S.id.indexOf("blockly-")===0).map(S=>S.innerText).join(`
+`),Y=document.createElement("style");Y.innerHTML=Z+`
+`+p,ie.insertBefore(Y,ie.firstChild);let M=new XMLSerializer().serializeToString(ie);return M=M.replace(/ /g," "),{data:"data:image/svg+xml,"+encodeURIComponent(M),width:P,height:x}}function d(h){const p=document.createElement("div"),f={blocks:{languageVersion:0,blocks:[h.block.toCopyData().saveInfo]}},T=Tt.inject(p,{readOnly:!0,theme:"codemao",renderer:"codemao"});return Tt.serialization.workspaces.load(f,T),T}return Wt(()=>{Tt.ContextMenuRegistry.registry.register({callback:function(h){a(u(d(h)))},scopeType:Tt.ContextMenuRegistry.ScopeType.BLOCK,displayText:"生成积木图片",preconditionFn:function(){return"enabled"},id:"BlcokImage"}),Tt.ContextMenuRegistry.registry.register({callback:function(h){a(u(h.workspace))},scopeType:Tt.ContextMenuRegistry.ScopeType.WORKSPACE,displayText:"全局预览",preconditionFn:function(h){return h.workspace.blockDB.size?"enabled":"disabled"},id:"WorkspaceImage"})}),(h,p)=>{const f=RI,T=F6;return me(),it(T,{src:n.value,"onUpdate:src":p[0]||(p[0]=y=>n.value=y),visible:s.value,"onUpdate:visible":p[1]||(p[1]=y=>s.value=y)},{actions:He(()=>[J(f,{name:"下载",onClick:l},{default:He(()=>[J(Xo(rD))]),_:1})]),_:1},8,["src","visible"])}}};const c7={id:"search"},a7={__name:"Search",setup(o){const n=ge(),s=lr();function l(){n.value=!0}function a(){n.value=!1,s.searchPlugin.close()}function u(T){s.searchPlugin.searchAndHighlight(T)}function d(){s.searchPlugin.next()}function h(){s.searchPlugin.previous()}function p(){s.searchPlugin.next()}function f(){s.searchVisible=!1}return Wt(()=>{s.workspaceSvg.injectionDiv.addEventListener("keydown",T=>{(T.ctrlKey||T.metaKey)&&T.key==="f"&&(s.searchVisible=!0,T.preventDefault(),T.stopPropagation())}),Et(s.$state,T=>{T.searchVisible?l():a()}),a()}),(T,y)=>{const k=dd,P=_I,x=Ig;return me(),Be("div",c7,[J(x,{style:It({display:n.value?"block":"none"})},{default:He(()=>[J(P,{placeholder:"搜索作品中的积木",onInput:u,onPressEnter:d},{append:He(()=>[J(k,{type:"text",onClick:h,"aria-label":"整理"},{icon:He(()=>[J(Xo(SD))]),_:1}),J(k,{type:"text",onClick:p,"aria-label":"整理"},{icon:He(()=>[J(Xo(ED))]),_:1}),J(k,{type:"text",onClick:f,"aria-label":"关闭"},{icon:He(()=>[J(Xo(o2))]),_:1})]),_:1})]),_:1},8,["style"])])}}};function u7(o){var n;const s=ND(o);return(n=s==null?void 0:s.$el)!=null?n:s}const d7=wD?window:void 0;function h7(){const o=ge(!1);return fl()&&Wt(()=>{o.value=!0}),o}function p7(o){const n=h7();return j(()=>(n.value,!!o()))}var Hb=Object.getOwnPropertySymbols,$7=Object.prototype.hasOwnProperty,_7=Object.prototype.propertyIsEnumerable,g7=(o,n)=>{var s={};for(var l in o)$7.call(o,l)&&n.indexOf(l)<0&&(s[l]=o[l]);if(o!=null&&Hb)for(var l of Hb(o))n.indexOf(l)<0&&_7.call(o,l)&&(s[l]=o[l]);return s};function r2(o,n,s={}){const l=s,{window:a=d7}=l,u=g7(l,["window"]);let d;const h=p7(()=>a&&"MutationObserver"in a),p=()=>{d&&(d.disconnect(),d=void 0)},f=Et(()=>u7(o),y=>{p(),h.value&&a&&y&&(d=new MutationObserver(n),d.observe(y,u))},{immediate:!0}),T=()=>{p(),f()};return s2(T),{isSupported:h,stop:T}}const Vb="/assets/superellipse-abb4b598.svg";const f7={__name:"Toolbox",setup(o){class n extends Tt.ToolboxCategory{constructor(){super(...arguments);J$(this,"setSelected",u=>{let d=this.rowDiv_.getElementsByClassName("blocklyTreeLabel")[0];u?(this.rowDiv_.style.backgroundColor="rgb(var(--primary-5))",d.style.color="var(--color-white)"):(this.rowDiv_.style.backgroundColor="",d.style.color=""),Tt.utils.aria.setState(this.htmlDiv_,Tt.utils.aria.State.SELECTED,u)});J$(this,"createIconDom_",()=>{const u=document.createElement("iconpark-icon");return u.name=this.toolboxItemDef_.categorystyle,u.size="21",u.style=`
+ -webkit-mask-size: 100% 100%;
+ -webkit-mask-image: url(${Vb});
+ mask-size: 100% 100%;
+ mask-image: url(${Vb});
+ color: white;
+ `,u})}addColourBorder_(u){this.rowDiv_.children[0].children[0].style.backgroundColor=u}}Tt.registry.register(Tt.registry.Type.TOOLBOX_ITEM,Tt.ToolboxCategory.registrationName,n,!0),Tt.VerticalFlyout.prototype.reflowInternal_=function(){this.workspace_.scale=.8;let l=0;const a=this.workspace_.getTopBlocks(!1);for(const u of a){let d=u.getHeightWidth().width;u.outputConnection&&(d-=this.tabWidth_),l=Math.max(l,d)}for(const u of this.buttons_)l=Math.max(l,u.width);if(l+=this.MARGIN*1.5+this.tabWidth_,l*=this.workspace_.scale,l+=Tt.Scrollbar.scrollbarThickness,this.width_!==l){for(const u of a){if(this.RTL){const d=u.getRelativeToSurfaceXY().x;let h=l/this.workspace_.scale-this.MARGIN;u.outputConnection||(h-=this.tabWidth_),u.moveBy(h-d,0)}this.rectMap_.has(u)&&this.moveRectToBlock_(this.rectMap_.get(u),u)}if(this.RTL)for(const u of this.buttons_){const d=u.getPosition().y,h=l/this.workspace_.scale-u.width-this.MARGIN-this.tabWidth_;u.moveTo(h,d)}this.targetWorkspace.toolboxPosition===this.toolboxPosition_&&this.toolboxPosition_===Tt.utils.toolbox.Position.LEFT&&!this.targetWorkspace.getToolbox()&&this.targetWorkspace.translate(this.targetWorkspace.scrollX+l,this.targetWorkspace.scrollY),this.width_=l,this.position(),this.targetWorkspace.recordDragTargets()}};const s=n2(["flyout"]);return Wt(()=>{const l=document.querySelector("#app > section > main > div.blocklyDiv > div > svg.blocklyFlyout");r2(l,()=>{const a=s.get("flyout"),u=Math.max(parseInt(l.getAttribute("width")),320),d=l.style.display==="block";l.style.width=a==="fixed"||!d?"320px":`${u}px`,l.style.transform=d?"translate(60px, 0px)":`translate(${60-(a==="full"?u:320)}px, 0px)`},{attributeFilter:["style"]}),l.addEventListener("mouseenter",()=>{s.get("flyout")==="fixed"&&(l.style.minWidth=l.getAttribute("width")+"px")}),l.addEventListener("mouseleave",()=>{s.get("flyout")==="fixed"&&(l.style.minWidth="320px")})}),()=>{}}},m7="/assets/trashcan_lid-bf343e64.svg",T7="/assets/trashcan_body-d3f2460a.svg";const E7={__name:"Trashcan",setup(o){const n=lr(),s=ge(),l=ge(),a=ge();function u(){s.value.style.zIndex=6,l.value.style.zIndex=7,a.value.style.zIndex=7,s.value.style.opacity=1,l.value.style.opacity=1,a.value.style.opacity=1}function d(){s.value.style.zIndex=0,l.value.style.zIndex=0,a.value.style.zIndex=0,s.value.style.opacity=0,l.value.style.opacity=0,a.value.style.opacity=0}function h(){l.value.style.transform="translate(-4px,-4px) rotate(-20deg)"}function p(){l.value.style.transform="translate(0px, 0px) rotate(0deg)"}return Wt(()=>{r2(document.querySelector("#app > section > main > div.blocklyDiv > div > div"),f=>{f[0].target.classList.contains("blocklyToolboxDelete")?h():p()},{attributeFilter:["class"]}),n.workspaceSvg.addChangeListener(f=>{f.type==="drag"?u():f.type==="move"&&f.oldCoordinate!==void 0&&d()})}),(f,T)=>(me(),Be("div",{ref_key:"trashcan",ref:s,id:"trashcan",class:"blocklyToolboxDelete",style:{cursor:"grabbing"}},[Ne("img",{ref_key:"trashcanLid",ref:l,src:m7,alt:"垃圾桶盖"},null,512),Ne("img",{ref_key:"trashcanBody",ref:a,src:T7,alt:"垃圾桶身"},null,512)],512))}};var b7={exports:{}};/*! For license information please see index.js.LICENSE.txt */(function(o,n){(function(s,l){o.exports=l(Vc())})(Do,s=>(()=>{var l={573:h=>{h.exports=s}},a={};function u(h){var p=a[h];if(p!==void 0)return p.exports;var f=a[h]={exports:{}};return l[h](f,f.exports,u),f.exports}u.n=h=>{var p=h&&h.__esModule?()=>h.default:()=>h;return u.d(p,{a:p}),p},u.d=(h,p)=>{for(var f in p)u.o(p,f)&&!u.o(h,f)&&Object.defineProperty(h,f,{enumerable:!0,get:p[f]})},u.o=(h,p)=>Object.prototype.hasOwnProperty.call(h,p),u.r=h=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})};var d={};return(()=>{u.r(d);var h=u(573),p=u.n(h);function f(L){if(L.saveExtraState){const S=L.saveExtraState();return S?JSON.stringify(S):""}if(L.mutationToDom){const S=L.mutationToDom();return S?h.Xml.domToText(S):""}return""}function T(L){const S=new h.FieldImage(k,15,15,void 0,y);return S.args_=L,S}function y(L){const S=L.getSourceBlock();if(S.isInFlyout)return;h.Events.setGroup(!0);const F=f(S);S.minus(L.args_);const W=f(S);F!=W&&h.Events.fire(new h.Events.BlockChange(S,"mutation",null,F,W)),h.Events.setGroup(!1)}const k="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTggMTFoLTEyYy0xLjEwNCAwLTIgLjg5Ni0yIDJzLjg5NiAyIDIgMmgxMmMxLjEwNCAwIDItLjg5NiAyLTJzLS44OTYtMi0yLTJ6IiBmaWxsPSJ3aGl0ZSIgLz48L3N2Zz4K";function P(L){const S=new h.FieldImage(z,15,15,void 0,x);return S.args_=L,S}function x(L){const S=L.getSourceBlock();if(S.isInFlyout)return;h.Events.setGroup(!0);const F=f(S);S.plus(L.args_);const W=f(S);F!=W&&h.Events.fire(new h.Events.BlockChange(S,"mutation",null,F,W)),h.Events.setGroup(!1)}const z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTggMTBoLTR2LTRjMC0xLjEwNC0uODk2LTItMi0ycy0yIC44OTYtMiAybC4wNzEgNGgtNC4wNzFjLTEuMTA0IDAtMiAuODk2LTIgMnMuODk2IDIgMiAybDQuMDcxLS4wNzEtLjA3MSA0LjA3MWMwIDEuMTA0Ljg5NiAyIDIgMnMyLS44OTYgMi0ydi00LjA3MWw0IC4wNzFjMS4xMDQgMCAyLS44OTYgMi0ycy0uODk2LTItMi0yeiIgZmlsbD0id2hpdGUiIC8+PC9zdmc+Cg==",ne={elseIfCount_:0,hasElse_:!1,mutationToDom:function(){if(!this.elseIfCount_&&!this.hasElse_)return null;const L=p().utils.xml.createElement("mutation");return L.setAttribute("elseif",this.elseIfCount_),this.hasElse_&&L.setAttribute("else",1),L},domToMutation:function(L){const S=parseInt(L.getAttribute("elseif"),10)||0;this.hasElse_=!!parseInt(L.getAttribute("else"),10)||0,this.hasElse_&&!this.getInput("ELSE")&&this.appendStatementInput("ELSE").appendField(p().Msg.CONTROLS_IF_MSG_ELSE),this.updateShape_(S)},saveExtraState:function(){if(!this.elseIfCount_&&!this.hasElse_)return null;const L=Object.create(null);return this.elseIfCount_&&(L.elseIfCount=this.elseIfCount_),this.hasElse_&&(L.hasElse=!0),L},loadExtraState:function(L){const S=L.elseIfCount||0;this.hasElse_=L.hasElse||!1,this.hasElse_&&!this.getInput("ELSE")&&this.appendStatementInput("ELSE").appendField(p().Msg.CONTROLS_IF_MSG_ELSE),this.updateShape_(S)},updateShape_:function(L){for(;this.elseIfCount_L;)this.removeElseIf_()},plus:function(){this.addElseIf_()},minus:function(L){this.elseIfCount_!=0&&this.removeElseIf_(L)},addElseIf_:function(){this.elseIfCount_++,this.appendValueInput("IF"+this.elseIfCount_).setCheck("Boolean").appendField(p().Msg.CONTROLS_IF_MSG_ELSEIF).appendField(T(this.elseIfCount_),"MINUS"+this.elseIfCount_),this.appendStatementInput("DO"+this.elseIfCount_).appendField(p().Msg.CONTROLS_IF_MSG_THEN),this.getInput("ELSE")&&this.moveInputBefore("ELSE",null)},removeElseIf_:function(L){if(L!==void 0&&L!=this.elseIfCount_){const S=2*L,F=this.inputList;let W=F[S].connection;W.isConnected()&&W.disconnect(),W=F[S+1].connection,W.isConnected()&&W.disconnect(),this.bumpNeighbours();for(let X,le=S+2;(X=this.inputList[le])&&X.name!="ELSE";le++){const $e=X.connection.targetConnection;$e&&this.inputList[le-2].connection.connect($e)}}this.removeInput("IF"+this.elseIfCount_),this.removeInput("DO"+this.elseIfCount_),this.elseIfCount_--}};p().Extensions.isRegistered("controls_if_mutator")&&p().Extensions.unregister("controls_if_mutator"),p().Extensions.registerMutator("controls_if_mutator",ne,function(){this.getInput("IF0").insertFieldAt(0,P(),"PLUS")}),delete p().Blocks.lists_create_with,p().defineBlocksWithJsonArray([{type:"lists_create_with",message0:"%{BKY_LISTS_CREATE_EMPTY_TITLE} %1",args0:[{type:"input_dummy",name:"EMPTY"}],output:"Array",style:"list_blocks",helpUrl:"%{BKY_LISTS_CREATE_WITH_HELPURL}",tooltip:"%{BKY_LISTS_CREATE_WITH_TOOLTIP}",mutator:"new_list_create_with_mutator"}]);const ie={itemCount_:0,mutationToDom:function(){const L=p().utils.xml.createElement("mutation");return L.setAttribute("items",this.itemCount_),L},domToMutation:function(L){const S=parseInt(L.getAttribute("items"),10);this.updateShape_(S)},saveExtraState:function(){return{itemCount:this.itemCount_}},loadExtraState:function(L){this.updateShape_(L.itemCount)},updateShape_:function(L){for(;this.itemCount_L;)this.removePart_();this.updateMinus_()},plus:function(){this.addPart_(),this.updateMinus_()},minus:function(){this.itemCount_!=0&&(this.removePart_(),this.updateMinus_())},addPart_:function(){this.itemCount_==0?(this.removeInput("EMPTY"),this.topInput_=this.appendValueInput("ADD"+this.itemCount_).appendField(P(),"PLUS").appendField(p().Msg.LISTS_CREATE_WITH_INPUT_WITH)):this.appendValueInput("ADD"+this.itemCount_),this.itemCount_++},removePart_:function(){this.itemCount_--,this.removeInput("ADD"+this.itemCount_),this.itemCount_==0&&(this.topInput_=this.appendDummyInput("EMPTY").appendField(P(),"PLUS").appendField(p().Msg.LISTS_CREATE_EMPTY_TITLE))},updateMinus_:function(){const L=this.getField("MINUS");!L&&this.itemCount_>0?this.topInput_.insertFieldAt(1,T(),"MINUS"):L&&this.itemCount_<1&&this.topInput_.removeField("MINUS")}};p().Extensions.registerMutator("new_list_create_with_mutator",ie,function(){this.getInput("EMPTY").insertFieldAt(0,P(),"PLUS"),this.updateShape_(3)}),p().Msg.PROCEDURE_VARIABLE="variable:",delete p().Blocks.procedures_defnoreturn,delete p().Blocks.procedures_defreturn,p().defineBlocksWithJsonArray([{type:"procedures_defnoreturn",message0:"%{BKY_PROCEDURES_DEFNORETURN_TITLE} %1 %2",message1:"%{BKY_PROCEDURES_DEFNORETURN_DO} %1",args0:[{type:"field_input",name:"NAME",text:""},{type:"input_dummy",name:"TOP"}],args1:[{type:"input_statement",name:"STACK"}],style:"procedure_blocks",helpUrl:"%{BKY_PROCEDURES_DEFNORETURN_HELPURL}",tooltip:"%{BKY_PROCEDURES_DEFNORETURN_TOOLTIP}",extensions:["get_procedure_def_no_return","procedure_context_menu","procedure_rename","procedure_vars"],mutator:"procedure_def_mutator"},{type:"procedures_defreturn",message0:"%{BKY_PROCEDURES_DEFRETURN_TITLE} %1 %2",message1:"%{BKY_PROCEDURES_DEFRETURN_DO} %1",message2:"%{BKY_PROCEDURES_DEFRETURN_RETURN} %1",args0:[{type:"field_input",name:"NAME",text:""},{type:"input_dummy",name:"TOP"}],args1:[{type:"input_statement",name:"STACK"}],args2:[{type:"input_value",align:"right",name:"RETURN"}],style:"procedure_blocks",helpUrl:"%{BKY_PROCEDURES_DEFRETURN_HELPURL}",tooltip:"%{BKY_PROCEDURES_DEFRETURN_TOOLTIP}",extensions:["get_procedure_def_return","procedure_context_menu","procedure_rename","procedure_vars"],mutator:"procedure_def_mutator"}]),p().Extensions.registerMixin("get_procedure_def_no_return",{getProcedureDef:function(){const L=this.argData_.map(S=>S.model.name);return[this.getFieldValue("NAME"),L,!1]},callType_:"procedures_callnoreturn"}),p().Extensions.registerMixin("get_procedure_def_return",{getProcedureDef:function(){const L=this.argData_.map(S=>S.model.name);return[this.getFieldValue("NAME"),L,!0]},callType_:"procedures_callreturn"});const Z={customContextMenu:function(L){if(this.isInFlyout)return;const S=this.getFieldValue("NAME"),F=p().Msg.PROCEDURES_CREATE_DO.replace("%1",S),W=p().utils.xml.createElement("block");W.setAttribute("type",this.callType_),W.appendChild(this.mutationToDom(!0));const X=p().ContextMenu.callbackFactory(this,W);if(L.push({enabled:!0,text:F,callback:X}),this.isCollapsed())return;const le=this.getVarModels();for(const $e of le){const he=p().Msg.VARIABLES_SET_CREATE_GET.replace("%1",$e.name),fe=p().utils.xml.createElement("block");fe.setAttribute("type","variables_get"),fe.appendChild(p().Variables.generateVariableFieldDom($e));const ke=p().ContextMenu.callbackFactory(this,fe);L.push({enabled:!0,text:he,callback:ke})}}};p().Extensions.registerMixin("procedure_context_menu",Z);const Y={mutationToDom:function(L=!1){const S=p().utils.xml.createElement("mutation");return L&&S.setAttribute("name",this.getFieldValue("NAME")),this.argData_.forEach(F=>{const W=p().utils.xml.createElement("arg"),X=F.model;W.setAttribute("name",X.name),W.setAttribute("varid",X.getId()),W.setAttribute("argid",F.argId),L&&W.setAttribute("paramid",F.argId),S.appendChild(W)}),this.hasStatements_||S.setAttribute("statements","false"),S},domToMutation:function(L){this.hasStatements_=L.getAttribute("statements")!=="false",this.hasStatements_||this.removeInput("STACK");const S=[],F=[],W=[];for(const X of L.childNodes)X.nodeName.toLowerCase()=="arg"&&(S.push(X.getAttribute("name")),F.push(X.getAttribute("varid")||X.getAttribute("varId")),W.push(X.getAttribute("argid")));this.updateShape_(S,F,W)},saveExtraState:function(){if(!this.argData_.length&&this.hasStatements_)return null;const L=Object.create(null);return this.argData_.length&&(L.params=[],this.argData_.forEach(S=>{const F=S.model;L.params.push({name:F.name,id:F.getId(),argId:S.argId})})),this.hasStatements_||(L.hasStatements=!1),L},loadExtraState:function(L){this.hasStatements_=L.hasStatements!==!1,this.hasStatements_||this.removeInput("STACK");const S=[],F=[],W=[];if(L.params)for(let X=0;X=0;X--)this.removeArg_(this.argData_[X].argId);this.argData_=[];const W=S.length;for(let X=0;Xle.model.name);L=L||p().Variables.generateUniqueNameFromOptions(p().Procedures.DEFAULT_ARG,W);const X=p().Variables.getOrCreateVariablePackage(this.workspace,S,L,"");F=F||p().utils.idGenerator.genUid(),this.addVarInput_(L,F),this.getInput("STACK")?this.moveInputBefore(F,"STACK"):this.moveInputBefore(F,"RETURN"),this.argData_.push({model:X,argId:F})},removeArg_:function(L){this.removeInput(L,!0)&&(this.argData_.length==1&&this.getInput("TOP").removeField("WITH"),this.argData_=this.argData_.filter(S=>S.argId!=L))},addVarInput_:function(L,S){const F=new(p()).FieldTextInput(L,this.validator_);F.onFinishEditing_=this.finishEditing_.bind(F),F.varIdsToDelete_=[],F.preEditVarModel_=null,this.appendDummyInput(S).setAlign(p().ALIGN_RIGHT).appendField(T(S)).appendField(p().Msg.PROCEDURE_VARIABLE).appendField(F,S)},validator_:function(L){const S=this.getSourceBlock(),F=S.workspace,W=S.argData_,X=S.argData_.find(fe=>fe.argId==this.name),le=X.model.getId(),$e=(L=L.replace(/[\s\xa0]+/g," ").trim()).toLowerCase();if(!L||!W.every(fe=>fe.argId==this.name||$e!=fe.model.name.toLowerCase()))return this.preEditVarModel_&&(X.model=this.preEditVarModel_,this.preEditVarModel_=null),p().Procedures.mutateCallers(S),null;this.varIdsToDelete_.length||(this.preEditVarModel_=X.model,F.getVariableUsesById(le).every(fe=>fe.id==S.id||fe.getProcedureCall&&fe.getProcedureCall()==S.getProcedureDef()[0])&&this.varIdsToDelete_.push(le));let he=F.getVariable(L,"");return he?he.name!=L&&F.renameVariableById(he.getId(),L):(he=F.createVariable(L,""),this.varIdsToDelete_.push(he.getId())),he.getId()!=le&&(X.model=he),p().Procedures.mutateCallers(S),L},finishEditing_:function(L){const S=this.getSourceBlock(),F=S.argData_.find(W=>W.argId==this.name).model.getId();this.varIdsToDelete_.forEach(W=>{W!=F&&S.workspace.deleteVariableById(W)}),this.varIdsToDelete_.length=0,this.preEditVarModel_=null}};p().Extensions.registerMutator("procedure_def_mutator",Y,function(){this.argData_=[],this.hasStatements_=!0,this.getInput("TOP").insertFieldAt(0,P(),"PLUS")}),p().Extensions.register("procedure_rename",function(){this.getField("NAME").setValidator(p().Procedures.rename)}),p().Extensions.register("procedure_vars",function(){const L={getVars:function(){return this.argData_.map(S=>S.model.name)},getVarModels:function(){return this.argData_.map(S=>S.model)},renameVarById:function(S,F){const W=this.argData_.find($e=>$e.model.getId()==S);if(!W)return;const X=this.workspace.getVariableById(F),le=X.name;this.addVarInput_(le,F),this.moveInputBefore(F,S),this.removeInput(S),W.model=X,p().Procedures.mutateCallers(this)},updateVarName:function(S){const F=S.getId(),W=this.argData_.find(X=>X.model.getId()==F);W&&(this.setFieldValue(S.name,W.argId),W.model=S)}};this.mixin(L,!0)});const M={itemCount_:0,mutationToDom:function(){const L=p().utils.xml.createElement("mutation");return L.setAttribute("items",this.itemCount_),L},domToMutation:function(L){const S=parseInt(L.getAttribute("items"),10);this.updateShape_(S)},saveExtraState:function(){return{itemCount:this.itemCount_}},loadExtraState:function(L){this.updateShape_(L.itemCount)},updateShape_:function(L){for(;this.itemCount_L;)this.removePart_();this.updateMinus_()},plus:function(){this.addPart_(),this.updateMinus_()},minus:function(){this.itemCount_!=0&&(this.removePart_(),this.updateMinus_())},addPart_:function(){this.itemCount_==0?(this.getInput("EMPTY")&&this.removeInput("EMPTY"),this.topInput_=this.appendValueInput("ADD"+this.itemCount_).appendField(P(),"PLUS").appendField(p().Msg.TEXT_JOIN_TITLE_CREATEWITH)):this.appendValueInput("ADD"+this.itemCount_),this.itemCount_++},removePart_:function(){this.itemCount_--,this.removeInput("ADD"+this.itemCount_),this.itemCount_==0&&(this.topInput_=this.appendDummyInput("EMPTY").appendField(P(),"PLUS").appendField(this.newQuote_(!0)).appendField(this.newQuote_(!1)))},updateMinus_:function(){const L=this.getField("MINUS");!L&&this.itemCount_>0?this.topInput_.insertFieldAt(1,T(),"MINUS"):L&&this.itemCount_<1&&this.topInput_.removeField("MINUS")}};p().Extensions.isRegistered("text_join_mutator")&&p().Extensions.unregister("text_join_mutator"),p().Extensions.registerMutator("text_join_mutator",M,function(){p().Extensions.apply("text_quotes",this,!1),this.updateShape_(2)})})(),d})())})(b7);/**
+ * @license
+ * Copyright 2020 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */const v7="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjE0Ij48cGF0aCBkPSJNMTkgNi40MUwxNy41OSA1IDEyIDEwLjU5IDYuNDEgNSA1IDYuNDEgMTAuNTkgMTIgNSAxNy41OSA2LjQxIDE5IDEyIDEzLjQxIDE3LjU5IDE5IDE5IDE3LjU5IDEzLjQxIDEyeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=",I7="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjE0Ij48cGF0aCBkPSJNNy40MSA4LjU5TDEyIDEzLjE3bDQuNTktNC41OEwxOCAxMGwtNiA2LTYtNiAxLjQxLTEuNDF6Ii8+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PC9zdmc+",O7="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjE0Ij48cGF0aCBkPSJNNy40MSAxNS40MUwxMiAxMC44M2w0LjU5IDQuNThMMTggMTRsLTYtNi02IDZ6Ii8+PHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",C7=["path.blocklyPath.blockly-ws-search-highlight {","fill: #000;","}","path.blocklyPath.blockly-ws-search-highlight.blockly-ws-search-current {","fill: grey;","}",".blockly-ws-search-close-btn {","background: url("+v7+") no-repeat top left;","}",".blockly-ws-search-next-btn {","background: url("+I7+") no-repeat top left;","}",".blockly-ws-search-previous-btn {","background: url("+O7+") no-repeat top left;","}",".blockly-ws-search {","background: #fff;","border: solid lightgrey 0.5px;","box-shadow: 0px 10px 20px grey;","justify-content: center;","padding: 0.25em;","position: absolute;","z-index: 70;","}",".blockly-ws-search-input input {","border: none;","}",".blockly-ws-search button {","border: none;","}",".blockly-ws-search-actions {","display: flex;","}",".blockly-ws-search-container {","display: flex;","}",".blockly-ws-search-content {","display: flex;","}"],y7=function(){let o=!1;return function(){if(o)return;o=!0;const n=C7.join(`
+`),s=document.createElement("style");s.id="blockly-ws-search-style";const l=document.createTextNode(n);s.appendChild(l),document.head.insertBefore(s,document.head.firstChild)}}();var Wo=Vc();/**
+ * @license
+ * Copyright 2020 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */class S7{constructor(n){this.workspace_=n,this.id="workspaceSearch",this.htmlDiv_=null,this.actionDiv_=null,this.inputElement_=null,this.textInputPlaceholder_="Search",this.blocks_=[],this.currentBlockIndex_=-1,this.searchText_="",this.searchOnInput=!0,this.caseSensitive=!1,this.preserveSelected=!0,this.boundEvents_=[]}init(){this.workspace_.getComponentManager().addComponent({component:this,weight:0,capabilities:[Wo.ComponentManager.Capability.POSITIONABLE]}),y7(),this.createDom_(),this.setVisible_(!1),this.workspace_.resize()}dispose(){for(const n of this.boundEvents_)Wo.browserEvents.unbind(n);this.boundEvents_.length=0,this.htmlDiv_&&(this.htmlDiv_.remove(),this.htmlDiv_=null),this.actionDiv_=null,this.inputElement_=null}createDom_(){const n=this.workspace_.getInjectionDiv();this.addEvent_(n,"keydown",this,p=>this.onWorkspaceKeyDown_(p)),this.htmlDiv_=document.createElement("div"),Wo.utils.dom.addClass(this.htmlDiv_,"blockly-ws-search");const s=document.createElement("div");Wo.utils.dom.addClass(s,"blockly-ws-search-container");const l=document.createElement("div");Wo.utils.dom.addClass(l,"blockly-ws-search-content"),s.appendChild(l);const a=document.createElement("div");Wo.utils.dom.addClass(a,"blockly-ws-search-input"),this.inputElement_=this.createTextInput_(),this.addEvent_(this.inputElement_,"keydown",this,p=>this.onKeyDown_(p)),this.addEvent_(this.inputElement_,"input",this,()=>this.onInput_()),this.addEvent_(this.inputElement_,"click",this,()=>{this.searchAndHighlight(this.searchText_,this.preserveSelected),this.inputElement_.select()}),a.appendChild(this.inputElement_),l.appendChild(a),this.actionDiv_=document.createElement("div"),Wo.utils.dom.addClass(this.actionDiv_,"blockly-ws-search-actions"),l.appendChild(this.actionDiv_);const u=this.createNextBtn_();u&&this.addActionBtn(u,()=>this.next());const d=this.createPreviousBtn_();d&&this.addActionBtn(d,()=>this.previous());const h=this.createCloseBtn_();h&&(this.addBtnListener_(h,()=>this.close()),s.appendChild(h)),this.htmlDiv_.appendChild(s),n.insertBefore(this.htmlDiv_,this.workspace_.getParentSvg())}addEvent_(n,s,l,a){const u=Wo.browserEvents.conditionalBind(n,s,l,a);this.boundEvents_.push(u)}addActionBtn(n,s){this.addBtnListener_(n,s),this.actionDiv_.appendChild(n)}createTextInput_(){const n=document.createElement("input");return n.type="text",n.setAttribute("placeholder",this.textInputPlaceholder_),n}createNextBtn_(){return this.createBtn_("blockly-ws-search-next-btn","Find next")}createPreviousBtn_(){return this.createBtn_("blockly-ws-search-previous-btn","Find previous")}createCloseBtn_(){return this.createBtn_("blockly-ws-search-close-btn","Close search bar")}createBtn_(n,s){const l=document.createElement("button");return Wo.utils.dom.addClass(l,n),l.setAttribute("aria-label",s),l}addBtnListener_(n,s){this.addEvent_(n,"click",this,s),this.addEvent_(n,"keydown",this,l=>{l.key==="Enter"?(s(l),l.preventDefault()):l.key==="Escape"&&this.close(),l.stopPropagation()})}getBoundingRectangle(){return null}position(n,s){this.workspace_.RTL?this.htmlDiv_.style.left=n.absoluteMetrics.left+"px":n.toolboxMetrics.position===Wo.TOOLBOX_AT_RIGHT?this.htmlDiv_.style.right=n.toolboxMetrics.width+"px":this.htmlDiv_.style.right="0",this.htmlDiv_.style.top=n.absoluteMetrics.top+"px"}onInput_(){if(this.searchOnInput){const n=this.inputElement_.value.trim();n!==this.searchText_&&this.searchAndHighlight(n,this.preserveSelected)}}onKeyDown_(n){if(n.key==="Escape")this.close();else if(n.key==="Enter")if(this.searchOnInput)this.next();else{const s=this.inputElement_.value.trim();s!==this.searchText_&&this.searchAndHighlight(s,this.preserveSelected)}}onWorkspaceKeyDown_(n){(n.ctrlKey||n.metaKey)&&n.key==="f"&&(this.open(),n.preventDefault(),n.stopPropagation())}previous(){this.setCurrentBlock_(this.currentBlockIndex_-1)}next(){this.setCurrentBlock_(this.currentBlockIndex_+1)}setSearchPlaceholder(n){this.textInputPlaceholder_=n,this.inputElement_&&this.inputElement_.setAttribute("placeholder",this.textInputPlaceholder_)}setCurrentBlock_(n){if(!this.blocks_.length)return;let s=this.blocks_[this.currentBlockIndex_];s&&this.unhighlightCurrentSelection_(s),this.currentBlockIndex_=(n%this.blocks_.length+this.blocks_.length)%this.blocks_.length,s=this.blocks_[this.currentBlockIndex_],this.highlightCurrentSelection_(s),this.workspace_.centerOnBlock(s.id,!1)}open(){this.setVisible_(!0),this.inputElement_.focus(),this.searchText_&&this.searchAndHighlight(this.searchText_)}close(){this.setVisible_(!1),this.workspace_.markFocused(),this.clearBlocks()}setVisible_(n){this.htmlDiv_.style.display=n?"flex":"none"}searchAndHighlight(n,s){const l=this.blocks_[this.currentBlockIndex_];this.searchText_=n.trim(),this.clearBlocks(),this.blocks_=this.getMatchingBlocks_(this.workspace_,this.searchText_,this.caseSensitive),this.highlightSearchGroup_(this.blocks_);let a=0;s&&(a=this.blocks_.indexOf(l),a=a>-1?a:0),this.setCurrentBlock_(a)}getSearchPool_(n){return n.getAllBlocks(!0).filter(l=>{const a=l.getSurroundParent();return!a||!a.isCollapsed()})}isBlockMatch_(n,s,l){let a="";if(n.isCollapsed())a=n.toString();else{const u=[];n.inputList.forEach(d=>{d.fieldRow.forEach(h=>{u.push(h.getText())})}),a=u.join(" ").trim()}return l||(a=a.toLowerCase()),a.indexOf(s)>-1}getMatchingBlocks_(n,s,l){return s?(this.caseSensitive||(s=s.toLowerCase()),this.getSearchPool_(n).filter(u=>this.isBlockMatch_(u,s,l))):[]}clearBlocks(){this.unhighlightSearchGroup_(this.blocks_);const n=this.blocks_[this.currentBlockIndex_];n&&this.unhighlightCurrentSelection_(n),this.currentBlockIndex_=-1,this.blocks_=[]}highlightCurrentSelection_(n){const s=n.pathObject.svgPath;Wo.utils.dom.addClass(s,"blockly-ws-search-current")}unhighlightCurrentSelection_(n){const s=n.pathObject.svgPath;Wo.utils.dom.removeClass(s,"blockly-ws-search-current")}highlightSearchGroup_(n){n.forEach(s=>{const l=s.pathObject.svgPath;Wo.utils.dom.addClass(l,"blockly-ws-search-highlight")})}unhighlightSearchGroup_(n){n.forEach(s=>{const l=s.pathObject.svgPath;Wo.utils.dom.removeClass(l,"blockly-ws-search-highlight")})}}const l2="项目",c2="未命名",a2="今天",u2="复制并粘贴",d2="添加注释",h2="删除注释",p2="复制注释",$2="多行输入",_2="单行输入",g2="删除块",f2="删除 %1 个块",m2="删除所有 %1 个块吗?",T2="整理块",E2="折叠块",b2="折叠块",v2="展开块",I2="展开块",O2="禁用块",C2="启用块",y2="帮助",S2="撤销",R2="重做",k2="更改值",A2="重命名变量...",L2="将所有“%1”变量重命名为",N2="创建变量",w2="创建字符串变量",M2="创建数字变量",D2="创建颜色变量",P2="新变量的类型:",x2="新变量的名称:",B2="名字叫“%1”的变量已经存在了。",F2="名字叫“%1”的变量已经有了另一个类型:“%2”。",U2="要删除对变量“%2”的%1个引用吗?",H2="不能删除变量“%1”,因为它是函数“%2”定义的一部分",V2="删除变量“%1”",G2="https://zh.wikipedia.org/wiki/颜色",W2="从调色板中选择一种颜色。",z2="随机颜色",X2="随机选择一种颜色。",j2="颜色",Y2="红色",K2="绿色",Q2="蓝色",q2="通过指定红色、绿色和蓝色的量创建一种颜色。所有的值必须在0和100之间。",J2="混合",Z2="颜色1",eO="颜色2",tO="比例",oO="把两种颜色以一个给定的比例(0.0-1.0)进行混合。",sO="https://zh.wikipedia.org/wiki/For循环",iO="循环 %1 次",nO="",rO="多次执行一些语句。",lO="循环 当满足",cO="循环 直到",aO="只要值为真,就一直循环执行一些语句。",uO="只要值为假,就一直循环执行一些语句。",dO="用变量%1记录从开始数值到终止数值之间的数值,数值按指定间隔增加,并执行指定的块。",hO="变量 %1 从 %2 数到 %3 步长为 %4",pO="变量 %1 遍历列表 %2",$O="遍历列表中的每一项,将变量“%1”设为所选项,并执行一些语句。",_O="退出循环",gO="直接进入下一轮循环",fO="跳出包含它的循环。",mO="跳过本轮循环的剩余部分,并继进行续下一轮循环。",TO="警告:这个块只能在循环内使用。",EO="如果值为真,执行一些语句。",bO="如果值为真,则执行第一块语句。否则,则执行第二块语句。",vO="如果第一个值为真,则执行第一块的语句。否则,如果第二个值为真,则执行第二块的语句。",IO="如果第一个值为真,则执行第一块对语句。否则,如果第二个值为真,则执行语句的第二块。如果没有值为真,则执行最后一块的语句。",OO="如果",CO="",yO="否则如果",SO="",RO="增加、删除或重新排列各节来重新配置这个if语句块。",kO="在这个if语句块中增加一个条件。",AO="在这个if语句块中添加一个最终的,包括所有其余情况的条件。",LO="https://zh.wikipedia.org/wiki/不等",NO="如果两个输入结果相等,则返回真。",wO="如果两个输入结果不相等,则返回真。",MO="如果第一个输入结果比第二个小,则返回真。",DO="如果第一个输入结果小于或等于第二个输入结果,则返回真。",PO="如果第一个输入结果比第二个大,则返回真。",xO="如果第一个输入结果大于或等于第二个输入结果,则返回真。",BO="如果两个输入结果都为真,则返回真。",FO="且",UO="如果至少有一个输入结果为真,则返回真。",HO="或",VO="%1 不成立",GO="如果输入结果为false,则返回true;如果输入结果为true,则返回false。",WO="成立",zO="不成立",XO="返回 true 或 false。",jO="空",YO="返回空值。",KO="https://zh.wikipedia.org/wiki/条件运算符",QO="条件",qO="成立则为",JO="不成立则为",ZO="检查“断言”里的条件语句。如果条件为真,则返回“如果为真”的值,否则,则返回“如果为假”的值。",eC="https://zh.wikipedia.org/wiki/数",tC="一个数值。",oC="sin",sC="cos",iC="tan",nC="asin",rC="acos",lC="atan",cC="https://zh.wikipedia.org/wiki/算术",aC="返回两个数值的和。",uC="返回两个数值的差。",dC="返回两个数值的乘积。",hC="返回两个数值的商。",pC="返回以第一个数值为底数,以第二个数值为幂的结果。",$C="https://zh.wikipedia.org/wiki/平方根",_C="算术平方根",gC="返回一个数的算术平方根。",fC="绝对值",mC="返回一个数值的绝对值。",TC="返回一个数值的相反数。",EC="返回一个数值的自然对数。",bC="返回一个数值的以10为底的对数。",vC="返回e的n次幂。",IC="返回10的n次幂。",OC="https://zh.wikipedia.org/wiki/三角函数",CC="返回指定角度的正弦值(非弧度)。",yC="返回指定角度的余弦值(非弧度)。",SC="返回指定角度的正切值(非弧度)。",RC="返回一个数值的反正弦值。",kC="返回一个数值的反余弦值。",AC="返回一个数值的反正切值。",LC="https://zh.wikipedia.org/wiki/数学常数",NC="返回一个常见常量:π (3.141…)、e (2.718…)、φ (1.618…)、根号2 (1.414…)、根号二分之一 (0.707…)或∞ (无穷大)。",wC="是偶数",MC="是奇数",DC="是质数",PC="是整数",xC="是正数",BC="是负数",FC="检查一个数值是否是偶数、奇数、质数、自然数、正数、负数或者是否能被某数整除。返回真或假。",UC="https://zh.wikipedia.org/wiki/加法",HC="将 %1 增加 %2",VC="为变量“%1”增加一个数值。",GC="https://zh.wikipedia.org/wiki/数值修约",WC="数字向上或向下舍入。",zC="四舍五入",XC="向上舍入",jC="向下舍入",YC="列表中数值的和",KC="返回列表中的所有数值的和。",QC="列表最小值",qC="返回列表中最小值。",JC="列表最大值",ZC="返回列表中最大值。",e4="列表平均值",t4="返回列表中的数值的平均值。",o4="列表中位数",s4="返回列表中数值的中位数。",i4="列表中的众数",n4="返回列表中的出现次数最多的项的列表。",r4="列表的标准差",l4="返回列表的标准差。",c4="列表中的随机一项",a4="从列表中返回一个随机的元素。",u4="https://zh.wikipedia.org/wiki/模除",d4="%1 ÷ %2 的余数",h4="返回这两个数字相除后的余数。",p4="将 %1 限制在 最低 %2 到最高 %3 之间",$4="将一个数值限制在两个指定的数值范围(含边界)之间。",_4="https://zh.wikipedia.org/wiki/随机数生成器",g4="随机整数 %1 到 %2",f4="返回一个限制在两个指定数值的范围(含边界)之间的随机整数。",m4="https://zh.wikipedia.org/wiki/随机数生成器",T4="随机小数",E4="返回一个从0.0(含)到1.0(不含)之间的随机数。",b4="https://zh.wikipedia.org/wiki/反正切2",v4="点(x:%1,y:%2)的方位角",I4="返回点(X,Y)的反正切值,范围为-180到180度。",O4="https://zh.wikipedia.org/wiki/字符串",C4="一个字、词语或一行文本。",y4="连接",S4="通过串起任意数量的项以建立一段文本。",R4="拼接",k4="添加、移除或重新排列各节来重新配置这个文本块。",A4="将一个项添加到文本中。",L4="在 %1 之后加上文本 %2 ",N4="将一些文本追加到变量“%1”里。",w4="%1 的字符数",M4="返回给定文本的字母数(包括空格)。",D4="%1 是空的",P4="如果给定的文本为空,则返回真。",x4="返回第一个文本段在第二个文本段中的第一/最后一个匹配项的起始位置。如果未找到,则返回%1。",B4="在 %1 中 %2 出现 %3 的位置",F4="首次",U4="最后",H4="用不同的大小写模式复制并返回这段文字。",V4="转为大写",G4="转为小写",W4="转为首字母大写",z4="从某一端或同时从两端删除多余的空白,并返回这段文字的一个副本。",X4="消除其两侧的空白",j4="消除其左侧的空白",Y4="消除其右侧的空白",K4="输出 %1",Q4="输出指定的文字、数字或其他值。",q4="要求输入文本,并显示提示消息",J4="要求输入数字,并显示提示消息",Z4="要求用户输入数字。",ey="要求用户输入一些文本。",ty="%1 在 %2 里出现的次数",oy="计算在一段文本中,某个部分文本重复出现了多少次。",sy="把 %3 中的 %1 替换为 %2",iy="在一段文本中,将出现过的某部分文本都替换掉。",ny="倒转文本%1",ry="将文本中各个字符的顺序倒转。",ly="创建空列表",cy="返回一个列表,长度为 0,不包含任何数据记录",ay="建立一个具有任意数量项目的列表。",uy="创建列表,内容:",dy="列表",hy="增加、删除或重新排列各部分以此重新配置这个列表块。",py="将一个项添加到列表中。",$y="建立包含指定重复次数的值的列表。",_y="建立列表使用项 %1 重复 %2 次",gy="%1 的长度",fy="返回列表的长度。",my="%1 是空的",Ty="如果改列表为空,则返回真。",Ey="在列表中",by="寻找第一次出现的项",vy="寻找最后一次出现的项",Iy="排序%1 %2 %3",Oy="排序一个列表,返回副本。",Cy="升序",yy="降序",Sy="按数字",Ry="按字母",ky="按字母(忽略大小写)",Ay="倒转%1",Ly="倒转一个列表,返回副本。",Ny="返回此变量的值。",wy="创建“设定%1”",My="设置 %1 的值为 %2",Dy="设置此变量,以使它和输入值相等。",Py="创建“获得%1”",xy="https://zh.wikipedia.org/wiki/子程序",By="定义函数",Fy="定义函数",Uy="做点什么",Hy="做点什么",Vy="",Gy="",Wy="形参",zy="创建一个不带输出值的函数。",Xy="描述该功能...",jy="https://zh.wikipedia.org/wiki/子程序",Yy="返回",Ky="创建一个有输出值的函数。",Qy="允许声明",qy="警告:此函数具有重复参数。",Jy="https://zh.wikipedia.org/wiki/子程序",Zy="运行用户定义的函数“%1”。",eS="https://zh.wikipedia.org/wiki/子程序",tS="运行用户定义的函数“%1”,并使用它的输出值。",oS="输入",sS="添加、移除或重新排此函数的输入。",iS="输入名称:",nS="添加函数输入。",rS="突出显示函数定义",lS="创建“%1”",cS="如果值为真,则返回第二个值。",aS="警告:这个块只能在函数内部使用。",uS="说点什么...",dS="Blockly工作区",hS="已收起的信息块内包含警告。",pS="确认",$S="取消",R7={VARIABLES_DEFAULT_NAME:l2,UNNAMED_KEY:c2,TODAY:a2,DUPLICATE_BLOCK:u2,ADD_COMMENT:d2,REMOVE_COMMENT:h2,DUPLICATE_COMMENT:p2,EXTERNAL_INPUTS:$2,INLINE_INPUTS:_2,DELETE_BLOCK:g2,DELETE_X_BLOCKS:f2,DELETE_ALL_BLOCKS:m2,CLEAN_UP:T2,COLLAPSE_BLOCK:E2,COLLAPSE_ALL:b2,EXPAND_BLOCK:v2,EXPAND_ALL:I2,DISABLE_BLOCK:O2,ENABLE_BLOCK:C2,HELP:y2,UNDO:S2,REDO:R2,CHANGE_VALUE_TITLE:k2,RENAME_VARIABLE:A2,RENAME_VARIABLE_TITLE:L2,NEW_VARIABLE:N2,NEW_STRING_VARIABLE:w2,NEW_NUMBER_VARIABLE:M2,NEW_COLOUR_VARIABLE:D2,NEW_VARIABLE_TYPE_TITLE:P2,NEW_VARIABLE_TITLE:x2,VARIABLE_ALREADY_EXISTS:B2,VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE:F2,DELETE_VARIABLE_CONFIRMATION:U2,CANNOT_DELETE_VARIABLE_PROCEDURE:H2,DELETE_VARIABLE:V2,COLOUR_PICKER_HELPURL:G2,COLOUR_PICKER_TOOLTIP:W2,COLOUR_RANDOM_TITLE:z2,COLOUR_RANDOM_TOOLTIP:X2,COLOUR_RGB_TITLE:j2,COLOUR_RGB_RED:Y2,COLOUR_RGB_GREEN:K2,COLOUR_RGB_BLUE:Q2,COLOUR_RGB_TOOLTIP:q2,COLOUR_BLEND_TITLE:J2,COLOUR_BLEND_COLOUR1:Z2,COLOUR_BLEND_COLOUR2:eO,COLOUR_BLEND_RATIO:tO,COLOUR_BLEND_TOOLTIP:oO,CONTROLS_REPEAT_HELPURL:sO,CONTROLS_REPEAT_TITLE:iO,CONTROLS_REPEAT_INPUT_DO:nO,CONTROLS_REPEAT_TOOLTIP:rO,CONTROLS_WHILEUNTIL_OPERATOR_WHILE:lO,CONTROLS_WHILEUNTIL_OPERATOR_UNTIL:cO,CONTROLS_WHILEUNTIL_TOOLTIP_WHILE:aO,CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL:uO,CONTROLS_FOR_TOOLTIP:dO,CONTROLS_FOR_TITLE:hO,CONTROLS_FOREACH_TITLE:pO,CONTROLS_FOREACH_TOOLTIP:$O,CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK:_O,CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE:gO,CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK:fO,CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE:mO,CONTROLS_FLOW_STATEMENTS_WARNING:TO,CONTROLS_IF_TOOLTIP_1:EO,CONTROLS_IF_TOOLTIP_2:bO,CONTROLS_IF_TOOLTIP_3:vO,CONTROLS_IF_TOOLTIP_4:IO,CONTROLS_IF_MSG_IF:OO,CONTROLS_IF_MSG_THEN:CO,CONTROLS_IF_MSG_ELSEIF:yO,CONTROLS_IF_MSG_ELSE:SO,CONTROLS_IF_IF_TOOLTIP:RO,CONTROLS_IF_ELSEIF_TOOLTIP:kO,CONTROLS_IF_ELSE_TOOLTIP:AO,LOGIC_COMPARE_HELPURL:LO,LOGIC_COMPARE_TOOLTIP_EQ:NO,LOGIC_COMPARE_TOOLTIP_NEQ:wO,LOGIC_COMPARE_TOOLTIP_LT:MO,LOGIC_COMPARE_TOOLTIP_LTE:DO,LOGIC_COMPARE_TOOLTIP_GT:PO,LOGIC_COMPARE_TOOLTIP_GTE:xO,LOGIC_OPERATION_TOOLTIP_AND:BO,LOGIC_OPERATION_AND:FO,LOGIC_OPERATION_TOOLTIP_OR:UO,LOGIC_OPERATION_OR:HO,LOGIC_NEGATE_TITLE:VO,LOGIC_NEGATE_TOOLTIP:GO,LOGIC_BOOLEAN_TRUE:WO,LOGIC_BOOLEAN_FALSE:zO,LOGIC_BOOLEAN_TOOLTIP:XO,LOGIC_NULL:jO,LOGIC_NULL_TOOLTIP:YO,LOGIC_TERNARY_HELPURL:KO,LOGIC_TERNARY_CONDITION:QO,LOGIC_TERNARY_IF_TRUE:qO,LOGIC_TERNARY_IF_FALSE:JO,LOGIC_TERNARY_TOOLTIP:ZO,MATH_NUMBER_HELPURL:eC,MATH_NUMBER_TOOLTIP:tC,MATH_TRIG_SIN:oC,MATH_TRIG_COS:sC,MATH_TRIG_TAN:iC,MATH_TRIG_ASIN:nC,MATH_TRIG_ACOS:rC,MATH_TRIG_ATAN:lC,MATH_ARITHMETIC_HELPURL:cC,MATH_ARITHMETIC_TOOLTIP_ADD:aC,MATH_ARITHMETIC_TOOLTIP_MINUS:uC,MATH_ARITHMETIC_TOOLTIP_MULTIPLY:dC,MATH_ARITHMETIC_TOOLTIP_DIVIDE:hC,MATH_ARITHMETIC_TOOLTIP_POWER:pC,MATH_SINGLE_HELPURL:$C,MATH_SINGLE_OP_ROOT:_C,MATH_SINGLE_TOOLTIP_ROOT:gC,MATH_SINGLE_OP_ABSOLUTE:fC,MATH_SINGLE_TOOLTIP_ABS:mC,MATH_SINGLE_TOOLTIP_NEG:TC,MATH_SINGLE_TOOLTIP_LN:EC,MATH_SINGLE_TOOLTIP_LOG10:bC,MATH_SINGLE_TOOLTIP_EXP:vC,MATH_SINGLE_TOOLTIP_POW10:IC,MATH_TRIG_HELPURL:OC,MATH_TRIG_TOOLTIP_SIN:CC,MATH_TRIG_TOOLTIP_COS:yC,MATH_TRIG_TOOLTIP_TAN:SC,MATH_TRIG_TOOLTIP_ASIN:RC,MATH_TRIG_TOOLTIP_ACOS:kC,MATH_TRIG_TOOLTIP_ATAN:AC,MATH_CONSTANT_HELPURL:LC,MATH_CONSTANT_TOOLTIP:NC,MATH_IS_EVEN:wC,MATH_IS_ODD:MC,MATH_IS_PRIME:DC,MATH_IS_WHOLE:PC,MATH_IS_POSITIVE:xC,MATH_IS_NEGATIVE:BC,MATH_IS_TOOLTIP:FC,MATH_CHANGE_HELPURL:UC,MATH_CHANGE_TITLE:HC,MATH_CHANGE_TOOLTIP:VC,MATH_ROUND_HELPURL:GC,MATH_ROUND_TOOLTIP:WC,MATH_ROUND_OPERATOR_ROUND:zC,MATH_ROUND_OPERATOR_ROUNDUP:XC,MATH_ROUND_OPERATOR_ROUNDDOWN:jC,MATH_ONLIST_OPERATOR_SUM:YC,MATH_ONLIST_TOOLTIP_SUM:KC,MATH_ONLIST_OPERATOR_MIN:QC,MATH_ONLIST_TOOLTIP_MIN:qC,MATH_ONLIST_OPERATOR_MAX:JC,MATH_ONLIST_TOOLTIP_MAX:ZC,MATH_ONLIST_OPERATOR_AVERAGE:e4,MATH_ONLIST_TOOLTIP_AVERAGE:t4,MATH_ONLIST_OPERATOR_MEDIAN:o4,MATH_ONLIST_TOOLTIP_MEDIAN:s4,MATH_ONLIST_OPERATOR_MODE:i4,MATH_ONLIST_TOOLTIP_MODE:n4,MATH_ONLIST_OPERATOR_STD_DEV:r4,MATH_ONLIST_TOOLTIP_STD_DEV:l4,MATH_ONLIST_OPERATOR_RANDOM:c4,MATH_ONLIST_TOOLTIP_RANDOM:a4,MATH_MODULO_HELPURL:u4,MATH_MODULO_TITLE:d4,MATH_MODULO_TOOLTIP:h4,MATH_CONSTRAIN_TITLE:p4,MATH_CONSTRAIN_TOOLTIP:$4,MATH_RANDOM_INT_HELPURL:_4,MATH_RANDOM_INT_TITLE:g4,MATH_RANDOM_INT_TOOLTIP:f4,MATH_RANDOM_FLOAT_HELPURL:m4,MATH_RANDOM_FLOAT_TITLE_RANDOM:T4,MATH_RANDOM_FLOAT_TOOLTIP:E4,MATH_ATAN2_HELPURL:b4,MATH_ATAN2_TITLE:v4,MATH_ATAN2_TOOLTIP:I4,TEXT_TEXT_HELPURL:O4,TEXT_TEXT_TOOLTIP:C4,TEXT_JOIN_TITLE_CREATEWITH:y4,TEXT_JOIN_TOOLTIP:S4,TEXT_CREATE_JOIN_TITLE_JOIN:R4,TEXT_CREATE_JOIN_TOOLTIP:k4,TEXT_CREATE_JOIN_ITEM_TOOLTIP:A4,TEXT_APPEND_TITLE:L4,TEXT_APPEND_TOOLTIP:N4,TEXT_LENGTH_TITLE:w4,TEXT_LENGTH_TOOLTIP:M4,TEXT_ISEMPTY_TITLE:D4,TEXT_ISEMPTY_TOOLTIP:P4,TEXT_INDEXOF_TOOLTIP:x4,TEXT_INDEXOF_TITLE:B4,TEXT_INDEXOF_OPERATOR_FIRST:F4,TEXT_INDEXOF_OPERATOR_LAST:U4,TEXT_CHANGECASE_TOOLTIP:H4,TEXT_CHANGECASE_OPERATOR_UPPERCASE:V4,TEXT_CHANGECASE_OPERATOR_LOWERCASE:G4,TEXT_CHANGECASE_OPERATOR_TITLECASE:W4,TEXT_TRIM_TOOLTIP:z4,TEXT_TRIM_OPERATOR_BOTH:X4,TEXT_TRIM_OPERATOR_LEFT:j4,TEXT_TRIM_OPERATOR_RIGHT:Y4,TEXT_PRINT_TITLE:K4,TEXT_PRINT_TOOLTIP:Q4,TEXT_PROMPT_TYPE_TEXT:q4,TEXT_PROMPT_TYPE_NUMBER:J4,TEXT_PROMPT_TOOLTIP_NUMBER:Z4,TEXT_PROMPT_TOOLTIP_TEXT:ey,TEXT_COUNT_MESSAGE0:ty,TEXT_COUNT_TOOLTIP:oy,TEXT_REPLACE_MESSAGE0:sy,TEXT_REPLACE_TOOLTIP:iy,TEXT_REVERSE_MESSAGE0:ny,TEXT_REVERSE_TOOLTIP:ry,LISTS_CREATE_EMPTY_TITLE:ly,LISTS_CREATE_EMPTY_TOOLTIP:cy,LISTS_CREATE_WITH_TOOLTIP:ay,LISTS_CREATE_WITH_INPUT_WITH:uy,LISTS_CREATE_WITH_CONTAINER_TITLE_ADD:dy,LISTS_CREATE_WITH_CONTAINER_TOOLTIP:hy,LISTS_CREATE_WITH_ITEM_TOOLTIP:py,LISTS_REPEAT_TOOLTIP:$y,LISTS_REPEAT_TITLE:_y,LISTS_LENGTH_TITLE:gy,LISTS_LENGTH_TOOLTIP:fy,LISTS_ISEMPTY_TITLE:my,LISTS_ISEMPTY_TOOLTIP:Ty,LISTS_INLIST:Ey,LISTS_INDEX_OF_FIRST:by,LISTS_INDEX_OF_LAST:vy,LISTS_SORT_TITLE:Iy,LISTS_SORT_TOOLTIP:Oy,LISTS_SORT_ORDER_ASCENDING:Cy,LISTS_SORT_ORDER_DESCENDING:yy,LISTS_SORT_TYPE_NUMERIC:Sy,LISTS_SORT_TYPE_TEXT:Ry,LISTS_SORT_TYPE_IGNORECASE:ky,LISTS_REVERSE_MESSAGE0:Ay,LISTS_REVERSE_TOOLTIP:Ly,VARIABLES_GET_TOOLTIP:Ny,VARIABLES_GET_CREATE_SET:wy,VARIABLES_SET:My,VARIABLES_SET_TOOLTIP:Dy,VARIABLES_SET_CREATE_GET:Py,PROCEDURES_DEFNORETURN_HELPURL:xy,PROCEDURES_DEFNORETURN_TITLE:By,PROCEDURES_DEFRETURN_TITLE:Fy,PROCEDURES_DEFNORETURN_PROCEDURE:Uy,PROCEDURES_DEFRETURN_PROCEDURE:Hy,PROCEDURES_BEFORE_PARAMS:Vy,PROCEDURES_CALL_BEFORE_PARAMS:Gy,PROCEDURE_VARIABLE:Wy,PROCEDURES_DEFNORETURN_TOOLTIP:zy,PROCEDURES_DEFNORETURN_COMMENT:Xy,PROCEDURES_DEFRETURN_HELPURL:jy,PROCEDURES_DEFRETURN_RETURN:Yy,PROCEDURES_DEFRETURN_TOOLTIP:Ky,PROCEDURES_ALLOW_STATEMENTS:Qy,PROCEDURES_DEF_DUPLICATE_WARNING:qy,PROCEDURES_CALLNORETURN_HELPURL:Jy,PROCEDURES_CALLNORETURN_TOOLTIP:Zy,PROCEDURES_CALLRETURN_HELPURL:eS,PROCEDURES_CALLRETURN_TOOLTIP:tS,PROCEDURES_MUTATORCONTAINER_TITLE:oS,PROCEDURES_MUTATORCONTAINER_TOOLTIP:sS,PROCEDURES_MUTATORARG_TITLE:iS,PROCEDURES_MUTATORARG_TOOLTIP:nS,PROCEDURES_HIGHLIGHT_DEF:rS,PROCEDURES_CREATE_DO:lS,PROCEDURES_IFRETURN_TOOLTIP:cS,PROCEDURES_IFRETURN_WARNING:aS,WORKSPACE_COMMENT_DEFAULT_TEXT:uS,WORKSPACE_ARIA_LABEL:dS,COLLAPSED_WARNINGS_WARNING:hS,DIALOG_OK:pS,DIALOG_CANCEL:$S},k7=Object.freeze(Object.defineProperty({__proto__:null,ADD_COMMENT:d2,CANNOT_DELETE_VARIABLE_PROCEDURE:H2,CHANGE_VALUE_TITLE:k2,CLEAN_UP:T2,COLLAPSED_WARNINGS_WARNING:hS,COLLAPSE_ALL:b2,COLLAPSE_BLOCK:E2,COLOUR_BLEND_COLOUR1:Z2,COLOUR_BLEND_COLOUR2:eO,COLOUR_BLEND_RATIO:tO,COLOUR_BLEND_TITLE:J2,COLOUR_BLEND_TOOLTIP:oO,COLOUR_PICKER_HELPURL:G2,COLOUR_PICKER_TOOLTIP:W2,COLOUR_RANDOM_TITLE:z2,COLOUR_RANDOM_TOOLTIP:X2,COLOUR_RGB_BLUE:Q2,COLOUR_RGB_GREEN:K2,COLOUR_RGB_RED:Y2,COLOUR_RGB_TITLE:j2,COLOUR_RGB_TOOLTIP:q2,CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK:_O,CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE:gO,CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK:fO,CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE:mO,CONTROLS_FLOW_STATEMENTS_WARNING:TO,CONTROLS_FOREACH_TITLE:pO,CONTROLS_FOREACH_TOOLTIP:$O,CONTROLS_FOR_TITLE:hO,CONTROLS_FOR_TOOLTIP:dO,CONTROLS_IF_ELSEIF_TOOLTIP:kO,CONTROLS_IF_ELSE_TOOLTIP:AO,CONTROLS_IF_IF_TOOLTIP:RO,CONTROLS_IF_MSG_ELSE:SO,CONTROLS_IF_MSG_ELSEIF:yO,CONTROLS_IF_MSG_IF:OO,CONTROLS_IF_MSG_THEN:CO,CONTROLS_IF_TOOLTIP_1:EO,CONTROLS_IF_TOOLTIP_2:bO,CONTROLS_IF_TOOLTIP_3:vO,CONTROLS_IF_TOOLTIP_4:IO,CONTROLS_REPEAT_HELPURL:sO,CONTROLS_REPEAT_INPUT_DO:nO,CONTROLS_REPEAT_TITLE:iO,CONTROLS_REPEAT_TOOLTIP:rO,CONTROLS_WHILEUNTIL_OPERATOR_UNTIL:cO,CONTROLS_WHILEUNTIL_OPERATOR_WHILE:lO,CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL:uO,CONTROLS_WHILEUNTIL_TOOLTIP_WHILE:aO,DELETE_ALL_BLOCKS:m2,DELETE_BLOCK:g2,DELETE_VARIABLE:V2,DELETE_VARIABLE_CONFIRMATION:U2,DELETE_X_BLOCKS:f2,DIALOG_CANCEL:$S,DIALOG_OK:pS,DISABLE_BLOCK:O2,DUPLICATE_BLOCK:u2,DUPLICATE_COMMENT:p2,ENABLE_BLOCK:C2,EXPAND_ALL:I2,EXPAND_BLOCK:v2,EXTERNAL_INPUTS:$2,HELP:y2,INLINE_INPUTS:_2,LISTS_CREATE_EMPTY_TITLE:ly,LISTS_CREATE_EMPTY_TOOLTIP:cy,LISTS_CREATE_WITH_CONTAINER_TITLE_ADD:dy,LISTS_CREATE_WITH_CONTAINER_TOOLTIP:hy,LISTS_CREATE_WITH_INPUT_WITH:uy,LISTS_CREATE_WITH_ITEM_TOOLTIP:py,LISTS_CREATE_WITH_TOOLTIP:ay,LISTS_INDEX_OF_FIRST:by,LISTS_INDEX_OF_LAST:vy,LISTS_INLIST:Ey,LISTS_ISEMPTY_TITLE:my,LISTS_ISEMPTY_TOOLTIP:Ty,LISTS_LENGTH_TITLE:gy,LISTS_LENGTH_TOOLTIP:fy,LISTS_REPEAT_TITLE:_y,LISTS_REPEAT_TOOLTIP:$y,LISTS_REVERSE_MESSAGE0:Ay,LISTS_REVERSE_TOOLTIP:Ly,LISTS_SORT_ORDER_ASCENDING:Cy,LISTS_SORT_ORDER_DESCENDING:yy,LISTS_SORT_TITLE:Iy,LISTS_SORT_TOOLTIP:Oy,LISTS_SORT_TYPE_IGNORECASE:ky,LISTS_SORT_TYPE_NUMERIC:Sy,LISTS_SORT_TYPE_TEXT:Ry,LOGIC_BOOLEAN_FALSE:zO,LOGIC_BOOLEAN_TOOLTIP:XO,LOGIC_BOOLEAN_TRUE:WO,LOGIC_COMPARE_HELPURL:LO,LOGIC_COMPARE_TOOLTIP_EQ:NO,LOGIC_COMPARE_TOOLTIP_GT:PO,LOGIC_COMPARE_TOOLTIP_GTE:xO,LOGIC_COMPARE_TOOLTIP_LT:MO,LOGIC_COMPARE_TOOLTIP_LTE:DO,LOGIC_COMPARE_TOOLTIP_NEQ:wO,LOGIC_NEGATE_TITLE:VO,LOGIC_NEGATE_TOOLTIP:GO,LOGIC_NULL:jO,LOGIC_NULL_TOOLTIP:YO,LOGIC_OPERATION_AND:FO,LOGIC_OPERATION_OR:HO,LOGIC_OPERATION_TOOLTIP_AND:BO,LOGIC_OPERATION_TOOLTIP_OR:UO,LOGIC_TERNARY_CONDITION:QO,LOGIC_TERNARY_HELPURL:KO,LOGIC_TERNARY_IF_FALSE:JO,LOGIC_TERNARY_IF_TRUE:qO,LOGIC_TERNARY_TOOLTIP:ZO,MATH_ARITHMETIC_HELPURL:cC,MATH_ARITHMETIC_TOOLTIP_ADD:aC,MATH_ARITHMETIC_TOOLTIP_DIVIDE:hC,MATH_ARITHMETIC_TOOLTIP_MINUS:uC,MATH_ARITHMETIC_TOOLTIP_MULTIPLY:dC,MATH_ARITHMETIC_TOOLTIP_POWER:pC,MATH_ATAN2_HELPURL:b4,MATH_ATAN2_TITLE:v4,MATH_ATAN2_TOOLTIP:I4,MATH_CHANGE_HELPURL:UC,MATH_CHANGE_TITLE:HC,MATH_CHANGE_TOOLTIP:VC,MATH_CONSTANT_HELPURL:LC,MATH_CONSTANT_TOOLTIP:NC,MATH_CONSTRAIN_TITLE:p4,MATH_CONSTRAIN_TOOLTIP:$4,MATH_IS_EVEN:wC,MATH_IS_NEGATIVE:BC,MATH_IS_ODD:MC,MATH_IS_POSITIVE:xC,MATH_IS_PRIME:DC,MATH_IS_TOOLTIP:FC,MATH_IS_WHOLE:PC,MATH_MODULO_HELPURL:u4,MATH_MODULO_TITLE:d4,MATH_MODULO_TOOLTIP:h4,MATH_NUMBER_HELPURL:eC,MATH_NUMBER_TOOLTIP:tC,MATH_ONLIST_OPERATOR_AVERAGE:e4,MATH_ONLIST_OPERATOR_MAX:JC,MATH_ONLIST_OPERATOR_MEDIAN:o4,MATH_ONLIST_OPERATOR_MIN:QC,MATH_ONLIST_OPERATOR_MODE:i4,MATH_ONLIST_OPERATOR_RANDOM:c4,MATH_ONLIST_OPERATOR_STD_DEV:r4,MATH_ONLIST_OPERATOR_SUM:YC,MATH_ONLIST_TOOLTIP_AVERAGE:t4,MATH_ONLIST_TOOLTIP_MAX:ZC,MATH_ONLIST_TOOLTIP_MEDIAN:s4,MATH_ONLIST_TOOLTIP_MIN:qC,MATH_ONLIST_TOOLTIP_MODE:n4,MATH_ONLIST_TOOLTIP_RANDOM:a4,MATH_ONLIST_TOOLTIP_STD_DEV:l4,MATH_ONLIST_TOOLTIP_SUM:KC,MATH_RANDOM_FLOAT_HELPURL:m4,MATH_RANDOM_FLOAT_TITLE_RANDOM:T4,MATH_RANDOM_FLOAT_TOOLTIP:E4,MATH_RANDOM_INT_HELPURL:_4,MATH_RANDOM_INT_TITLE:g4,MATH_RANDOM_INT_TOOLTIP:f4,MATH_ROUND_HELPURL:GC,MATH_ROUND_OPERATOR_ROUND:zC,MATH_ROUND_OPERATOR_ROUNDDOWN:jC,MATH_ROUND_OPERATOR_ROUNDUP:XC,MATH_ROUND_TOOLTIP:WC,MATH_SINGLE_HELPURL:$C,MATH_SINGLE_OP_ABSOLUTE:fC,MATH_SINGLE_OP_ROOT:_C,MATH_SINGLE_TOOLTIP_ABS:mC,MATH_SINGLE_TOOLTIP_EXP:vC,MATH_SINGLE_TOOLTIP_LN:EC,MATH_SINGLE_TOOLTIP_LOG10:bC,MATH_SINGLE_TOOLTIP_NEG:TC,MATH_SINGLE_TOOLTIP_POW10:IC,MATH_SINGLE_TOOLTIP_ROOT:gC,MATH_TRIG_ACOS:rC,MATH_TRIG_ASIN:nC,MATH_TRIG_ATAN:lC,MATH_TRIG_COS:sC,MATH_TRIG_HELPURL:OC,MATH_TRIG_SIN:oC,MATH_TRIG_TAN:iC,MATH_TRIG_TOOLTIP_ACOS:kC,MATH_TRIG_TOOLTIP_ASIN:RC,MATH_TRIG_TOOLTIP_ATAN:AC,MATH_TRIG_TOOLTIP_COS:yC,MATH_TRIG_TOOLTIP_SIN:CC,MATH_TRIG_TOOLTIP_TAN:SC,NEW_COLOUR_VARIABLE:D2,NEW_NUMBER_VARIABLE:M2,NEW_STRING_VARIABLE:w2,NEW_VARIABLE:N2,NEW_VARIABLE_TITLE:x2,NEW_VARIABLE_TYPE_TITLE:P2,PROCEDURES_ALLOW_STATEMENTS:Qy,PROCEDURES_BEFORE_PARAMS:Vy,PROCEDURES_CALLNORETURN_HELPURL:Jy,PROCEDURES_CALLNORETURN_TOOLTIP:Zy,PROCEDURES_CALLRETURN_HELPURL:eS,PROCEDURES_CALLRETURN_TOOLTIP:tS,PROCEDURES_CALL_BEFORE_PARAMS:Gy,PROCEDURES_CREATE_DO:lS,PROCEDURES_DEFNORETURN_COMMENT:Xy,PROCEDURES_DEFNORETURN_HELPURL:xy,PROCEDURES_DEFNORETURN_PROCEDURE:Uy,PROCEDURES_DEFNORETURN_TITLE:By,PROCEDURES_DEFNORETURN_TOOLTIP:zy,PROCEDURES_DEFRETURN_HELPURL:jy,PROCEDURES_DEFRETURN_PROCEDURE:Hy,PROCEDURES_DEFRETURN_RETURN:Yy,PROCEDURES_DEFRETURN_TITLE:Fy,PROCEDURES_DEFRETURN_TOOLTIP:Ky,PROCEDURES_DEF_DUPLICATE_WARNING:qy,PROCEDURES_HIGHLIGHT_DEF:rS,PROCEDURES_IFRETURN_TOOLTIP:cS,PROCEDURES_IFRETURN_WARNING:aS,PROCEDURES_MUTATORARG_TITLE:iS,PROCEDURES_MUTATORARG_TOOLTIP:nS,PROCEDURES_MUTATORCONTAINER_TITLE:oS,PROCEDURES_MUTATORCONTAINER_TOOLTIP:sS,PROCEDURE_VARIABLE:Wy,REDO:R2,REMOVE_COMMENT:h2,RENAME_VARIABLE:A2,RENAME_VARIABLE_TITLE:L2,TEXT_APPEND_TITLE:L4,TEXT_APPEND_TOOLTIP:N4,TEXT_CHANGECASE_OPERATOR_LOWERCASE:G4,TEXT_CHANGECASE_OPERATOR_TITLECASE:W4,TEXT_CHANGECASE_OPERATOR_UPPERCASE:V4,TEXT_CHANGECASE_TOOLTIP:H4,TEXT_COUNT_MESSAGE0:ty,TEXT_COUNT_TOOLTIP:oy,TEXT_CREATE_JOIN_ITEM_TOOLTIP:A4,TEXT_CREATE_JOIN_TITLE_JOIN:R4,TEXT_CREATE_JOIN_TOOLTIP:k4,TEXT_INDEXOF_OPERATOR_FIRST:F4,TEXT_INDEXOF_OPERATOR_LAST:U4,TEXT_INDEXOF_TITLE:B4,TEXT_INDEXOF_TOOLTIP:x4,TEXT_ISEMPTY_TITLE:D4,TEXT_ISEMPTY_TOOLTIP:P4,TEXT_JOIN_TITLE_CREATEWITH:y4,TEXT_JOIN_TOOLTIP:S4,TEXT_LENGTH_TITLE:w4,TEXT_LENGTH_TOOLTIP:M4,TEXT_PRINT_TITLE:K4,TEXT_PRINT_TOOLTIP:Q4,TEXT_PROMPT_TOOLTIP_NUMBER:Z4,TEXT_PROMPT_TOOLTIP_TEXT:ey,TEXT_PROMPT_TYPE_NUMBER:J4,TEXT_PROMPT_TYPE_TEXT:q4,TEXT_REPLACE_MESSAGE0:sy,TEXT_REPLACE_TOOLTIP:iy,TEXT_REVERSE_MESSAGE0:ny,TEXT_REVERSE_TOOLTIP:ry,TEXT_TEXT_HELPURL:O4,TEXT_TEXT_TOOLTIP:C4,TEXT_TRIM_OPERATOR_BOTH:X4,TEXT_TRIM_OPERATOR_LEFT:j4,TEXT_TRIM_OPERATOR_RIGHT:Y4,TEXT_TRIM_TOOLTIP:z4,TODAY:a2,UNDO:S2,UNNAMED_KEY:c2,VARIABLES_DEFAULT_NAME:l2,VARIABLES_GET_CREATE_SET:wy,VARIABLES_GET_TOOLTIP:Ny,VARIABLES_SET:My,VARIABLES_SET_CREATE_GET:Py,VARIABLES_SET_TOOLTIP:Dy,VARIABLE_ALREADY_EXISTS:B2,VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE:F2,WORKSPACE_ARIA_LABEL:dS,WORKSPACE_COMMENT_DEFAULT_TEXT:uS,default:R7},Symbol.toStringTag,{value:"Module"}));const A7={__name:"Workspace",setup(o){Tt.setLocale(k7),Tt.Scrollbar.scrollbarThickness=15,Tt.FlyoutButton.BORDER_RADIUS=4,Tt.FlyoutButton.TEXT_MARGIN_X=10,Tt.FlyoutButton.TEXT_MARGIN_Y=10,tn("lists_create_with","list"),tn("procedures_defnoreturn","function"),tn("procedures_defreturn","function"),tn("procedures_ifreturn","function"),tn("procedures_callnoreturn","function"),tn("procedures_callreturn","function"),tn("time_current","time");const n=ge(),s=lr(),l={toolbox:e2,media:"/media",trashcan:!1,zoom:{controls:!0,wheel:!0,startScale:.8,maxScale:1.4,minScale:.5},move:{scrollbars:!0,drag:!0,wheel:!0},theme:"codemao",renderer:"codemao"};return Wt(()=>{s.$patch(a=>{a.workspaceSvg=Tt.inject(n.value,l),a.searchPlugin=new S7(s.workspaceSvg)}),s.searchPlugin.setSearchPlaceholder("搜索作品中的积木"),s.searchPlugin.init()}),(a,u)=>(me(),Be("div",{class:"blocklyDiv",ref_key:"blocklyDiv",ref:n},null,512))}};const L7={id:"zoombox"},N7={__name:"Zoombox",setup(o){const n=ge(),s=lr();function l(){s.workspaceSvg.cleanUp()}function a(){s.hasLayoutSider=!s.hasLayoutSider}function u(){let p=s.workspaceSvg.options.zoomOptions.scaleSpeed,f=s.workspaceSvg.scale;s.workspaceSvg.zoom(0,0,Math.log((f-.15)/f)/Math.log(p))}function d(){document.getElementsByClassName("blocklyZoom")[2].dispatchEvent(new PointerEvent("pointerdown"))}function h(){let p=s.workspaceSvg.options.zoomOptions.scaleSpeed,f=s.workspaceSvg.scale;s.workspaceSvg.zoom(0,0,Math.log((f+.15)/f)/Math.log(p))}return Wt(()=>{s.workspaceSvg.addChangeListener(()=>{n.value.innerHTML=Math.floor((s.workspaceSvg.scale*(5/3)-1/3)*100)+"%"})}),(p,f)=>{const T=dd,y=D0,k=Ig;return me(),Be("div",L7,[J(k,null,{default:He(()=>[J(y,{content:"整理",position:"top",mini:""},{default:He(()=>[J(T,{type:"text",onClick:l,"aria-label":"整理"},{icon:He(()=>[J(Xo(pD))]),_:1})]),_:1})]),_:1}),J(k,null,{default:He(()=>[J(y,{content:"代码区",position:"top",mini:""},{default:He(()=>[J(T,{type:"text",onClick:a,"aria-label":"代码区"},{icon:He(()=>[J(Xo(I8))]),_:1})]),_:1})]),_:1}),J(k,null,{default:He(()=>[J(y,{content:"缩小",position:"top",mini:""},{default:He(()=>[J(T,{type:"text",onClick:u,"aria-label":"缩小"},{icon:He(()=>[J(Xo(P8))]),_:1})]),_:1}),J(y,{content:"恢复为100%",position:"top",mini:""},{default:He(()=>[J(T,{type:"text",onClick:d,"aria-label":"恢复为100%"},{default:He(()=>[Ne("span",{ref_key:"scale",ref:n},"100%",512)]),_:1})]),_:1}),J(y,{content:"放大",position:"top",mini:""},{default:He(()=>[J(T,{type:"text",onClick:h,"aria-label":"放大"},{icon:He(()=>[J(Xo(k8))]),_:1})]),_:1})]),_:1})])}}};const w7={__name:"App",setup(o){let n;const s=ge(),l=lr();function a(){for(let d=0;d<5;d++)setTimeout(()=>{Tt.svgResize(l.workspaceSvg)},100*d)}function u(d=!1){s.value.$el.style.display=d?"block":"none",a()}return Wt(()=>{Et(l.$state,d=>{d.hasLayoutSider!==n&&(u(d.hasLayoutSider),n=d.hasLayoutSider)},{deep:!0}),a(),u()}),(d,h)=>{const p=Mu,f=Du,T=CM;return me(),Be(Gt,null,[J(T,null,{default:He(()=>[J(p,null,{default:He(()=>[J(A7),J(a7),J(f7),J(N7)]),_:1}),J(f,{ref_key:"layoutSider",ref:s,"resize-directions":["left"],onMoving:a,onMovingEnd:a},{default:He(()=>[J(kD)]),_:1},512)]),_:1}),J(r7),J(E7),J(l7),J(AD)],64)}}};yc.registerLanguage("javascript",x5);yc.registerLanguage("python",B5);const Rg=H3(w7),M7=U5();Rg.use(N5);Rg.use(M7);Rg.mount("#app");if("serviceWorker"in navigator){const o=Q5({onNeedRefresh(){dn.confirm({title:"注意",content:"当前版本有更新,请问是否立即更新。",okText:"确认",onOk:()=>{o(!0)},onCancel:!1,hideCancel:!1})}})}
diff --git a/dist/assets/index-5971f7e7.js.gz b/dist/assets/index-5971f7e7.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..46f37bf529b7969bab486b89cf49736e9cfe9b68
Binary files /dev/null and b/dist/assets/index-5971f7e7.js.gz differ
diff --git a/dist/assets/index-825ada8c.css b/dist/assets/index-825ada8c.css
new file mode 100644
index 0000000000000000000000000000000000000000..bd809d0eb020a1c6430c39c592faf49aed45dd00
--- /dev/null
+++ b/dist/assets/index-825ada8c.css
@@ -0,0 +1 @@
+body{--red-1: 255,236,232;--red-2: 253,205,197;--red-3: 251,172,163;--red-4: 249,137,129;--red-5: 247,101,96;--red-6: 245,63,63;--red-7: 203,39,45;--red-8: 161,21,30;--red-9: 119,8,19;--red-10: 77,0,10;--orangered-1: 255,243,232;--orangered-2: 253,221,195;--orangered-3: 252,197,159;--orangered-4: 250,172,123;--orangered-5: 249,144,87;--orangered-6: 247,114,52;--orangered-7: 204,81,32;--orangered-8: 162,53,17;--orangered-9: 119,31,6;--orangered-10: 77,14,0;--orange-1: 255,247,232;--orange-2: 255,228,186;--orange-3: 255,207,139;--orange-4: 255,182,93;--orange-5: 255,154,46;--orange-6: 255,125,0;--orange-7: 210,95,0;--orange-8: 166,69,0;--orange-9: 121,46,0;--orange-10: 77,27,0;--gold-1: 255,252,232;--gold-2: 253,244,191;--gold-3: 252,233,150;--gold-4: 250,220,109;--gold-5: 249,204,69;--gold-6: 247,186,30;--gold-7: 204,146,19;--gold-8: 162,109,10;--gold-9: 119,75,4;--gold-10: 77,45,0;--yellow-1: 254,255,232;--yellow-2: 254,254,190;--yellow-3: 253,250,148;--yellow-4: 252,242,107;--yellow-5: 251,232,66;--yellow-6: 250,220,25;--yellow-7: 207,175,15;--yellow-8: 163,132,8;--yellow-9: 120,93,3;--yellow-10: 77,56,0;--lime-1: 252,255,232;--lime-2: 237,248,187;--lime-3: 220,241,144;--lime-4: 201,233,104;--lime-5: 181,226,65;--lime-6: 159,219,29;--lime-7: 126,183,18;--lime-8: 95,148,10;--lime-9: 67,112,4;--lime-10: 42,77,0;--green-1: 232,255,234;--green-2: 175,240,181;--green-3: 123,225,136;--green-4: 76,210,99;--green-5: 35,195,67;--green-6: 0,180,42;--green-7: 0,154,41;--green-8: 0,128,38;--green-9: 0,102,34;--green-10: 0,77,28;--cyan-1: 232,255,251;--cyan-2: 183,244,236;--cyan-3: 137,233,224;--cyan-4: 94,223,214;--cyan-5: 55,212,207;--cyan-6: 20,201,201;--cyan-7: 13,165,170;--cyan-8: 7,130,139;--cyan-9: 3,97,108;--cyan-10: 0,66,77;--blue-1: 232,247,255;--blue-2: 195,231,254;--blue-3: 159,212,253;--blue-4: 123,192,252;--blue-5: 87,169,251;--blue-6: 52,145,250;--blue-7: 32,108,207;--blue-8: 17,75,163;--blue-9: 6,48,120;--blue-10: 0,26,77;--arcoblue-1: 232,243,255;--arcoblue-2: 190,218,255;--arcoblue-3: 148,191,255;--arcoblue-4: 106,161,255;--arcoblue-5: 64,128,255;--arcoblue-6: 22,93,255;--arcoblue-7: 14,66,210;--arcoblue-8: 7,44,166;--arcoblue-9: 3,26,121;--arcoblue-10: 0,13,77;--purple-1: 245,232,255;--purple-2: 221,190,246;--purple-3: 195,150,237;--purple-4: 168,113,227;--purple-5: 141,78,218;--purple-6: 114,46,209;--purple-7: 85,29,176;--purple-8: 60,16,143;--purple-9: 39,6,110;--purple-10: 22,0,77;--pinkpurple-1: 255,232,251;--pinkpurple-2: 247,186,239;--pinkpurple-3: 240,142,230;--pinkpurple-4: 232,101,223;--pinkpurple-5: 225,62,219;--pinkpurple-6: 217,26,217;--pinkpurple-7: 176,16,182;--pinkpurple-8: 138,9,147;--pinkpurple-9: 101,3,112;--pinkpurple-10: 66,0,77;--magenta-1: 255,232,241;--magenta-2: 253,194,219;--magenta-3: 251,157,199;--magenta-4: 249,121,183;--magenta-5: 247,84,168;--magenta-6: 245,49,157;--magenta-7: 203,30,131;--magenta-8: 161,16,105;--magenta-9: 119,6,79;--magenta-10: 77,0,52;--gray-1: 247,248,250;--gray-2: 242,243,245;--gray-3: 229,230,235;--gray-4: 201,205,212;--gray-5: 169,174,184;--gray-6: 134,144,156;--gray-7: 107,119,133;--gray-8: 78,89,105;--gray-9: 39,46,59;--gray-10: 29,33,41;--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--primary-1: 232,240,255;--primary-2: 198,215,253;--primary-3: 163,188,251;--primary-4: 130,160,250;--primary-5: 97,129,248;--primary-6: 64,98,246;--primary-7: 40,64,204;--primary-8: 21,37,161;--primary-9: 8,17,119;--primary-10: 0,4,77;--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body[arco-theme=dark]{--red-1: 77,0,10;--red-2: 119,6,17;--red-3: 161,22,31;--red-4: 203,46,52;--red-5: 245,78,78;--red-6: 247,105,101;--red-7: 249,141,134;--red-8: 251,176,167;--red-9: 253,209,202;--red-10: 255,240,236;--orangered-1: 77,14,0;--orangered-2: 119,30,5;--orangered-3: 162,55,20;--orangered-4: 204,87,41;--orangered-5: 247,126,69;--orangered-6: 249,146,90;--orangered-7: 250,173,125;--orangered-8: 252,198,161;--orangered-9: 253,222,197;--orangered-10: 255,244,235;--orange-1: 77,27,0;--orange-2: 121,48,4;--orange-3: 166,75,10;--orange-4: 210,105,19;--orange-5: 255,141,31;--orange-6: 255,150,38;--orange-7: 255,179,87;--orange-8: 255,205,135;--orange-9: 255,227,184;--orange-10: 255,247,232;--gold-1: 77,45,0;--gold-2: 119,75,4;--gold-3: 162,111,15;--gold-4: 204,150,31;--gold-5: 247,192,52;--gold-6: 249,204,68;--gold-7: 250,220,108;--gold-8: 252,233,149;--gold-9: 253,244,190;--gold-10: 255,252,232;--yellow-1: 77,56,0;--yellow-2: 120,94,7;--yellow-3: 163,134,20;--yellow-4: 207,179,37;--yellow-5: 250,225,60;--yellow-6: 251,233,75;--yellow-7: 252,243,116;--yellow-8: 253,250,157;--yellow-9: 254,254,198;--yellow-10: 254,255,240;--lime-1: 42,77,0;--lime-2: 68,112,6;--lime-3: 98,148,18;--lime-4: 132,183,35;--lime-5: 168,219,57;--lime-6: 184,226,75;--lime-7: 203,233,112;--lime-8: 222,241,152;--lime-9: 238,248,194;--lime-10: 253,255,238;--green-1: 0,77,28;--green-2: 4,102,37;--green-3: 10,128,45;--green-4: 18,154,55;--green-5: 29,180,64;--green-6: 39,195,70;--green-7: 80,210,102;--green-8: 126,225,139;--green-9: 178,240,183;--green-10: 235,255,236;--cyan-1: 0,66,77;--cyan-2: 6,97,108;--cyan-3: 17,131,139;--cyan-4: 31,166,170;--cyan-5: 48,201,201;--cyan-6: 63,212,207;--cyan-7: 102,223,215;--cyan-8: 144,233,225;--cyan-9: 190,244,237;--cyan-10: 240,255,252;--blue-1: 0,26,77;--blue-2: 5,47,120;--blue-3: 19,76,163;--blue-4: 41,113,207;--blue-5: 70,154,250;--blue-6: 90,170,251;--blue-7: 125,193,252;--blue-8: 161,213,253;--blue-9: 198,232,254;--blue-10: 234,248,255;--arcoblue-1: 0,13,77;--arcoblue-2: 4,27,121;--arcoblue-3: 14,50,166;--arcoblue-4: 29,77,210;--arcoblue-5: 48,111,255;--arcoblue-6: 60,126,255;--arcoblue-7: 104,159,255;--arcoblue-8: 147,190,255;--arcoblue-9: 190,218,255;--arcoblue-10: 234,244,255;--purple-1: 22,0,77;--purple-2: 39,6,110;--purple-3: 62,19,143;--purple-4: 90,37,176;--purple-5: 123,61,209;--purple-6: 142,81,218;--purple-7: 169,116,227;--purple-8: 197,154,237;--purple-9: 223,194,246;--purple-10: 247,237,255;--pinkpurple-1: 66,0,77;--pinkpurple-2: 101,3,112;--pinkpurple-3: 138,13,147;--pinkpurple-4: 176,27,182;--pinkpurple-5: 217,46,217;--pinkpurple-6: 225,61,219;--pinkpurple-7: 232,102,223;--pinkpurple-8: 240,146,230;--pinkpurple-9: 247,193,240;--pinkpurple-10: 255,242,253;--magenta-1: 77,0,52;--magenta-2: 119,8,80;--magenta-3: 161,23,108;--magenta-4: 203,43,136;--magenta-5: 245,69,166;--magenta-6: 247,86,169;--magenta-7: 249,122,184;--magenta-8: 251,158,200;--magenta-9: 253,195,219;--magenta-10: 255,232,241;--gray-1: 23,23,26;--gray-2: 46,46,48;--gray-3: 72,72,73;--gray-4: 95,95,96;--gray-5: 120,120,122;--gray-6: 146,146,147;--gray-7: 171,171,172;--gray-8: 197,197,197;--gray-9: 223,223,223;--gray-10: 246,246,246;--primary-1: 0,4,77;--primary-2: 6,15,119;--primary-3: 23,38,161;--primary-4: 47,70,204;--primary-5: 79,110,246;--primary-6: 102,133,248;--primary-7: 135,164,250;--primary-8: 168,192,251;--primary-9: 202,218,253;--primary-10: 237,243,255;--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body{--color-white: #ffffff;--color-black: #000000;--color-border: rgb(var(--gray-3));--color-bg-popup: var(--color-bg-5);--color-bg-1: #ffffff;--color-bg-2: #ffffff;--color-bg-3: #ffffff;--color-bg-4: #ffffff;--color-bg-5: #ffffff;--color-bg-white: #ffffff;--color-neutral-1: rgb(var(--gray-1));--color-neutral-2: rgb(var(--gray-2));--color-neutral-3: rgb(var(--gray-3));--color-neutral-4: rgb(var(--gray-4));--color-neutral-5: rgb(var(--gray-5));--color-neutral-6: rgb(var(--gray-6));--color-neutral-7: rgb(var(--gray-7));--color-neutral-8: rgb(var(--gray-8));--color-neutral-9: rgb(var(--gray-9));--color-neutral-10: rgb(var(--gray-10));--color-text-1: var(--color-neutral-10);--color-text-2: var(--color-neutral-8);--color-text-3: var(--color-neutral-6);--color-text-4: var(--color-neutral-4);--color-border-1: var(--color-neutral-2);--color-border-2: var(--color-neutral-3);--color-border-3: var(--color-neutral-4);--color-border-4: var(--color-neutral-6);--color-fill-1: var(--color-neutral-1);--color-fill-2: var(--color-neutral-2);--color-fill-3: var(--color-neutral-3);--color-fill-4: var(--color-neutral-4);--color-primary-light-1: rgb(var(--primary-1));--color-primary-light-2: rgb(var(--primary-2));--color-primary-light-3: rgb(var(--primary-3));--color-primary-light-4: rgb(var(--primary-4));--color-link-light-1: rgb(var(--link-1));--color-link-light-2: rgb(var(--link-2));--color-link-light-3: rgb(var(--link-3));--color-link-light-4: rgb(var(--link-4));--color-secondary: var(--color-neutral-2);--color-secondary-hover: var(--color-neutral-3);--color-secondary-active: var(--color-neutral-4);--color-secondary-disabled: var(--color-neutral-1);--color-danger-light-1: rgb(var(--danger-1));--color-danger-light-2: rgb(var(--danger-2));--color-danger-light-3: rgb(var(--danger-3));--color-danger-light-4: rgb(var(--danger-4));--color-success-light-1: rgb(var(--success-1));--color-success-light-2: rgb(var(--success-2));--color-success-light-3: rgb(var(--success-3));--color-success-light-4: rgb(var(--success-4));--color-warning-light-1: rgb(var(--warning-1));--color-warning-light-2: rgb(var(--warning-2));--color-warning-light-3: rgb(var(--warning-3));--color-warning-light-4: rgb(var(--warning-4));--border-radius-none: 0;--border-radius-small: 2px;--border-radius-medium: 4px;--border-radius-large: 8px;--border-radius-circle: 50%;--color-tooltip-bg: rgb(var(--gray-10));--color-spin-layer-bg: rgba(255, 255, 255, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #ffffff;--color-menu-dark-hover: rgba(255, 255, 255, .04);--color-mask-bg: rgba(29, 33, 41, .6)}body[arco-theme=dark]{--color-white: rgba(255, 255, 255, .9);--color-black: #000000;--color-border: #333335;--color-bg-1: #17171A;--color-bg-2: #232324;--color-bg-3: #2a2a2b;--color-bg-4: #313132;--color-bg-5: #373739;--color-bg-white: #f6f6f6;--color-text-1: rgba(255, 255, 255, .9);--color-text-2: rgba(255, 255, 255, .7);--color-text-3: rgba(255, 255, 255, .5);--color-text-4: rgba(255, 255, 255, .3);--color-fill-1: rgba(255, 255, 255, .04);--color-fill-2: rgba(255, 255, 255, .08);--color-fill-3: rgba(255, 255, 255, .12);--color-fill-4: rgba(255, 255, 255, .16);--color-primary-light-1: rgba(var(--primary-6), .2);--color-primary-light-2: rgba(var(--primary-6), .35);--color-primary-light-3: rgba(var(--primary-6), .5);--color-primary-light-4: rgba(var(--primary-6), .65);--color-secondary: rgba(var(--gray-9), .08);--color-secondary-hover: rgba(var(--gray-8), .16);--color-secondary-active: rgba(var(--gray-7), .24);--color-secondary-disabled: rgba(var(--gray-9), .08);--color-danger-light-1: rgba(var(--danger-6), .2);--color-danger-light-2: rgba(var(--danger-6), .35);--color-danger-light-3: rgba(var(--danger-6), .5);--color-danger-light-4: rgba(var(--danger-6), .65);--color-success-light-1: rgb(var(--success-6), .2);--color-success-light-2: rgb(var(--success-6), .35);--color-success-light-3: rgb(var(--success-6), .5);--color-success-light-4: rgb(var(--success-6), .65);--color-warning-light-1: rgb(var(--warning-6), .2);--color-warning-light-2: rgb(var(--warning-6), .35);--color-warning-light-3: rgb(var(--warning-6), .5);--color-warning-light-4: rgb(var(--warning-6), .65);--color-link-light-1: rgba(var(--link-6), .2);--color-link-light-2: rgba(var(--link-6), .35);--color-link-light-3: rgba(var(--link-6), .5);--color-link-light-4: rgba(var(--link-6), .65);--color-tooltip-bg: #373739;--color-spin-layer-bg: rgba(51, 51, 51, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #232324;--color-menu-dark-hover: var(--color-fill-2);--color-mask-bg: rgba(23, 23, 26, .6)}body{--color-white: #ffffff;--color-black: #000000;--color-border: rgb(var(--gray-3));--color-bg-popup: var(--color-bg-5);--color-bg-1: #ffffff;--color-bg-2: #ffffff;--color-bg-3: #ffffff;--color-bg-4: #ffffff;--color-bg-5: #ffffff;--color-bg-white: #ffffff;--color-neutral-1: rgb(var(--gray-1));--color-neutral-2: rgb(var(--gray-2));--color-neutral-3: rgb(var(--gray-3));--color-neutral-4: rgb(var(--gray-4));--color-neutral-5: rgb(var(--gray-5));--color-neutral-6: rgb(var(--gray-6));--color-neutral-7: rgb(var(--gray-7));--color-neutral-8: rgb(var(--gray-8));--color-neutral-9: rgb(var(--gray-9));--color-neutral-10: rgb(var(--gray-10));--color-text-1: var(--color-neutral-10);--color-text-2: var(--color-neutral-8);--color-text-3: var(--color-neutral-6);--color-text-4: var(--color-neutral-4);--color-fill-1: var(--color-neutral-1);--color-fill-2: var(--color-neutral-2);--color-fill-3: var(--color-neutral-3);--color-fill-4: var(--color-neutral-4);--color-border-1: var(--color-neutral-2);--color-border-2: var(--color-neutral-3);--color-border-3: var(--color-neutral-4);--color-border-4: var(--color-neutral-6);--color-primary-light-1: rgb(var(--primary-1));--color-primary-light-2: rgb(var(--primary-2));--color-primary-light-3: rgb(var(--primary-3));--color-primary-light-4: rgb(var(--primary-4));--color-secondary: var(--color-neutral-2);--color-secondary-hover: var(--color-neutral-3);--color-secondary-active: var(--color-neutral-4);--color-secondary-disabled: var(--color-neutral-1);--color-danger-light-1: rgb(var(--danger-1));--color-danger-light-2: rgb(var(--danger-2));--color-danger-light-3: rgb(var(--danger-3));--color-danger-light-4: rgb(var(--danger-4));--color-success-light-1: rgb(var(--success-1));--color-success-light-2: rgb(var(--success-2));--color-success-light-3: rgb(var(--success-3));--color-success-light-4: rgb(var(--success-4));--color-warning-light-1: rgb(var(--warning-1));--color-warning-light-2: rgb(var(--warning-2));--color-warning-light-3: rgb(var(--warning-3));--color-warning-light-4: rgb(var(--warning-4));--color-link-light-1: rgb(var(--link-1));--color-link-light-2: rgb(var(--link-2));--color-link-light-3: rgb(var(--link-3));--color-link-light-4: rgb(var(--link-4));--border-radius-none: 0;--border-radius-small: 2px;--border-radius-medium: 4px;--border-radius-large: 8px;--border-radius-circle: 50%;--color-tooltip-bg: rgb(var(--gray-10));--color-spin-layer-bg: rgba(255, 255, 255, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #ffffff;--color-menu-dark-hover: rgba(255, 255, 255, .04);--color-mask-bg: rgba(29, 33, 41, .6)}body[arco-theme=dark]{--color-black: #000000;--color-border: #333335;--color-bg-1: #17171A;--color-bg-2: #232324;--color-bg-3: #2a2a2b;--color-bg-4: #313132;--color-bg-5: #373739;--color-bg-white: #f6f6f6;--color-text-1: rgba(255, 255, 255, .9);--color-text-2: rgba(255, 255, 255, .7);--color-text-3: rgba(255, 255, 255, .5);--color-text-4: rgba(255, 255, 255, .3);--color-fill-1: rgba(255, 255, 255, .04);--color-fill-2: rgba(255, 255, 255, .08);--color-fill-3: rgba(255, 255, 255, .12);--color-fill-4: rgba(255, 255, 255, .16);--color-border-1: #2e2e30;--color-border-2: #484849;--color-border-3: #5f5f60;--color-border-4: #929293;--color-primary-light-1: rgba(var(--primary-6), .2);--color-primary-light-2: rgba(var(--primary-6), .35);--color-primary-light-3: rgba(var(--primary-6), .5);--color-primary-light-4: rgba(var(--primary-6), .65);--color-secondary: rgba(var(--gray-9), .08);--color-secondary-hover: rgba(var(--gray-8), .16);--color-secondary-active: rgba(var(--gray-7), .24);--color-secondary-disabled: rgba(var(--gray-9), .08);--color-danger-light-1: rgba(var(--danger-6), .2);--color-danger-light-2: rgba(var(--danger-6), .35);--color-danger-light-3: rgba(var(--danger-6), .5);--color-danger-light-4: rgba(var(--danger-6), .65);--color-success-light-1: rgb(var(--success-6), .2);--color-success-light-2: rgb(var(--success-6), .35);--color-success-light-3: rgb(var(--success-6), .5);--color-success-light-4: rgb(var(--success-6), .65);--color-warning-light-1: rgb(var(--warning-6), .2);--color-warning-light-2: rgb(var(--warning-6), .35);--color-warning-light-3: rgb(var(--warning-6), .5);--color-warning-light-4: rgb(var(--warning-6), .65);--color-link-light-1: rgba(var(--link-6), .2);--color-link-light-2: rgba(var(--link-6), .35);--color-link-light-3: rgba(var(--link-6), .5);--color-link-light-4: rgba(var(--link-6), .65);--color-tooltip-bg: #373739;--color-spin-layer-bg: rgba(51, 51, 51, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #232324;--color-menu-dark-hover: var(--color-fill-2);--color-mask-bg: rgba(23, 23, 26, .6)}body{--red-1: 255, 236, 232;--red-2: 253, 205, 197;--red-3: 251, 172, 163;--red-4: 249, 137, 129;--red-5: 247, 101, 96;--red-6: 245, 63, 63;--red-7: 203, 39, 45;--red-8: 161, 21, 30;--red-9: 119, 8, 19;--red-10: 77, 0, 10;--orangered-1: 255, 243, 232;--orangered-2: 253, 221, 195;--orangered-3: 252, 197, 159;--orangered-4: 250, 172, 123;--orangered-5: 249, 144, 87;--orangered-6: 247, 114, 52;--orangered-7: 204, 81, 32;--orangered-8: 162, 53, 17;--orangered-9: 119, 31, 6;--orangered-10: 77, 14, 0;--orange-1: 255, 247, 232;--orange-2: 255, 228, 186;--orange-3: 255, 207, 139;--orange-4: 255, 182, 93;--orange-5: 255, 154, 46;--orange-6: 255, 125, 0;--orange-7: 210, 95, 0;--orange-8: 166, 69, 0;--orange-9: 121, 46, 0;--orange-10: 77, 27, 0;--gold-1: 255, 252, 232;--gold-2: 253, 244, 191;--gold-3: 252, 233, 150;--gold-4: 250, 220, 109;--gold-5: 249, 204, 69;--gold-6: 247, 186, 30;--gold-7: 204, 146, 19;--gold-8: 162, 109, 10;--gold-9: 119, 75, 4;--gold-10: 77, 45, 0;--yellow-1: 254, 255, 232;--yellow-2: 254, 254, 190;--yellow-3: 253, 250, 148;--yellow-4: 252, 242, 107;--yellow-5: 251, 232, 66;--yellow-6: 250, 220, 25;--yellow-7: 207, 175, 15;--yellow-8: 163, 132, 8;--yellow-9: 120, 93, 3;--yellow-10: 77, 56, 0;--lime-1: 252, 255, 232;--lime-2: 237, 248, 187;--lime-3: 220, 241, 144;--lime-4: 201, 233, 104;--lime-5: 181, 226, 65;--lime-6: 159, 219, 29;--lime-7: 126, 183, 18;--lime-8: 95, 148, 10;--lime-9: 67, 112, 4;--lime-10: 42, 77, 0;--green-1: 232, 255, 234;--green-2: 175, 240, 181;--green-3: 123, 225, 136;--green-4: 76, 210, 99;--green-5: 35, 195, 67;--green-6: 0, 180, 42;--green-7: 0, 154, 41;--green-8: 0, 128, 38;--green-9: 0, 102, 34;--green-10: 0, 77, 28;--cyan-1: 232, 255, 251;--cyan-2: 183, 244, 236;--cyan-3: 137, 233, 224;--cyan-4: 94, 223, 214;--cyan-5: 55, 212, 207;--cyan-6: 20, 201, 201;--cyan-7: 13, 165, 170;--cyan-8: 7, 130, 139;--cyan-9: 3, 97, 108;--cyan-10: 0, 66, 77;--blue-1: 232, 247, 255;--blue-2: 195, 231, 254;--blue-3: 159, 212, 253;--blue-4: 123, 192, 252;--blue-5: 87, 169, 251;--blue-6: 52, 145, 250;--blue-7: 32, 108, 207;--blue-8: 17, 75, 163;--blue-9: 6, 48, 120;--blue-10: 0, 26, 77;--arcoblue-1: 232, 243, 255;--arcoblue-2: 190, 218, 255;--arcoblue-3: 148, 191, 255;--arcoblue-4: 106, 161, 255;--arcoblue-5: 64, 128, 255;--arcoblue-6: 22, 93, 255;--arcoblue-7: 14, 66, 210;--arcoblue-8: 7, 44, 166;--arcoblue-9: 3, 26, 121;--arcoblue-10: 0, 13, 77;--purple-1: 245, 232, 255;--purple-2: 221, 190, 246;--purple-3: 195, 150, 237;--purple-4: 168, 113, 227;--purple-5: 141, 78, 218;--purple-6: 114, 46, 209;--purple-7: 85, 29, 176;--purple-8: 60, 16, 143;--purple-9: 39, 6, 110;--purple-10: 22, 0, 77;--pinkpurple-1: 255, 232, 251;--pinkpurple-2: 247, 186, 239;--pinkpurple-3: 240, 142, 230;--pinkpurple-4: 232, 101, 223;--pinkpurple-5: 225, 62, 219;--pinkpurple-6: 217, 26, 217;--pinkpurple-7: 176, 16, 182;--pinkpurple-8: 138, 9, 147;--pinkpurple-9: 101, 3, 112;--pinkpurple-10: 66, 0, 77;--magenta-1: 255, 232, 241;--magenta-2: 253, 194, 219;--magenta-3: 251, 157, 199;--magenta-4: 249, 121, 183;--magenta-5: 247, 84, 168;--magenta-6: 245, 49, 157;--magenta-7: 203, 30, 131;--magenta-8: 161, 16, 105;--magenta-9: 119, 6, 79;--magenta-10: 77, 0, 52;--gray-1: 247, 248, 250;--gray-2: 242, 243, 245;--gray-3: 229, 230, 235;--gray-4: 201, 205, 212;--gray-5: 169, 174, 184;--gray-6: 134, 144, 156;--gray-7: 107, 119, 133;--gray-8: 78, 89, 105;--gray-9: 39, 46, 59;--gray-10: 29, 33, 41;--primary-1: 232, 240, 255;--primary-2: 198, 215, 253;--primary-3: 163, 188, 251;--primary-4: 130, 160, 250;--primary-5: 97, 129, 248;--primary-6: 64, 98, 246;--primary-7: 40, 64, 204;--primary-8: 21, 37, 161;--primary-9: 8, 17, 119;--primary-10: 0, 4, 77;--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10);--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10)}body[arco-theme=dark]{--red-1: 77, 0, 10;--red-2: 119, 6, 17;--red-3: 161, 22, 31;--red-4: 203, 46, 52;--red-5: 245, 78, 78;--red-6: 247, 105, 101;--red-7: 249, 141, 134;--red-8: 251, 176, 167;--red-9: 253, 209, 202;--red-10: 255, 240, 236;--orangered-1: 77, 14, 0;--orangered-2: 119, 30, 5;--orangered-3: 162, 55, 20;--orangered-4: 204, 87, 41;--orangered-5: 247, 126, 69;--orangered-6: 249, 146, 90;--orangered-7: 250, 173, 125;--orangered-8: 252, 198, 161;--orangered-9: 253, 222, 197;--orangered-10: 255, 244, 235;--orange-1: 77, 27, 0;--orange-2: 121, 48, 4;--orange-3: 166, 75, 10;--orange-4: 210, 105, 19;--orange-5: 255, 141, 31;--orange-6: 255, 150, 38;--orange-7: 255, 179, 87;--orange-8: 255, 205, 135;--orange-9: 255, 227, 184;--orange-10: 255, 247, 232;--gold-1: 77, 45, 0;--gold-2: 119, 75, 4;--gold-3: 162, 111, 15;--gold-4: 204, 150, 31;--gold-5: 247, 192, 52;--gold-6: 249, 204, 68;--gold-7: 250, 220, 108;--gold-8: 252, 233, 149;--gold-9: 253, 244, 190;--gold-10: 255, 252, 232;--yellow-1: 77, 56, 0;--yellow-2: 120, 94, 7;--yellow-3: 163, 134, 20;--yellow-4: 207, 179, 37;--yellow-5: 250, 225, 60;--yellow-6: 251, 233, 75;--yellow-7: 252, 243, 116;--yellow-8: 253, 250, 157;--yellow-9: 254, 254, 198;--yellow-10: 254, 255, 240;--lime-1: 42, 77, 0;--lime-2: 68, 112, 6;--lime-3: 98, 148, 18;--lime-4: 132, 183, 35;--lime-5: 168, 219, 57;--lime-6: 184, 226, 75;--lime-7: 203, 233, 112;--lime-8: 222, 241, 152;--lime-9: 238, 248, 194;--lime-10: 253, 255, 238;--green-1: 0, 77, 28;--green-2: 4, 102, 37;--green-3: 10, 128, 45;--green-4: 18, 154, 55;--green-5: 29, 180, 64;--green-6: 39, 195, 70;--green-7: 80, 210, 102;--green-8: 126, 225, 139;--green-9: 178, 240, 183;--green-10: 235, 255, 236;--cyan-1: 0, 66, 77;--cyan-2: 6, 97, 108;--cyan-3: 17, 131, 139;--cyan-4: 31, 166, 170;--cyan-5: 48, 201, 201;--cyan-6: 63, 212, 207;--cyan-7: 102, 223, 215;--cyan-8: 144, 233, 225;--cyan-9: 190, 244, 237;--cyan-10: 240, 255, 252;--blue-1: 0, 26, 77;--blue-2: 5, 47, 120;--blue-3: 19, 76, 163;--blue-4: 41, 113, 207;--blue-5: 70, 154, 250;--blue-6: 90, 170, 251;--blue-7: 125, 193, 252;--blue-8: 161, 213, 253;--blue-9: 198, 232, 254;--blue-10: 234, 248, 255;--arcoblue-1: 0, 13, 77;--arcoblue-2: 4, 27, 121;--arcoblue-3: 14, 50, 166;--arcoblue-4: 29, 77, 210;--arcoblue-5: 48, 111, 255;--arcoblue-6: 60, 126, 255;--arcoblue-7: 104, 159, 255;--arcoblue-8: 147, 190, 255;--arcoblue-9: 190, 218, 255;--arcoblue-10: 234, 244, 255;--purple-1: 22, 0, 77;--purple-2: 39, 6, 110;--purple-3: 62, 19, 143;--purple-4: 90, 37, 176;--purple-5: 123, 61, 209;--purple-6: 142, 81, 218;--purple-7: 169, 116, 227;--purple-8: 197, 154, 237;--purple-9: 223, 194, 246;--purple-10: 247, 237, 255;--pinkpurple-1: 66, 0, 77;--pinkpurple-2: 101, 3, 112;--pinkpurple-3: 138, 13, 147;--pinkpurple-4: 176, 27, 182;--pinkpurple-5: 217, 46, 217;--pinkpurple-6: 225, 61, 219;--pinkpurple-7: 232, 102, 223;--pinkpurple-8: 240, 146, 230;--pinkpurple-9: 247, 193, 240;--pinkpurple-10: 255, 242, 253;--magenta-1: 77, 0, 52;--magenta-2: 119, 8, 80;--magenta-3: 161, 23, 108;--magenta-4: 203, 43, 136;--magenta-5: 245, 69, 166;--magenta-6: 247, 86, 169;--magenta-7: 249, 122, 184;--magenta-8: 251, 158, 200;--magenta-9: 253, 195, 219;--magenta-10: 255, 232, 241;--gray-1: 23, 23, 26;--gray-2: 46, 46, 48;--gray-3: 72, 72, 73;--gray-4: 95, 95, 96;--gray-5: 120, 120, 122;--gray-6: 146, 146, 147;--gray-7: 171, 171, 172;--gray-8: 197, 197, 197;--gray-9: 223, 223, 223;--gray-10: 246, 246, 246;--primary-1: 0, 4, 77;--primary-2: 6, 15, 119;--primary-3: 23, 38, 161;--primary-4: 47, 70, 204;--primary-5: 79, 110, 246;--primary-6: 102, 133, 248;--primary-7: 135, 164, 250;--primary-8: 168, 192, 251;--primary-9: 202, 218, 253;--primary-10: 237, 243, 255;--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10);--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:none}b,strong{font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-size:100%;font-family:inherit;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.arco-icon{display:inline-block;width:1em;height:1em;color:inherit;font-style:normal;vertical-align:-2px;outline:none;stroke:currentColor}.arco-icon-loading,.arco-icon-spin{animation:arco-loading-circle 1s infinite cubic-bezier(0,0,1,1)}@keyframes arco-loading-circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arco-icon-hover{position:relative;display:inline-block;cursor:pointer;line-height:12px}.arco-icon-hover .arco-icon{position:relative}.arco-icon-hover:before{position:absolute;display:block;box-sizing:border-box;background-color:transparent;border-radius:var(--border-radius-circle);transition:background-color .1s cubic-bezier(0,0,1,1);content:""}.arco-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-icon-hover.arco-icon-hover-disabled:before{opacity:0}.arco-icon-hover:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-mini{line-height:12px}.arco-icon-hover-size-mini:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-small{line-height:12px}.arco-icon-hover-size-small:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-large{line-height:12px}.arco-icon-hover-size-large:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.arco-icon-hover-size-huge{line-height:12px}.arco-icon-hover-size-huge:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.fade-in-standard-enter-from,.fade-in-standard-appear-from{opacity:0}.fade-in-standard-enter-to,.fade-in-standard-appear-to{opacity:1}.fade-in-standard-enter-active,.fade-in-standard-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-standard-leave-from{opacity:1}.fade-in-standard-leave-to{opacity:0}.fade-in-standard-leave-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-enter-from,.fade-in-appear-from{opacity:0}.fade-in-enter-to,.fade-in-appear-to{opacity:1}.fade-in-enter-active,.fade-in-appear-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.fade-in-leave-from{opacity:1}.fade-in-leave-to{opacity:0}.fade-in-leave-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.zoom-in-enter-from,.zoom-in-appear-from{transform:scale(.5);opacity:0}.zoom-in-enter-to,.zoom-in-appear-to{transform:scale(1);opacity:1}.zoom-in-enter-active,.zoom-in-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1),transform .3s cubic-bezier(.34,.69,.1,1)}.zoom-in-leave-from{transform:scale(1);opacity:1}.zoom-in-leave-to{transform:scale(.5);opacity:0}.zoom-in-leave-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1),transform .3s cubic-bezier(.34,.69,.1,1)}.zoom-in-fade-out-enter-from,.zoom-in-fade-out-appear-from{transform:scale(.5);opacity:0}.zoom-in-fade-out-enter-to,.zoom-in-fade-out-appear-to{transform:scale(1);opacity:1}.zoom-in-fade-out-enter-active,.zoom-in-fade-out-appear-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-fade-out-leave-from{transform:scale(1);opacity:1}.zoom-in-fade-out-leave-to{transform:scale(.5);opacity:0}.zoom-in-fade-out-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-big-enter-from,.zoom-in-big-appear-from{transform:scale(.5);opacity:0}.zoom-in-big-enter-to,.zoom-in-big-appear-to{transform:scale(1);opacity:1}.zoom-in-big-enter-active,.zoom-in-big-appear-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-big-leave-from{transform:scale(1);opacity:1}.zoom-in-big-leave-to{transform:scale(.2);opacity:0}.zoom-in-big-leave-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-left-enter-from,.zoom-in-left-appear-from{transform:scale(.1);opacity:.1}.zoom-in-left-enter-to,.zoom-in-left-appear-to{transform:scale(1);opacity:1}.zoom-in-left-enter-active,.zoom-in-left-appear-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-left-leave-from{transform:scale(1);opacity:1}.zoom-in-left-leave-to{transform:scale(.1);opacity:.1}.zoom-in-left-leave-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-enter-from,.zoom-in-top-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-enter-to,.zoom-in-top-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-enter-active,.zoom-in-top-appear-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-leave-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-enter-from,.zoom-in-bottom-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-enter-to,.zoom-in-bottom-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-enter-active,.zoom-in-bottom-appear-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-leave-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.slide-dynamic-origin-enter-from,.slide-dynamic-origin-appear-from{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-enter-to,.slide-dynamic-origin-appear-to{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-enter-active,.slide-dynamic-origin-appear-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-dynamic-origin-leave-from{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-leave-to{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-leave-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-left-enter-from,.slide-left-appear-from{transform:translate(-100%)}.slide-left-enter-to,.slide-left-appear-to{transform:translate(0)}.slide-left-enter-active,.slide-left-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-left-leave-from{transform:translate(0)}.slide-left-leave-to{transform:translate(-100%)}.slide-left-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-enter-from,.slide-right-appear-from{transform:translate(100%)}.slide-right-enter-to,.slide-right-appear-to{transform:translate(0)}.slide-right-enter-active,.slide-right-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-leave-from{transform:translate(0)}.slide-right-leave-to{transform:translate(100%)}.slide-right-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-enter-from,.slide-top-appear-from{transform:translateY(-100%)}.slide-top-enter-to,.slide-top-appear-to{transform:translateY(0)}.slide-top-enter-active,.slide-top-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-leave-from{transform:translateY(0)}.slide-top-leave-to{transform:translateY(-100%)}.slide-top-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-enter-from,.slide-bottom-appear-from{transform:translateY(100%)}.slide-bottom-enter-to,.slide-bottom-appear-to{transform:translateY(0)}.slide-bottom-enter-active,.slide-bottom-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-leave-from{transform:translateY(0)}.slide-bottom-leave-to{transform:translateY(100%)}.slide-bottom-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}body{--red-1:255,236,232;--red-2:253,205,197;--red-3:251,172,163;--red-4:249,137,129;--red-5:247,101,96;--red-6:245,63,63;--red-7:203,39,45;--red-8:161,21,30;--red-9:119,8,19;--red-10:77,0,10;--orangered-1:255,243,232;--orangered-2:253,221,195;--orangered-3:252,197,159;--orangered-4:250,172,123;--orangered-5:249,144,87;--orangered-6:247,114,52;--orangered-7:204,81,32;--orangered-8:162,53,17;--orangered-9:119,31,6;--orangered-10:77,14,0;--orange-1:255,247,232;--orange-2:255,228,186;--orange-3:255,207,139;--orange-4:255,182,93;--orange-5:255,154,46;--orange-6:255,125,0;--orange-7:210,95,0;--orange-8:166,69,0;--orange-9:121,46,0;--orange-10:77,27,0;--gold-1:255,252,232;--gold-2:253,244,191;--gold-3:252,233,150;--gold-4:250,220,109;--gold-5:249,204,69;--gold-6:247,186,30;--gold-7:204,146,19;--gold-8:162,109,10;--gold-9:119,75,4;--gold-10:77,45,0;--yellow-1:254,255,232;--yellow-2:254,254,190;--yellow-3:253,250,148;--yellow-4:252,242,107;--yellow-5:251,232,66;--yellow-6:250,220,25;--yellow-7:207,175,15;--yellow-8:163,132,8;--yellow-9:120,93,3;--yellow-10:77,56,0;--lime-1:252,255,232;--lime-2:237,248,187;--lime-3:220,241,144;--lime-4:201,233,104;--lime-5:181,226,65;--lime-6:159,219,29;--lime-7:126,183,18;--lime-8:95,148,10;--lime-9:67,112,4;--lime-10:42,77,0;--green-1:232,255,234;--green-2:175,240,181;--green-3:123,225,136;--green-4:76,210,99;--green-5:35,195,67;--green-6:0,180,42;--green-7:0,154,41;--green-8:0,128,38;--green-9:0,102,34;--green-10:0,77,28;--cyan-1:232,255,251;--cyan-2:183,244,236;--cyan-3:137,233,224;--cyan-4:94,223,214;--cyan-5:55,212,207;--cyan-6:20,201,201;--cyan-7:13,165,170;--cyan-8:7,130,139;--cyan-9:3,97,108;--cyan-10:0,66,77;--blue-1:232,247,255;--blue-2:195,231,254;--blue-3:159,212,253;--blue-4:123,192,252;--blue-5:87,169,251;--blue-6:52,145,250;--blue-7:32,108,207;--blue-8:17,75,163;--blue-9:6,48,120;--blue-10:0,26,77;--arcoblue-1:232,243,255;--arcoblue-2:190,218,255;--arcoblue-3:148,191,255;--arcoblue-4:106,161,255;--arcoblue-5:64,128,255;--arcoblue-6:22,93,255;--arcoblue-7:14,66,210;--arcoblue-8:7,44,166;--arcoblue-9:3,26,121;--arcoblue-10:0,13,77;--purple-1:245,232,255;--purple-2:221,190,246;--purple-3:195,150,237;--purple-4:168,113,227;--purple-5:141,78,218;--purple-6:114,46,209;--purple-7:85,29,176;--purple-8:60,16,143;--purple-9:39,6,110;--purple-10:22,0,77;--pinkpurple-1:255,232,251;--pinkpurple-2:247,186,239;--pinkpurple-3:240,142,230;--pinkpurple-4:232,101,223;--pinkpurple-5:225,62,219;--pinkpurple-6:217,26,217;--pinkpurple-7:176,16,182;--pinkpurple-8:138,9,147;--pinkpurple-9:101,3,112;--pinkpurple-10:66,0,77;--magenta-1:255,232,241;--magenta-2:253,194,219;--magenta-3:251,157,199;--magenta-4:249,121,183;--magenta-5:247,84,168;--magenta-6:245,49,157;--magenta-7:203,30,131;--magenta-8:161,16,105;--magenta-9:119,6,79;--magenta-10:77,0,52;--gray-1:247,248,250;--gray-2:242,243,245;--gray-3:229,230,235;--gray-4:201,205,212;--gray-5:169,174,184;--gray-6:134,144,156;--gray-7:107,119,133;--gray-8:78,89,105;--gray-9:39,46,59;--gray-10:29,33,41;--success-1:var(--green-1);--success-2:var(--green-2);--success-3:var(--green-3);--success-4:var(--green-4);--success-5:var(--green-5);--success-6:var(--green-6);--success-7:var(--green-7);--success-8:var(--green-8);--success-9:var(--green-9);--success-10:var(--green-10);--primary-1:232,240,255;--primary-2:198,215,253;--primary-3:163,188,251;--primary-4:130,160,250;--primary-5:97,129,248;--primary-6:64,98,246;--primary-7:40,64,204;--primary-8:21,37,161;--primary-9:8,17,119;--primary-10:0,4,77;--danger-1:var(--red-1);--danger-2:var(--red-2);--danger-3:var(--red-3);--danger-4:var(--red-4);--danger-5:var(--red-5);--danger-6:var(--red-6);--danger-7:var(--red-7);--danger-8:var(--red-8);--danger-9:var(--red-9);--danger-10:var(--red-10);--warning-1:var(--orange-1);--warning-2:var(--orange-2);--warning-3:var(--orange-3);--warning-4:var(--orange-4);--warning-5:var(--orange-5);--warning-6:var(--orange-6);--warning-7:var(--orange-7);--warning-8:var(--orange-8);--warning-9:var(--orange-9);--warning-10:var(--orange-10);--link-1:var(--arcoblue-1);--link-2:var(--arcoblue-2);--link-3:var(--arcoblue-3);--link-4:var(--arcoblue-4);--link-5:var(--arcoblue-5);--link-6:var(--arcoblue-6);--link-7:var(--arcoblue-7);--link-8:var(--arcoblue-8);--link-9:var(--arcoblue-9);--link-10:var(--arcoblue-10)}body[arco-theme=dark]{--red-1:77,0,10;--red-2:119,6,17;--red-3:161,22,31;--red-4:203,46,52;--red-5:245,78,78;--red-6:247,105,101;--red-7:249,141,134;--red-8:251,176,167;--red-9:253,209,202;--red-10:255,240,236;--orangered-1:77,14,0;--orangered-2:119,30,5;--orangered-3:162,55,20;--orangered-4:204,87,41;--orangered-5:247,126,69;--orangered-6:249,146,90;--orangered-7:250,173,125;--orangered-8:252,198,161;--orangered-9:253,222,197;--orangered-10:255,244,235;--orange-1:77,27,0;--orange-2:121,48,4;--orange-3:166,75,10;--orange-4:210,105,19;--orange-5:255,141,31;--orange-6:255,150,38;--orange-7:255,179,87;--orange-8:255,205,135;--orange-9:255,227,184;--orange-10:255,247,232;--gold-1:77,45,0;--gold-2:119,75,4;--gold-3:162,111,15;--gold-4:204,150,31;--gold-5:247,192,52;--gold-6:249,204,68;--gold-7:250,220,108;--gold-8:252,233,149;--gold-9:253,244,190;--gold-10:255,252,232;--yellow-1:77,56,0;--yellow-2:120,94,7;--yellow-3:163,134,20;--yellow-4:207,179,37;--yellow-5:250,225,60;--yellow-6:251,233,75;--yellow-7:252,243,116;--yellow-8:253,250,157;--yellow-9:254,254,198;--yellow-10:254,255,240;--lime-1:42,77,0;--lime-2:68,112,6;--lime-3:98,148,18;--lime-4:132,183,35;--lime-5:168,219,57;--lime-6:184,226,75;--lime-7:203,233,112;--lime-8:222,241,152;--lime-9:238,248,194;--lime-10:253,255,238;--green-1:0,77,28;--green-2:4,102,37;--green-3:10,128,45;--green-4:18,154,55;--green-5:29,180,64;--green-6:39,195,70;--green-7:80,210,102;--green-8:126,225,139;--green-9:178,240,183;--green-10:235,255,236;--cyan-1:0,66,77;--cyan-2:6,97,108;--cyan-3:17,131,139;--cyan-4:31,166,170;--cyan-5:48,201,201;--cyan-6:63,212,207;--cyan-7:102,223,215;--cyan-8:144,233,225;--cyan-9:190,244,237;--cyan-10:240,255,252;--blue-1:0,26,77;--blue-2:5,47,120;--blue-3:19,76,163;--blue-4:41,113,207;--blue-5:70,154,250;--blue-6:90,170,251;--blue-7:125,193,252;--blue-8:161,213,253;--blue-9:198,232,254;--blue-10:234,248,255;--arcoblue-1:0,13,77;--arcoblue-2:4,27,121;--arcoblue-3:14,50,166;--arcoblue-4:29,77,210;--arcoblue-5:48,111,255;--arcoblue-6:60,126,255;--arcoblue-7:104,159,255;--arcoblue-8:147,190,255;--arcoblue-9:190,218,255;--arcoblue-10:234,244,255;--purple-1:22,0,77;--purple-2:39,6,110;--purple-3:62,19,143;--purple-4:90,37,176;--purple-5:123,61,209;--purple-6:142,81,218;--purple-7:169,116,227;--purple-8:197,154,237;--purple-9:223,194,246;--purple-10:247,237,255;--pinkpurple-1:66,0,77;--pinkpurple-2:101,3,112;--pinkpurple-3:138,13,147;--pinkpurple-4:176,27,182;--pinkpurple-5:217,46,217;--pinkpurple-6:225,61,219;--pinkpurple-7:232,102,223;--pinkpurple-8:240,146,230;--pinkpurple-9:247,193,240;--pinkpurple-10:255,242,253;--magenta-1:77,0,52;--magenta-2:119,8,80;--magenta-3:161,23,108;--magenta-4:203,43,136;--magenta-5:245,69,166;--magenta-6:247,86,169;--magenta-7:249,122,184;--magenta-8:251,158,200;--magenta-9:253,195,219;--magenta-10:255,232,241;--gray-1:23,23,26;--gray-2:46,46,48;--gray-3:72,72,73;--gray-4:95,95,96;--gray-5:120,120,122;--gray-6:146,146,147;--gray-7:171,171,172;--gray-8:197,197,197;--gray-9:223,223,223;--gray-10:246,246,246;--primary-1:0,4,77;--primary-2:6,15,119;--primary-3:23,38,161;--primary-4:47,70,204;--primary-5:79,110,246;--primary-6:102,133,248;--primary-7:135,164,250;--primary-8:168,192,251;--primary-9:202,218,253;--primary-10:237,243,255;--success-1:var(--green-1);--success-2:var(--green-2);--success-3:var(--green-3);--success-4:var(--green-4);--success-5:var(--green-5);--success-6:var(--green-6);--success-7:var(--green-7);--success-8:var(--green-8);--success-9:var(--green-9);--success-10:var(--green-10);--danger-1:var(--red-1);--danger-2:var(--red-2);--danger-3:var(--red-3);--danger-4:var(--red-4);--danger-5:var(--red-5);--danger-6:var(--red-6);--danger-7:var(--red-7);--danger-8:var(--red-8);--danger-9:var(--red-9);--danger-10:var(--red-10);--warning-1:var(--orange-1);--warning-2:var(--orange-2);--warning-3:var(--orange-3);--warning-4:var(--orange-4);--warning-5:var(--orange-5);--warning-6:var(--orange-6);--warning-7:var(--orange-7);--warning-8:var(--orange-8);--warning-9:var(--orange-9);--warning-10:var(--orange-10);--link-1:var(--arcoblue-1);--link-2:var(--arcoblue-2);--link-3:var(--arcoblue-3);--link-4:var(--arcoblue-4);--link-5:var(--arcoblue-5);--link-6:var(--arcoblue-6);--link-7:var(--arcoblue-7);--link-8:var(--arcoblue-8);--link-9:var(--arcoblue-9);--link-10:var(--arcoblue-10)}body{--color-white:#ffffff;--color-black:#000000;--color-border:rgb(var(--gray-3));--color-bg-popup:var(--color-bg-5);--color-bg-1:#ffffff;--color-bg-2:#ffffff;--color-bg-3:#ffffff;--color-bg-4:#ffffff;--color-bg-5:#ffffff;--color-bg-white:#ffffff;--color-neutral-1:rgb(var(--gray-1));--color-neutral-2:rgb(var(--gray-2));--color-neutral-3:rgb(var(--gray-3));--color-neutral-4:rgb(var(--gray-4));--color-neutral-5:rgb(var(--gray-5));--color-neutral-6:rgb(var(--gray-6));--color-neutral-7:rgb(var(--gray-7));--color-neutral-8:rgb(var(--gray-8));--color-neutral-9:rgb(var(--gray-9));--color-neutral-10:rgb(var(--gray-10));--color-text-1:var(--color-neutral-10);--color-text-2:var(--color-neutral-8);--color-text-3:var(--color-neutral-6);--color-text-4:var(--color-neutral-4);--color-border-1:var(--color-neutral-2);--color-border-2:var(--color-neutral-3);--color-border-3:var(--color-neutral-4);--color-border-4:var(--color-neutral-6);--color-fill-1:var(--color-neutral-1);--color-fill-2:var(--color-neutral-2);--color-fill-3:var(--color-neutral-3);--color-fill-4:var(--color-neutral-4);--color-primary-light-1:rgb(var(--primary-1));--color-primary-light-2:rgb(var(--primary-2));--color-primary-light-3:rgb(var(--primary-3));--color-primary-light-4:rgb(var(--primary-4));--color-link-light-1:rgb(var(--link-1));--color-link-light-2:rgb(var(--link-2));--color-link-light-3:rgb(var(--link-3));--color-link-light-4:rgb(var(--link-4));--color-secondary:var(--color-neutral-2);--color-secondary-hover:var(--color-neutral-3);--color-secondary-active:var(--color-neutral-4);--color-secondary-disabled:var(--color-neutral-1);--color-danger-light-1:rgb(var(--danger-1));--color-danger-light-2:rgb(var(--danger-2));--color-danger-light-3:rgb(var(--danger-3));--color-danger-light-4:rgb(var(--danger-4));--color-success-light-1:rgb(var(--success-1));--color-success-light-2:rgb(var(--success-2));--color-success-light-3:rgb(var(--success-3));--color-success-light-4:rgb(var(--success-4));--color-warning-light-1:rgb(var(--warning-1));--color-warning-light-2:rgb(var(--warning-2));--color-warning-light-3:rgb(var(--warning-3));--color-warning-light-4:rgb(var(--warning-4));--border-radius-none:0;--border-radius-small:2px;--border-radius-medium:4px;--border-radius-large:8px;--border-radius-circle:50%;--color-tooltip-bg:rgb(var(--gray-10));--color-spin-layer-bg:rgba(255,255,255,.6);--color-menu-dark-bg:#232324;--color-menu-light-bg:#ffffff;--color-menu-dark-hover:rgba(255,255,255,.04);--color-mask-bg:rgba(29,33,41,.6)}body[arco-theme=dark]{--color-white:rgba(255,255,255,.9);--color-black:#000000;--color-border:#333335;--color-bg-1:#17171A;--color-bg-2:#232324;--color-bg-3:#2a2a2b;--color-bg-4:#313132;--color-bg-5:#373739;--color-bg-white:#f6f6f6;--color-text-1:rgba(255,255,255,.9);--color-text-2:rgba(255,255,255,.7);--color-text-3:rgba(255,255,255,.5);--color-text-4:rgba(255,255,255,.3);--color-fill-1:rgba(255,255,255,.04);--color-fill-2:rgba(255,255,255,.08);--color-fill-3:rgba(255,255,255,.12);--color-fill-4:rgba(255,255,255,.16);--color-primary-light-1:rgba(var(--primary-6), .2);--color-primary-light-2:rgba(var(--primary-6), .35);--color-primary-light-3:rgba(var(--primary-6), .5);--color-primary-light-4:rgba(var(--primary-6), .65);--color-secondary:rgba(var(--gray-9), .08);--color-secondary-hover:rgba(var(--gray-8), .16);--color-secondary-active:rgba(var(--gray-7), .24);--color-secondary-disabled:rgba(var(--gray-9), .08);--color-danger-light-1:rgba(var(--danger-6), .2);--color-danger-light-2:rgba(var(--danger-6), .35);--color-danger-light-3:rgba(var(--danger-6), .5);--color-danger-light-4:rgba(var(--danger-6), .65);--color-success-light-1:rgb(var(--success-6), .2);--color-success-light-2:rgb(var(--success-6), .35);--color-success-light-3:rgb(var(--success-6), .5);--color-success-light-4:rgb(var(--success-6), .65);--color-warning-light-1:rgb(var(--warning-6), .2);--color-warning-light-2:rgb(var(--warning-6), .35);--color-warning-light-3:rgb(var(--warning-6), .5);--color-warning-light-4:rgb(var(--warning-6), .65);--color-link-light-1:rgba(var(--link-6), .2);--color-link-light-2:rgba(var(--link-6), .35);--color-link-light-3:rgba(var(--link-6), .5);--color-link-light-4:rgba(var(--link-6), .65);--color-tooltip-bg:#373739;--color-spin-layer-bg:rgba(51,51,51,.6);--color-menu-dark-bg:#232324;--color-menu-light-bg:#232324;--color-menu-dark-hover:var(--color-fill-2);--color-mask-bg:rgba(23,23,26,.6)}body{font-size:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,noto sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.arco-auto-tooltip{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-picker{position:relative;display:inline-flex;align-items:center;box-sizing:border-box;padding:4px 11px 4px 4px;line-height:1.5715;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:all .1s cubic-bezier(0,0,1,1)}.arco-picker-input{display:inline-flex;flex:1}.arco-picker input{width:100%;padding:0 0 0 8px;color:var(--color-text-2);line-height:1.5715;text-align:left;background-color:transparent;border:none;outline:none;transition:all .1s cubic-bezier(0,0,1,1)}.arco-picker input::placeholder{color:var(--color-text-3)}.arco-picker input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-picker-has-prefix{padding-left:12px}.arco-picker-prefix{padding-right:4px;color:var(--color-text-2);font-size:14px}.arco-picker-suffix{display:inline-flex;align-items:center;margin-left:4px}.arco-picker-suffix .arco-feedback-icon{display:inline-flex}.arco-picker-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-picker-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-picker-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-picker-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-picker-suffix .arco-feedback-icon{margin-left:4px}.arco-picker-suffix-icon{color:var(--color-text-2)}.arco-picker .arco-picker-clear-icon{display:none;color:var(--color-text-2);font-size:12px}.arco-picker:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-picker:not(.arco-picker-disabled):hover .arco-picker-clear-icon{display:inline-block}.arco-picker:not(.arco-picker-disabled):hover .arco-picker-suffix .arco-picker-clear-icon+span{display:none}.arco-picker input[disabled]{color:var(--color-text-4);cursor:not-allowed}.arco-picker input[disabled]::placeholder{color:var(--color-text-4)}.arco-picker-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-picker-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-picker-focused{box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-picker-focused,.arco-picker-focused:hover{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6))}.arco-picker-focused.arco-picker-error{border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-picker-focused .arco-picker-input-active input,.arco-picker-focused:hover .arco-picker-input-active input{background:var(--color-fill-2)}.arco-picker-disabled,.arco-picker-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-picker-disabled input[disabled],.arco-picker-disabled:hover input[disabled]{color:var(--color-text-4);cursor:not-allowed}.arco-picker-disabled input[disabled]::placeholder,.arco-picker-disabled:hover input[disabled]::placeholder{color:var(--color-text-4)}.arco-picker-separator{min-width:10px;padding:0 8px;color:var(--color-text-3)}.arco-picker-disabled .arco-picker-separator,.arco-picker-disabled .arco-picker-suffix-icon{color:var(--color-text-4)}.arco-picker-size-mini{height:24px}.arco-picker-size-mini input{font-size:12px}.arco-picker-size-small{height:28px}.arco-picker-size-small input{font-size:14px}.arco-picker-size-medium{height:32px}.arco-picker-size-medium input{font-size:14px}.arco-picker-size-large{height:36px}.arco-picker-size-large input{font-size:14px}.arco-affix{position:fixed;z-index:999}.arco-alert{display:flex;align-items:center;box-sizing:border-box;width:100%;padding:8px 15px;overflow:hidden;font-size:14px;line-height:1.5715;text-align:left;border-radius:var(--border-radius-small)}.arco-alert-with-title{align-items:flex-start;padding:15px}.arco-alert-center{justify-content:center}.arco-alert-center .arco-alert-body{flex:initial}.arco-alert-normal{background-color:var(--color-neutral-2);border:1px solid transparent}.arco-alert-info{background-color:var(--color-primary-light-1);border:1px solid transparent}.arco-alert-success{background-color:var(--color-success-light-1);border:1px solid transparent}.arco-alert-warning{background-color:var(--color-warning-light-1);border:1px solid transparent}.arco-alert-error{background-color:var(--color-danger-light-1);border:1px solid transparent}.arco-alert-banner{border:none;border-radius:0}.arco-alert-body{position:relative;flex:1}.arco-alert-title{margin-bottom:4px;font-weight:500;font-size:16px;line-height:1.5}.arco-alert-normal .arco-alert-title,.arco-alert-normal .arco-alert-content{color:var(--color-text-1)}.arco-alert-normal.arco-alert-with-title .arco-alert-content{color:var(--color-text-2)}.arco-alert-info .arco-alert-title,.arco-alert-info .arco-alert-content{color:var(--color-text-1)}.arco-alert-info.arco-alert-with-title .arco-alert-content{color:var(--color-text-2)}.arco-alert-success .arco-alert-title,.arco-alert-success .arco-alert-content{color:var(--color-text-1)}.arco-alert-success.arco-alert-with-title .arco-alert-content{color:var(--color-text-2)}.arco-alert-warning .arco-alert-title,.arco-alert-warning .arco-alert-content{color:var(--color-text-1)}.arco-alert-warning.arco-alert-with-title .arco-alert-content{color:var(--color-text-2)}.arco-alert-error .arco-alert-title,.arco-alert-error .arco-alert-content{color:var(--color-text-1)}.arco-alert-error.arco-alert-with-title .arco-alert-content{color:var(--color-text-2)}.arco-alert-icon{margin-right:8px}.arco-alert-icon svg{font-size:16px;vertical-align:-3px}.arco-alert-with-title .arco-alert-icon svg{font-size:18px;vertical-align:-5px}.arco-alert-normal .arco-alert-icon svg{color:var(--color-neutral-4)}.arco-alert-info .arco-alert-icon svg{color:rgb(var(--primary-6))}.arco-alert-success .arco-alert-icon svg{color:rgb(var(--success-6))}.arco-alert-warning .arco-alert-icon svg{color:rgb(var(--warning-6))}.arco-alert-error .arco-alert-icon svg{color:rgb(var(--danger-6))}.arco-alert-close-btn{top:4px;right:0;box-sizing:border-box;margin-left:8px;padding:0;color:var(--color-text-2);font-size:12px;background-color:transparent;border:none;outline:none;cursor:pointer;transition:color .1s cubic-bezier(0,0,1,1)}.arco-alert-close-btn:hover{color:var(--color-text-1)}.arco-alert-action+.arco-alert-close-btn{margin-left:8px}.arco-alert-action{margin-left:8px}.arco-alert-with-title .arco-alert-close-btn{margin-top:0;margin-right:0}.arco-anchor{position:relative;width:150px;overflow:auto}.arco-anchor-line-slider{position:absolute;top:0;left:0;z-index:1;width:2px;height:12px;margin-top:9.0005px;background-color:rgb(var(--primary-6));transition:top .2s cubic-bezier(.34,.69,.1,1)}.arco-anchor-list{position:relative;margin-top:0;margin-bottom:0;margin-left:4px;padding-left:0;list-style:none}.arco-anchor-list:before{position:absolute;left:-4px;width:2px;height:100%;background-color:var(--color-fill-3);content:""}.arco-anchor-sublist{margin-top:0;margin-bottom:0;padding-left:0;list-style:none}.arco-anchor-link-item{margin-bottom:2px}.arco-anchor-link-item .arco-anchor-link{display:block;margin-bottom:2px;padding:4px 8px;overflow:hidden;color:var(--color-text-2);font-size:14px;line-height:1.5715;white-space:nowrap;text-decoration:none;text-overflow:ellipsis;border-radius:var(--border-radius-small);cursor:pointer}.arco-anchor-link-item .arco-anchor-link:hover{color:var(--color-text-1);font-weight:500;background-color:var(--color-fill-2)}.arco-anchor-link-active>.arco-anchor-link{color:var(--color-text-1);font-weight:500;transition:all .1s cubic-bezier(0,0,1,1)}.arco-anchor-link-item .arco-anchor-link-item{margin-left:16px}.arco-anchor-line-less .arco-anchor-list{margin-left:0}.arco-anchor-line-less .arco-anchor-list:before{display:none}.arco-anchor-line-less .arco-anchor-link-active>.arco-anchor-link{color:rgb(var(--primary-6));font-weight:500;background-color:var(--color-fill-2)}.arco-autocomplete-popup .arco-select-popup{background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-autocomplete-popup .arco-select-popup .arco-select-popup-inner{max-height:200px;padding:4px 0}.arco-autocomplete-popup .arco-select-popup .arco-select-option{height:36px;padding:0 12px;font-size:14px;line-height:36px;color:var(--color-text-1);background-color:var(--color-bg-popup)}.arco-autocomplete-popup .arco-select-popup .arco-select-option-selected{color:var(--color-text-1);background-color:var(--color-bg-popup)}.arco-autocomplete-popup .arco-select-popup .arco-select-option-hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-autocomplete-popup .arco-select-popup .arco-select-option-disabled{color:var(--color-text-4);background-color:var(--color-bg-popup)}.arco-autocomplete-popup .arco-select-popup .arco-select-option-selected{font-weight:500}.arco-avatar{position:relative;display:inline-flex;align-items:center;box-sizing:border-box;width:40px;height:40px;color:var(--color-white);font-size:20px;white-space:nowrap;vertical-align:middle;background-color:var(--color-fill-4)}.arco-avatar-circle{border-radius:var(--border-radius-circle)}.arco-avatar-circle .arco-avatar-image{overflow:hidden;border-radius:var(--border-radius-circle)}.arco-avatar-square{border-radius:var(--border-radius-medium)}.arco-avatar-square .arco-avatar-image{overflow:hidden;border-radius:var(--border-radius-medium)}.arco-avatar-text{position:absolute;left:50%;font-weight:500;line-height:1;transform:translate(-50%);transform-origin:0 center}.arco-avatar-image{display:inline-block;width:100%;height:100%}.arco-avatar-image-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.arco-avatar-image img,.arco-avatar-image picture{width:100%;height:100%}.arco-avatar-trigger-icon-button{position:absolute;right:-4px;bottom:-4px;z-index:1;width:20px;height:20px;color:var(--color-fill-4);font-size:12px;line-height:20px;text-align:center;background-color:var(--color-neutral-2);border-radius:var(--border-radius-circle);transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-avatar-trigger-icon-mask{position:absolute;top:0;left:0;z-index:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--color-white);font-size:16px;background-color:#1d212999;border-radius:var(--border-radius-medium);opacity:0;transition:all .1s cubic-bezier(0,0,1,1)}.arco-avatar-circle .arco-avatar-trigger-icon-mask{border-radius:var(--border-radius-circle)}.arco-avatar-with-trigger-icon{cursor:pointer}.arco-avatar-with-trigger-icon:hover .arco-avatar-trigger-icon-mask{z-index:2;opacity:1}.arco-avatar-with-trigger-icon:hover .arco-avatar-trigger-icon-button{background-color:var(--color-neutral-3)}.arco-avatar-group{display:inline-block;line-height:0}.arco-avatar-group-max-count-avatar{color:var(--color-white);font-size:20px;cursor:default}.arco-avatar-group .arco-avatar{border:2px solid var(--color-bg-2)}.arco-avatar-group .arco-avatar:not(:first-child){margin-left:-10px}.arco-avatar-group-popover .arco-avatar:not(:first-child){margin-left:4px}.arco-back-top{position:fixed;right:24px;bottom:24px;z-index:100}.arco-back-top-btn{width:40px;height:40px;color:var(--color-white);font-size:12px;text-align:center;background-color:rgb(var(--primary-6));border:none;border-radius:var(--border-radius-circle);outline:none;cursor:pointer;transition:all .2s cubic-bezier(0,0,1,1)}.arco-back-top-btn:hover{background-color:rgb(var(--primary-5))}.arco-back-top-btn svg{font-size:14px}.arco-badge{position:relative;display:inline-block;line-height:1}.arco-badge-number,.arco-badge-dot,.arco-badge-text,.arco-badge-custom-dot{position:absolute;top:2px;right:2px;z-index:2;box-sizing:border-box;overflow:hidden;text-align:center;border-radius:20px;transform:translate(50%,-50%);transform-origin:100% 0%}.arco-badge-custom-dot{background-color:var(--color-bg-2)}.arco-badge-number,.arco-badge-text{min-width:20px;height:20px;padding:0 6px;color:var(--color-white);font-weight:500;font-size:12px;line-height:20px;background-color:rgb(var(--danger-6));box-shadow:0 0 0 2px var(--color-bg-2)}.arco-badge-dot{width:6px;height:6px;background-color:rgb(var(--danger-6));border-radius:var(--border-radius-circle);box-shadow:0 0 0 2px var(--color-bg-2)}.arco-badge-no-children .arco-badge-dot,.arco-badge-no-children .arco-badge-number,.arco-badge-no-children .arco-badge-text{position:relative;top:unset;right:unset;display:inline-block;transform:none}.arco-badge-status-wrapper{display:inline-flex;align-items:center}.arco-badge-status-dot{display:inline-block;width:6px;height:6px;border-radius:var(--border-radius-circle)}.arco-badge-status-normal{background-color:var(--color-fill-4)}.arco-badge-status-processing{background-color:rgb(var(--primary-6))}.arco-badge-status-success{background-color:rgb(var(--success-6))}.arco-badge-status-warning{background-color:rgb(var(--warning-6))}.arco-badge-status-danger,.arco-badge-color-red{background-color:rgb(var(--danger-6))}.arco-badge-color-orangered{background-color:#f77234}.arco-badge-color-orange{background-color:rgb(var(--orange-6))}.arco-badge-color-gold{background-color:rgb(var(--gold-6))}.arco-badge-color-lime{background-color:rgb(var(--lime-6))}.arco-badge-color-green{background-color:rgb(var(--success-6))}.arco-badge-color-cyan{background-color:rgb(var(--cyan-6))}.arco-badge-color-arcoblue{background-color:rgb(var(--primary-6))}.arco-badge-color-purple{background-color:rgb(var(--purple-6))}.arco-badge-color-pinkpurple{background-color:rgb(var(--pinkpurple-6))}.arco-badge-color-magenta{background-color:rgb(var(--magenta-6))}.arco-badge-color-gray{background-color:rgb(var(--gray-4))}.arco-badge .arco-badge-status-text{margin-left:8px;color:var(--color-text-1);font-size:12px;line-height:1.5715}.arco-badge-number-text{display:inline-block;animation:arco-badge-scale .5s cubic-bezier(.3,1.3,.3,1)}@keyframes arco-badge-scale{0%{transform:scale(0)}to{transform:scale(1)}}.badge-zoom-enter,.badge-zoom-appear{transform:translate(50%,-50%) scale(.2);transform-origin:center}.badge-zoom-enter-active,.badge-zoom-appear-active{transform:translate(50%,-50%) scale(1);transform-origin:center;opacity:1;transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.badge-zoom-exit{transform:translate(50%,-50%) scale(1);transform-origin:center;opacity:1}.badge-zoom-exit-active{transform:translate(50%,-50%) scale(.2);transform-origin:center;opacity:0;transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.arco-breadcrumb{display:inline-flex;align-items:center;color:var(--color-text-2);font-size:14px}.arco-breadcrumb-icon{color:var(--color-text-2)}.arco-breadcrumb-item{display:inline-block;padding:0 4px;color:var(--color-text-2);line-height:24px;vertical-align:middle}.arco-breadcrumb-item>.arco-icon{color:var(--color-text-3)}.arco-breadcrumb-item a{display:inline-block;margin:0 -4px;padding:0 4px;color:var(--color-text-2);text-decoration:none;border-radius:var(--border-radius-small);background-color:transparent}.arco-breadcrumb-item a:hover{color:rgb(var(--link-6));background-color:var(--color-fill-2)}.arco-breadcrumb-item:last-child{color:var(--color-text-1);font-weight:500}.arco-breadcrumb-item-ellipses{position:relative;top:-3px;display:inline-block;padding:0 4px;color:var(--color-text-2)}.arco-breadcrumb-item-separator{display:inline-block;margin:0 4px;color:var(--color-text-4);line-height:24px;vertical-align:middle}.arco-breadcrumb-item-with-dropdown{cursor:pointer}.arco-breadcrumb-item-dropdown-icon{margin-left:4px;color:var(--color-text-2);font-size:12px}.arco-breadcrumb-item-dropdown-icon-active svg{transform:rotate(180deg)}.arco-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-weight:400;line-height:1.5715;white-space:nowrap;outline:none;cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1);-webkit-appearance:none;-webkit-user-select:none;user-select:none}.arco-btn>a:only-child{color:currentColor}.arco-btn:active{transition:none}.arco-btn-long{display:flex;width:100%}.arco-btn-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.arco-btn-link:not([href]){color:var(--color-text-4)}.arco-btn-link:hover{text-decoration:none}.arco-btn-link.arco-btn-only-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:top}.arco-btn.arco-btn-only-icon .arco-btn-icon{display:flex;justify-content:center}.arco-btn-loading{position:relative;cursor:default}.arco-btn-loading:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:block;background:#fff;border-radius:inherit;opacity:.4;transition:opacity .1s cubic-bezier(0,0,1,1);content:"";pointer-events:none}.arco-btn-loading-fixed-width{transition:none}.arco-btn-two-chinese-chars>*:not(svg){margin-right:-.3em;letter-spacing:.3em}.arco-btn-outline,.arco-btn-outline[type=button],.arco-btn-outline[type=submit]{color:rgb(var(--primary-6));background-color:transparent;border:1px solid rgb(var(--primary-6))}.arco-btn-outline:hover,.arco-btn-outline[type=button]:hover,.arco-btn-outline[type=submit]:hover{color:rgb(var(--primary-5));background-color:transparent;border-color:rgb(var(--primary-5))}.arco-btn-outline:focus-visible,.arco-btn-outline[type=button]:focus-visible,.arco-btn-outline[type=submit]:focus-visible{box-shadow:0 0 0 .25em rgb(var(--primary-3))}.arco-btn-outline:active,.arco-btn-outline[type=button]:active,.arco-btn-outline[type=submit]:active{color:rgb(var(--primary-7));background-color:transparent;border-color:rgb(var(--primary-7))}.arco-btn-outline.arco-btn-loading,.arco-btn-outline[type=button].arco-btn-loading,.arco-btn-outline[type=submit].arco-btn-loading{color:rgb(var(--primary-6));background-color:transparent;border:1px solid rgb(var(--primary-6))}.arco-btn-outline.arco-btn-disabled,.arco-btn-outline[type=button].arco-btn-disabled,.arco-btn-outline[type=submit].arco-btn-disabled{color:var(--color-primary-light-3);background-color:transparent;border:1px solid var(--color-primary-light-3);cursor:not-allowed}.arco-btn-outline.arco-btn-status-warning{color:rgb(var(--warning-6));background-color:transparent;border-color:rgb(var(--warning-6))}.arco-btn-outline.arco-btn-status-warning:hover{color:rgb(var(--warning-5));background-color:transparent;border-color:rgb(var(--warning-5))}.arco-btn-outline.arco-btn-status-warning:focus-visible{box-shadow:0 0 0 .25em rgb(var(--warning-3))}.arco-btn-outline.arco-btn-status-warning:active{color:rgb(var(--warning-7));background-color:transparent;border-color:rgb(var(--warning-7))}.arco-btn-outline.arco-btn-status-warning.arco-btn-loading{color:rgb(var(--warning-6));background-color:transparent;border-color:rgb(var(--warning-6))}.arco-btn-outline.arco-btn-status-warning.arco-btn-disabled{color:var(--color-warning-light-3);background-color:transparent;border:1px solid var(--color-warning-light-3)}.arco-btn-outline.arco-btn-status-danger{color:rgb(var(--danger-6));background-color:transparent;border-color:rgb(var(--danger-6))}.arco-btn-outline.arco-btn-status-danger:hover{color:rgb(var(--danger-5));background-color:transparent;border-color:rgb(var(--danger-5))}.arco-btn-outline.arco-btn-status-danger:focus-visible{box-shadow:0 0 0 .25em rgb(var(--danger-3))}.arco-btn-outline.arco-btn-status-danger:active{color:rgb(var(--danger-7));background-color:transparent;border-color:rgb(var(--danger-7))}.arco-btn-outline.arco-btn-status-danger.arco-btn-loading{color:rgb(var(--danger-6));background-color:transparent;border-color:rgb(var(--danger-6))}.arco-btn-outline.arco-btn-status-danger.arco-btn-disabled{color:var(--color-danger-light-3);background-color:transparent;border:1px solid var(--color-danger-light-3)}.arco-btn-outline.arco-btn-status-success{color:rgb(var(--success-6));background-color:transparent;border-color:rgb(var(--success-6))}.arco-btn-outline.arco-btn-status-success:hover{color:rgb(var(--success-5));background-color:transparent;border-color:rgb(var(--success-5))}.arco-btn-outline.arco-btn-status-success:focus-visible{box-shadow:0 0 0 .25em rgb(var(--success-3))}.arco-btn-outline.arco-btn-status-success:active{color:rgb(var(--success-7));background-color:transparent;border-color:rgb(var(--success-7))}.arco-btn-outline.arco-btn-status-success.arco-btn-loading{color:rgb(var(--success-6));background-color:transparent;border-color:rgb(var(--success-6))}.arco-btn-outline.arco-btn-status-success.arco-btn-disabled{color:var(--color-success-light-3);background-color:transparent;border:1px solid var(--color-success-light-3)}.arco-btn-primary,.arco-btn-primary[type=button],.arco-btn-primary[type=submit]{color:#fff;background-color:rgb(var(--primary-6));border:1px solid transparent}.arco-btn-primary:hover,.arco-btn-primary[type=button]:hover,.arco-btn-primary[type=submit]:hover{color:#fff;background-color:rgb(var(--primary-5));border-color:transparent}.arco-btn-primary:focus-visible,.arco-btn-primary[type=button]:focus-visible,.arco-btn-primary[type=submit]:focus-visible{box-shadow:0 0 0 .25em rgb(var(--primary-3))}.arco-btn-primary:active,.arco-btn-primary[type=button]:active,.arco-btn-primary[type=submit]:active{color:#fff;background-color:rgb(var(--primary-7));border-color:transparent}.arco-btn-primary.arco-btn-loading,.arco-btn-primary[type=button].arco-btn-loading,.arco-btn-primary[type=submit].arco-btn-loading{color:#fff;background-color:rgb(var(--primary-6));border:1px solid transparent}.arco-btn-primary.arco-btn-disabled,.arco-btn-primary[type=button].arco-btn-disabled,.arco-btn-primary[type=submit].arco-btn-disabled{color:#fff;background-color:var(--color-primary-light-3);border:1px solid transparent;cursor:not-allowed}.arco-btn-primary.arco-btn-status-warning{color:#fff;background-color:rgb(var(--warning-6));border-color:transparent}.arco-btn-primary.arco-btn-status-warning:hover{color:#fff;background-color:rgb(var(--warning-5));border-color:transparent}.arco-btn-primary.arco-btn-status-warning:focus-visible{box-shadow:0 0 0 .25em rgb(var(--warning-3))}.arco-btn-primary.arco-btn-status-warning:active{color:#fff;background-color:rgb(var(--warning-7));border-color:transparent}.arco-btn-primary.arco-btn-status-warning.arco-btn-loading{color:#fff;background-color:rgb(var(--warning-6));border-color:transparent}.arco-btn-primary.arco-btn-status-warning.arco-btn-disabled{color:#fff;background-color:var(--color-warning-light-3);border:1px solid transparent}.arco-btn-primary.arco-btn-status-danger{color:#fff;background-color:rgb(var(--danger-6));border-color:transparent}.arco-btn-primary.arco-btn-status-danger:hover{color:#fff;background-color:rgb(var(--danger-5));border-color:transparent}.arco-btn-primary.arco-btn-status-danger:focus-visible{box-shadow:0 0 0 .25em rgb(var(--danger-3))}.arco-btn-primary.arco-btn-status-danger:active{color:#fff;background-color:rgb(var(--danger-7));border-color:transparent}.arco-btn-primary.arco-btn-status-danger.arco-btn-loading{color:#fff;background-color:rgb(var(--danger-6));border-color:transparent}.arco-btn-primary.arco-btn-status-danger.arco-btn-disabled{color:#fff;background-color:var(--color-danger-light-3);border:1px solid transparent}.arco-btn-primary.arco-btn-status-success{color:#fff;background-color:rgb(var(--success-6));border-color:transparent}.arco-btn-primary.arco-btn-status-success:hover{color:#fff;background-color:rgb(var(--success-5));border-color:transparent}.arco-btn-primary.arco-btn-status-success:focus-visible{box-shadow:0 0 0 .25em rgb(var(--success-3))}.arco-btn-primary.arco-btn-status-success:active{color:#fff;background-color:rgb(var(--success-7));border-color:transparent}.arco-btn-primary.arco-btn-status-success.arco-btn-loading{color:#fff;background-color:rgb(var(--success-6));border-color:transparent}.arco-btn-primary.arco-btn-status-success.arco-btn-disabled{color:#fff;background-color:var(--color-success-light-3);border:1px solid transparent}.arco-btn-secondary,.arco-btn-secondary[type=button],.arco-btn-secondary[type=submit]{color:var(--color-text-2);background-color:var(--color-secondary);border:1px solid transparent}.arco-btn-secondary:hover,.arco-btn-secondary[type=button]:hover,.arco-btn-secondary[type=submit]:hover{color:var(--color-text-2);background-color:var(--color-secondary-hover);border-color:transparent}.arco-btn-secondary:focus-visible,.arco-btn-secondary[type=button]:focus-visible,.arco-btn-secondary[type=submit]:focus-visible{box-shadow:0 0 0 .25em var(--color-neutral-4)}.arco-btn-secondary:active,.arco-btn-secondary[type=button]:active,.arco-btn-secondary[type=submit]:active{color:var(--color-text-2);background-color:var(--color-secondary-active);border-color:transparent}.arco-btn-secondary.arco-btn-loading,.arco-btn-secondary[type=button].arco-btn-loading,.arco-btn-secondary[type=submit].arco-btn-loading{color:var(--color-text-2);background-color:var(--color-secondary);border:1px solid transparent}.arco-btn-secondary.arco-btn-disabled,.arco-btn-secondary[type=button].arco-btn-disabled,.arco-btn-secondary[type=submit].arco-btn-disabled{color:var(--color-text-4);background-color:var(--color-secondary-disabled);border:1px solid transparent;cursor:not-allowed}.arco-btn-secondary.arco-btn-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-warning:hover{color:rgb(var(--warning-6));background-color:var(--color-warning-light-2);border-color:transparent}.arco-btn-secondary.arco-btn-status-warning:focus-visible{box-shadow:0 0 0 .25em rgb(var(--warning-3))}.arco-btn-secondary.arco-btn-status-warning:active{color:rgb(var(--warning-6));background-color:var(--color-warning-light-3);border-color:transparent}.arco-btn-secondary.arco-btn-status-warning.arco-btn-loading{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-warning.arco-btn-disabled{color:var(--color-warning-light-3);background-color:var(--color-warning-light-1);border:1px solid transparent}.arco-btn-secondary.arco-btn-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-danger:hover{color:rgb(var(--danger-6));background-color:var(--color-danger-light-2);border-color:transparent}.arco-btn-secondary.arco-btn-status-danger:focus-visible{box-shadow:0 0 0 .25em rgb(var(--danger-3))}.arco-btn-secondary.arco-btn-status-danger:active{color:rgb(var(--danger-6));background-color:var(--color-danger-light-3);border-color:transparent}.arco-btn-secondary.arco-btn-status-danger.arco-btn-loading{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-danger.arco-btn-disabled{color:var(--color-danger-light-3);background-color:var(--color-danger-light-1);border:1px solid transparent}.arco-btn-secondary.arco-btn-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-success:hover{color:rgb(var(--success-6));background-color:var(--color-success-light-2);border-color:transparent}.arco-btn-secondary.arco-btn-status-success:focus-visible{box-shadow:0 0 0 .25em rgb(var(--success-3))}.arco-btn-secondary.arco-btn-status-success:active{color:rgb(var(--success-6));background-color:var(--color-success-light-3);border-color:transparent}.arco-btn-secondary.arco-btn-status-success.arco-btn-loading{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:transparent}.arco-btn-secondary.arco-btn-status-success.arco-btn-disabled{color:var(--color-success-light-3);background-color:var(--color-success-light-1);border:1px solid transparent}.arco-btn-dashed,.arco-btn-dashed[type=button],.arco-btn-dashed[type=submit]{color:var(--color-text-2);background-color:var(--color-fill-2);border:1px dashed var(--color-neutral-3)}.arco-btn-dashed:hover,.arco-btn-dashed[type=button]:hover,.arco-btn-dashed[type=submit]:hover{color:var(--color-text-2);background-color:var(--color-fill-3);border-color:var(--color-neutral-4)}.arco-btn-dashed:focus-visible,.arco-btn-dashed[type=button]:focus-visible,.arco-btn-dashed[type=submit]:focus-visible{box-shadow:0 0 0 .25em var(--color-neutral-4)}.arco-btn-dashed:active,.arco-btn-dashed[type=button]:active,.arco-btn-dashed[type=submit]:active{color:var(--color-text-2);background-color:var(--color-fill-4);border-color:var(--color-neutral-5)}.arco-btn-dashed.arco-btn-loading,.arco-btn-dashed[type=button].arco-btn-loading,.arco-btn-dashed[type=submit].arco-btn-loading{color:var(--color-text-2);background-color:var(--color-fill-2);border:1px dashed var(--color-neutral-3)}.arco-btn-dashed.arco-btn-disabled,.arco-btn-dashed[type=button].arco-btn-disabled,.arco-btn-dashed[type=submit].arco-btn-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border:1px dashed var(--color-neutral-3);cursor:not-allowed}.arco-btn-dashed.arco-btn-status-warning{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:var(--color-warning-light-2)}.arco-btn-dashed.arco-btn-status-warning:hover{color:rgb(var(--warning-6));background-color:var(--color-warning-light-2);border-color:var(--color-warning-light-3)}.arco-btn-dashed.arco-btn-status-warning:focus-visible{box-shadow:0 0 0 .25em rgb(var(--warning-3))}.arco-btn-dashed.arco-btn-status-warning:active{color:rgb(var(--warning-6));background-color:var(--color-warning-light-3);border-color:var(--color-warning-light-4)}.arco-btn-dashed.arco-btn-status-warning.arco-btn-loading{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1);border-color:var(--color-warning-light-2)}.arco-btn-dashed.arco-btn-status-warning.arco-btn-disabled{color:var(--color-warning-light-3);background-color:var(--color-warning-light-1);border:1px dashed var(--color-warning-light-2)}.arco-btn-dashed.arco-btn-status-danger{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:var(--color-danger-light-2)}.arco-btn-dashed.arco-btn-status-danger:hover{color:rgb(var(--danger-6));background-color:var(--color-danger-light-2);border-color:var(--color-danger-light-3)}.arco-btn-dashed.arco-btn-status-danger:focus-visible{box-shadow:0 0 0 .25em rgb(var(--danger-3))}.arco-btn-dashed.arco-btn-status-danger:active{color:rgb(var(--danger-6));background-color:var(--color-danger-light-3);border-color:var(--color-danger-light-4)}.arco-btn-dashed.arco-btn-status-danger.arco-btn-loading{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1);border-color:var(--color-danger-light-2)}.arco-btn-dashed.arco-btn-status-danger.arco-btn-disabled{color:var(--color-danger-light-3);background-color:var(--color-danger-light-1);border:1px dashed var(--color-danger-light-2)}.arco-btn-dashed.arco-btn-status-success{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:var(--color-success-light-2)}.arco-btn-dashed.arco-btn-status-success:hover{color:rgb(var(--success-6));background-color:var(--color-success-light-2);border-color:var(--color-success-light-3)}.arco-btn-dashed.arco-btn-status-success:focus-visible{box-shadow:0 0 0 .25em rgb(var(--success-3))}.arco-btn-dashed.arco-btn-status-success:active{color:rgb(var(--success-6));background-color:var(--color-success-light-3);border-color:var(--color-success-light-4)}.arco-btn-dashed.arco-btn-status-success.arco-btn-loading{color:rgb(var(--success-6));background-color:var(--color-success-light-1);border-color:var(--color-success-light-2)}.arco-btn-dashed.arco-btn-status-success.arco-btn-disabled{color:var(--color-success-light-3);background-color:var(--color-success-light-1);border:1px dashed var(--color-success-light-2)}.arco-btn-text,.arco-btn-text[type=button],.arco-btn-text[type=submit]{color:rgb(var(--primary-6));background-color:transparent;border:1px solid transparent}.arco-btn-text:hover,.arco-btn-text[type=button]:hover,.arco-btn-text[type=submit]:hover{color:rgb(var(--primary-6));background-color:var(--color-fill-2);border-color:transparent}.arco-btn-text:focus-visible,.arco-btn-text[type=button]:focus-visible,.arco-btn-text[type=submit]:focus-visible{box-shadow:0 0 0 .25em var(--color-neutral-4)}.arco-btn-text:active,.arco-btn-text[type=button]:active,.arco-btn-text[type=submit]:active{color:rgb(var(--primary-6));background-color:var(--color-fill-3);border-color:transparent}.arco-btn-text.arco-btn-loading,.arco-btn-text[type=button].arco-btn-loading,.arco-btn-text[type=submit].arco-btn-loading{color:rgb(var(--primary-6));background-color:transparent;border:1px solid transparent}.arco-btn-text.arco-btn-disabled,.arco-btn-text[type=button].arco-btn-disabled,.arco-btn-text[type=submit].arco-btn-disabled{color:var(--color-primary-light-3);background-color:transparent;border:1px solid transparent;cursor:not-allowed}.arco-btn-text.arco-btn-status-warning{color:rgb(var(--warning-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-warning:hover{color:rgb(var(--warning-6));background-color:var(--color-fill-2);border-color:transparent}.arco-btn-text.arco-btn-status-warning:focus-visible{box-shadow:0 0 0 .25em rgb(var(--warning-3))}.arco-btn-text.arco-btn-status-warning:active{color:rgb(var(--warning-6));background-color:var(--color-fill-3);border-color:transparent}.arco-btn-text.arco-btn-status-warning.arco-btn-loading{color:rgb(var(--warning-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-warning.arco-btn-disabled{color:var(--color-warning-light-3);background-color:transparent;border:1px solid transparent}.arco-btn-text.arco-btn-status-danger{color:rgb(var(--danger-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-danger:hover{color:rgb(var(--danger-6));background-color:var(--color-fill-2);border-color:transparent}.arco-btn-text.arco-btn-status-danger:focus-visible{box-shadow:0 0 0 .25em rgb(var(--danger-3))}.arco-btn-text.arco-btn-status-danger:active{color:rgb(var(--danger-6));background-color:var(--color-fill-3);border-color:transparent}.arco-btn-text.arco-btn-status-danger.arco-btn-loading{color:rgb(var(--danger-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-danger.arco-btn-disabled{color:var(--color-danger-light-3);background-color:transparent;border:1px solid transparent}.arco-btn-text.arco-btn-status-success{color:rgb(var(--success-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-success:hover{color:rgb(var(--success-6));background-color:var(--color-fill-2);border-color:transparent}.arco-btn-text.arco-btn-status-success:focus-visible{box-shadow:0 0 0 .25em rgb(var(--success-3))}.arco-btn-text.arco-btn-status-success:active{color:rgb(var(--success-6));background-color:var(--color-fill-3);border-color:transparent}.arco-btn-text.arco-btn-status-success.arco-btn-loading{color:rgb(var(--success-6));background-color:transparent;border-color:transparent}.arco-btn-text.arco-btn-status-success.arco-btn-disabled{color:var(--color-success-light-3);background-color:transparent;border:1px solid transparent}.arco-btn-size-mini{height:24px;padding:0 11px;font-size:12px;border-radius:var(--border-radius-small)}.arco-btn-size-mini:not(.arco-btn-only-icon) .arco-btn-icon{margin-right:4px}.arco-btn-size-mini svg{vertical-align:-1px}.arco-btn-size-mini.arco-btn-loading-fixed-width.arco-btn-loading{padding-right:3px;padding-left:3px}.arco-btn-size-mini.arco-btn-only-icon{width:24px;height:24px;padding:0}.arco-btn-size-mini.arco-btn-shape-circle{width:24px;height:24px;padding:0;text-align:center;border-radius:var(--border-radius-circle)}.arco-btn-size-mini.arco-btn-shape-round{border-radius:12px}.arco-btn-size-small{height:28px;padding:0 15px;font-size:14px;border-radius:var(--border-radius-small)}.arco-btn-size-small:not(.arco-btn-only-icon) .arco-btn-icon{margin-right:6px}.arco-btn-size-small svg{vertical-align:-2px}.arco-btn-size-small.arco-btn-loading-fixed-width.arco-btn-loading{padding-right:5px;padding-left:5px}.arco-btn-size-small.arco-btn-only-icon{width:28px;height:28px;padding:0}.arco-btn-size-small.arco-btn-shape-circle{width:28px;height:28px;padding:0;text-align:center;border-radius:var(--border-radius-circle)}.arco-btn-size-small.arco-btn-shape-round{border-radius:14px}.arco-btn-size-medium{height:32px;padding:0 15px;font-size:14px;border-radius:var(--border-radius-small)}.arco-btn-size-medium:not(.arco-btn-only-icon) .arco-btn-icon{margin-right:8px}.arco-btn-size-medium svg{vertical-align:-2px}.arco-btn-size-medium.arco-btn-loading-fixed-width.arco-btn-loading{padding-right:4px;padding-left:4px}.arco-btn-size-medium.arco-btn-only-icon{width:32px;height:32px;padding:0}.arco-btn-size-medium.arco-btn-shape-circle{width:32px;height:32px;padding:0;text-align:center;border-radius:var(--border-radius-circle)}.arco-btn-size-medium.arco-btn-shape-round{border-radius:16px}.arco-btn-size-large{height:36px;padding:0 19px;font-size:14px;border-radius:var(--border-radius-small)}.arco-btn-size-large:not(.arco-btn-only-icon) .arco-btn-icon{margin-right:8px}.arco-btn-size-large svg{vertical-align:-2px}.arco-btn-size-large.arco-btn-loading-fixed-width.arco-btn-loading{padding-right:8px;padding-left:8px}.arco-btn-size-large.arco-btn-only-icon{width:36px;height:36px;padding:0}.arco-btn-size-large.arco-btn-shape-circle{width:36px;height:36px;padding:0;text-align:center;border-radius:var(--border-radius-circle)}.arco-btn-size-large.arco-btn-shape-round{border-radius:18px}.arco-btn-group{display:inline-flex;align-items:center}.arco-btn-group .arco-btn-outline:not(:first-child),.arco-btn-group .arco-btn-dashed:not(:first-child){margin-left:-1px}.arco-btn-group .arco-btn-primary:not(:last-child){border-right:1px solid rgb(var(--primary-5))}.arco-btn-group .arco-btn-secondary:not(:last-child){border-right:1px solid var(--color-secondary-hover)}.arco-btn-group .arco-btn-status-warning:not(:last-child){border-right:1px solid rgb(var(--warning-5))}.arco-btn-group .arco-btn-status-danger:not(:last-child){border-right:1px solid rgb(var(--danger-5))}.arco-btn-group .arco-btn-status-success:not(:last-child){border-right:1px solid rgb(var(--success-5))}.arco-btn-group .arco-btn-outline:hover,.arco-btn-group .arco-btn-dashed:hover,.arco-btn-group .arco-btn-outline:active,.arco-btn-group .arco-btn-dashed:active{z-index:2}.arco-btn-group .arco-btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.arco-btn-group .arco-btn:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.arco-btn-group .arco-btn:not(:first-child):not(:last-child){border-radius:0}body[arco-theme=dark] .arco-btn-primary.arco-btn-disabled{color:#ffffff4d}.arco-calendar{box-sizing:border-box;border:1px solid var(--color-neutral-3)}.arco-calendar-header{display:flex;padding:24px}.arco-calendar-header-left{position:relative;display:flex;flex:1;align-items:center;height:28px;line-height:28px}.arco-calendar-header-right{position:relative;height:28px}.arco-calendar-header-value{color:var(--color-text-1);font-weight:500;font-size:20px}.arco-calendar-header-icon{width:28px;height:28px;margin-right:12px;color:var(--color-text-2);font-size:12px;line-height:28px;text-align:center;background-color:var(--color-bg-5);border-radius:50%;transition:all .1s cubic-bezier(0,0,1,1);-webkit-user-select:none;user-select:none}.arco-calendar-header-icon:not(:first-child){margin:0 12px}.arco-calendar-header-icon:focus-visible{box-shadow:0 0 0 2px var(--color-primary-light-3)}.arco-calendar-header-icon:not(.arco-calendar-header-icon-hidden){cursor:pointer}.arco-calendar-header-icon:not(.arco-calendar-header-icon-hidden):hover{background-color:var(--color-fill-3)}.arco-calendar .arco-calendar-header-value-year{width:100px;margin-right:8px}.arco-calendar .arco-calendar-header-value-month{width:76px;margin-right:32px}.arco-calendar-month{width:100%}.arco-calendar-month-row{display:flex;height:100px}.arco-calendar-month-row .arco-calendar-cell{flex:1;overflow:hidden;border-bottom:1px solid var(--color-neutral-3)}.arco-calendar-month-row:last-child .arco-calendar-cell{border-bottom:unset}.arco-calendar-month-cell-body{box-sizing:border-box}.arco-calendar-mode-month:not(.arco-calendar-panel) .arco-calendar-cell:not(:last-child){border-right:1px solid var(--color-neutral-3)}.arco-calendar-week-list{display:flex;box-sizing:border-box;width:100%;padding:0;border-bottom:1px solid var(--color-neutral-3)}.arco-calendar-week-list-item{flex:1;padding:20px 16px;color:#7d7d7f;text-align:left}.arco-calendar-cell .arco-calendar-date{box-sizing:border-box;width:100%;height:100%;padding:10px;cursor:pointer}.arco-calendar-cell .arco-calendar-date-circle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%}.arco-calendar-date-content{height:70px;overflow-y:auto}.arco-calendar-cell-today .arco-calendar-date-circle{box-sizing:border-box;border:1px solid rgb(var(--primary-6))}.arco-calendar-date-value{color:var(--color-text-4);font-weight:500;font-size:16px}.arco-calendar-cell-in-view .arco-calendar-date-value{color:var(--color-text-1)}.arco-calendar-mode-month .arco-calendar-cell-selected .arco-calendar-date-circle,.arco-calendar-mode-year .arco-calendar-cell-selected .arco-calendar-cell-selected .arco-calendar-date-circle{box-sizing:border-box;color:#fff;background-color:rgb(var(--primary-6));border:1px solid rgb(var(--primary-6))}.arco-calendar-mode-year:not(.arco-calendar-panel){min-width:820px}.arco-calendar-mode-year .arco-calendar-header{border-bottom:1px solid var(--color-neutral-3)}.arco-calendar-mode-year .arco-calendar-body{padding:12px}.arco-calendar-mode-year .arco-calendar-year-row{display:flex}.arco-calendar-year-row>.arco-calendar-cell{flex:1;padding:20px 8px}.arco-calendar-year-row>.arco-calendar-cell:not(:last-child){border-right:1px solid var(--color-neutral-3)}.arco-calendar-year-row:not(:last-child)>.arco-calendar-cell{border-bottom:1px solid var(--color-neutral-3)}.arco-calendar-month-with-days .arco-calendar-month-row{height:26px}.arco-calendar-month-with-days .arco-calendar-cell{border-bottom:0}.arco-calendar-month-with-days .arco-calendar-month-cell-body{padding:0}.arco-calendar-month-with-days .arco-calendar-month-title{padding:10px 6px;color:var(--color-text-1);font-weight:500;font-size:16px}.arco-calendar-month-cell{width:100%;font-size:12px}.arco-calendar-month-cell .arco-calendar-week-list{padding:0;border-bottom:unset}.arco-calendar-month-cell .arco-calendar-week-list-item{padding:6px;color:#7d7d7f;text-align:center}.arco-calendar-month-cell .arco-calendar-cell{text-align:center}.arco-calendar-month-cell .arco-calendar-date{padding:2px}.arco-calendar-month-cell .arco-calendar-date-value{font-size:14px}.arco-calendar-month-cell .arco-calendar-date-circle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%}.arco-calendar-panel{background-color:var(--color-bg-5);border:1px solid var(--color-neutral-3)}.arco-calendar-panel .arco-calendar-header{padding:8px 16px;border-bottom:1px solid var(--color-neutral-3)}.arco-calendar-panel .arco-calendar-header-value{flex:1;font-size:14px;line-height:24px;text-align:center}.arco-calendar-panel .arco-calendar-header-icon{width:24px;height:24px;margin-right:2px;margin-left:2px;line-height:24px}.arco-calendar-panel .arco-calendar-body{padding:14px 16px}.arco-calendar-panel .arco-calendar-month-cell-body{padding:0}.arco-calendar-panel .arco-calendar-month-row{height:unset}.arco-calendar-panel .arco-calendar-week-list{padding:0;border-bottom:unset}.arco-calendar-panel .arco-calendar-week-list-item{height:32px;padding:0;font-weight:400;line-height:32px;text-align:center}.arco-calendar-panel .arco-calendar-cell,.arco-calendar-panel .arco-calendar-year-row .arco-calendar-cell{box-sizing:border-box;padding:2px 0;text-align:center;border-right:0;border-bottom:0}.arco-calendar-panel .arco-calendar-cell .arco-calendar-date{display:flex;justify-content:center;padding:4px 0}.arco-calendar-panel .arco-calendar-cell .arco-calendar-date-value{min-width:24px;height:24px;font-size:14px;line-height:24px;cursor:pointer}.arco-calendar-panel.arco-calendar-mode-year .arco-calendar-cell{padding:4px 0}.arco-calendar-panel.arco-calendar-mode-year .arco-calendar-cell .arco-calendar-date{padding:4px}.arco-calendar-panel.arco-calendar-mode-year .arco-calendar-cell .arco-calendar-date-value{width:100%;border-radius:12px}.arco-calendar-panel .arco-calendar-cell-selected .arco-calendar-date-value{color:var(--color-white);background-color:rgb(var(--primary-6));border-radius:50%}.arco-calendar-panel .arco-calendar-cell:not(.arco-calendar-cell-selected):not(.arco-calendar-cell-range-start):not(.arco-calendar-cell-range-end):not(.arco-calendar-cell-hover-range-start):not(.arco-calendar-cell-hover-range-end):not(.arco-calendar-cell-disabled):not(.arco-calendar-cell-week) .arco-calendar-date-value:hover{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1);border-radius:50%}.arco-calendar-panel.arco-calendar-mode-year .arco-calendar-cell:not(.arco-calendar-cell-selected):not(.arco-calendar-cell-range-start):not(.arco-calendar-cell-range-end):not(.arco-calendar-cell-hover-range-start):not(.arco-calendar-cell-hover-range-end):not(.arco-calendar-cell-disabled) .arco-calendar-date-value:hover{border-radius:12px}.arco-calendar-panel .arco-calendar-cell-today{position:relative}.arco-calendar-panel .arco-calendar-cell-today:after{position:absolute;bottom:0;left:50%;display:block;width:4px;height:4px;margin-left:-2px;background-color:rgb(var(--primary-6));border-radius:50%;content:""}.arco-calendar-cell-in-range .arco-calendar-date{background-color:var(--color-primary-light-1)}.arco-calendar-cell-range-start .arco-calendar-date{border-radius:16px 0 0 16px}.arco-calendar-cell-range-end .arco-calendar-date{border-radius:0 16px 16px 0}.arco-calendar-cell-in-range-near-hover .arco-calendar-date{border-radius:0}.arco-calendar-cell-range-start .arco-calendar-date-value,.arco-calendar-cell-range-end .arco-calendar-date-value{color:var(--color-white);background-color:rgb(var(--primary-6));border-radius:50%}.arco-calendar-cell-hover-in-range .arco-calendar-date{background-color:var(--color-primary-light-1)}.arco-calendar-cell-hover-range-start .arco-calendar-date{border-radius:16px 0 0 16px}.arco-calendar-cell-hover-range-end .arco-calendar-date{border-radius:0 16px 16px 0}.arco-calendar-cell-hover-range-start .arco-calendar-date-value,.arco-calendar-cell-hover-range-end .arco-calendar-date-value{color:var(--color-text-1);background-color:var(--color-primary-light-2);border-radius:50%}.arco-calendar-panel .arco-calendar-cell-disabled>.arco-calendar-date{background-color:var(--color-fill-1);cursor:not-allowed}.arco-calendar-panel .arco-calendar-cell-disabled>.arco-calendar-date>.arco-calendar-date-value{color:var(--color-text-4);background-color:var(--color-fill-1);cursor:not-allowed}.arco-calendar-panel .arco-calendar-footer-btn-wrapper{height:38px;color:var(--color-text-1);line-height:38px;text-align:center;border-top:1px solid var(--color-neutral-3);cursor:pointer}.arco-calendar-rtl{direction:rtl}.arco-calendar-rtl .arco-calendar-header-icon{margin-right:0;margin-left:12px;transform:scaleX(-1)}.arco-calendar-rtl .arco-calendar-week-list-item{text-align:right}.arco-calendar-rtl.arco-calendar-mode-month:not(.arco-calendar-panel) .arco-calendar-cell:not(:last-child){border-right:0;border-left:1px solid var(--color-neutral-3)}.arco-calendar-rtl .arco-calendar-header-value-year{margin-right:0;margin-left:8px}.arco-calendar-rtl .arco-calendar-header-value-month{margin-right:0;margin-left:32px}.arco-card{position:relative;background:var(--color-bg-2);border-radius:var(--border-radius-none);transition:box-shadow .2s cubic-bezier(0,0,1,1)}.arco-card-header{position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;overflow:hidden;border-bottom:1px solid var(--color-neutral-3)}.arco-card-header-no-title:before{display:block;content:" "}.arco-card-header-title{flex:1;color:var(--color-text-1);font-weight:500;line-height:1.5715;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-card-header-extra{color:rgb(var(--primary-6));overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-card-body{color:var(--color-text-2)}.arco-card-cover{overflow:hidden}.arco-card-cover>*{display:block;width:100%}.arco-card-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.arco-card-actions:before{visibility:hidden;content:""}.arco-card-actions-right{display:flex;align-items:center}.arco-card-actions-item{display:flex;align-items:center;justify-content:center;color:var(--color-text-2);cursor:pointer;transition:color .2s cubic-bezier(0,0,1,1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-card-actions-item:hover{color:rgb(var(--primary-6))}.arco-card-actions-item:not(:last-child){margin-right:12px}.arco-card-meta-footer{display:flex;align-items:center;justify-content:space-between}.arco-card-meta-footer:last-child{margin-top:20px}.arco-card-meta-footer-only-actions:before{visibility:hidden;content:""}.arco-card-meta-footer .arco-card-actions{margin-top:0}.arco-card-meta-title{color:var(--color-text-1);font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-card-meta-description:not(:first-child){margin-top:4px}.arco-card-grid{position:relative;box-sizing:border-box;width:33.33%;box-shadow:1px 0 0 0 var(--color-neutral-3),0 1px 0 0 var(--color-neutral-3),1px 1px 0 0 var(--color-neutral-3),1px 0 0 0 var(--color-neutral-3) inset,0 1px 0 0 var(--color-neutral-3) inset}.arco-card-grid:before{position:absolute;top:0;right:0;bottom:0;left:0;transition:box-shadow .2s cubic-bezier(0,0,1,1);content:"";pointer-events:none}.arco-card-grid-hoverable:hover{z-index:1}.arco-card-grid-hoverable:hover:before{box-shadow:0 4px 10px rgb(var(--gray-2))}.arco-card-grid .arco-card{background:none;box-shadow:none}.arco-card-contain-grid:not(.arco-card-loading)>.arco-card-body{display:flex;flex-wrap:wrap;margin:0 -1px;padding:0}.arco-card-hoverable:hover{box-shadow:0 4px 10px rgb(var(--gray-2))}.arco-card-bordered{border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-small)}.arco-card-bordered .arco-card-cover{border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}.arco-card-loading .arco-card-body{overflow:hidden;text-align:center}.arco-card-size-medium{font-size:14px}.arco-card-size-medium .arco-card-header{height:46px;padding:10px 16px}.arco-card-size-medium .arco-card-header-title,.arco-card-size-medium .arco-card-meta-title{font-size:16px}.arco-card-size-medium .arco-card-header-extra{font-size:14px}.arco-card-size-medium .arco-card-body{padding:16px}.arco-card-size-small{font-size:14px}.arco-card-size-small .arco-card-header{height:40px;padding:8px 16px}.arco-card-size-small .arco-card-header-title,.arco-card-size-small .arco-card-meta-title{font-size:16px}.arco-card-size-small .arco-card-header-extra{font-size:14px}.arco-card-size-small .arco-card-body{padding:12px 16px}body[arco-theme=dark] .arco-card-grid-hoverable:hover:before,body[arco-theme=dark] .arco-card-hoverable:hover{box-shadow:0 4px 10px rgba(var(--gray-1),40%)}@keyframes arco-carousel-slide-x-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes arco-carousel-slide-x-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes arco-carousel-slide-x-in-reverse{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes arco-carousel-slide-x-out-reverse{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes arco-carousel-slide-y-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes arco-carousel-slide-y-out{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes arco-carousel-slide-y-in-reverse{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes arco-carousel-slide-y-out-reverse{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes arco-carousel-card-bottom-to-middle{0%{transform:translate(0) translateZ(-400px);opacity:0}to{transform:translate(0) translateZ(-200px);opacity:.4}}@keyframes arco-carousel-card-middle-to-bottom{0%{transform:translate(-100%) translateZ(-200px);opacity:.4}to{transform:translate(-100%) translateZ(-400px);opacity:0}}@keyframes arco-carousel-card-top-to-middle{0%{transform:translate(-50%) translateZ(0);opacity:1}to{transform:translate(-100%) translateZ(-200px);opacity:.4}}@keyframes arco-carousel-card-middle-to-top{0%{transform:translate(0) translateZ(-200px);opacity:.4}to{transform:translate(-50%) translateZ(0);opacity:1}}@keyframes arco-carousel-card-bottom-to-middle-reverse{0%{transform:translate(-100%) translateZ(-400px);opacity:0}to{transform:translate(-100%) translateZ(-200px);opacity:.4}}@keyframes arco-carousel-card-middle-to-bottom-reverse{0%{transform:translate(0) translateZ(-200px);opacity:.4}to{transform:translate(0) translateZ(-400px);opacity:0}}@keyframes arco-carousel-card-top-to-middle-reverse{0%{transform:translate(-50%) translateZ(0);opacity:1}to{transform:translate(0) translateZ(-200px);opacity:.4}}@keyframes arco-carousel-card-middle-to-top-reverse{0%{transform:translate(-100%) translateZ(-200px);opacity:.4}to{transform:translate(-50%) translateZ(0);opacity:1}}.arco-carousel{position:relative}.arco-carousel-indicator-position-outer{margin-bottom:30px}.arco-carousel-slide,.arco-carousel-card,.arco-carousel-fade{position:relative;width:100%;height:100%;overflow:hidden}.arco-carousel-slide>*,.arco-carousel-card>*,.arco-carousel-fade>*{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.arco-carousel-item-current{z-index:1}.arco-carousel-slide>*:not(.arco-carousel-item-current){display:none;visibility:hidden}.arco-carousel-slide.arco-carousel-horizontal .arco-carousel-item-slide-out{display:block;animation:arco-carousel-slide-x-out}.arco-carousel-slide.arco-carousel-horizontal .arco-carousel-item-slide-in{display:block;animation:arco-carousel-slide-x-in}.arco-carousel-slide.arco-carousel-horizontal.arco-carousel-negative .arco-carousel-item-slide-out{animation:arco-carousel-slide-x-out-reverse}.arco-carousel-slide.arco-carousel-horizontal.arco-carousel-negative .arco-carousel-item-slide-in{animation:arco-carousel-slide-x-in-reverse}.arco-carousel-slide.arco-carousel-vertical .arco-carousel-item-slide-out{display:block;animation:arco-carousel-slide-y-out}.arco-carousel-slide.arco-carousel-vertical .arco-carousel-item-slide-in{display:block;animation:arco-carousel-slide-y-in}.arco-carousel-slide.arco-carousel-vertical.arco-carousel-negative .arco-carousel-item-slide-out{animation:arco-carousel-slide-y-out-reverse}.arco-carousel-slide.arco-carousel-vertical.arco-carousel-negative .arco-carousel-item-slide-in{animation:arco-carousel-slide-y-in-reverse}.arco-carousel-card{perspective:800px}.arco-carousel-card>*{left:50%;transform:translate(-50%) translateZ(-400px);opacity:0;animation:arco-carousel-card-middle-to-bottom}.arco-carousel-card .arco-carousel-item-prev{transform:translate(-100%) translateZ(-200px);opacity:.4;animation:arco-carousel-card-top-to-middle}.arco-carousel-card .arco-carousel-item-next{transform:translate(0) translateZ(-200px);opacity:.4;animation:arco-carousel-card-bottom-to-middle}.arco-carousel-card .arco-carousel-item-current{transform:translate(-50%) translateZ(0);opacity:1;animation:arco-carousel-card-middle-to-top}.arco-carousel-card.arco-carousel-negative>*{animation:arco-carousel-card-middle-to-bottom-reverse}.arco-carousel-card.arco-carousel-negative .arco-carousel-item-prev{animation:arco-carousel-card-bottom-to-middle-reverse}.arco-carousel-card.arco-carousel-negative .arco-carousel-item-next{animation:arco-carousel-card-top-to-middle-reverse}.arco-carousel-card.arco-carousel-negative .arco-carousel-item-current{animation:arco-carousel-card-middle-to-top-reverse}.arco-carousel-fade>*{left:50%;transform:translate(-50%);opacity:0}.arco-carousel-fade .arco-carousel-item-current{opacity:1}.arco-carousel-indicator{position:absolute;display:flex;margin:0;padding:0}.arco-carousel-indicator-wrapper{position:absolute;z-index:2}.arco-carousel-indicator-wrapper-top{top:0;right:0;left:0;height:48px;background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 87%)}.arco-carousel-indicator-wrapper-bottom{right:0;bottom:0;left:0;height:48px;background:linear-gradient(180deg,rgba(0,0,0,0) 13%,rgba(0,0,0,.15) 100%)}.arco-carousel-indicator-wrapper-left{top:0;left:0;width:48px;height:100%;background:linear-gradient(90deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 87%)}.arco-carousel-indicator-wrapper-right{top:0;right:0;width:48px;height:100%;background:linear-gradient(90deg,rgba(0,0,0,0) 13%,rgba(0,0,0,.15) 100%)}.arco-carousel-indicator-wrapper-outer{right:0;left:0;background:none}.arco-carousel-indicator-bottom{bottom:12px;left:50%;transform:translate(-50%)}.arco-carousel-indicator-top{top:12px;left:50%;transform:translate(-50%)}.arco-carousel-indicator-left{top:50%;left:12px;transform:translate(-50%,-50%) rotate(90deg)}.arco-carousel-indicator-right{top:50%;right:12px;transform:translate(50%,-50%) rotate(90deg)}.arco-carousel-indicator-outer{left:50%;padding:4px;background-color:transparent;border-radius:20px;transform:translate(-50%)}.arco-carousel-indicator-outer.arco-carousel-indicator-dot{bottom:-22px}.arco-carousel-indicator-outer.arco-carousel-indicator-line{bottom:-20px}.arco-carousel-indicator-outer.arco-carousel-indicator-slider{bottom:-16px;padding:0;background-color:rgba(var(--gray-4),.5)}.arco-carousel-indicator-outer .arco-carousel-indicator-item{background-color:rgba(var(--gray-4),.5)}.arco-carousel-indicator-outer .arco-carousel-indicator-item:hover,.arco-carousel-indicator-outer .arco-carousel-indicator-item-active{background-color:var(--color-fill-4)}.arco-carousel-indicator-item{display:inline-block;background-color:#ffffff4d;border-radius:var(--border-radius-medium);cursor:pointer}.arco-carousel-indicator-item:hover,.arco-carousel-indicator-item-active{background-color:var(--color-white)}.arco-carousel-indicator-dot .arco-carousel-indicator-item{width:6px;height:6px;border-radius:50%}.arco-carousel-indicator-dot .arco-carousel-indicator-item:not(:last-child){margin-right:8px}.arco-carousel-indicator-line .arco-carousel-indicator-item{width:12px;height:4px}.arco-carousel-indicator-line .arco-carousel-indicator-item:not(:last-child){margin-right:8px}.arco-carousel-indicator-slider{width:48px;height:4px;background-color:#ffffff4d;border-radius:var(--border-radius-medium);cursor:pointer}.arco-carousel-indicator-slider .arco-carousel-indicator-item{position:absolute;top:0;height:100%;transition:left .3s}.arco-carousel-arrow>div{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--color-white);background-color:#ffffff4d;border-radius:50%;cursor:pointer}.arco-carousel-arrow>div>svg{color:var(--color-white);font-size:14px}.arco-carousel-arrow>div:hover{background-color:#ffffff80}.arco-carousel-arrow-left{top:50%;left:12px;transform:translateY(-50%)}.arco-carousel-arrow-right{top:50%;right:12px;transform:translateY(-50%)}.arco-carousel-arrow-top{top:12px;left:50%;transform:translate(-50%)}.arco-carousel-arrow-bottom{bottom:12px;left:50%;transform:translate(-50%)}.arco-carousel-arrow-hover div{opacity:0;transition:all .3s}.arco-carousel:hover .arco-carousel-arrow-hover div{opacity:1}body[arco-theme=dark] .arco-carousel-arrow>div{background-color:#17171a4d}body[arco-theme=dark] .arco-carousel-arrow>div:hover{background-color:#17171a80}body[arco-theme=dark] .arco-carousel-indicator-item,body[arco-theme=dark] .arco-carousel-indicator-slider{background-color:#17171a4d}body[arco-theme=dark] .arco-carousel-indicator-item-active,body[arco-theme=dark] .arco-carousel-indicator-item:hover{background-color:var(--color-white)}body[arco-theme=dark] .arco-carousel-indicator-outer.arco-carousel-indicator-slider{background-color:rgba(var(--gray-4),.5)}body[arco-theme=dark] .arco-carousel-indicator-outer .arco-carousel-indicator-item:hover,body[arco-theme=dark] .arco-carousel-indicator-outer .arco-carousel-indicator-item-active{background-color:var(--color-fill-4)}.arco-cascader-panel{display:inline-flex;box-sizing:border-box;height:200px;overflow:hidden;white-space:nowrap;list-style:none;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-cascader-search-panel{justify-content:flex-start;width:100%;overflow:auto}.arco-cascader-popup-trigger-hover .arco-cascader-list-item{transition:fontweight 0s}.arco-cascader-highlight{font-weight:500}.arco-cascader-panel-column{position:relative;display:inline-flex;flex-direction:column;min-width:120px;height:100%;max-height:200px;background-color:var(--color-bg-popup)}.arco-cascader-panel-column-loading{display:inline-flex;align-items:center;justify-content:center}.arco-cascader-panel-column:not(:last-of-type){border-right:1px solid var(--color-fill-3)}.arco-cascader-column-content{flex:1;max-height:200px;overflow-y:auto}.arco-cascader-list-wrapper{position:relative;display:flex;flex-direction:column;box-sizing:border-box;height:100%;padding:4px 0}.arco-cascader-list-wrapper-with-footer{padding-bottom:0}.arco-cascader-list-empty{display:flex;align-items:center;width:100%;height:100%}.arco-cascader-list{flex:1;box-sizing:border-box;margin:0;padding:0;list-style:none}.arco-cascader-list-multiple .arco-cascader-option-label,.arco-cascader-list-strictly .arco-cascader-option-label{padding-left:0}.arco-cascader-list-multiple .arco-cascader-option,.arco-cascader-list-strictly .arco-cascader-option{padding-left:12px}.arco-cascader-list-multiple .arco-cascader-option .arco-checkbox,.arco-cascader-list-strictly .arco-cascader-option .arco-checkbox,.arco-cascader-list-multiple .arco-cascader-option .arco-radio,.arco-cascader-list-strictly .arco-cascader-option .arco-radio{margin-right:8px;padding-left:0}.arco-cascader-search-list.arco-cascader-list-multiple .arco-cascader-option-label{padding-right:12px}.arco-cascader-list-footer{box-sizing:border-box;height:36px;padding-left:12px;line-height:36px;border-top:1px solid var(--color-fill-3)}.arco-cascader-option,.arco-cascader-search-option{position:relative;display:flex;box-sizing:border-box;min-width:100px;height:36px;color:var(--color-text-1);font-size:14px;line-height:36px;background-color:transparent;cursor:pointer}.arco-cascader-option-label,.arco-cascader-search-option-label{flex-grow:1;padding-right:34px;padding-left:12px}.arco-cascader-option .arco-icon-right,.arco-cascader-search-option .arco-icon-right,.arco-cascader-option .arco-icon-check,.arco-cascader-search-option .arco-icon-check{position:absolute;top:50%;right:10px;color:var(--color-text-2);font-size:12px;transform:translateY(-50%)}.arco-cascader-option .arco-icon-check,.arco-cascader-search-option .arco-icon-check{color:rgb(var(--primary-6))}.arco-cascader-option .arco-icon-loading,.arco-cascader-search-option .arco-icon-loading{position:absolute;top:50%;right:10px;margin-top:-6px;color:rgb(var(--primary-6));font-size:12px}.arco-cascader-option:hover,.arco-cascader-search-option-hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-cascader-option:hover .arco-checkbox:not(.arco-checkbox-disabled):not(.arco-checkbox-checked):hover .arco-checkbox-icon-hover:before,.arco-cascader-search-option-hover .arco-checkbox:not(.arco-checkbox-disabled):not(.arco-checkbox-checked):hover .arco-checkbox-icon-hover:before{background-color:var(--color-fill-3)}.arco-cascader-option:hover .arco-radio:not(.arco-radio-disabled):not(.arco-radio-checked):hover .arco-radio-icon-hover:before,.arco-cascader-search-option-hover .arco-radio:not(.arco-radio-disabled):not(.arco-radio-checked):hover .arco-radio-icon-hover:before{background-color:var(--color-fill-3)}.arco-cascader-option-disabled,.arco-cascader-search-option-disabled,.arco-cascader-option-disabled:hover,.arco-cascader-search-option-disabled:hover{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-cascader-option-disabled .arco-icon-right,.arco-cascader-search-option-disabled .arco-icon-right,.arco-cascader-option-disabled:hover .arco-icon-right,.arco-cascader-search-option-disabled:hover .arco-icon-right{color:inherit}.arco-cascader-option-disabled .arco-icon-check,.arco-cascader-search-option-disabled .arco-icon-check,.arco-cascader-option-disabled:hover .arco-icon-check,.arco-cascader-search-option-disabled:hover .arco-icon-check{color:var(--color-primary-light-3)}.arco-cascader-option-active{color:var(--color-text-1);background-color:var(--color-fill-2);transition:all .2s cubic-bezier(0,0,1,1)}.arco-cascader-option-active:hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-cascader-option-active.arco-cascader-option-disabled,.arco-cascader-option-active.arco-cascader-option-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2)}.cascader-slide-enter-active,.cascader-slide-leave-active{transition:margin .3s cubic-bezier(.34,.69,.1,1)}.cascader-slide-enter-from,.cascader-slide-leave-to{margin-left:-120px}.cascader-slide-enter-to,.cascader-slide-leave-from{margin-left:0}.arco-icon-hover.arco-collapse-item-icon-hover:before{width:16px;height:16px}.arco-icon-hover.arco-collapse-item-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-collapse{overflow:hidden;line-height:1.5715;border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium)}.arco-collapse-item{box-sizing:border-box;border-bottom:1px solid var(--color-border-2)}.arco-collapse-item-active>.arco-collapse-item-header{background-color:var(--color-bg-2);border-color:var(--color-neutral-3);transition:border-color 0s ease 0s}.arco-collapse-item-active>.arco-collapse-item-header .arco-collapse-item-header-title{font-weight:500}.arco-collapse-item-active>.arco-collapse-item-header .arco-collapse-item-expand-icon{transform:rotate(90deg)}.arco-collapse-item-active>.arco-collapse-item-header .arco-collapse-item-icon-right .arco-collapse-item-expand-icon{transform:rotate(-90deg)}.arco-collapse-item-header{position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding-top:8px;padding-bottom:8px;overflow:hidden;color:var(--color-text-1);font-size:14px;line-height:24px;background-color:var(--color-bg-2);border-bottom:1px solid transparent;cursor:pointer;transition:border-color 0s ease .19s}.arco-collapse-item-header-left{padding-right:13px;padding-left:34px}.arco-collapse-item-header-right{padding-right:34px;padding-left:13px}.arco-collapse-item-header-right+.arco-collapse-item-content{padding-left:13px}.arco-collapse-item-header-disabled{color:var(--color-text-4);background-color:var(--color-bg-2);cursor:not-allowed}.arco-collapse-item-header-disabled .arco-collapse-item-header-icon{color:var(--color-text-4)}.arco-collapse-item-header-title{display:inline}.arco-collapse-item-header-extra{float:right}.arco-collapse-item .arco-collapse-item-icon-hover{position:absolute;top:50%;left:13px;text-align:center;transform:translateY(-50%)}.arco-collapse-item .arco-collapse-item-icon-right{right:13px;left:unset}.arco-collapse-item .arco-collapse-item-icon-right>.arco-collapse-item-header-icon-down{transform:rotate(-90deg)}.arco-collapse-item .arco-collapse-item-expand-icon{position:relative;display:block;color:var(--color-neutral-7);font-size:14px;vertical-align:middle;transition:transform .2s cubic-bezier(.34,.69,.1,1)}.arco-collapse-item-content{position:relative;padding-right:13px;padding-left:34px;overflow:hidden;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-1)}.arco-collapse-item-content-expanded{display:block;height:auto}.arco-collapse-item-content-box{padding:8px 0}.arco-collapse-item.arco-collapse-item-disabled>.arco-collapse-item-content{color:var(--color-text-4)}.arco-collapse-item-no-icon>.arco-collapse-item-header{padding-right:13px;padding-left:13px}.arco-collapse-item:last-of-type{border-bottom:none}.arco-collapse.arco-collapse-borderless{border:none}.arco-collapse:after{display:table;clear:both;content:""}.collapse-slider-enter-from,.collapse-slider-leave-to{height:0}.collapse-slider-enter-active,.collapse-slider-leave-active{transition:height .2s cubic-bezier(.34,.69,.1,1)}.arco-comment{display:flex;flex-wrap:nowrap;font-size:14px;line-height:1.5715}.arco-comment:not(:first-of-type),.arco-comment-inner-comment{margin-top:20px}.arco-comment-inner{flex:1}.arco-comment-avatar{flex-shrink:0;margin-right:12px;cursor:pointer}.arco-comment-avatar>img{width:32px;height:32px;border-radius:var(--border-radius-circle)}.arco-comment-author{margin-right:8px;color:var(--color-text-2);font-size:14px}.arco-comment-datetime{color:var(--color-text-3);font-size:12px}.arco-comment-content{color:var(--color-text-1)}.arco-comment-title-align-right{display:flex;justify-content:space-between}.arco-comment-actions{margin-top:8px;color:var(--color-text-2);font-size:14px}.arco-comment-actions>*:not(:last-child){margin-right:8px}.arco-comment-actions-align-right{display:flex;justify-content:flex-end}.arco-picker-container,.arco-picker-range-container{box-sizing:border-box;min-height:60px;overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.arco-picker-container-shortcuts-placement-left,.arco-picker-range-container-shortcuts-placement-left,.arco-picker-container-shortcuts-placement-right,.arco-picker-range-container-shortcuts-placement-right{display:flex;align-items:flex-start}.arco-picker-container-shortcuts-placement-left>.arco-picker-shortcuts,.arco-picker-range-container-shortcuts-placement-left>.arco-picker-shortcuts,.arco-picker-container-shortcuts-placement-right>.arco-picker-shortcuts,.arco-picker-range-container-shortcuts-placement-right>.arco-picker-shortcuts{display:flex;flex-direction:column;box-sizing:border-box;padding:5px 8px;overflow-x:hidden;overflow-y:auto}.arco-picker-container-shortcuts-placement-left>.arco-picker-shortcuts>*,.arco-picker-range-container-shortcuts-placement-left>.arco-picker-shortcuts>*,.arco-picker-container-shortcuts-placement-right>.arco-picker-shortcuts>*,.arco-picker-range-container-shortcuts-placement-right>.arco-picker-shortcuts>*{margin:5px 0}.arco-picker-container-shortcuts-placement-left .arco-picker-panel-wrapper,.arco-picker-range-container-shortcuts-placement-left .arco-picker-panel-wrapper,.arco-picker-container-shortcuts-placement-left .arco-picker-range-panel-wrapper,.arco-picker-range-container-shortcuts-placement-left .arco-picker-range-panel-wrapper{border-left:1px solid var(--color-neutral-3)}.arco-picker-container-shortcuts-placement-right .arco-picker-panel-wrapper,.arco-picker-range-container-shortcuts-placement-right .arco-picker-panel-wrapper,.arco-picker-container-shortcuts-placement-right .arco-picker-range-panel-wrapper,.arco-picker-range-container-shortcuts-placement-right .arco-picker-range-panel-wrapper{border-right:1px solid var(--color-neutral-3)}.arco-picker-container-panel-only,.arco-picker-range-container-panel-only{box-shadow:none}.arco-picker-container-panel-only .arco-panel-date-inner,.arco-picker-range-container-panel-only .arco-panel-date-inner,.arco-picker-range-container-panel-only .arco-panel-date{width:100%}.arco-picker-header{display:flex;padding:8px 16px;border-bottom:1px solid var(--color-neutral-3)}.arco-picker-header-title{flex:1;color:var(--color-text-1);font-size:14px;line-height:24px;text-align:center}.arco-picker-header-icon{width:24px;height:24px;margin-right:2px;margin-left:2px;color:var(--color-text-2);font-size:12px;line-height:24px;text-align:center;background-color:var(--color-bg-popup);border-radius:50%;transition:all .1s cubic-bezier(0,0,1,1);-webkit-user-select:none;user-select:none}.arco-picker-header-icon:not(.arco-picker-header-icon-hidden){cursor:pointer}.arco-picker-header-icon:not(.arco-picker-header-icon-hidden):hover{background-color:var(--color-fill-3)}.arco-picker-header-label{padding:2px;border-radius:2px;cursor:pointer;transition:all .1s}.arco-picker-header-label:hover{background-color:var(--color-fill-3)}.arco-picker-body{padding:14px 16px}.arco-picker-week-list{display:flex;box-sizing:border-box;width:100%;padding:14px 16px 0}.arco-picker-week-list-item{flex:1;height:32px;padding:0;color:#7d7d7f;font-weight:400;line-height:32px;text-align:center}.arco-picker-row{display:flex;padding:2px 0}.arco-picker-cell{flex:1}.arco-picker-cell .arco-picker-date{display:flex;justify-content:center;box-sizing:border-box;width:100%;height:100%;padding:4px 0;cursor:pointer}.arco-picker-date-value{min-width:24px;height:24px;color:var(--color-text-4);font-size:14px;line-height:24px;text-align:center;border-radius:var(--border-radius-circle);cursor:pointer}.arco-picker-cell-in-view .arco-picker-date-value{color:var(--color-text-1);font-weight:500}.arco-picker-cell-selected .arco-picker-date-value{color:var(--color-white);background-color:rgb(var(--primary-6));transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-picker-cell-in-view:not(.arco-picker-cell-selected):not(.arco-picker-cell-range-start):not(.arco-picker-cell-range-end):not(.arco-picker-cell-disabled):not(.arco-picker-cell-week) .arco-picker-date-value:hover{color:var(--color-text-1);background-color:var(--color-fill-3)}.arco-picker-cell-today{position:relative}.arco-picker-cell-today:after{position:absolute;bottom:-2px;left:50%;display:block;width:4px;height:4px;margin-left:-2px;background-color:rgb(var(--primary-6));border-radius:50%;content:""}.arco-picker-cell-in-range .arco-picker-date{background-color:var(--color-primary-light-1)}.arco-picker-cell-range-start .arco-picker-date{border-top-left-radius:24px;border-bottom-left-radius:24px}.arco-picker-cell-range-end .arco-picker-date{border-top-right-radius:24px;border-bottom-right-radius:24px}.arco-picker-cell-in-range-near-hover .arco-picker-date{border-radius:0}.arco-picker-cell-range-start .arco-picker-date-value,.arco-picker-cell-range-end .arco-picker-date-value{color:var(--color-white);background-color:rgb(var(--primary-6));border-radius:var(--border-radius-circle)}.arco-picker-cell-hover-in-range .arco-picker-date{background-color:var(--color-primary-light-1)}.arco-picker-cell-hover-range-start .arco-picker-date{border-radius:24px 0 0 24px}.arco-picker-cell-hover-range-end .arco-picker-date{border-radius:0 24px 24px 0}.arco-picker-cell-hover-range-start .arco-picker-date-value,.arco-picker-cell-hover-range-end .arco-picker-date-value{color:var(--color-text-1);background-color:var(--color-primary-light-2);border-radius:50%}.arco-picker-cell-disabled .arco-picker-date{background-color:var(--color-fill-1);cursor:not-allowed}.arco-picker-cell-disabled .arco-picker-date-value{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-picker-footer{width:min-content;min-width:100%}.arco-picker-footer-btn-wrapper{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:3px 8px;border-top:1px solid var(--color-neutral-3)}.arco-picker-footer-btn-wrapper :only-child{margin-left:auto}.arco-picker-footer-extra-wrapper{box-sizing:border-box;padding:8px 24px;color:var(--color-text-1);font-size:12px;border-top:1px solid var(--color-neutral-3)}.arco-picker-footer-now-wrapper{box-sizing:border-box;height:36px;line-height:36px;text-align:center;border-top:1px solid var(--color-neutral-3)}.arco-picker-btn-confirm{margin:5px 0}.arco-picker-shortcuts{flex:1}.arco-picker-shortcuts>*{margin:5px 10px 5px 0}.arco-panel-date{display:flex;box-sizing:border-box}.arco-panel-date-inner{width:265px}.arco-panel-date-inner .arco-picker-body{padding-top:0}.arco-panel-date-timepicker{display:flex;flex-direction:column;border-left:1px solid var(--color-neutral-3)}.arco-panel-date-timepicker-title{width:100%;height:40px;color:var(--color-text-1);font-weight:400;font-size:14px;line-height:40px;text-align:center;border-bottom:1px solid var(--color-neutral-3)}.arco-panel-date-timepicker .arco-timepicker{height:276px;padding:0 6px;overflow:hidden}.arco-panel-date-timepicker .arco-timepicker-column{box-sizing:border-box;width:auto;height:100%;padding:0 4px}.arco-panel-date-timepicker .arco-timepicker-column::-webkit-scrollbar{width:0}.arco-panel-date-timepicker .arco-timepicker-column:not(:last-child){border-right:0}.arco-panel-date-timepicker .arco-timepicker ul:after{height:244px}.arco-panel-date-timepicker .arco-timepicker-cell{width:36px}.arco-panel-date-timepicker .arco-timepicker-cell-inner{padding-left:10px}.arco-panel-date-footer{border-right:1px solid var(--color-neutral-3)}.arco-panel-date-with-view-tabs{flex-direction:column;min-width:265px}.arco-panel-date-with-view-tabs .arco-panel-date-timepicker .arco-timepicker-column{flex:1}.arco-panel-date-with-view-tabs .arco-panel-date-timepicker .arco-timepicker-column::-webkit-scrollbar{width:0}.arco-panel-date-with-view-tabs .arco-panel-date-timepicker .arco-timepicker-cell{width:100%;text-align:center}.arco-panel-date-with-view-tabs .arco-panel-date-timepicker .arco-timepicker-cell-inner{padding-left:0}.arco-panel-date-view-tabs{display:flex;border-top:1px solid var(--color-neutral-3)}.arco-panel-date-view-tab-pane{flex:1;height:50px;color:var(--color-text-4);font-size:14px;line-height:50px;text-align:center;border-right:1px solid var(--color-neutral-3);cursor:pointer}.arco-panel-date-view-tab-pane:last-child{border-right:none}.arco-panel-date-view-tab-pane-text{margin-left:8px}.arco-panel-date-view-tab-pane-active{color:var(--color-text-1)}.arco-panel-month,.arco-panel-quarter,.arco-panel-year{box-sizing:border-box;width:265px}.arco-panel-month .arco-picker-date,.arco-panel-quarter .arco-picker-date,.arco-panel-year .arco-picker-date{padding:4px}.arco-panel-month .arco-picker-date-value,.arco-panel-quarter .arco-picker-date-value,.arco-panel-year .arco-picker-date-value{width:100%;border-radius:24px}.arco-panel-month .arco-picker-cell:not(.arco-picker-cell-selected):not(.arco-picker-cell-range-start):not(.arco-picker-cell-range-end):not(.arco-picker-cell-disabled):not(.arco-picker-cell-week) .arco-picker-date-value:hover,.arco-panel-quarter .arco-picker-cell:not(.arco-picker-cell-selected):not(.arco-picker-cell-range-start):not(.arco-picker-cell-range-end):not(.arco-picker-cell-disabled):not(.arco-picker-cell-week) .arco-picker-date-value:hover,.arco-panel-year .arco-picker-cell:not(.arco-picker-cell-selected):not(.arco-picker-cell-range-start):not(.arco-picker-cell-range-end):not(.arco-picker-cell-disabled):not(.arco-picker-cell-week) .arco-picker-date-value:hover{border-radius:24px}.arco-panel-year{box-sizing:border-box;width:265px}.arco-panel-week{box-sizing:border-box}.arco-panel-week-wrapper{display:flex}.arco-panel-week-inner{width:298px}.arco-panel-week-inner .arco-picker-body{padding-top:0}.arco-panel-week .arco-picker-row-week{cursor:pointer}.arco-panel-week .arco-picker-row-week .arco-picker-date-value{width:100%;border-radius:0}.arco-panel-week .arco-picker-cell .arco-picker-date{border-radius:0}.arco-panel-week .arco-picker-cell:nth-child(2) .arco-picker-date{padding-left:4px;border-top-left-radius:24px;border-bottom-left-radius:24px}.arco-panel-week .arco-picker-cell:nth-child(2) .arco-picker-date .arco-picker-date-value{border-top-left-radius:24px;border-bottom-left-radius:24px}.arco-panel-week .arco-picker-cell:nth-child(8) .arco-picker-date{padding-right:4px;border-top-right-radius:24px;border-bottom-right-radius:24px}.arco-panel-week .arco-picker-cell:nth-child(8) .arco-picker-date .arco-picker-date-value{border-top-right-radius:24px;border-bottom-right-radius:24px}.arco-panel-week .arco-picker-row-week:hover .arco-picker-cell:not(.arco-picker-cell-week):not(.arco-picker-cell-selected):not(.arco-picker-cell-range-start):not(.arco-picker-cell-range-end) .arco-picker-date-value{background-color:var(--color-fill-3)}.arco-panel-quarter{box-sizing:border-box;width:265px}.arco-picker-range-wrapper{display:flex}.arco-datepicker-shortcuts-wrapper{box-sizing:border-box;width:106px;height:100%;max-height:300px;margin:10px 0 0;padding:0;overflow-y:auto;list-style:none}.arco-datepicker-shortcuts-wrapper>li{box-sizing:border-box;width:100%;padding:6px 16px;cursor:pointer}.arco-datepicker-shortcuts-wrapper>li:hover{color:rgb(var(--primary-6))}.arco-descriptions-table{width:100%;border-collapse:collapse}.arco-descriptions-table-layout-fixed table{table-layout:fixed}.arco-descriptions-title{margin-bottom:16px;color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5715}.arco-descriptions-item,.arco-descriptions-item-label,.arco-descriptions-item-value{box-sizing:border-box;font-size:14px;line-height:1.5715;text-align:left}.arco-descriptions-table-layout-fixed .arco-descriptions-item-label{width:auto}.arco-descriptions-item-label-block{width:1px;padding:0 4px 12px 0;color:var(--color-text-3);font-weight:500;white-space:nowrap}.arco-descriptions-item-value-block{padding:0 4px 12px 0;color:var(--color-text-1);font-weight:400;white-space:pre-wrap;word-break:break-word}.arco-descriptions-item-label-inline,.arco-descriptions-item-value-inline{box-sizing:border-box;font-size:14px;line-height:1.5715;text-align:left}.arco-descriptions-item-label-inline{margin-bottom:2px;color:var(--color-text-3);font-weight:500}.arco-descriptions-item-value-inline{color:var(--color-text-1);font-weight:400}.arco-descriptions-layout-inline-horizontal .arco-descriptions-item-label-inline{margin-right:4px}.arco-descriptions-layout-inline-horizontal .arco-descriptions-item-label-inline,.arco-descriptions-layout-inline-horizontal .arco-descriptions-item-value-inline{display:inline-block;margin-bottom:0}.arco-descriptions-border.arco-descriptions-layout-inline-vertical .arco-descriptions-item{padding:12px 20px}.arco-descriptions-border .arco-descriptions-body{overflow:hidden;border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium)}.arco-descriptions-border .arco-descriptions-row:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.arco-descriptions-border .arco-descriptions-item,.arco-descriptions-border .arco-descriptions-item-label-block,.arco-descriptions-border .arco-descriptions-item-value-block{padding:7px 20px;border-right:1px solid var(--color-neutral-3)}.arco-descriptions-border .arco-descriptions-item-label-block{background-color:var(--color-fill-1)}.arco-descriptions-border .arco-descriptions-item-value-block:last-child{border-right:none}.arco-descriptions-border .arco-descriptions-item:last-child{border-right:none}.arco-descriptions-border.arco-descriptions-layout-vertical .arco-descriptions-item-label-block:last-child{border-right:none}.arco-descriptions-layout-vertical:not(.arco-descriptions-border) .arco-descriptions-item-value-block:first-child{padding-left:0}.arco-descriptions-size-mini .arco-descriptions-title{margin-bottom:6px}.arco-descriptions-size-mini .arco-descriptions-item-label-block,.arco-descriptions-size-mini .arco-descriptions-item-value-block{padding-right:20px;padding-bottom:2px;font-size:12px}.arco-descriptions-size-mini.arco-descriptions-border .arco-descriptions-item-label-block,.arco-descriptions-size-mini.arco-descriptions-border .arco-descriptions-item-value-block{padding:3px 20px}.arco-descriptions-size-mini.arco-descriptions-border.arco-descriptions-layout-inline-vertical .arco-descriptions-item{padding:8px 20px}.arco-descriptions-size-small .arco-descriptions-title{margin-bottom:8px}.arco-descriptions-size-small .arco-descriptions-item-label-block,.arco-descriptions-size-small .arco-descriptions-item-value-block{padding-right:20px;padding-bottom:4px;font-size:14px}.arco-descriptions-size-small.arco-descriptions-border .arco-descriptions-item-label-block,.arco-descriptions-size-small.arco-descriptions-border .arco-descriptions-item-value-block{padding:3px 20px}.arco-descriptions-size-small.arco-descriptions-border.arco-descriptions-layout-inline-vertical .arco-descriptions-item{padding:8px 20px}.arco-descriptions-size-medium .arco-descriptions-title{margin-bottom:12px}.arco-descriptions-size-medium .arco-descriptions-item-label-block,.arco-descriptions-size-medium .arco-descriptions-item-value-block{padding-right:20px;padding-bottom:8px;font-size:14px}.arco-descriptions-size-medium.arco-descriptions-border .arco-descriptions-item-label-block,.arco-descriptions-size-medium.arco-descriptions-border .arco-descriptions-item-value-block{padding:5px 20px}.arco-descriptions-size-medium.arco-descriptions-border.arco-descriptions-layout-inline-vertical .arco-descriptions-item{padding:10px 20px}.arco-descriptions-size-large .arco-descriptions-title{margin-bottom:20px}.arco-descriptions-size-large .arco-descriptions-item-label-block,.arco-descriptions-size-large .arco-descriptions-item-value-block{padding-right:20px;padding-bottom:16px;font-size:14px}.arco-descriptions-size-large.arco-descriptions-border .arco-descriptions-item-label-block,.arco-descriptions-size-large.arco-descriptions-border .arco-descriptions-item-value-block{padding:9px 20px}.arco-descriptions-size-large.arco-descriptions-border.arco-descriptions-layout-inline-vertical .arco-descriptions-item{padding:14px 20px}.arco-drawer-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1001}.arco-drawer-mask{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--color-mask-bg)}.arco-drawer{position:absolute;display:flex;flex-direction:column;width:100%;height:100%;overflow:auto;line-height:1.5715;background-color:var(--color-bg-3)}.arco-drawer-header{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;width:100%;height:48px;padding:0 16px;border-bottom:1px solid var(--color-neutral-3)}.arco-drawer-header .arco-drawer-title{margin-right:auto;color:var(--color-text-1);font-weight:500;font-size:16px;text-align:left}.arco-drawer-header .arco-drawer-close-btn{margin-left:8px;color:var(--color-text-1);font-size:12px;cursor:pointer}.arco-drawer-footer{flex-shrink:0;box-sizing:border-box;padding:16px;text-align:right;border-top:1px solid var(--color-neutral-3)}.arco-drawer-footer>.arco-btn{margin-left:12px}.arco-drawer-body{position:relative;flex:1;box-sizing:border-box;height:100%;padding:12px 16px;overflow:auto;color:var(--color-text-1)}.fade-drawer-enter-from,.fade-drawer-appear-from{opacity:0}.fade-drawer-enter-to,.fade-drawer-appear-to{opacity:1}.fade-drawer-enter-active,.fade-drawer-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-drawer-leave-from{opacity:1}.fade-drawer-leave-to{opacity:0}.fade-drawer-leave-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.slide-left-drawer-enter-from,.slide-left-drawer-appear-from{transform:translate(-100%)}.slide-left-drawer-enter-to,.slide-left-drawer-appear-to{transform:translate(0)}.slide-left-drawer-enter-active,.slide-left-drawer-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-left-drawer-leave-from{transform:translate(0)}.slide-left-drawer-leave-to{transform:translate(-100%)}.slide-left-drawer-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-drawer-enter-from,.slide-right-drawer-appear-from{transform:translate(100%)}.slide-right-drawer-enter-to,.slide-right-drawer-appear-to{transform:translate(0)}.slide-right-drawer-enter-active,.slide-right-drawer-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-drawer-leave-from{transform:translate(0)}.slide-right-drawer-leave-to{transform:translate(100%)}.slide-right-drawer-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-drawer-enter,.slide-top-drawer-appear,.slide-top-drawer-enter-from,.slide-top-drawer-appear-from{transform:translateY(-100%)}.slide-top-drawer-enter-to,.slide-top-drawer-appear-to{transform:translateY(0)}.slide-top-drawer-enter-active,.slide-top-drawer-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-drawer-leave-from{transform:translateY(0)}.slide-top-drawer-leave-to{transform:translateY(-100%)}.slide-top-drawer-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-drawer-enter-from,.slide-bottom-drawer-appear-from{transform:translateY(100%)}.slide-bottom-drawer-enter-to,.slide-bottom-drawer-appear-to{transform:translateY(0)}.slide-bottom-drawer-enter-active,.slide-bottom-drawer-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-drawer-leave-from{transform:translateY(0)}.slide-bottom-drawer-leave-to{transform:translateY(100%)}.slide-bottom-drawer-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.arco-form-item-status-validating .arco-input-wrapper:not(.arco-input-disabled),.arco-form-item-status-validating .arco-textarea-wrapper:not(.arco-textarea-disabled){background-color:var(--color-fill-2);border-color:transparent}.arco-form-item-status-validating .arco-input-wrapper:not(.arco-input-disabled):hover,.arco-form-item-status-validating .arco-textarea-wrapper:not(.arco-textarea-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.arco-form-item-status-validating .arco-input-wrapper:not(.arco-input-disabled).arco-input-focus,.arco-form-item-status-validating .arco-textarea-wrapper:not(.arco-textarea-disabled).arco-textarea-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-form-item-status-validating .arco-select-view:not(.arco-select-view-disabled),.arco-form-item-status-validating .arco-input-tag:not(.arco-input-tag-disabled){background-color:var(--color-fill-2);border-color:transparent}.arco-form-item-status-validating .arco-select-view:not(.arco-select-view-disabled):hover,.arco-form-item-status-validating .arco-input-tag:not(.arco-input-tag-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.arco-form-item-status-validating .arco-select-view:not(.arco-select-view-disabled).arco-select-view-focus,.arco-form-item-status-validating .arco-input-tag:not(.arco-input-tag-disabled).arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-form-item-status-validating .arco-picker:not(.arco-picker-disabled){border-color:transparent;background-color:var(--color-fill-2)}.arco-form-item-status-validating .arco-picker:not(.arco-picker-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.arco-form-item-status-validating .arco-picker-focused:not(.arco-picker-disabled),.arco-form-item-status-validating .arco-picker-focused:not(.arco-picker-disabled):hover{border-color:rgb(var(--primary-6));background-color:var(--color-bg-2);box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-form-item-status-validating .arco-form-item-message-help,.arco-form-item-status-validating .arco-form-item-feedback{color:rgb(var(--primary-6))}.arco-form-item-status-success .arco-input-wrapper:not(.arco-input-disabled),.arco-form-item-status-success .arco-textarea-wrapper:not(.arco-textarea-disabled){background-color:var(--color-fill-2);border-color:transparent}.arco-form-item-status-success .arco-input-wrapper:not(.arco-input-disabled):hover,.arco-form-item-status-success .arco-textarea-wrapper:not(.arco-textarea-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.arco-form-item-status-success .arco-input-wrapper:not(.arco-input-disabled).arco-input-focus,.arco-form-item-status-success .arco-textarea-wrapper:not(.arco-textarea-disabled).arco-textarea-focus{background-color:var(--color-bg-2);border-color:rgb(var(--success-6));box-shadow:0 0 0 0 var(--color-success-light-2)}.arco-form-item-status-success .arco-select-view:not(.arco-select-view-disabled),.arco-form-item-status-success .arco-input-tag:not(.arco-input-tag-disabled){background-color:var(--color-fill-2);border-color:transparent}.arco-form-item-status-success .arco-select-view:not(.arco-select-view-disabled):hover,.arco-form-item-status-success .arco-input-tag:not(.arco-input-tag-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.arco-form-item-status-success .arco-select-view:not(.arco-select-view-disabled).arco-select-view-focus,.arco-form-item-status-success .arco-input-tag:not(.arco-input-tag-disabled).arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--success-6));box-shadow:0 0 0 0 var(--color-success-light-2)}.arco-form-item-status-success .arco-picker:not(.arco-picker-disabled){border-color:transparent;background-color:var(--color-fill-2)}.arco-form-item-status-success .arco-picker:not(.arco-picker-disabled):hover{border-color:transparent;background-color:var(--color-fill-3)}.arco-form-item-status-success .arco-picker-focused:not(.arco-picker-disabled),.arco-form-item-status-success .arco-picker-focused:not(.arco-picker-disabled):hover{border-color:rgb(var(--success-6));background-color:var(--color-bg-2);box-shadow:0 0 0 0 var(--color-success-light-2)}.arco-form-item-status-success .arco-form-item-message-help,.arco-form-item-status-success .arco-form-item-feedback{color:rgb(var(--success-6))}.arco-form-item-status-warning .arco-input-wrapper:not(.arco-input-disabled),.arco-form-item-status-warning .arco-textarea-wrapper:not(.arco-textarea-disabled){background-color:var(--color-warning-light-1);border-color:transparent}.arco-form-item-status-warning .arco-input-wrapper:not(.arco-input-disabled):hover,.arco-form-item-status-warning .arco-textarea-wrapper:not(.arco-textarea-disabled):hover{background-color:var(--color-warning-light-2);border-color:transparent}.arco-form-item-status-warning .arco-input-wrapper:not(.arco-input-disabled).arco-input-focus,.arco-form-item-status-warning .arco-textarea-wrapper:not(.arco-textarea-disabled).arco-textarea-focus{background-color:var(--color-bg-2);border-color:rgb(var(--warning-6));box-shadow:0 0 0 0 var(--color-warning-light-2)}.arco-form-item-status-warning .arco-select-view:not(.arco-select-view-disabled),.arco-form-item-status-warning .arco-input-tag:not(.arco-input-tag-disabled){background-color:var(--color-warning-light-1);border-color:transparent}.arco-form-item-status-warning .arco-select-view:not(.arco-select-view-disabled):hover,.arco-form-item-status-warning .arco-input-tag:not(.arco-input-tag-disabled):hover{background-color:var(--color-warning-light-2);border-color:transparent}.arco-form-item-status-warning .arco-select-view:not(.arco-select-view-disabled).arco-select-view-focus,.arco-form-item-status-warning .arco-input-tag:not(.arco-input-tag-disabled).arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--warning-6));box-shadow:0 0 0 0 var(--color-warning-light-2)}.arco-form-item-status-warning .arco-picker:not(.arco-picker-disabled){border-color:transparent;background-color:var(--color-warning-light-1)}.arco-form-item-status-warning .arco-picker:not(.arco-picker-disabled):hover{border-color:transparent;background-color:var(--color-warning-light-2)}.arco-form-item-status-warning .arco-picker-focused:not(.arco-picker-disabled),.arco-form-item-status-warning .arco-picker-focused:not(.arco-picker-disabled):hover{border-color:rgb(var(--warning-6));background-color:var(--color-bg-2);box-shadow:0 0 0 0 var(--color-warning-light-2)}.arco-form-item-status-warning .arco-form-item-message-help,.arco-form-item-status-warning .arco-form-item-feedback{color:rgb(var(--warning-6))}.arco-form-item-status-error .arco-input-wrapper:not(.arco-input-disabled),.arco-form-item-status-error .arco-textarea-wrapper:not(.arco-textarea-disabled){background-color:var(--color-danger-light-1);border-color:transparent}.arco-form-item-status-error .arco-input-wrapper:not(.arco-input-disabled):hover,.arco-form-item-status-error .arco-textarea-wrapper:not(.arco-textarea-disabled):hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-form-item-status-error .arco-input-wrapper:not(.arco-input-disabled).arco-input-focus,.arco-form-item-status-error .arco-textarea-wrapper:not(.arco-textarea-disabled).arco-textarea-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-form-item-status-error .arco-select-view:not(.arco-select-view-disabled),.arco-form-item-status-error .arco-input-tag:not(.arco-input-tag-disabled){background-color:var(--color-danger-light-1);border-color:transparent}.arco-form-item-status-error .arco-select-view:not(.arco-select-view-disabled):hover,.arco-form-item-status-error .arco-input-tag:not(.arco-input-tag-disabled):hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-form-item-status-error .arco-select-view:not(.arco-select-view-disabled).arco-select-view-focus,.arco-form-item-status-error .arco-input-tag:not(.arco-input-tag-disabled).arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-form-item-status-error .arco-picker:not(.arco-picker-disabled){border-color:transparent;background-color:var(--color-danger-light-1)}.arco-form-item-status-error .arco-picker:not(.arco-picker-disabled):hover{border-color:transparent;background-color:var(--color-danger-light-2)}.arco-form-item-status-error .arco-picker-focused:not(.arco-picker-disabled),.arco-form-item-status-error .arco-picker-focused:not(.arco-picker-disabled):hover{border-color:rgb(var(--danger-6));background-color:var(--color-bg-2);box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-form-item-status-error .arco-form-item-message-help,.arco-form-item-status-error .arco-form-item-feedback{color:rgb(var(--danger-6))}.arco-form-item-control-children{position:relative}.arco-form-item-feedback{position:absolute;top:50%;right:9px;font-size:14px;transform:translateY(-50%)}.arco-form-item-feedback .arco-icon-loading{font-size:12px}.arco-form-item-has-feedback .arco-input,.arco-form-item-has-feedback .arco-input-inner-wrapper,.arco-form-item-has-feedback .arco-textarea{padding-right:28px}.arco-form-item-has-feedback .arco-input-number-mode-embed .arco-input-number-step-layer{right:24px}.arco-form-item-has-feedback .arco-select.arco-select-multiple .arco-select-view,.arco-form-item-has-feedback .arco-select.arco-select-single .arco-select-view{padding-right:28px}.arco-form-item-has-feedback .arco-select.arco-select-multiple .arco-select-suffix{padding-right:0}.arco-form-item-has-feedback .arco-cascader.arco-cascader-multiple .arco-cascader-view,.arco-form-item-has-feedback .arco-cascader.arco-cascader-single .arco-cascader-view{padding-right:28px}.arco-form-item-has-feedback .arco-cascader.arco-cascader-multiple .arco-cascader-suffix{padding-right:0}.arco-form-item-has-feedback .arco-tree-select.arco-tree-select-multiple .arco-tree-select-view,.arco-form-item-has-feedback .arco-tree-select.arco-tree-select-single .arco-tree-select-view{padding-right:28px}.arco-form-item-has-feedback .arco-tree-select.arco-tree-select-multiple .arco-tree-select-suffix{padding-right:0}.arco-form-item-has-feedback .arco-picker{padding-right:28px}.arco-form-item-has-feedback .arco-picker-suffix .arco-picker-suffix-icon,.arco-form-item-has-feedback .arco-picker-suffix .arco-picker-clear-icon{margin-right:0;margin-left:0}.arco-form{display:flex;flex-direction:column;width:100%}.arco-form-layout-inline{flex-direction:row;flex-wrap:wrap}.arco-form-layout-inline .arco-form-item{width:auto;margin-bottom:8px}.arco-form-auto-label-width .arco-form-item-label-col>.arco-form-item-label{white-space:nowrap}.arco-form-item{display:flex;align-items:flex-start;justify-content:flex-start;width:100%;margin-bottom:20px}.arco-form-item-layout-vertical{display:block}.arco-form-item-layout-vertical>.arco-form-item-label-col{justify-content:flex-start;margin-bottom:8px;padding:0;line-height:1.5715;white-space:normal}.arco-form-item-layout-inline{margin-right:24px}.arco-form-item-label-col{padding-right:16px}.arco-form-item.arco-form-item-error,.arco-form-item.arco-form-item-has-help{margin-bottom:0}.arco-form-item-wrapper-flex.arco-col{flex:1}.arco-form-size-mini .arco-form-item-label-col{line-height:24px}.arco-form-size-mini .arco-form-item-label-col>.arco-form-item-label{font-size:12px}.arco-form-size-mini .arco-form-item-content,.arco-form-size-mini .arco-form-item-wrapper-col{min-height:24px}.arco-form-size-small .arco-form-item-label-col{line-height:28px}.arco-form-size-small .arco-form-item-label-col>.arco-form-item-label{font-size:14px}.arco-form-size-small .arco-form-item-content,.arco-form-size-small .arco-form-item-wrapper-col{min-height:28px}.arco-form-size-large .arco-form-item-label-col{line-height:36px}.arco-form-size-large .arco-form-item-label-col>.arco-form-item-label{font-size:14px}.arco-form-size-large .arco-form-item-content,.arco-form-size-large .arco-form-item-wrapper-col{min-height:36px}.arco-form-item-extra{margin-top:4px;color:var(--color-text-3);font-size:12px}.arco-form-item-message{min-height:20px;color:rgb(var(--danger-6));font-size:12px;line-height:20px}.arco-form-item-message-help{color:var(--color-text-3)}.arco-form-item-message+.arco-form-item-extra{margin-top:0;margin-bottom:4px}.arco-form-item-label-col{display:flex;flex-shrink:0;justify-content:flex-end;line-height:32px;white-space:nowrap}.arco-form-item-label-col-left{justify-content:flex-start}.arco-form-item-label-col>.arco-form-item-label{max-width:100%;color:var(--color-text-2);font-size:14px;white-space:normal}.arco-form-item-label-col.arco-form-item-label-col-flex{box-sizing:content-box}.arco-form-item-wrapper-col{display:flex;flex-direction:column;align-items:flex-start;width:100%;min-width:0;min-height:32px}.arco-form-item-content{flex:1;max-width:100%;min-height:32px}.arco-form-item-content-wrapper{display:flex;align-items:center;justify-content:flex-start;width:100%}.arco-form-item-content-flex{display:flex;align-items:center;justify-content:flex-start}.arco-form .arco-slider{display:block}.arco-form-item-label-required-symbol{color:rgb(var(--danger-6));font-size:12px;line-height:1}.arco-form-item-label-required-symbol svg{display:inline-block;transform:scale(.5)}.arco-form-item-label-tooltip{margin-left:4px;color:var(--color-text-4)}.form-blink-enter-from,.form-blink-appear-from{opacity:0}.form-blink-enter-to,.form-blink-appear-to{opacity:1}.form-blink-enter-active,.form-blink-appear-active{transition:opacity .3s cubic-bezier(0,0,1,1);animation:arco-form-blink .5s cubic-bezier(0,0,1,1)}@keyframes arco-form-blink{0%{opacity:1}50%{opacity:.2}to{opacity:1}}.arco-row{display:flex;flex-flow:row wrap}.arco-row-nowrap{flex-wrap:nowrap}.arco-row-align-start{align-items:flex-start}.arco-row-align-center{align-items:center}.arco-row-align-end{align-items:flex-end}.arco-row-justify-start{justify-content:flex-start}.arco-row-justify-center{justify-content:center}.arco-row-justify-end{justify-content:flex-end}.arco-row-justify-space-around{justify-content:space-around}.arco-row-justify-space-between{justify-content:space-between}.arco-col{box-sizing:border-box}.arco-col-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-3{flex:0 0 12.5%;width:12.5%}.arco-col-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-6{flex:0 0 25%;width:25%}.arco-col-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-9{flex:0 0 37.5%;width:37.5%}.arco-col-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-12{flex:0 0 50%;width:50%}.arco-col-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-15{flex:0 0 62.5%;width:62.5%}.arco-col-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-18{flex:0 0 75%;width:75%}.arco-col-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-21{flex:0 0 87.5%;width:87.5%}.arco-col-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-24{flex:0 0 100%;width:100%}.arco-col-offset-1{margin-left:4.16666667%}.arco-col-offset-2{margin-left:8.33333333%}.arco-col-offset-3{margin-left:12.5%}.arco-col-offset-4{margin-left:16.66666667%}.arco-col-offset-5{margin-left:20.83333333%}.arco-col-offset-6{margin-left:25%}.arco-col-offset-7{margin-left:29.16666667%}.arco-col-offset-8{margin-left:33.33333333%}.arco-col-offset-9{margin-left:37.5%}.arco-col-offset-10{margin-left:41.66666667%}.arco-col-offset-11{margin-left:45.83333333%}.arco-col-offset-12{margin-left:50%}.arco-col-offset-13{margin-left:54.16666667%}.arco-col-offset-14{margin-left:58.33333333%}.arco-col-offset-15{margin-left:62.5%}.arco-col-offset-16{margin-left:66.66666667%}.arco-col-offset-17{margin-left:70.83333333%}.arco-col-offset-18{margin-left:75%}.arco-col-offset-19{margin-left:79.16666667%}.arco-col-offset-20{margin-left:83.33333333%}.arco-col-offset-21{margin-left:87.5%}.arco-col-offset-22{margin-left:91.66666667%}.arco-col-offset-23{margin-left:95.83333333%}.arco-col-order-1{order:1}.arco-col-order-2{order:2}.arco-col-order-3{order:3}.arco-col-order-4{order:4}.arco-col-order-5{order:5}.arco-col-order-6{order:6}.arco-col-order-7{order:7}.arco-col-order-8{order:8}.arco-col-order-9{order:9}.arco-col-order-10{order:10}.arco-col-order-11{order:11}.arco-col-order-12{order:12}.arco-col-order-13{order:13}.arco-col-order-14{order:14}.arco-col-order-15{order:15}.arco-col-order-16{order:16}.arco-col-order-17{order:17}.arco-col-order-18{order:18}.arco-col-order-19{order:19}.arco-col-order-20{order:20}.arco-col-order-21{order:21}.arco-col-order-22{order:22}.arco-col-order-23{order:23}.arco-col-order-24{order:24}.arco-col-xs-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-xs-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-xs-3{flex:0 0 12.5%;width:12.5%}.arco-col-xs-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-xs-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-xs-6{flex:0 0 25%;width:25%}.arco-col-xs-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-xs-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-xs-9{flex:0 0 37.5%;width:37.5%}.arco-col-xs-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-xs-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-xs-12{flex:0 0 50%;width:50%}.arco-col-xs-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-xs-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-xs-15{flex:0 0 62.5%;width:62.5%}.arco-col-xs-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-xs-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-xs-18{flex:0 0 75%;width:75%}.arco-col-xs-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-xs-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-xs-21{flex:0 0 87.5%;width:87.5%}.arco-col-xs-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-xs-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-xs-24{flex:0 0 100%;width:100%}.arco-col-xs-offset-1{margin-left:4.16666667%}.arco-col-xs-offset-2{margin-left:8.33333333%}.arco-col-xs-offset-3{margin-left:12.5%}.arco-col-xs-offset-4{margin-left:16.66666667%}.arco-col-xs-offset-5{margin-left:20.83333333%}.arco-col-xs-offset-6{margin-left:25%}.arco-col-xs-offset-7{margin-left:29.16666667%}.arco-col-xs-offset-8{margin-left:33.33333333%}.arco-col-xs-offset-9{margin-left:37.5%}.arco-col-xs-offset-10{margin-left:41.66666667%}.arco-col-xs-offset-11{margin-left:45.83333333%}.arco-col-xs-offset-12{margin-left:50%}.arco-col-xs-offset-13{margin-left:54.16666667%}.arco-col-xs-offset-14{margin-left:58.33333333%}.arco-col-xs-offset-15{margin-left:62.5%}.arco-col-xs-offset-16{margin-left:66.66666667%}.arco-col-xs-offset-17{margin-left:70.83333333%}.arco-col-xs-offset-18{margin-left:75%}.arco-col-xs-offset-19{margin-left:79.16666667%}.arco-col-xs-offset-20{margin-left:83.33333333%}.arco-col-xs-offset-21{margin-left:87.5%}.arco-col-xs-offset-22{margin-left:91.66666667%}.arco-col-xs-offset-23{margin-left:95.83333333%}.arco-col-xs-order-1{order:1}.arco-col-xs-order-2{order:2}.arco-col-xs-order-3{order:3}.arco-col-xs-order-4{order:4}.arco-col-xs-order-5{order:5}.arco-col-xs-order-6{order:6}.arco-col-xs-order-7{order:7}.arco-col-xs-order-8{order:8}.arco-col-xs-order-9{order:9}.arco-col-xs-order-10{order:10}.arco-col-xs-order-11{order:11}.arco-col-xs-order-12{order:12}.arco-col-xs-order-13{order:13}.arco-col-xs-order-14{order:14}.arco-col-xs-order-15{order:15}.arco-col-xs-order-16{order:16}.arco-col-xs-order-17{order:17}.arco-col-xs-order-18{order:18}.arco-col-xs-order-19{order:19}.arco-col-xs-order-20{order:20}.arco-col-xs-order-21{order:21}.arco-col-xs-order-22{order:22}.arco-col-xs-order-23{order:23}.arco-col-xs-order-24{order:24}@media (min-width:576px){.arco-col-sm-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-sm-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-sm-3{flex:0 0 12.5%;width:12.5%}.arco-col-sm-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-sm-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-sm-6{flex:0 0 25%;width:25%}.arco-col-sm-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-sm-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-sm-9{flex:0 0 37.5%;width:37.5%}.arco-col-sm-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-sm-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-sm-12{flex:0 0 50%;width:50%}.arco-col-sm-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-sm-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-sm-15{flex:0 0 62.5%;width:62.5%}.arco-col-sm-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-sm-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-sm-18{flex:0 0 75%;width:75%}.arco-col-sm-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-sm-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-sm-21{flex:0 0 87.5%;width:87.5%}.arco-col-sm-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-sm-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-sm-24{flex:0 0 100%;width:100%}.arco-col-sm-offset-1{margin-left:4.16666667%}.arco-col-sm-offset-2{margin-left:8.33333333%}.arco-col-sm-offset-3{margin-left:12.5%}.arco-col-sm-offset-4{margin-left:16.66666667%}.arco-col-sm-offset-5{margin-left:20.83333333%}.arco-col-sm-offset-6{margin-left:25%}.arco-col-sm-offset-7{margin-left:29.16666667%}.arco-col-sm-offset-8{margin-left:33.33333333%}.arco-col-sm-offset-9{margin-left:37.5%}.arco-col-sm-offset-10{margin-left:41.66666667%}.arco-col-sm-offset-11{margin-left:45.83333333%}.arco-col-sm-offset-12{margin-left:50%}.arco-col-sm-offset-13{margin-left:54.16666667%}.arco-col-sm-offset-14{margin-left:58.33333333%}.arco-col-sm-offset-15{margin-left:62.5%}.arco-col-sm-offset-16{margin-left:66.66666667%}.arco-col-sm-offset-17{margin-left:70.83333333%}.arco-col-sm-offset-18{margin-left:75%}.arco-col-sm-offset-19{margin-left:79.16666667%}.arco-col-sm-offset-20{margin-left:83.33333333%}.arco-col-sm-offset-21{margin-left:87.5%}.arco-col-sm-offset-22{margin-left:91.66666667%}.arco-col-sm-offset-23{margin-left:95.83333333%}.arco-col-sm-order-1{order:1}.arco-col-sm-order-2{order:2}.arco-col-sm-order-3{order:3}.arco-col-sm-order-4{order:4}.arco-col-sm-order-5{order:5}.arco-col-sm-order-6{order:6}.arco-col-sm-order-7{order:7}.arco-col-sm-order-8{order:8}.arco-col-sm-order-9{order:9}.arco-col-sm-order-10{order:10}.arco-col-sm-order-11{order:11}.arco-col-sm-order-12{order:12}.arco-col-sm-order-13{order:13}.arco-col-sm-order-14{order:14}.arco-col-sm-order-15{order:15}.arco-col-sm-order-16{order:16}.arco-col-sm-order-17{order:17}.arco-col-sm-order-18{order:18}.arco-col-sm-order-19{order:19}.arco-col-sm-order-20{order:20}.arco-col-sm-order-21{order:21}.arco-col-sm-order-22{order:22}.arco-col-sm-order-23{order:23}.arco-col-sm-order-24{order:24}}@media (min-width:768px){.arco-col-md-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-md-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-md-3{flex:0 0 12.5%;width:12.5%}.arco-col-md-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-md-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-md-6{flex:0 0 25%;width:25%}.arco-col-md-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-md-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-md-9{flex:0 0 37.5%;width:37.5%}.arco-col-md-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-md-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-md-12{flex:0 0 50%;width:50%}.arco-col-md-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-md-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-md-15{flex:0 0 62.5%;width:62.5%}.arco-col-md-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-md-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-md-18{flex:0 0 75%;width:75%}.arco-col-md-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-md-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-md-21{flex:0 0 87.5%;width:87.5%}.arco-col-md-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-md-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-md-24{flex:0 0 100%;width:100%}.arco-col-md-offset-1{margin-left:4.16666667%}.arco-col-md-offset-2{margin-left:8.33333333%}.arco-col-md-offset-3{margin-left:12.5%}.arco-col-md-offset-4{margin-left:16.66666667%}.arco-col-md-offset-5{margin-left:20.83333333%}.arco-col-md-offset-6{margin-left:25%}.arco-col-md-offset-7{margin-left:29.16666667%}.arco-col-md-offset-8{margin-left:33.33333333%}.arco-col-md-offset-9{margin-left:37.5%}.arco-col-md-offset-10{margin-left:41.66666667%}.arco-col-md-offset-11{margin-left:45.83333333%}.arco-col-md-offset-12{margin-left:50%}.arco-col-md-offset-13{margin-left:54.16666667%}.arco-col-md-offset-14{margin-left:58.33333333%}.arco-col-md-offset-15{margin-left:62.5%}.arco-col-md-offset-16{margin-left:66.66666667%}.arco-col-md-offset-17{margin-left:70.83333333%}.arco-col-md-offset-18{margin-left:75%}.arco-col-md-offset-19{margin-left:79.16666667%}.arco-col-md-offset-20{margin-left:83.33333333%}.arco-col-md-offset-21{margin-left:87.5%}.arco-col-md-offset-22{margin-left:91.66666667%}.arco-col-md-offset-23{margin-left:95.83333333%}.arco-col-md-order-1{order:1}.arco-col-md-order-2{order:2}.arco-col-md-order-3{order:3}.arco-col-md-order-4{order:4}.arco-col-md-order-5{order:5}.arco-col-md-order-6{order:6}.arco-col-md-order-7{order:7}.arco-col-md-order-8{order:8}.arco-col-md-order-9{order:9}.arco-col-md-order-10{order:10}.arco-col-md-order-11{order:11}.arco-col-md-order-12{order:12}.arco-col-md-order-13{order:13}.arco-col-md-order-14{order:14}.arco-col-md-order-15{order:15}.arco-col-md-order-16{order:16}.arco-col-md-order-17{order:17}.arco-col-md-order-18{order:18}.arco-col-md-order-19{order:19}.arco-col-md-order-20{order:20}.arco-col-md-order-21{order:21}.arco-col-md-order-22{order:22}.arco-col-md-order-23{order:23}.arco-col-md-order-24{order:24}}@media (min-width:992px){.arco-col-lg-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-lg-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-lg-3{flex:0 0 12.5%;width:12.5%}.arco-col-lg-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-lg-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-lg-6{flex:0 0 25%;width:25%}.arco-col-lg-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-lg-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-lg-9{flex:0 0 37.5%;width:37.5%}.arco-col-lg-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-lg-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-lg-12{flex:0 0 50%;width:50%}.arco-col-lg-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-lg-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-lg-15{flex:0 0 62.5%;width:62.5%}.arco-col-lg-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-lg-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-lg-18{flex:0 0 75%;width:75%}.arco-col-lg-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-lg-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-lg-21{flex:0 0 87.5%;width:87.5%}.arco-col-lg-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-lg-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-lg-24{flex:0 0 100%;width:100%}.arco-col-lg-offset-1{margin-left:4.16666667%}.arco-col-lg-offset-2{margin-left:8.33333333%}.arco-col-lg-offset-3{margin-left:12.5%}.arco-col-lg-offset-4{margin-left:16.66666667%}.arco-col-lg-offset-5{margin-left:20.83333333%}.arco-col-lg-offset-6{margin-left:25%}.arco-col-lg-offset-7{margin-left:29.16666667%}.arco-col-lg-offset-8{margin-left:33.33333333%}.arco-col-lg-offset-9{margin-left:37.5%}.arco-col-lg-offset-10{margin-left:41.66666667%}.arco-col-lg-offset-11{margin-left:45.83333333%}.arco-col-lg-offset-12{margin-left:50%}.arco-col-lg-offset-13{margin-left:54.16666667%}.arco-col-lg-offset-14{margin-left:58.33333333%}.arco-col-lg-offset-15{margin-left:62.5%}.arco-col-lg-offset-16{margin-left:66.66666667%}.arco-col-lg-offset-17{margin-left:70.83333333%}.arco-col-lg-offset-18{margin-left:75%}.arco-col-lg-offset-19{margin-left:79.16666667%}.arco-col-lg-offset-20{margin-left:83.33333333%}.arco-col-lg-offset-21{margin-left:87.5%}.arco-col-lg-offset-22{margin-left:91.66666667%}.arco-col-lg-offset-23{margin-left:95.83333333%}.arco-col-lg-order-1{order:1}.arco-col-lg-order-2{order:2}.arco-col-lg-order-3{order:3}.arco-col-lg-order-4{order:4}.arco-col-lg-order-5{order:5}.arco-col-lg-order-6{order:6}.arco-col-lg-order-7{order:7}.arco-col-lg-order-8{order:8}.arco-col-lg-order-9{order:9}.arco-col-lg-order-10{order:10}.arco-col-lg-order-11{order:11}.arco-col-lg-order-12{order:12}.arco-col-lg-order-13{order:13}.arco-col-lg-order-14{order:14}.arco-col-lg-order-15{order:15}.arco-col-lg-order-16{order:16}.arco-col-lg-order-17{order:17}.arco-col-lg-order-18{order:18}.arco-col-lg-order-19{order:19}.arco-col-lg-order-20{order:20}.arco-col-lg-order-21{order:21}.arco-col-lg-order-22{order:22}.arco-col-lg-order-23{order:23}.arco-col-lg-order-24{order:24}}@media (min-width:1200px){.arco-col-xl-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-xl-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-xl-3{flex:0 0 12.5%;width:12.5%}.arco-col-xl-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-xl-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-xl-6{flex:0 0 25%;width:25%}.arco-col-xl-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-xl-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-xl-9{flex:0 0 37.5%;width:37.5%}.arco-col-xl-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-xl-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-xl-12{flex:0 0 50%;width:50%}.arco-col-xl-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-xl-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-xl-15{flex:0 0 62.5%;width:62.5%}.arco-col-xl-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-xl-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-xl-18{flex:0 0 75%;width:75%}.arco-col-xl-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-xl-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-xl-21{flex:0 0 87.5%;width:87.5%}.arco-col-xl-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-xl-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-xl-24{flex:0 0 100%;width:100%}.arco-col-xl-offset-1{margin-left:4.16666667%}.arco-col-xl-offset-2{margin-left:8.33333333%}.arco-col-xl-offset-3{margin-left:12.5%}.arco-col-xl-offset-4{margin-left:16.66666667%}.arco-col-xl-offset-5{margin-left:20.83333333%}.arco-col-xl-offset-6{margin-left:25%}.arco-col-xl-offset-7{margin-left:29.16666667%}.arco-col-xl-offset-8{margin-left:33.33333333%}.arco-col-xl-offset-9{margin-left:37.5%}.arco-col-xl-offset-10{margin-left:41.66666667%}.arco-col-xl-offset-11{margin-left:45.83333333%}.arco-col-xl-offset-12{margin-left:50%}.arco-col-xl-offset-13{margin-left:54.16666667%}.arco-col-xl-offset-14{margin-left:58.33333333%}.arco-col-xl-offset-15{margin-left:62.5%}.arco-col-xl-offset-16{margin-left:66.66666667%}.arco-col-xl-offset-17{margin-left:70.83333333%}.arco-col-xl-offset-18{margin-left:75%}.arco-col-xl-offset-19{margin-left:79.16666667%}.arco-col-xl-offset-20{margin-left:83.33333333%}.arco-col-xl-offset-21{margin-left:87.5%}.arco-col-xl-offset-22{margin-left:91.66666667%}.arco-col-xl-offset-23{margin-left:95.83333333%}.arco-col-xl-order-1{order:1}.arco-col-xl-order-2{order:2}.arco-col-xl-order-3{order:3}.arco-col-xl-order-4{order:4}.arco-col-xl-order-5{order:5}.arco-col-xl-order-6{order:6}.arco-col-xl-order-7{order:7}.arco-col-xl-order-8{order:8}.arco-col-xl-order-9{order:9}.arco-col-xl-order-10{order:10}.arco-col-xl-order-11{order:11}.arco-col-xl-order-12{order:12}.arco-col-xl-order-13{order:13}.arco-col-xl-order-14{order:14}.arco-col-xl-order-15{order:15}.arco-col-xl-order-16{order:16}.arco-col-xl-order-17{order:17}.arco-col-xl-order-18{order:18}.arco-col-xl-order-19{order:19}.arco-col-xl-order-20{order:20}.arco-col-xl-order-21{order:21}.arco-col-xl-order-22{order:22}.arco-col-xl-order-23{order:23}.arco-col-xl-order-24{order:24}}@media (min-width:1600px){.arco-col-xxl-1{flex:0 0 4.16666667%;width:4.16666667%}.arco-col-xxl-2{flex:0 0 8.33333333%;width:8.33333333%}.arco-col-xxl-3{flex:0 0 12.5%;width:12.5%}.arco-col-xxl-4{flex:0 0 16.66666667%;width:16.66666667%}.arco-col-xxl-5{flex:0 0 20.83333333%;width:20.83333333%}.arco-col-xxl-6{flex:0 0 25%;width:25%}.arco-col-xxl-7{flex:0 0 29.16666667%;width:29.16666667%}.arco-col-xxl-8{flex:0 0 33.33333333%;width:33.33333333%}.arco-col-xxl-9{flex:0 0 37.5%;width:37.5%}.arco-col-xxl-10{flex:0 0 41.66666667%;width:41.66666667%}.arco-col-xxl-11{flex:0 0 45.83333333%;width:45.83333333%}.arco-col-xxl-12{flex:0 0 50%;width:50%}.arco-col-xxl-13{flex:0 0 54.16666667%;width:54.16666667%}.arco-col-xxl-14{flex:0 0 58.33333333%;width:58.33333333%}.arco-col-xxl-15{flex:0 0 62.5%;width:62.5%}.arco-col-xxl-16{flex:0 0 66.66666667%;width:66.66666667%}.arco-col-xxl-17{flex:0 0 70.83333333%;width:70.83333333%}.arco-col-xxl-18{flex:0 0 75%;width:75%}.arco-col-xxl-19{flex:0 0 79.16666667%;width:79.16666667%}.arco-col-xxl-20{flex:0 0 83.33333333%;width:83.33333333%}.arco-col-xxl-21{flex:0 0 87.5%;width:87.5%}.arco-col-xxl-22{flex:0 0 91.66666667%;width:91.66666667%}.arco-col-xxl-23{flex:0 0 95.83333333%;width:95.83333333%}.arco-col-xxl-24{flex:0 0 100%;width:100%}.arco-col-xxl-offset-1{margin-left:4.16666667%}.arco-col-xxl-offset-2{margin-left:8.33333333%}.arco-col-xxl-offset-3{margin-left:12.5%}.arco-col-xxl-offset-4{margin-left:16.66666667%}.arco-col-xxl-offset-5{margin-left:20.83333333%}.arco-col-xxl-offset-6{margin-left:25%}.arco-col-xxl-offset-7{margin-left:29.16666667%}.arco-col-xxl-offset-8{margin-left:33.33333333%}.arco-col-xxl-offset-9{margin-left:37.5%}.arco-col-xxl-offset-10{margin-left:41.66666667%}.arco-col-xxl-offset-11{margin-left:45.83333333%}.arco-col-xxl-offset-12{margin-left:50%}.arco-col-xxl-offset-13{margin-left:54.16666667%}.arco-col-xxl-offset-14{margin-left:58.33333333%}.arco-col-xxl-offset-15{margin-left:62.5%}.arco-col-xxl-offset-16{margin-left:66.66666667%}.arco-col-xxl-offset-17{margin-left:70.83333333%}.arco-col-xxl-offset-18{margin-left:75%}.arco-col-xxl-offset-19{margin-left:79.16666667%}.arco-col-xxl-offset-20{margin-left:83.33333333%}.arco-col-xxl-offset-21{margin-left:87.5%}.arco-col-xxl-offset-22{margin-left:91.66666667%}.arco-col-xxl-offset-23{margin-left:95.83333333%}.arco-col-xxl-order-1{order:1}.arco-col-xxl-order-2{order:2}.arco-col-xxl-order-3{order:3}.arco-col-xxl-order-4{order:4}.arco-col-xxl-order-5{order:5}.arco-col-xxl-order-6{order:6}.arco-col-xxl-order-7{order:7}.arco-col-xxl-order-8{order:8}.arco-col-xxl-order-9{order:9}.arco-col-xxl-order-10{order:10}.arco-col-xxl-order-11{order:11}.arco-col-xxl-order-12{order:12}.arco-col-xxl-order-13{order:13}.arco-col-xxl-order-14{order:14}.arco-col-xxl-order-15{order:15}.arco-col-xxl-order-16{order:16}.arco-col-xxl-order-17{order:17}.arco-col-xxl-order-18{order:18}.arco-col-xxl-order-19{order:19}.arco-col-xxl-order-20{order:20}.arco-col-xxl-order-21{order:21}.arco-col-xxl-order-22{order:22}.arco-col-xxl-order-23{order:23}.arco-col-xxl-order-24{order:24}}.arco-grid{display:grid}.arco-input-number{position:relative;box-sizing:border-box;width:100%;border-radius:var(--border-radius-small)}.arco-input-number-step-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;color:var(--color-text-2);background-color:var(--color-fill-2);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .1s cubic-bezier(0,0,1,1)}.arco-input-number-step-button:hover{background-color:var(--color-fill-3);border-color:var(--color-fill-3)}.arco-input-number-step-button:active{background-color:var(--color-fill-4);border-color:var(--color-fill-4)}.arco-input-number-step-button:disabled{color:var(--color-text-4);background-color:var(--color-fill-2);cursor:not-allowed}.arco-input-number-step-button:disabled:hover,.arco-input-number-step-button:disabled:active{background-color:var(--color-fill-2);border-color:var(--color-neutral-3)}.arco-input-number-prefix,.arco-input-number-suffix{transition:all .1s cubic-bezier(0,0,1,1)}.arco-input-number-mode-embed .arco-input-number-step{position:absolute;top:4px;right:4px;bottom:4px;width:18px;overflow:hidden;border-radius:1px;opacity:0;transition:all .1s cubic-bezier(0,0,1,1)}.arco-input-number-mode-embed .arco-input-number-step .arco-input-number-step-button{width:100%;height:50%;font-size:10px;border:none;border-color:var(--color-neutral-3)}.arco-input-number-mode-embed .arco-input-suffix{justify-content:flex-end;min-width:6px}.arco-input-number-mode-embed .arco-input-suffix-has-feedback{min-width:32px}.arco-input-number-mode-embed .arco-input-suffix-has-feedback .arco-input-number-step{right:30px}.arco-input-number-mode-embed:not(.arco-input-disabled):not(.arco-input-outer-disabled):hover .arco-input-number-step,.arco-input-number-mode-embed:not(.arco-input-disabled):not(.arco-input-outer-disabled):focus-within .arco-input-number-step{opacity:1}.arco-input-number-mode-embed:not(.arco-input-disabled):not(.arco-input-outer-disabled):hover .arco-input-number-step~.arco-input-suffix,.arco-input-number-mode-embed:not(.arco-input-disabled):not(.arco-input-outer-disabled):focus-within .arco-input-number-step~.arco-input-suffix{opacity:0;pointer-events:none}.arco-input-number-mode-embed.arco-input-wrapper:not(.arco-input-focus) .arco-input-number-step-button:not(.arco-input-number-step-button-disabled):hover{background-color:var(--color-fill-4)}.arco-input-number-mode-button .arco-input-prepend,.arco-input-number-mode-button .arco-input-append{padding:0;border:none}.arco-input-number-mode-button .arco-input-prepend .arco-input-number-step-button{border-right:1px solid transparent;border-top-right-radius:0;border-bottom-right-radius:0}.arco-input-number-mode-button .arco-input-prepend .arco-input-number-step-button:not(.arco-input-number-mode-button .arco-input-prepend .arco-input-number-step-button:active){border-right-color:var(--color-neutral-3)}.arco-input-number-mode-button .arco-input-append .arco-input-number-step-button{border-left:1px solid transparent;border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-number-mode-button .arco-input-append .arco-input-number-step-button:not(.arco-input-number-mode-button .arco-input-append .arco-input-number-step-button:active){border-left-color:var(--color-neutral-3)}.arco-link{display:inline-flex;align-items:center;justify-content:center;padding:1px 4px;color:rgb(var(--link-6));font-size:14px;line-height:1.5715;text-decoration:none;background-color:transparent;border-radius:var(--border-radius-small);cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-link:hover{color:rgb(var(--link-6));background-color:var(--color-fill-2)}.arco-link:active{color:rgb(var(--link-6));background-color:var(--color-fill-3);transition:none}.arco-link.arco-link-hoverless{display:inline;padding:0;background-color:unset}.arco-link.arco-link-hoverless:active,.arco-link.arco-link-hoverless:hover{background-color:unset}.arco-link.arco-link-disabled{color:var(--color-link-light-3);background:none;cursor:not-allowed}.arco-link.arco-link-loading{color:var(--color-link-light-3);background:none;cursor:default}.arco-link-status-success,.arco-link-status-success:hover,.arco-link-status-success:active{color:rgb(var(--success-6))}.arco-link-status-success.arco-link-disabled,.arco-link-status-success.arco-link-loading{color:var(--color-success-light-3)}.arco-link-status-danger,.arco-link-status-danger:hover,.arco-link-status-danger:active{color:rgb(var(--danger-6))}.arco-link-status-danger.arco-link-disabled,.arco-link-status-danger.arco-link-loading{color:var(--color-danger-light-3)}.arco-link-status-warning,.arco-link-status-warning:hover,.arco-link-status-warning:active{color:rgb(var(--warning-6))}.arco-link-status-warning.arco-link-disabled,.arco-link-status-warning.arco-link-loading{color:var(--color-warning-light-2)}.arco-link-icon{margin-right:6px;font-size:12px;vertical-align:middle}.arco-list{display:flex;flex-direction:column;box-sizing:border-box;width:100%;overflow-y:auto;color:var(--color-text-1);font-size:14px;line-height:1.5715;border-radius:var(--border-radius-medium)}.arco-list-wrapper{overflow:hidden}.arco-list-wrapper .arco-list-spin{display:block;height:100%;overflow:hidden}.arco-list-content{overflow:hidden}.arco-list-small .arco-list-content-wrapper .arco-list-header{padding:8px 20px}.arco-list-small .arco-list-content-wrapper .arco-list-footer,.arco-list-small .arco-list-content-wrapper .arco-list-content>.arco-list-item,.arco-list-small .arco-list-content-wrapper .arco-list-content .arco-list-col>.arco-list-item,.arco-list-small .arco-list-content-wrapper .arco-list-content.arco-list-virtual .arco-list-item{padding:9px 20px}.arco-list-medium .arco-list-content-wrapper .arco-list-header{padding:12px 20px}.arco-list-medium .arco-list-content-wrapper .arco-list-footer,.arco-list-medium .arco-list-content-wrapper .arco-list-content>.arco-list-item,.arco-list-medium .arco-list-content-wrapper .arco-list-content .arco-list-col>.arco-list-item,.arco-list-medium .arco-list-content-wrapper .arco-list-content.arco-list-virtual .arco-list-item{padding:13px 20px}.arco-list-large .arco-list-content-wrapper .arco-list-header{padding:16px 20px}.arco-list-large .arco-list-content-wrapper .arco-list-footer,.arco-list-large .arco-list-content-wrapper .arco-list-content>.arco-list-item,.arco-list-large .arco-list-content-wrapper .arco-list-content .arco-list-col>.arco-list-item,.arco-list-large .arco-list-content-wrapper .arco-list-content.arco-list-virtual .arco-list-item{padding:17px 20px}.arco-list-bordered{border:1px solid var(--color-neutral-3)}.arco-list-split .arco-list-header,.arco-list-split .arco-list-item:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.arco-list-split .arco-list-footer{border-top:1px solid var(--color-neutral-3)}.arco-list-header{color:var(--color-text-1);font-weight:500;font-size:16px;line-height:1.5}.arco-list-item{display:flex;justify-content:space-between;box-sizing:border-box;width:100%;overflow:hidden}.arco-list-item-main{flex:1}.arco-list-item-main .arco-list-item-action:not(:first-child){margin-top:4px}.arco-list-item-meta{display:flex;align-items:center;padding:4px 0}.arco-list-item-meta-avatar{display:flex}.arco-list-item-meta-avatar:not(:last-child){margin-right:16px}.arco-list-item-meta-title{color:var(--color-text-1);font-weight:500}.arco-list-item-meta-title:not(:last-child){margin-bottom:2px}.arco-list-item-meta-description{color:var(--color-text-2)}.arco-list-item-action{display:flex;flex-wrap:nowrap;align-self:center;margin:0;padding:0;list-style:none}.arco-list-item-action>li{display:inline-block;cursor:pointer}.arco-list-item-action>li:not(:last-child){margin-right:20px}.arco-list-hover .arco-list-item:hover{background-color:var(--color-fill-1)}.arco-list-pagination{float:right;margin-top:24px}.arco-list-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:""}.arco-list-scroll-loading{display:flex;align-items:center;justify-content:center}.arco-list-content{flex:auto}.arco-list-content .arco-empty{display:flex;align-items:center;justify-content:center;height:100%}.arco-mention{position:relative;display:inline-block;box-sizing:border-box;width:100%}.arco-mention-measure{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;visibility:hidden;pointer-events:none}.arco-menu{position:relative;box-sizing:border-box;width:100%;font-size:14px;line-height:1.5715;transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-menu:focus-visible{outline:3px solid var(--color-primary-light-2)}.arco-menu-indent{display:inline-block;width:20px}.arco-menu .arco-menu-item,.arco-menu .arco-menu-group-title,.arco-menu .arco-menu-pop-header,.arco-menu .arco-menu-inline-header{position:relative;box-sizing:border-box;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu .arco-menu-item.arco-menu-disabled,.arco-menu .arco-menu-group-title.arco-menu-disabled,.arco-menu .arco-menu-pop-header.arco-menu-disabled,.arco-menu .arco-menu-inline-header.arco-menu-disabled{cursor:not-allowed}.arco-menu .arco-menu-item.arco-menu-selected,.arco-menu .arco-menu-group-title.arco-menu-selected,.arco-menu .arco-menu-pop-header.arco-menu-selected,.arco-menu .arco-menu-inline-header.arco-menu-selected{font-weight:500;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu .arco-menu-item .arco-icon,.arco-menu .arco-menu-group-title .arco-icon,.arco-menu .arco-menu-pop-header .arco-icon,.arco-menu .arco-menu-inline-header .arco-icon,.arco-menu .arco-menu-item .arco-menu-icon,.arco-menu .arco-menu-group-title .arco-menu-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu .arco-menu-item .arco-menu-icon .arco-icon,.arco-menu .arco-menu-group-title .arco-menu-icon .arco-icon,.arco-menu .arco-menu-pop-header .arco-menu-icon .arco-icon,.arco-menu .arco-menu-inline-header .arco-menu-icon .arco-icon{margin-right:0}.arco-menu-light{background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item,.arco-menu-light .arco-menu-group-title,.arco-menu-light .arco-menu-pop-header,.arco-menu-light .arco-menu-inline-header{color:var(--color-text-2);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item .arco-icon,.arco-menu-light .arco-menu-group-title .arco-icon,.arco-menu-light .arco-menu-pop-header .arco-icon,.arco-menu-light .arco-menu-inline-header .arco-icon,.arco-menu-light .arco-menu-item .arco-menu-icon,.arco-menu-light .arco-menu-group-title .arco-menu-icon,.arco-menu-light .arco-menu-pop-header .arco-menu-icon,.arco-menu-light .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item:hover,.arco-menu-light .arco-menu-group-title:hover,.arco-menu-light .arco-menu-pop-header:hover,.arco-menu-light .arco-menu-inline-header:hover{color:var(--color-text-2);background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-item:hover .arco-icon,.arco-menu-light .arco-menu-group-title:hover .arco-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-icon,.arco-menu-light .arco-menu-item:hover .arco-menu-icon,.arco-menu-light .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-light .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-light .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-light .arco-menu-item.arco-menu-selected,.arco-menu-light .arco-menu-group-title.arco-menu-selected,.arco-menu-light .arco-menu-pop-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-item.arco-menu-disabled,.arco-menu-light .arco-menu-group-title.arco-menu-disabled,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-4);background-color:var(--color-menu-light-bg)}.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-light .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-4)}.arco-menu-light .arco-menu-item.arco-menu-selected{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-inline-header.arco-menu-selected,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-light .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-light.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-light.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-fill-2)}.arco-menu-light .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-light .arco-menu-collapse-button{color:var(--color-text-3);background-color:var(--color-fill-1)}.arco-menu-light .arco-menu-collapse-button:hover{background-color:var(--color-fill-3)}.arco-menu-dark{background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item,.arco-menu-dark .arco-menu-group-title,.arco-menu-dark .arco-menu-pop-header,.arco-menu-dark .arco-menu-inline-header{color:var(--color-text-4);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item .arco-icon,.arco-menu-dark .arco-menu-group-title .arco-icon,.arco-menu-dark .arco-menu-pop-header .arco-icon,.arco-menu-dark .arco-menu-inline-header .arco-icon,.arco-menu-dark .arco-menu-item .arco-menu-icon,.arco-menu-dark .arco-menu-group-title .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item:hover,.arco-menu-dark .arco-menu-group-title:hover,.arco-menu-dark .arco-menu-pop-header:hover,.arco-menu-dark .arco-menu-inline-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-item:hover .arco-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-icon,.arco-menu-dark .arco-menu-item:hover .arco-menu-icon,.arco-menu-dark .arco-menu-group-title:hover .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header:hover .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header:hover .arco-menu-icon{color:var(--color-text-3)}.arco-menu-dark .arco-menu-item.arco-menu-selected,.arco-menu-dark .arco-menu-group-title.arco-menu-selected,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-selected .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:var(--color-white)}.arco-menu-dark .arco-menu-item.arco-menu-disabled,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled{color:var(--color-text-2);background-color:var(--color-menu-dark-bg)}.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-icon,.arco-menu-dark .arco-menu-item.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-group-title.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-pop-header.arco-menu-disabled .arco-menu-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-disabled .arco-menu-icon{color:var(--color-text-2)}.arco-menu-dark .arco-menu-item.arco-menu-selected{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-icon,.arco-menu-dark .arco-menu-inline-header.arco-menu-selected .arco-menu-icon{color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected{background:none;transition:color .2s cubic-bezier(0,0,1,1)}.arco-menu-dark.arco-menu-horizontal .arco-menu-item.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-group-title.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-pop-header.arco-menu-selected:hover,.arco-menu-dark.arco-menu-horizontal .arco-menu-inline-header.arco-menu-selected:hover{background-color:var(--color-menu-dark-hover)}.arco-menu-dark .arco-menu-group-title{color:var(--color-text-3);pointer-events:none}.arco-menu-dark .arco-menu-collapse-button{color:var(--color-white);background-color:rgb(var(--primary-6))}.arco-menu-dark .arco-menu-collapse-button:hover{background-color:rgb(var(--primary-7))}.arco-menu a,.arco-menu a:hover,.arco-menu a:focus,.arco-menu a:active{color:inherit;text-decoration:none;cursor:inherit}.arco-menu-inner{box-sizing:border-box;width:100%;height:100%;overflow:auto}.arco-menu-icon-suffix.is-open{transform:rotate(180deg)}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding:0 12px;line-height:40px}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-vertical .arco-menu-item,.arco-menu-vertical .arco-menu-group-title,.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{margin-bottom:4px}.arco-menu-vertical .arco-menu-item:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-group-title:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-pop-header:not(.arco-menu-has-icon),.arco-menu-vertical .arco-menu-inline-header:not(.arco-menu-has-icon){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon{display:flex;align-items:center}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-indent-list,.arco-menu-vertical .arco-menu-item.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon>.arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon>.arco-menu-icon{flex:none}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-icon,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-icon{line-height:1}.arco-menu-vertical .arco-menu-item.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-group-title.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-pop-header.arco-menu-has-icon .arco-menu-title,.arco-menu-vertical .arco-menu-inline-header.arco-menu-has-icon .arco-menu-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-menu-vertical .arco-menu-item .arco-menu-item-inner,.arco-menu-vertical .arco-menu-group-title .arco-menu-item-inner,.arco-menu-vertical .arco-menu-pop-header .arco-menu-item-inner,.arco-menu-vertical .arco-menu-inline-header .arco-menu-item-inner{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.arco-menu-vertical .arco-menu-item .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-vertical .arco-menu-inline-header .arco-menu-icon-suffix{position:absolute;right:12px}.arco-menu-vertical .arco-menu-inner{padding:4px 8px}.arco-menu-vertical .arco-menu-item.arco-menu-item-indented{display:flex}.arco-menu-vertical .arco-menu-pop-header,.arco-menu-vertical .arco-menu-inline-header{padding-right:28px}.arco-menu-horizontal{width:100%;height:auto}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-group-title,.arco-menu-horizontal .arco-menu-pop-header,.arco-menu-horizontal .arco-menu-inline-header{padding:0 12px;line-height:30px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix .arco-icon{margin-right:0}.arco-menu-horizontal .arco-menu-item .arco-icon,.arco-menu-horizontal .arco-menu-group-title .arco-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-icon,.arco-menu-horizontal .arco-menu-item .arco-menu-icon,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon{margin-right:16px}.arco-menu-horizontal .arco-menu-item .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-group-title .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-pop-header .arco-menu-icon-suffix,.arco-menu-horizontal .arco-menu-inline-header .arco-menu-icon-suffix{margin-left:6px}.arco-menu-horizontal .arco-menu-inner{display:flex;align-items:center;padding:14px 20px}.arco-menu-horizontal .arco-menu-item,.arco-menu-horizontal .arco-menu-pop{display:inline-block;flex-shrink:0;vertical-align:middle}.arco-menu-horizontal .arco-menu-item:not(:first-child),.arco-menu-horizontal .arco-menu-pop:not(:first-child){margin-left:12px}.arco-menu-horizontal .arco-menu-pop:after{position:absolute;bottom:-14px;left:0;width:100%;height:14px;content:" "}.arco-menu-overflow-wrap{width:100%}.arco-menu-overflow-sub-menu-mirror,.arco-menu-overflow-hidden-menu-item{position:absolute!important;white-space:nowrap;visibility:hidden;pointer-events:none}.arco-menu-selected-label{position:absolute;right:12px;bottom:-14px;left:12px;height:3px;background-color:rgb(var(--primary-6))}.arco-menu-pop-button{width:auto;background:none;box-shadow:none}.arco-menu-pop-button.arco-menu-collapsed{width:auto}.arco-menu-pop-button .arco-menu-item,.arco-menu-pop-button .arco-menu-group-title,.arco-menu-pop-button .arco-menu-pop-header,.arco-menu-pop-button .arco-menu-inline-header{width:40px;height:40px;margin-bottom:16px;line-height:40px;border:1px solid transparent;border-radius:50%;box-shadow:0 4px 10px #0000001a}.arco-menu-collapsed{width:48px}.arco-menu-collapsed .arco-menu-inner{padding:4px}.arco-menu-collapsed .arco-menu-icon-suffix{display:none}.arco-menu-collapsed .arco-menu-has-icon>*:not(.arco-menu-icon){opacity:0}.arco-menu-collapsed .arco-menu-item .arco-icon,.arco-menu-collapsed .arco-menu-group-title .arco-icon,.arco-menu-collapsed .arco-menu-pop-header .arco-icon,.arco-menu-collapsed .arco-menu-inline-header .arco-icon{margin-right:100%}.arco-menu-collapse-button{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--border-radius-small);cursor:pointer}.arco-menu-inline-content{height:auto;overflow:hidden;transition:height .2s cubic-bezier(.34,.69,.1,1)}.arco-menu-inline-content-hide{height:0}.arco-menu-item-tooltip a{color:inherit;cursor:text}.arco-menu-item-tooltip a:hover,.arco-menu-item-tooltip a:focus,.arco-menu-item-tooltip a:active{color:inherit}.arco-menu-pop-trigger.arco-trigger-position-bl{transform:translateY(14px)}.arco-menu-pop-trigger.arco-trigger-position-bl .arco-trigger-arrow{z-index:0;border-top:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-trigger-position-rt{transform:translate(8px)}.arco-menu-pop-trigger.arco-trigger-position-rt .arco-trigger-arrow{z-index:0;border-bottom:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-menu-pop-trigger.arco-menu-pop-trigger-dark .arco-trigger-arrow{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu{position:relative;box-sizing:border-box;max-height:200px;padding:4px 0;overflow:auto;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-trigger-menu-hidden{display:none}.arco-trigger-menu-item,.arco-trigger-menu-pop-header{position:relative;z-index:1;box-sizing:border-box;width:100%;height:36px;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-text-1);font-weight:500;background-color:transparent;transition:all .1s cubic-bezier(0,0,1,1)}.arco-trigger-menu-item:hover,.arco-trigger-menu-pop-header:hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-trigger-menu .arco-trigger-menu-has-icon{display:flex;align-items:center}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-icon{margin-right:8px;line-height:1}.arco-trigger-menu .arco-trigger-menu-has-icon>*{flex:none}.arco-trigger-menu .arco-trigger-menu-has-icon .arco-trigger-menu-title{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-header{display:flex;align-items:center;justify-content:space-between}.arco-trigger-menu-pop-header .arco-trigger-menu-icon-suffix{margin-left:12px}.arco-trigger-menu-group:first-child .arco-trigger-menu-group-title{padding-top:4px}.arco-trigger-menu-group-title{box-sizing:border-box;width:100%;padding:8px 12px 0;color:var(--color-text-3);font-size:12px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-trigger-menu-pop-trigger .arco-trigger-arrow{display:none}.arco-trigger-menu-dark{background-color:var(--color-menu-dark-bg);border-color:var(--color-menu-dark-bg)}.arco-trigger-menu-dark .arco-trigger-menu-item,.arco-trigger-menu-dark .arco-trigger-menu-pop-header{color:var(--color-text-4);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected{color:var(--color-white);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-selected:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-selected:hover{color:var(--color-white)}.arco-trigger-menu-dark .arco-trigger-menu-item:hover,.arco-trigger-menu-dark .arco-trigger-menu-pop-header:hover{color:var(--color-text-4);background-color:var(--color-menu-dark-hover)}.arco-trigger-menu-dark .arco-trigger-menu-item.arco-trigger-menu-disabled,.arco-trigger-menu-dark .arco-trigger-menu-pop-header.arco-trigger-menu-disabled{color:var(--color-text-2);background-color:transparent}.arco-trigger-menu-dark .arco-trigger-menu-group-title{color:var(--color-text-3)}.arco-message-list{position:fixed;z-index:1003;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;width:100%;margin:0;padding:0 10px;text-align:center;pointer-events:none}.arco-message-list-top{top:40px}.arco-message-list-bottom{bottom:40px}.arco-message{position:relative;display:inline-flex;align-items:center;margin-bottom:16px;padding:10px 16px;overflow:hidden;line-height:1;text-align:center;list-style:none;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-small);box-shadow:0 4px 10px #0000001a;transition:all .1s cubic-bezier(0,0,1,1);pointer-events:auto}.arco-message-icon{display:inline-block;margin-right:8px;color:var(--color-text-1);font-size:20px;vertical-align:middle;animation:arco-msg-fade .1s cubic-bezier(0,0,1,1),arco-msg-fade .4s cubic-bezier(.3,1.3,.3,1)}.arco-message-content{font-size:14px;color:var(--color-text-1);vertical-align:middle}.arco-message-info{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-message-info .arco-message-icon{color:rgb(var(--primary-6))}.arco-message-info .arco-message-content{color:var(--color-text-1)}.arco-message-success{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-message-success .arco-message-icon{color:rgb(var(--success-6))}.arco-message-success .arco-message-content{color:var(--color-text-1)}.arco-message-warning{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-message-warning .arco-message-icon{color:rgb(var(--warning-6))}.arco-message-warning .arco-message-content{color:var(--color-text-1)}.arco-message-error{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-message-error .arco-message-icon{color:rgb(var(--danger-6))}.arco-message-error .arco-message-content{color:var(--color-text-1)}.arco-message-loading{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-message-loading .arco-message-icon{color:rgb(var(--primary-6))}.arco-message-loading .arco-message-content{color:var(--color-text-1)}.arco-message-close-btn{margin-left:8px;color:var(--color-text-1);font-size:12px}.arco-message .arco-icon-hover.arco-message-icon-hover:before{width:20px;height:20px}.fade-message-enter-from,.fade-message-appear-from{opacity:0}.fade-message-enter-to,.fade-message-appear-to{opacity:1}.fade-message-enter-active,.fade-message-appear-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.fade-message-leave-from{opacity:1}.fade-message-leave-to{opacity:0}.fade-message-leave-active{position:absolute}.flip-list-move{transition:transform .8s ease}@keyframes arco-msg-fade{0%{opacity:0}to{opacity:1}}@keyframes arco-msg-scale{0%{transform:scale(0)}to{transform:scale(1)}}.arco-modal-container{position:fixed;top:0;right:0;bottom:0;left:0}.arco-modal-mask{position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--color-mask-bg)}.arco-modal-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;text-align:center}.arco-modal-wrapper.arco-modal-wrapper-align-center{white-space:nowrap}.arco-modal-wrapper.arco-modal-wrapper-align-center:after{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.arco-modal-wrapper.arco-modal-wrapper-align-center .arco-modal{top:0;vertical-align:middle}.arco-modal-wrapper.arco-modal-wrapper-moved{text-align:left}.arco-modal-wrapper.arco-modal-wrapper-moved .arco-modal{top:0;vertical-align:top}.arco-modal{position:relative;top:100px;display:inline-block;width:520px;margin:0 auto;line-height:1.5715;white-space:initial;text-align:left;background-color:var(--color-bg-3);border-radius:var(--border-radius-medium)}.arco-modal-draggable .arco-modal-header{cursor:move}.arco-modal-header{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;width:100%;height:48px;padding:0 20px;border-bottom:1px solid var(--color-neutral-3)}.arco-modal-header .arco-modal-title{display:flex;flex:1;align-items:center;justify-content:center}.arco-modal-header .arco-modal-title-align-start{justify-content:flex-start}.arco-modal-header .arco-modal-title-align-center{justify-content:center}.arco-modal-body{position:relative;padding:24px 20px;overflow:auto;color:var(--color-text-1);font-size:14px}.arco-modal-footer{box-sizing:border-box;flex-shrink:0;width:100%;padding:16px 20px;text-align:right;border-top:1px solid var(--color-neutral-3)}.arco-modal-footer>.arco-btn:not(:nth-child(1)){margin-left:12px}.arco-modal-close-btn{margin-left:-12px;color:var(--color-text-1);font-size:12px;cursor:pointer}.arco-modal-title{color:var(--color-text-1);font-weight:500;font-size:16px}.arco-modal-title-icon{margin-right:10px;font-size:18px;vertical-align:-.15em}.arco-modal-title-icon .arco-icon-info-circle-fill{color:rgb(var(--primary-6))}.arco-modal-title-icon .arco-icon-check-circle-fill{color:rgb(var(--success-6))}.arco-modal-title-icon .arco-icon-exclamation-circle-fill{color:rgb(var(--warning-6))}.arco-modal-title-icon .arco-icon-close-circle-fill{color:rgb(var(--danger-6))}.arco-modal-simple{width:400px;padding:24px 32px 32px}.arco-modal-simple .arco-modal-header,.arco-modal-simple .arco-modal-footer{height:unset;padding:0;border:none}.arco-modal-simple .arco-modal-header{margin-bottom:24px}.arco-modal-simple .arco-modal-title{justify-content:center}.arco-modal-simple .arco-modal-title-align-start{justify-content:flex-start}.arco-modal-simple .arco-modal-title-align-center{justify-content:center}.arco-modal-simple .arco-modal-footer{margin-top:32px;text-align:center}.arco-modal-simple .arco-modal-body{padding:0}.arco-modal-fullscreen{top:0;display:inline-flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%}.arco-modal-fullscreen .arco-modal-footer{margin-top:auto}.zoom-modal-enter-from,.zoom-modal-appear-from{transform:scale(.5);opacity:0}.zoom-modal-enter-to,.zoom-modal-appear-to{transform:scale(1);opacity:1}.zoom-modal-enter-active,.zoom-modal-appear-active{transition:opacity .4s cubic-bezier(.3,1.3,.3,1),transform .4s cubic-bezier(.3,1.3,.3,1)}.zoom-modal-leave-from{transform:scale(1);opacity:1}.zoom-modal-leave-to{transform:scale(.5);opacity:0}.zoom-modal-leave-active{transition:opacity .4s cubic-bezier(.3,1.3,.3,1),transform .4s cubic-bezier(.3,1.3,.3,1)}.fade-modal-enter-from,.fade-modal-appear-from{opacity:0}.fade-modal-enter-to,.fade-modal-appear-to{opacity:1}.fad-modal-enter-active,.fade-modal-appear-active{transition:opacity .4s cubic-bezier(.3,1.3,.3,1)}.fade-modal-leave-from{opacity:1}.fade-modal-leave-to{opacity:0}.fade-modal-leave-active{transition:opacity .4s cubic-bezier(.3,1.3,.3,1)}.arco-notification-list{position:fixed;z-index:1003;margin:0;padding-left:0}.arco-notification-list-top-left{top:20px;left:20px}.arco-notification-list-top-right{top:20px;right:20px}.arco-notification-list-top-right .arco-notification{margin-left:auto}.arco-notification-list-bottom-left{bottom:20px;left:20px}.arco-notification-list-bottom-right{right:20px;bottom:20px}.arco-notification-list-bottom-right .arco-notification{margin-left:auto}.arco-notification{position:relative;display:flex;box-sizing:border-box;width:340px;padding:20px;overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 12px #00000026;opacity:1;transition:opacity .2s cubic-bezier(0,0,1,1)}.arco-notification:not(:last-child){margin-bottom:20px}.arco-notification-icon{display:flex;align-items:center;font-size:24px}.arco-notification-info{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-info .arco-notification-icon{color:rgb(var(--primary-6))}.arco-notification-success{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-success .arco-notification-icon{color:rgb(var(--success-6))}.arco-notification-warning{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-warning .arco-notification-icon{color:rgb(var(--warning-6))}.arco-notification-error{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-error .arco-notification-icon{color:rgb(var(--danger-6))}.arco-notification-left{padding-right:16px}.arco-notification-right{flex:1;word-break:break-word}.arco-notification-title{color:var(--color-text-1);font-weight:500;font-size:16px}.arco-notification-title+.arco-notification-content{margin-top:4px}.arco-notification-content{color:var(--color-text-1);font-size:14px}.arco-notification-info .arco-notification-title,.arco-notification-info .arco-notification-content,.arco-notification-success .arco-notification-title,.arco-notification-success .arco-notification-content,.arco-notification-warning .arco-notification-title,.arco-notification-warning .arco-notification-content,.arco-notification-error .arco-notification-title,.arco-notification-error .arco-notification-content{color:var(--color-text-1)}.arco-notification-footer{margin-top:16px;text-align:right}.arco-notification-close-btn{position:absolute;top:12px;right:12px;color:var(--color-text-1);font-size:12px;cursor:pointer}.arco-notification-close-btn>svg{position:relative}.arco-notification .arco-icon-hover.arco-notification-icon-hover:before{width:20px;height:20px}.slide-left-notification-enter-from,.slide-left-notification-appear-from{transform:translate(-100%)}.slide-left-notification-enter-to,.slide-left-notification-appear-to{transform:translate(0)}.slide-left-notification-enter-active,.slide-left-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-left-notification-leave-from{opacity:1}.slide-left-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-left-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)}.slide-right-notification-enter-from,.slide-right-notification-appear-from{transform:translate(100%)}.slide-right-notification-enter-to,.slide-right-notification-appear-to{transform:translate(0)}.slide-right-notification-enter-active,.slide-right-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-right-notification-leave-from{opacity:1}.slide-right-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-right-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)}.arco-overflow-list{display:flex;align-items:center;justify-content:flex-start}.arco-overflow-list>*:not(:last-child){flex-shrink:0}.arco-overflow-list-spacer{flex:1;min-width:0;height:1px}.arco-page-header{padding:16px 0}.arco-page-header-breadcrumb+.arco-page-header-header{margin-top:4px}.arco-page-header-wrapper{padding-right:20px;padding-left:24px}.arco-page-header-header{display:flex;align-items:center;justify-content:space-between;line-height:28px}.arco-page-header-header-left{display:flex;align-items:center}.arco-page-header-main{display:flex;align-items:center;min-height:30px}.arco-page-header-main-with-back{margin-left:-8px;padding-left:8px}.arco-page-header-extra{overflow:hidden;white-space:nowrap}.arco-page-header .arco-icon-hover.arco-page-header-icon-hover:before{width:30px;height:30px}.arco-page-header .arco-icon-hover.arco-page-header-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-page-header-back-btn{margin-right:12px;color:var(--color-text-2);font-size:14px}.arco-page-header-back-btn-icon{position:relative}.arco-page-header-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-text-1);font-weight:600;font-size:20px}.arco-page-header-divider{width:1px;height:16px;margin-right:12px;margin-left:12px;background-color:var(--color-fill-3)}.arco-page-header-subtitle{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-text-3);font-size:14px}.arco-page-header-content{padding:20px 32px;border-top:1px solid var(--color-neutral-3)}.arco-page-header-footer{padding:16px 20px 0 24px}.arco-page-header-with-breadcrumb{padding:12px 0}.arco-page-header-with-breadcrumb .arco-page-header-footer{padding-top:12px}.arco-page-header-with-content .arco-page-header-wrapper{padding-bottom:12px}.arco-page-header-with-footer{padding-bottom:0}.arco-page-header-wrapper .arco-page-header-header{flex-wrap:wrap}.arco-page-header-wrapper .arco-page-header-header .arco-page-header-head-extra{margin-top:4px}.arco-pagination{display:flex;align-items:center;font-size:14px}.arco-pagination-list{display:inline-block;margin:0;padding:0;white-space:nowrap;list-style:none}.arco-pagination-item{display:inline-block;box-sizing:border-box;padding:0 8px;color:var(--color-text-2);text-align:center;vertical-align:middle;list-style:none;background-color:transparent;border:0 solid transparent;border-radius:var(--border-radius-small);outline:0;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:32px;height:32px;font-size:14px;line-height:32px}.arco-pagination-item-previous,.arco-pagination-item-next{font-size:12px}.arco-pagination-item:hover{color:var(--color-text-2);background-color:var(--color-fill-1);border-color:transparent}.arco-pagination-item-active,.arco-pagination-item-active:hover{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1);border-color:transparent;transition:color .2s cubic-bezier(0,0,1,1),background-color .2s cubic-bezier(0,0,1,1)}.arco-pagination-item-disabled,.arco-pagination-item-disabled:hover{color:var(--color-text-4);background-color:transparent;border-color:transparent;cursor:not-allowed}.arco-pagination-item:not(:last-child){margin-right:8px}.arco-pagination-item-previous,.arco-pagination-item-next{color:var(--color-text-2);font-size:12px;background-color:transparent}.arco-pagination-item-previous:not(.arco-pagination-item-disabled):hover,.arco-pagination-item-next:not(.arco-pagination-item-disabled):hover{color:rgb(var(--primary-6));background-color:var(--color-fill-1)}.arco-pagination-item-previous:after,.arco-pagination-item-next:after{display:inline-block;font-size:0;vertical-align:middle;content:"."}.arco-pagination .arco-pagination-item-previous.arco-pagination-item-disabled,.arco-pagination .arco-pagination-item-next.arco-pagination-item-disabled{color:var(--color-text-4);background-color:transparent}.arco-pagination-item-jumper{font-size:16px}.arco-pagination-jumper{display:flex;align-items:center;margin-left:8px}.arco-pagination-jumper>span{font-size:14px}.arco-pagination-jumper-text-goto,.arco-pagination-jumper-prepend,.arco-pagination-jumper-append{color:var(--color-text-3);white-space:nowrap}.arco-pagination-jumper-prepend{margin-right:8px}.arco-pagination-jumper-append{margin-left:8px}.arco-pagination-jumper .arco-pagination-jumper-input{width:40px;padding-right:2px;padding-left:2px}.arco-pagination-jumper .arco-pagination-jumper-input input{text-align:center}.arco-pagination-options{position:relative;display:inline-block;flex:0 0 auto;min-width:0;margin-left:8px;text-align:center;vertical-align:middle}.arco-pagination-options .arco-select{width:auto}.arco-pagination-options .arco-select-view-value{padding-right:6px;overflow:inherit}.arco-pagination-total{display:inline-block;height:100%;margin-right:8px;color:var(--color-text-1);font-size:14px;line-height:32px;white-space:nowrap}.arco-pagination-jumper{flex:0 0 auto}.arco-pagination-jumper-separator{padding:0 12px}.arco-pagination-jumper-total-page{margin-right:8px}.arco-pagination-simple{display:flex;align-items:center}.arco-pagination-simple .arco-pagination-item{margin-right:0}.arco-pagination-simple .arco-pagination-jumper{margin:0 4px;color:var(--color-text-1)}.arco-pagination-simple .arco-pagination-jumper .arco-pagination-jumper-input{width:40px;margin-left:0}.arco-pagination-simple .arco-pagination-item-previous,.arco-pagination-simple .arco-pagination-item-next{color:var(--color-text-2);background-color:transparent}.arco-pagination-simple .arco-pagination-item-previous:not(.arco-pagination-item-disabled):hover,.arco-pagination-simple .arco-pagination-item-next:not(.arco-pagination-item-disabled):hover{color:rgb(var(--primary-6));background-color:var(--color-fill-1)}.arco-pagination-simple .arco-pagination-item-previous.arco-pagination-item-disabled,.arco-pagination-simple .arco-pagination-item-next.arco-pagination-item-disabled{color:var(--color-text-4);background-color:transparent}.arco-pagination-disabled{cursor:not-allowed}.arco-pagination-disabled .arco-pagination-item,.arco-pagination-disabled .arco-pagination-item:not(.arco-pagination-item-disabled):not(.arco-pagination-item-active):hover{color:var(--color-text-4);background-color:transparent;border-color:transparent;cursor:not-allowed}.arco-pagination.arco-pagination-disabled .arco-pagination-item-active{color:var(--color-primary-light-3);background-color:var(--color-fill-1);border-color:transparent}.arco-pagination-size-mini .arco-pagination-item{min-width:24px;height:24px;font-size:12px;line-height:24px}.arco-pagination-size-mini .arco-pagination-item-previous,.arco-pagination-size-mini .arco-pagination-item-next{font-size:12px}.arco-pagination-size-mini .arco-pagination-total{font-size:12px;line-height:24px}.arco-pagination-size-mini .arco-pagination-option{height:24px;font-size:12px;line-height:0}.arco-pagination-size-mini .arco-pagination-jumper>span{font-size:12px}.arco-pagination-size-small .arco-pagination-item{min-width:28px;height:28px;font-size:14px;line-height:28px}.arco-pagination-size-small .arco-pagination-item-previous,.arco-pagination-size-small .arco-pagination-item-next{font-size:12px}.arco-pagination-size-small .arco-pagination-total{font-size:14px;line-height:28px}.arco-pagination-size-small .arco-pagination-option{height:28px;font-size:14px;line-height:0}.arco-pagination-size-small .arco-pagination-jumper>span{font-size:14px}.arco-pagination-size-large .arco-pagination-item{min-width:36px;height:36px;font-size:14px;line-height:36px}.arco-pagination-size-large .arco-pagination-item-previous,.arco-pagination-size-large .arco-pagination-item-next{font-size:14px}.arco-pagination-size-large .arco-pagination-total{font-size:14px;line-height:36px}.arco-pagination-size-large .arco-pagination-option{height:36px;font-size:14px;line-height:0}.arco-pagination-size-large .arco-pagination-jumper>span{font-size:14px}.arco-popconfirm-popup-content{box-sizing:border-box;padding:16px;color:var(--color-text-2);font-size:14px;line-height:1.5715;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-popconfirm-popup-content .arco-popconfirm-body{position:relative;display:flex;align-items:flex-start;margin-bottom:16px;color:var(--color-text-1);font-size:14px}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon{display:inline-flex;align-items:center;height:22.001px;margin-right:8px;font-size:18px}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-exclamation-circle-fill{color:rgb(var(--warning-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-check-circle-fill{color:rgb(var(--success-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-info-circle-fill{color:rgb(var(--primary-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-icon .arco-icon-close-circle-fill{color:rgb(var(--danger-6))}.arco-popconfirm-popup-content .arco-popconfirm-body .arco-popconfirm-content{text-align:left;word-wrap:break-word}.arco-popconfirm-popup-content .arco-popconfirm-footer{text-align:right}.arco-popconfirm-popup-content .arco-popconfirm-footer>button{margin-left:8px}.arco-popconfirm-popup-arrow{z-index:1;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}.arco-popover-popup-content{box-sizing:border-box;padding:12px 16px;color:var(--color-text-2);font-size:14px;line-height:1.5715;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-popover-title{color:var(--color-text-1);font-weight:500;font-size:16px}.arco-popover-content{margin-top:4px;text-align:left;word-wrap:break-word}.arco-popover-popup-arrow{z-index:1;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}.arco-progress{position:relative;line-height:1;font-size:12px}.arco-progress-type-line,.arco-progress-type-steps{display:inline-block;max-width:100%;width:100%}.arco-progress-type-line.arco-progress-size-mini{width:auto}.arco-progress-line-wrapper,.arco-progress-steps-wrapper{display:flex;align-items:center;width:100%;max-width:100%;height:100%}.arco-progress-line-text,.arco-progress-steps-text{font-size:12px;margin-left:16px;color:var(--color-text-2);white-space:nowrap;text-align:right;flex-grow:1;flex-shrink:0;min-width:32px}.arco-progress-line-text .arco-icon,.arco-progress-steps-text .arco-icon{font-size:12px;margin-left:4px}.arco-progress-line{background-color:var(--color-fill-3);border-radius:100px;width:100%;position:relative;display:inline-block;overflow:hidden}.arco-progress-line-bar{height:100%;border-radius:100px;background-color:rgb(var(--primary-6));position:relative;transition:width .6s cubic-bezier(.34,.69,.1,1),background .3s cubic-bezier(.34,.69,.1,1);max-width:100%}.arco-progress-line-bar-buffer{position:absolute;background-color:var(--color-primary-light-3);height:100%;top:0;left:0;border-radius:0 100px 100px 0;max-width:100%;transition:all .6s cubic-bezier(.34,.69,.1,1)}.arco-progress-line-bar-animate:after{content:"";display:block;position:absolute;top:0;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,transparent 25%,rgba(255,255,255,.5) 50%,transparent 75%);background-size:400% 100%;animation:arco-progress-loading 1.5s cubic-bezier(.34,.69,.1,1) infinite}.arco-progress-line-text .arco-icon{color:var(--color-text-2)}.arco-progress-type-steps.arco-progress-size-small{width:auto}.arco-progress-type-steps.arco-progress-size-small .arco-progress-steps-item{width:2px;flex:unset;border-radius:2px}.arco-progress-type-steps.arco-progress-size-small .arco-progress-steps-item:not(:last-of-type){margin-right:3px}.arco-progress-steps{display:flex;width:100%}.arco-progress-steps-text{margin-left:8px;min-width:unset}.arco-progress-steps-text .arco-icon{color:var(--color-text-2)}.arco-progress-steps-item{height:100%;flex:1;background-color:var(--color-fill-3);position:relative;display:inline-block}.arco-progress-steps-item:not(:last-of-type){margin-right:3px}.arco-progress-steps-item:last-of-type{border-top-right-radius:100px;border-bottom-right-radius:100px}.arco-progress-steps-item:first-of-type{border-top-left-radius:100px;border-bottom-left-radius:100px}.arco-progress-steps-item-active{background-color:rgb(var(--primary-6))}.arco-progress-status-warning .arco-progress-line-bar,.arco-progress-status-warning .arco-progress-steps-item-active{background-color:rgb(var(--warning-6))}.arco-progress-status-warning .arco-progress-line-text .arco-icon,.arco-progress-status-warning .arco-progress-steps-text .arco-icon{color:rgb(var(--warning-6))}.arco-progress-status-success .arco-progress-line-bar,.arco-progress-status-success .arco-progress-steps-item-active{background-color:rgb(var(--success-6))}.arco-progress-status-success .arco-progress-line-text .arco-icon,.arco-progress-status-success .arco-progress-steps-text .arco-icon{color:rgb(var(--success-6))}.arco-progress-status-danger .arco-progress-line-bar,.arco-progress-status-danger .arco-progress-steps-item-active{background-color:rgb(var(--danger-6))}.arco-progress-status-danger .arco-progress-line-text .arco-icon,.arco-progress-status-danger .arco-progress-steps-text .arco-icon{color:rgb(var(--danger-6))}.arco-progress-size-small .arco-progress-line-text{font-size:12px;margin-left:16px}.arco-progress-size-small .arco-progress-line-text .arco-icon{font-size:12px}.arco-progress-size-large .arco-progress-line-text{font-size:16px;margin-left:16px}.arco-progress-size-large .arco-progress-line-text .arco-icon{font-size:14px}.arco-progress-type-circle{display:inline-block}.arco-progress-circle-wrapper{position:relative;text-align:center;line-height:1;display:inline-block;vertical-align:text-bottom}.arco-progress-circle-svg{transform:rotate(-90deg)}.arco-progress-circle-text{position:absolute;top:50%;left:50%;color:var(--color-text-3);transform:translate(-50%,-50%);font-size:14px}.arco-progress-circle-text .arco-icon{font-size:16px;color:var(--color-text-2)}.arco-progress-circle-bg{stroke:var(--color-fill-3)}.arco-progress-circle-bar{stroke:rgb(var(--primary-6));transition:stroke-dashoffset .6s cubic-bezier(0,0,1,1) 0s,stroke .6s cubic-bezier(0,0,1,1)}.arco-progress-size-mini .arco-progress-circle-bg{stroke:var(--color-primary-light-3)}.arco-progress-size-mini .arco-progress-circle-bar{stroke:rgb(var(--primary-6))}.arco-progress-size-mini.arco-progress-status-warning .arco-progress-circle-bg{stroke:var(--color-warning-light-3)}.arco-progress-size-mini.arco-progress-status-danger .arco-progress-circle-bg{stroke:var(--color-danger-light-3)}.arco-progress-size-mini.arco-progress-status-success .arco-progress-circle-bg{stroke:var(--color-success-light-3)}.arco-progress-size-mini .arco-progress-circle-wrapper .arco-icon-check{position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.arco-progress-size-mini .arco-progress-circle-text{position:static;top:unset;left:unset;transform:unset}.arco-progress-size-small .arco-progress-circle-text{font-size:13px}.arco-progress-size-small .arco-progress-circle-text .arco-icon{font-size:14px}.arco-progress-size-large .arco-progress-circle-text,.arco-progress-size-large .arco-progress-circle-text .arco-icon{font-size:16px}.arco-progress-status-warning .arco-progress-circle-bar{stroke:rgb(var(--warning-6))}.arco-progress-status-warning .arco-icon{color:rgb(var(--warning-6))}.arco-progress-status-success .arco-progress-circle-bar{stroke:rgb(var(--success-6))}.arco-progress-status-success .arco-icon{color:rgb(var(--success-6))}.arco-progress-status-danger .arco-progress-circle-bar{stroke:rgb(var(--danger-6))}.arco-progress-status-danger .arco-icon{color:rgb(var(--danger-6))}@keyframes arco-progress-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.arco-rate{display:inline-flex;align-items:center;min-height:32px;font-size:24px;line-height:1;-webkit-user-select:none;user-select:none}.arco-rate-disabled{cursor:not-allowed}.arco-rate-character{position:relative;color:var(--color-fill-3);transition:transform .2s cubic-bezier(.34,.69,.1,1)}.arco-rate-character:not(:last-child){margin-right:8px}.arco-rate-character-left,.arco-rate-character-right{transition:inherit}.arco-rate-character-left>*,.arco-rate-character-right>*{float:left}.arco-rate-character-left{position:absolute;top:0;left:0;width:50%;overflow:hidden;white-space:nowrap;opacity:0}.arco-rate-character-scale{animation:arco-rate-scale .4s cubic-bezier(.34,.69,.1,1)}.arco-rate-character-full .arco-rate-character-right{color:rgb(var(--gold-6))}.arco-rate-character-half .arco-rate-character-left{color:rgb(var(--gold-6));opacity:1}.arco-rate-character-disabled{cursor:not-allowed}.arco-rate:not(.arco-rate-readonly):not(.arco-rate-disabled) .arco-rate-character{cursor:pointer}.arco-rate:not(.arco-rate-readonly):not(.arco-rate-disabled) .arco-rate-character:hover,.arco-rate:not(.arco-rate-readonly):not(.arco-rate-disabled) .arco-rate-character:focus{transform:scale(1.2)}@keyframes arco-rate-scale{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.arco-resizebox{position:relative;width:100%;overflow:hidden}.arco-resizebox-direction-left,.arco-resizebox-direction-right,.arco-resizebox-direction-top,.arco-resizebox-direction-bottom{position:absolute;top:0;left:0;box-sizing:border-box;-webkit-user-select:none;user-select:none}.arco-resizebox-direction-right{right:0;left:unset}.arco-resizebox-direction-bottom{top:unset;bottom:0}.arco-resizebox-trigger-icon-wrapper{display:flex;align-items:center;justify-content:center;height:100%;color:var(--color-text-1);font-size:12px;line-height:1;background-color:var(--color-neutral-3)}.arco-resizebox-trigger-icon{display:inline-block;margin:-3px}.arco-resizebox-trigger-vertical{height:100%;cursor:col-resize}.arco-resizebox-trigger-horizontal{width:100%;cursor:row-resize}.arco-result{box-sizing:border-box;width:100%;padding:32px 32px 24px}.arco-result-icon{margin-bottom:16px;font-size:20px;text-align:center}.arco-result-icon-tip{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:50%;margin:0 auto}.arco-result-icon-custom .arco-result-icon-tip{font-size:45px;color:inherit;width:unset;height:unset}.arco-result-icon-success .arco-result-icon-tip{color:rgb(var(--success-6));background-color:var(--color-success-light-1)}.arco-result-icon-error .arco-result-icon-tip{color:rgb(var(--danger-6));background-color:var(--color-danger-light-1)}.arco-result-icon-info .arco-result-icon-tip{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1)}.arco-result-icon-warning .arco-result-icon-tip{color:rgb(var(--warning-6));background-color:var(--color-warning-light-1)}.arco-result-icon-404,.arco-result-icon-403,.arco-result-icon-500{padding-top:24px}.arco-result-icon-404 .arco-result-icon-tip,.arco-result-icon-403 .arco-result-icon-tip,.arco-result-icon-500 .arco-result-icon-tip{width:92px;height:92px;line-height:92px}.arco-result-title{color:var(--color-text-1);font-weight:500;font-size:14px;line-height:1.5715;text-align:center}.arco-result-subtitle{color:var(--color-text-2);font-size:14px;line-height:1.5715;text-align:center}.arco-result-extra{margin-top:20px;text-align:center}.arco-result-content{margin-top:20px}.arco-skeleton-shape{width:48px;height:48px;background-color:var(--color-fill-2);border-radius:var(--border-radius-small)}.arco-skeleton-shape-circle{border-radius:50%}.arco-skeleton-shape-small{width:36px;height:36px}.arco-skeleton-shape-large{width:60px;height:60px}.arco-skeleton-line{margin:0;padding:0;list-style:none}.arco-skeleton-line-row{height:16px;background-color:var(--color-fill-2)}.arco-skeleton-line-row:not(:last-child){margin-bottom:16px}.arco-skeleton-animation .arco-skeleton-shape,.arco-skeleton-animation .arco-skeleton-line-row{background:linear-gradient(90deg,var(--color-fill-2) 25%,var(--color-fill-3) 37%,var(--color-fill-2) 63%);background-size:400% 100%;animation:arco-skeleton-circle 1.5s cubic-bezier(0,0,1,1) infinite}@keyframes arco-skeleton-circle{0%{background-position:100% 50%}to{background-position:0 50%}}.arco-slider{display:inline-flex;align-items:center;width:100%}.arco-slider-vertical{display:inline-block;width:auto;min-width:22px;height:auto}.arco-slider-vertical .arco-slider-wrapper{flex-direction:column}.arco-slider-with-marks{margin-bottom:24px;padding:20px}.arco-slider-vertical.arco-slider-with-marks{margin-bottom:0;padding:0}.arco-slider-track{position:relative;flex:1;width:100%;height:12px;cursor:pointer}.arco-slider-track:before{position:absolute;top:50%;display:block;width:100%;height:2px;background-color:var(--color-fill-3);border-radius:2px;transform:translateY(-50%);content:""}.arco-slider-track.arco-slider-track-vertical{width:12px;max-width:12px;height:100%;min-height:200px;margin-right:0;margin-bottom:6px;margin-top:6px;transform:translateY(0)}.arco-slider-track.arco-slider-track-vertical:before{top:unset;left:50%;width:2px;height:100%;transform:translate(-50%)}.arco-slider-track.arco-slider-track-disabled:before{background-color:var(--color-fill-2)}.arco-slider-track.arco-slider-track-disabled .arco-slider-bar{background-color:var(--color-fill-3)}.arco-slider-track.arco-slider-track-disabled .arco-slider-btn{cursor:not-allowed}.arco-slider-track.arco-slider-track-disabled .arco-slider-btn:after{border-color:var(--color-fill-3)}.arco-slider-track.arco-slider-track-disabled .arco-slider-dots .arco-slider-dot{border-color:var(--color-fill-2)}.arco-slider-track.arco-slider-track-disabled .arco-slider-dots .arco-slider-dot-active{border-color:var(--color-fill-3)}.arco-slider-track.arco-slider-track-disabled .arco-slider-ticks .arco-slider-tick{background:var(--color-fill-2)}.arco-slider-track.arco-slider-track-disabled .arco-slider-ticks .arco-slider-tick-active{background:var(--color-fill-3)}.arco-slider-bar{position:absolute;top:50%;height:2px;background-color:rgb(var(--primary-6));border-radius:2px;transform:translateY(-50%)}.arco-slider-track-vertical .arco-slider-bar{top:unset;left:50%;width:2px;height:unset;transform:translate(-50%)}.arco-slider-btn{position:absolute;top:0;left:0;width:12px;height:12px;transform:translate(-50%)}.arco-slider-btn:after{position:absolute;top:0;left:0;display:inline-block;box-sizing:border-box;width:12px;height:12px;background:var(--color-bg-2);border:2px solid rgb(var(--primary-6));border-radius:50%;transition:all .3s cubic-bezier(.3,1.3,.3,1);content:""}.arco-slider-btn.arco-slider-btn-active:after,.arco-slider-btn:hover:after{box-shadow:0 2px 5px #0000001a;transform:scale(1.16666667)}.arco-slider-track-vertical .arco-slider-btn{top:unset;bottom:0;left:0;transform:translateY(50%)}.arco-slider-marks{position:absolute;top:12px;width:100%}.arco-slider-marks .arco-slider-mark{position:absolute;color:var(--color-text-3);font-size:14px;line-height:1;transform:translate(-50%);cursor:pointer}.arco-slider-track-vertical .arco-slider-marks{top:0;left:15px;height:100%}.arco-slider-track-vertical .arco-slider-marks .arco-slider-mark{transform:translateY(50%)}.arco-slider-dots{height:100%}.arco-slider-dots .arco-slider-dot-wrapper{position:absolute;top:50%;font-size:12px;transform:translate(-50%,-50%)}.arco-slider-track-vertical .arco-slider-dots .arco-slider-dot-wrapper{top:unset;left:50%;transform:translate(-50%,50%)}.arco-slider-dots .arco-slider-dot-wrapper .arco-slider-dot{box-sizing:border-box;width:8px;height:8px;background-color:var(--color-bg-2);border:2px solid var(--color-fill-3);border-radius:50%}.arco-slider-dots .arco-slider-dot-wrapper .arco-slider-dot-active{border-color:rgb(var(--primary-6))}.arco-slider-ticks .arco-slider-tick{position:absolute;top:50%;width:1px;height:3px;margin-top:-1px;background:var(--color-fill-3);transform:translate(-50%,-100%)}.arco-slider-ticks .arco-slider-tick-active{background:rgb(var(--primary-6))}.arco-slider-vertical .arco-slider-ticks .arco-slider-tick{top:unset;left:50%;width:3px;height:1px;margin-top:unset;transform:translate(1px,50%)}.arco-slider-input{display:flex;align-items:center;margin-left:20px}.arco-slider-vertical .arco-slider-input{margin-left:0}.arco-slider-input>.arco-input-number{width:60px;height:32px;overflow:visible;line-height:normal}.arco-slider-input>.arco-input-number input{text-align:center}.arco-slider-input-hyphens{margin:0 6px;width:8px;height:2px;background:rgb(var(--gray-6))}.arco-dot-loading{position:relative;display:inline-block;width:56px;height:8px;transform-style:preserve-3d;perspective:200px}.arco-dot-loading-item{position:absolute;top:0;left:50%;width:8px;height:8px;background-color:rgb(var(--primary-6));border-radius:var(--border-radius-circle);transform:translate(-50%) scale(0);animation:arco-dot-loading 2s cubic-bezier(0,0,1,1) infinite forwards}.arco-dot-loading-item:nth-child(2){background-color:rgb(var(--primary-5));animation-delay:.4s}.arco-dot-loading-item:nth-child(3){background-color:rgb(var(--primary-4));animation-delay:.8s}.arco-dot-loading-item:nth-child(4){background-color:rgb(var(--primary-4));animation-delay:1.2s}.arco-dot-loading-item:nth-child(5){background-color:rgb(var(--primary-2));animation-delay:1.6s}@keyframes arco-dot-loading{0%{transform:translate3D(-48.621%,0,-.985px) scale(.511)}2.778%{transform:translate3D(-95.766%,0,-.94px) scale(.545)}5.556%{transform:translate3D(-140%,0,-.866px) scale(.6)}8.333%{transform:translate3D(-179.981%,0,-.766px) scale(.675)}11.111%{transform:translate3D(-214.492%,0,-.643px) scale(.768)}13.889%{transform:translate3D(-242.487%,0,-.5px) scale(.875)}16.667%{transform:translate3D(-263.114%,0,-.342px) scale(.993)}19.444%{transform:translate3D(-275.746%,0,-.174px) scale(1.12)}22.222%{transform:translate3D(-280%,0,0) scale(1.25)}25%{transform:translate3D(-275.746%,0,.174px) scale(1.38)}27.778%{transform:translate3D(-263.114%,0,.342px) scale(1.507)}30.556%{transform:translate3D(-242.487%,0,.5px) scale(1.625)}33.333%{transform:translate3D(-214.492%,0,.643px) scale(1.732)}36.111%{transform:translate3D(-179.981%,0,.766px) scale(1.825)}38.889%{transform:translate3D(-140%,0,.866px) scale(1.9)}41.667%{transform:translate3D(-95.766%,0,.94px) scale(1.955)}44.444%{transform:translate3D(-48.621%,0,.985px) scale(1.989)}47.222%{transform:translateZ(1px) scale(2)}50%{transform:translate3D(48.621%,0,.985px) scale(1.989)}52.778%{transform:translate3D(95.766%,0,.94px) scale(1.955)}55.556%{transform:translate3D(140%,0,.866px) scale(1.9)}58.333%{transform:translate3D(179.981%,0,.766px) scale(1.825)}61.111%{transform:translate3D(214.492%,0,.643px) scale(1.732)}63.889%{transform:translate3D(242.487%,0,.5px) scale(1.625)}66.667%{transform:translate3D(263.114%,0,.342px) scale(1.507)}69.444%{transform:translate3D(275.746%,0,.174px) scale(1.38)}72.222%{transform:translate3D(280%,0,0) scale(1.25)}75%{transform:translate3D(275.746%,0,-.174px) scale(1.12)}77.778%{transform:translate3D(263.114%,0,-.342px) scale(.993)}80.556%{transform:translate3D(242.487%,0,-.5px) scale(.875)}83.333%{transform:translate3D(214.492%,0,-.643px) scale(.768)}86.111%{transform:translate3D(179.981%,0,-.766px) scale(.675)}88.889%{transform:translate3D(140%,0,-.866px) scale(.6)}91.667%{transform:translate3D(95.766%,0,-.94px) scale(.545)}94.444%{transform:translate3D(48.621%,0,-.985px) scale(.511)}97.222%{transform:translateZ(-1px) scale(.5)}}.arco-spin{display:inline-block}.arco-spin-with-tip{text-align:center}.arco-spin-icon{color:rgb(var(--primary-6));font-size:20px}.arco-spin-tip{margin-top:6px;color:rgb(var(--primary-6));font-weight:500;font-size:14px}.arco-spin-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:11;text-align:center;background-color:var(--color-spin-layer-bg);transition:opacity .1s cubic-bezier(0,0,1,1);-webkit-user-select:none;user-select:none}.arco-spin-loading{position:relative;-webkit-user-select:none;user-select:none}.arco-spin-loading .arco-spin-mask-icon{position:absolute;top:50%;left:50%;z-index:12;transform:translate(-50%,-50%)}.arco-spin-loading .arco-spin-children:after{opacity:1;pointer-events:auto}.arco-split{display:flex}.arco-split-pane{overflow:auto}.arco-split-pane-second{flex:1}.arco-split-horizontal{flex-direction:row}.arco-split-vertical{flex-direction:column}.arco-split-trigger-icon-wrapper{display:flex;align-items:center;justify-content:center;height:100%;color:var(--color-text-1);font-size:12px;line-height:1;background-color:var(--color-neutral-3)}.arco-split-trigger-icon{display:inline-block;margin:-3px}.arco-split-trigger-vertical{height:100%;cursor:col-resize}.arco-split-trigger-horizontal{width:100%;cursor:row-resize}.arco-statistic{display:inline-block;color:var(--color-text-2);line-height:1.5715}.arco-statistic-title{margin-bottom:8px;color:var(--color-text-2);font-size:14px}.arco-statistic-content .arco-statistic-value{color:var(--color-text-1);font-weight:500;font-size:26px;white-space:nowrap}.arco-statistic-content .arco-statistic-value-integer{font-size:inherit;white-space:nowrap}.arco-statistic-content .arco-statistic-value-decimal{display:inline-block;font-size:inherit}.arco-statistic-prefix,.arco-statistic-suffix{font-size:14px}.arco-statistic-extra{margin-top:8px;color:var(--color-text-2)}.arco-steps-item{position:relative;flex:1;margin-right:12px;overflow:hidden;white-space:nowrap;text-align:left}.arco-steps-item:last-child{flex:none;margin-right:0}.arco-steps-item-active .arco-steps-item-title{font-weight:500}.arco-steps-item-node{display:inline-block;margin-right:12px;font-weight:500;font-size:16px;vertical-align:top}.arco-steps-icon{box-sizing:border-box;width:28px;height:28px;line-height:26px;text-align:center;border-radius:var(--border-radius-circle);font-size:16px}.arco-steps-item-wait .arco-steps-icon{color:var(--color-text-2);background-color:var(--color-fill-2);border:1px solid transparent}.arco-steps-item-process .arco-steps-icon{color:var(--color-white);background-color:rgb(var(--primary-6));border:1px solid transparent}.arco-steps-item-finish .arco-steps-icon{color:rgb(var(--primary-6));background-color:var(--color-primary-light-1);border:1px solid transparent}.arco-steps-item-error .arco-steps-icon{color:var(--color-white);background-color:rgb(var(--danger-6));border:1px solid transparent}.arco-steps-item-title{position:relative;display:inline-block;padding-right:12px;color:var(--color-text-2);font-size:16px;line-height:28px;white-space:nowrap}.arco-steps-item-wait .arco-steps-item-title{color:var(--color-text-2)}.arco-steps-item-process .arco-steps-item-title,.arco-steps-item-finish .arco-steps-item-title,.arco-steps-item-error .arco-steps-item-title{color:var(--color-text-1)}.arco-steps-item-content{display:inline-block}.arco-steps-item-description{max-width:140px;margin-top:2px;color:var(--color-text-3);font-size:12px;white-space:normal}.arco-steps-item-wait .arco-steps-item-description,.arco-steps-item-process .arco-steps-item-description,.arco-steps-item-finish .arco-steps-item-description,.arco-steps-item-error .arco-steps-item-description{color:var(--color-text-3)}.arco-steps-label-horizontal .arco-steps-item:not(:last-child) .arco-steps-item-title:after{position:absolute;top:13.5px;left:100%;display:block;box-sizing:border-box;width:5000px;height:1px;background-color:var(--color-neutral-3);content:""}.arco-steps-label-horizontal .arco-steps-item.arco-steps-item-process .arco-steps-item-title:after{background-color:var(--color-neutral-3)}.arco-steps-label-horizontal .arco-steps-item.arco-steps-item-finish .arco-steps-item-title:after{background-color:rgb(var(--primary-6))}.arco-steps-label-horizontal .arco-steps-item.arco-steps-item-next-error .arco-steps-item-title:after{background-color:rgb(var(--danger-6))}.arco-steps-item:not(:last-child) .arco-steps-item-tail{position:absolute;top:13.5px;box-sizing:border-box;width:100%;height:1px}.arco-steps-item:not(:last-child) .arco-steps-item-tail:after{display:block;width:100%;height:100%;background-color:var(--color-neutral-3);content:""}.arco-steps-vertical .arco-steps-item:not(:last-child) .arco-steps-item-tail{position:absolute;top:0;left:13.5px;box-sizing:border-box;width:1px;height:100%;padding:34px 0 6px}.arco-steps-vertical .arco-steps-item:not(:last-child) .arco-steps-item-tail:after{display:block;width:100%;height:100%;background-color:var(--color-neutral-3);content:""}.arco-steps-size-small.arco-steps-vertical .arco-steps-item:not(:last-child) .arco-steps-item-tail{left:11.5px;padding:30px 0 6px}.arco-steps-item:not(:last-child).arco-steps-item-finish .arco-steps-item-tail:after{background-color:rgb(var(--primary-6))}.arco-steps-item:not(:last-child).arco-steps-item-next-error .arco-steps-item-tail:after{background-color:rgb(var(--danger-6))}.arco-steps-size-small:not(.arco-steps-vertical) .arco-steps-item:not(:last-child) .arco-steps-item-tail{top:11.5px}.arco-steps-size-small .arco-steps-item-node{font-size:14px}.arco-steps-size-small .arco-steps-item-title{font-size:14px;line-height:24px}.arco-steps-size-small .arco-steps-item-description{font-size:12px}.arco-steps-size-small .arco-steps-icon{width:24px;height:24px;font-size:14px;line-height:22px}.arco-steps-size-small.arco-steps-label-horizontal .arco-steps-item:not(:last-child) .arco-steps-item-title:after{top:11.5px}.arco-steps-label-vertical .arco-steps-item{overflow:visible}.arco-steps-label-vertical .arco-steps-item-title{margin-top:2px;padding-right:0}.arco-steps-label-vertical .arco-steps-item-node{margin-left:56px}.arco-steps-label-vertical .arco-steps-item-tail{left:96px;padding-right:40px}.arco-steps-label-vertical.arco-steps-size-small .arco-steps-item-node{margin-left:58px}.arco-steps-label-vertical.arco-steps-size-small .arco-steps-item-tail{left:94px;padding-right:36px}.arco-steps-mode-dot .arco-steps-item{position:relative;flex:1;margin-right:16px;overflow:visible;white-space:nowrap;text-align:left}.arco-steps-mode-dot .arco-steps-item:last-child{flex:none;margin-right:0}.arco-steps-mode-dot .arco-steps-item-active .arco-steps-item-title{font-weight:500}.arco-steps-mode-dot .arco-steps-item-node{display:inline-block;box-sizing:border-box;width:8px;height:8px;vertical-align:top;border-radius:var(--border-radius-circle)}.arco-steps-mode-dot .arco-steps-item-active .arco-steps-item-node{width:10px;height:10px}.arco-steps-mode-dot .arco-steps-item-wait .arco-steps-item-node{background-color:var(--color-fill-4);border-color:var(--color-fill-4)}.arco-steps-mode-dot .arco-steps-item-process .arco-steps-item-node,.arco-steps-mode-dot .arco-steps-item-finish .arco-steps-item-node{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6))}.arco-steps-mode-dot .arco-steps-item-error .arco-steps-item-node{background-color:rgb(var(--danger-6));border-color:rgb(var(--danger-6))}.arco-steps-mode-dot.arco-steps-horizontal .arco-steps-item-node{margin-left:66px}.arco-steps-mode-dot.arco-steps-horizontal .arco-steps-item-active .arco-steps-item-node{margin-top:-1px;margin-left:65px}.arco-steps-mode-dot .arco-steps-item-content{display:inline-block}.arco-steps-mode-dot .arco-steps-item-title{position:relative;display:inline-block;margin-top:4px;font-size:16px}.arco-steps-mode-dot .arco-steps-item-wait .arco-steps-item-title{color:var(--color-text-2)}.arco-steps-mode-dot .arco-steps-item-process .arco-steps-item-title,.arco-steps-mode-dot .arco-steps-item-finish .arco-steps-item-title,.arco-steps-mode-dot .arco-steps-item-error .arco-steps-item-title{color:var(--color-text-1)}.arco-steps-mode-dot .arco-steps-item-description{margin-top:4px;font-size:12px;white-space:normal}.arco-steps-mode-dot .arco-steps-item-wait .arco-steps-item-description,.arco-steps-mode-dot .arco-steps-item-process .arco-steps-item-description,.arco-steps-mode-dot .arco-steps-item-finish .arco-steps-item-description,.arco-steps-mode-dot .arco-steps-item-error .arco-steps-item-description{color:var(--color-text-3)}.arco-steps-mode-dot .arco-steps-item:not(:last-child) .arco-steps-item-tail{position:absolute;top:3.5px;left:78px;box-sizing:border-box;width:100%;height:1px;background-color:var(--color-neutral-3)}.arco-steps-mode-dot .arco-steps-item:not(:last-child).arco-steps-item-process .arco-steps-item-tail{background-color:var(--color-neutral-3)}.arco-steps-mode-dot .arco-steps-item:not(:last-child).arco-steps-item-finish .arco-steps-item-tail{background-color:rgb(var(--primary-6))}.arco-steps-mode-dot .arco-steps-item:not(:last-child).arco-steps-item-next-error .arco-steps-item-tail{background-color:rgb(var(--danger-6))}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item-node{margin-right:16px}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item-content{overflow:hidden}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item-title{margin-top:-2px}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item-description{margin-top:4px}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item:not(:last-child) .arco-steps-item-tail{position:absolute;bottom:0;left:4px;box-sizing:border-box;width:1px;height:100%;padding-top:16px;padding-bottom:2px;background-color:transparent;transform:translate(-50%)}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item:not(:last-child) .arco-steps-item-tail:after{display:block;width:100%;height:100%;background-color:var(--color-neutral-3);content:""}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item:not(:last-child).arco-steps-item-process .arco-steps-item-tail:after{background-color:var(--color-neutral-3)}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item:not(:last-child).arco-steps-item-finish .arco-steps-item-tail:after{background-color:rgb(var(--primary-6))}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item:not(:last-child).arco-steps-item-next-error .arco-steps-item-tail:after{background-color:rgb(var(--danger-6))}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item .arco-steps-item-node{margin-top:8px}.arco-steps-mode-dot.arco-steps-vertical .arco-steps-item-active .arco-steps-item-node{margin-top:6px;margin-left:-1px}.arco-steps-mode-arrow .arco-steps-item{position:relative;display:flex;flex:1;align-items:center;height:72px;overflow:visible;white-space:nowrap}.arco-steps-mode-arrow .arco-steps-item:not(:last-child){margin-right:4px}.arco-steps-mode-arrow .arco-steps-item-wait{background-color:var(--color-fill-1)}.arco-steps-mode-arrow .arco-steps-item-process{background-color:rgb(var(--primary-6))}.arco-steps-mode-arrow .arco-steps-item-finish{background-color:var(--color-primary-light-1)}.arco-steps-mode-arrow .arco-steps-item-error{background-color:rgb(var(--danger-6))}.arco-steps-mode-arrow .arco-steps-item-content{display:inline-block;box-sizing:border-box}.arco-steps-mode-arrow .arco-steps-item:first-child .arco-steps-item-content{padding-left:16px}.arco-steps-mode-arrow .arco-steps-item:not(:first-child) .arco-steps-item-content{padding-left:52px}.arco-steps-mode-arrow .arco-steps-item-title{position:relative;display:inline-block;font-size:16px;white-space:nowrap}.arco-steps-mode-arrow .arco-steps-item-title:after{display:none!important}.arco-steps-mode-arrow .arco-steps-item-wait .arco-steps-item-title{color:var(--color-text-2)}.arco-steps-mode-arrow .arco-steps-item-process .arco-steps-item-title{color:var(--color-white)}.arco-steps-mode-arrow .arco-steps-item-finish .arco-steps-item-title{color:var(--color-text-1)}.arco-steps-mode-arrow .arco-steps-item-error .arco-steps-item-title{color:var(--color-white)}.arco-steps-mode-arrow .arco-steps-item-active .arco-steps-item-title{font-weight:500}.arco-steps-mode-arrow .arco-steps-item-description{max-width:none;margin-top:0;font-size:12px;white-space:nowrap}.arco-steps-mode-arrow .arco-steps-item-wait .arco-steps-item-description{color:var(--color-text-3)}.arco-steps-mode-arrow .arco-steps-item-process .arco-steps-item-description{color:var(--color-white)}.arco-steps-mode-arrow .arco-steps-item-finish .arco-steps-item-description{color:var(--color-text-3)}.arco-steps-mode-arrow .arco-steps-item-error .arco-steps-item-description{color:var(--color-white)}.arco-steps-mode-arrow .arco-steps-item:not(:first-child):before{position:absolute;top:0;left:0;z-index:1;display:block;width:0;height:0;border-top:36px solid transparent;border-bottom:36px solid transparent;border-left:36px solid var(--color-bg-2);content:""}.arco-steps-mode-arrow .arco-steps-item:not(:last-child):after{position:absolute;top:0;right:-36px;z-index:2;display:block;clear:both;width:0;height:0;border-top:36px solid transparent;border-bottom:36px solid transparent;content:""}.arco-steps-mode-arrow .arco-steps-item:not(:last-child).arco-steps-item-wait:after{border-left:36px solid var(--color-fill-1)}.arco-steps-mode-arrow .arco-steps-item:not(:last-child).arco-steps-item-process:after{border-left:36px solid rgb(var(--primary-6))}.arco-steps-mode-arrow .arco-steps-item:not(:last-child).arco-steps-item-error:after{border-left:36px solid rgb(var(--danger-6))}.arco-steps-mode-arrow .arco-steps-item:not(:last-child).arco-steps-item-finish:after{border-left:36px solid var(--color-primary-light-1)}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item{height:40px}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item-title{font-size:14px}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item-description{display:none}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:first-child):before{border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid var(--color-bg-2)}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:last-child):after{right:-20px;border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid var(--color-fill-1)}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:first-child .arco-steps-item-content{padding-left:20px}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:first-child) .arco-steps-item-content{padding-left:40px}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item-error:not(:last-child):after{border-left:20px solid rgb(var(--danger-6))}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:last-child).arco-steps-item-wait:after{border-left:20px solid var(--color-fill-1)}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:last-child).arco-steps-item-process:after{border-left:20px solid rgb(var(--primary-6))}.arco-steps-mode-arrow.arco-steps-size-small .arco-steps-item:not(:last-child).arco-steps-item-finish:after{border-left:20px solid var(--color-primary-light-1)}.arco-steps-mode-navigation.arco-steps-label-horizontal .arco-steps-item:not(:last-child) .arco-steps-item-title:after{display:none}.arco-steps-mode-navigation .arco-steps-item{padding-left:20px;padding-right:10px;margin-right:32px}.arco-steps-mode-navigation .arco-steps-item:last-child{flex:1}.arco-steps-mode-navigation .arco-steps-item-content{margin-bottom:20px}.arco-steps-mode-navigation .arco-steps-item-description{padding-right:20px}.arco-steps-mode-navigation .arco-steps-item-active:after{content:"";position:absolute;display:block;height:2px;left:0;right:30px;bottom:0;background-color:rgb(var(--primary-6))}.arco-steps-mode-navigation .arco-steps-item-active:last-child:after{width:100%}.arco-steps-mode-navigation .arco-steps-item:not(:last-child) .arco-steps-item-content:after{position:absolute;top:10px;right:30px;display:inline-block;width:6px;height:6px;background-color:var(--color-bg-2);border:2px solid var(--color-text-4);border-bottom:none;border-left:none;-webkit-transform:rotate(45deg);transform:rotate(45deg);content:""}.arco-steps{display:flex}.arco-steps-changeable .arco-steps-item-title,.arco-steps-changeable .arco-steps-item-description{transition:all .1s cubic-bezier(0,0,1,1)}.arco-steps-changeable .arco-steps-item:not(.arco-steps-item-active):not(.arco-steps-item-disabled){cursor:pointer}.arco-steps-changeable .arco-steps-item:not(.arco-steps-item-active):not(.arco-steps-item-disabled):hover .arco-steps-item-content .arco-steps-item-title,.arco-steps-changeable .arco-steps-item:not(.arco-steps-item-active):not(.arco-steps-item-disabled):hover .arco-steps-item-content .arco-steps-item-description{color:rgb(var(--primary-6))}.arco-steps-line-less .arco-steps-item-title:after{display:none!important}.arco-steps-vertical{flex-direction:column}.arco-steps-vertical .arco-steps-item:not(:last-child){min-height:90px}.arco-steps-vertical .arco-steps-item-title:after{display:none!important}.arco-steps-vertical .arco-steps-item-description{max-width:none}.arco-steps-label-vertical .arco-steps-item-content{display:block;width:140px;text-align:center}.arco-steps-label-vertical .arco-steps-item-description{max-width:none}.switch-slide-text-enter-from{left:-100%!important}.switch-slide-text-enter-to{left:8px!important}.switch-slide-text-enter-active{transition:left .2s cubic-bezier(.34,.69,.1,1)}.switch-slide-text-leave-from{left:100%!important}.switch-slide-text-leave-to{left:26px!important}.switch-slide-text-leave-active{transition:left .2s cubic-bezier(.34,.69,.1,1)}.arco-switch{position:relative;box-sizing:border-box;min-width:40px;height:24px;padding:0;overflow:hidden;line-height:24px;vertical-align:middle;background-color:var(--color-fill-4);border:none;border-radius:12px;outline:none;cursor:pointer;transition:background-color .2s cubic-bezier(.34,.69,.1,1)}.arco-switch-handle{position:absolute;top:4px;left:4px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:var(--color-neutral-3);font-size:12px;background-color:var(--color-bg-white);border-radius:50%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.arco-switch-checked{background-color:rgb(var(--primary-6))}.arco-switch-checked .arco-switch-handle{left:calc(100% - 20px);color:rgb(var(--primary-6))}.arco-switch[disabled] .arco-switch-handle{color:var(--color-fill-2)}.arco-switch[disabled].arco-switch-checked .arco-switch-handle{color:var(--color-primary-light-3)}.arco-switch-text-holder{margin:0 8px 0 26px;font-size:12px;opacity:0}.arco-switch-text{position:absolute;top:0;left:26px;color:var(--color-white);font-size:12px}.arco-switch-checked .arco-switch-text-holder{margin:0 26px 0 8px}.arco-switch-checked .arco-switch-text{left:8px;color:var(--color-white)}.arco-switch[disabled]{background-color:var(--color-fill-2);cursor:not-allowed}.arco-switch[disabled] .arco-switch-text{color:var(--color-white)}.arco-switch[disabled].arco-switch-checked{background-color:var(--color-primary-light-3)}.arco-switch[disabled].arco-switch-checked .arco-switch-text{color:var(--color-white)}.arco-switch-loading{background-color:var(--color-fill-2)}.arco-switch-loading .arco-switch-handle{color:var(--color-neutral-3)}.arco-switch-loading .arco-switch-text{color:var(--color-white)}.arco-switch-loading.arco-switch-checked{background-color:var(--color-primary-light-3)}.arco-switch-loading.arco-switch-checked .arco-switch-handle{color:var(--color-primary-light-3)}.arco-switch-loading.arco-switch-checked .arco-switch-text{color:var(--color-primary-light-1)}.arco-switch-small{min-width:28px;height:16px;line-height:16px}.arco-switch-small.arco-switch-checked{padding-left:-2px}.arco-switch-small .arco-switch-handle{top:2px;left:2px;width:12px;height:12px;border-radius:8px}.arco-switch-small .arco-switch-handle-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.66667)}.arco-switch-small.arco-switch-checked .arco-switch-handle{left:calc(100% - 14px)}.arco-switch-type-round{min-width:40px;border-radius:var(--border-radius-small)}.arco-switch-type-round .arco-switch-handle{border-radius:2px}.arco-switch-type-round.arco-switch-small{min-width:28px;height:16px;line-height:16px;border-radius:2px}.arco-switch-type-round.arco-switch-small .arco-switch-handle{border-radius:1px}.arco-switch-type-line{min-width:36px;overflow:unset;background-color:transparent}.arco-switch-type-line:after{display:block;width:100%;height:6px;background-color:var(--color-fill-4);border-radius:3px;transition:background-color .2s cubic-bezier(.34,.69,.1,1);content:""}.arco-switch-type-line .arco-switch-handle{top:2px;left:0;width:20px;height:20px;background-color:var(--color-bg-white);border-radius:10px;box-shadow:0 1px 3px var(--color-neutral-6)}.arco-switch-type-line.arco-switch-checked{background-color:transparent}.arco-switch-type-line.arco-switch-checked:after{background-color:rgb(var(--primary-6))}.arco-switch-type-line.arco-switch-custom-color{--custom-color:var(--color-fill-4)}.arco-switch-type-line.arco-switch-custom-color:after{background-color:var(--custom-color)}.arco-switch-type-line.arco-switch-custom-color.arco-switch-checked{--custom-color:rgb(var(--primary-6))}.arco-switch-type-line.arco-switch-checked .arco-switch-handle{left:calc(100% - 20px)}.arco-switch-type-line[disabled]{background-color:transparent;cursor:not-allowed}.arco-switch-type-line[disabled]:after{background-color:var(--color-fill-2)}.arco-switch-type-line[disabled].arco-switch-checked{background-color:transparent}.arco-switch-type-line[disabled].arco-switch-checked:after{background-color:var(--color-primary-light-3)}.arco-switch-type-line.arco-switch-loading{background-color:transparent}.arco-switch-type-line.arco-switch-loading:after{background-color:var(--color-fill-2)}.arco-switch-type-line.arco-switch-loading.arco-switch-checked{background-color:transparent}.arco-switch-type-line.arco-switch-loading.arco-switch-checked:after{background-color:var(--color-primary-light-3)}.arco-switch-type-line.arco-switch-small{min-width:28px;height:16px;line-height:16px}.arco-switch-type-line.arco-switch-small.arco-switch-checked{padding-left:0}.arco-switch-type-line.arco-switch-small .arco-switch-handle{top:0;width:16px;height:16px;border-radius:8px}.arco-switch-type-line.arco-switch-small .arco-switch-handle-icon{transform:translate(-50%,-50%) scale(1)}.arco-switch-type-line.arco-switch-small.arco-switch-checked .arco-switch-handle{left:calc(100% - 16px + -0)}.arco-table-filters-content{box-sizing:border-box;min-width:100px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.arco-table-filters-list{max-height:200px;padding:4px 0;overflow-y:auto}.arco-table-filters-item{height:32px;padding:0 12px;font-size:14px;line-height:32px}.arco-table-filters-text{width:100%;max-width:160px;height:34px;margin-right:0;padding-left:10px;overflow:hidden;line-height:32px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.arco-table-filters-bottom{box-sizing:border-box;height:38px;padding:0 12px;overflow:hidden;line-height:38px;border-top:1px solid var(--color-neutral-3)}.arco-table-filters-bottom>*:not(*:last-child){margin-right:8px}.arco-table{position:relative}.arco-table-column-handle{position:absolute;top:0;right:-4px;z-index:1;width:8px;height:100%;cursor:col-resize}.arco-table .arco-spin{display:flex;flex-direction:column;height:100%}.arco-table>.arco-spin>.arco-spin-children:after{z-index:2}.arco-table-footer{border-radius:0 0 var(--border-radius-medium) var(--border-radius-medium)}.arco-table-scroll-position-right .arco-table-col-fixed-left-last:after,.arco-table-scroll-position-middle .arco-table-col-fixed-left-last:after{box-shadow:inset 6px 0 8px -3px #00000026}.arco-table-scroll-position-left .arco-table-col-fixed-right-first:after,.arco-table-scroll-position-middle .arco-table-col-fixed-right-first:after{box-shadow:inset -6px 0 8px -3px #00000026}.arco-table-layout-fixed .arco-table-element{table-layout:fixed}.arco-table .arco-table-element{width:100%;min-width:100%;margin:0;border-collapse:separate;border-spacing:0}.arco-table-th{position:relative;box-sizing:border-box;color:rgb(var(--gray-10));font-weight:500;line-height:1.5715;text-align:left;background-color:var(--color-neutral-2)}.arco-table-th[colspan]{text-align:center}.arco-table-th-align-right{text-align:right}.arco-table-th-align-right .arco-table-cell-with-sorter{justify-content:flex-end}.arco-table-th-align-center{text-align:center}.arco-table-th-align-center .arco-table-cell-with-sorter{justify-content:center}.arco-table-td{box-sizing:border-box;color:rgb(var(--gray-10));line-height:1.5715;text-align:left;word-break:break-all;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-neutral-3)}.arco-table-td-align-right{text-align:right}.arco-table-td-align-center{text-align:center}.arco-table-td.arco-table-drag-handle{cursor:move}.arco-table-cell{display:flex;align-items:center}.arco-table-cell-align-right{justify-content:flex-end;text-align:right}.arco-table-cell-align-center{justify-content:center;text-align:center}.arco-table-text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-table-td-content{display:block;width:100%}.arco-table-th.arco-table-col-sorted{background-color:var(--color-neutral-3)}.arco-table-td.arco-table-col-sorted{background-color:var(--color-fill-1)}.arco-table-col-fixed-left,.arco-table-col-fixed-right{position:sticky;z-index:10}.arco-table-col-fixed-left-last:after,.arco-table-col-fixed-right-first:after{position:absolute;top:0;bottom:-1px;left:0;width:10px;box-shadow:none;transform:translate(-100%);transition:box-shadow .1s cubic-bezier(0,0,1,1);content:"";pointer-events:none}.arco-table-col-fixed-left-last:after{right:0;left:unset;transform:translate(100%)}.arco-table-cell-text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-table-editable-row .arco-table-cell-wrap-value{border:1px solid var(--color-white);border-radius:var(--border-radius-medium);cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-table-editable-row:hover .arco-table-cell-wrap-value{border:1px solid var(--color-neutral-3)}.arco-table .arco-table-expand-btn{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;color:var(--color-text-2);font-size:12px;line-height:14px;background-color:var(--color-neutral-3);border:1px solid transparent;border-radius:2px;outline:none;cursor:pointer;transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-table .arco-table-expand-btn:hover{color:var(--color-text-1);background-color:var(--color-neutral-4);border-color:transparent}.arco-table-cell-expand-icon{display:flex;align-items:center}.arco-table-cell-expand-icon .arco-table-cell-inline-icon{display:inline-flex;margin-right:4px}.arco-table-cell-expand-icon .arco-table-cell-inline-icon .arco-icon-loading{color:rgb(var(--primary-6))}.arco-table-cell-expand-icon-hidden{display:inline-block;width:14px;height:14px;margin-right:4px}.arco-table-tr-expand .arco-table-td{background-color:var(--color-fill-1)}.arco-table-cell-fixed-expand{position:sticky;left:0;box-sizing:border-box}.arco-table-tr-expand .arco-table-td .arco-table .arco-table-container{border:none}.arco-table-tr-expand .arco-table-td .arco-table .arco-table-th{border-bottom:1px solid var(--color-neutral-3)}.arco-table-tr-expand .arco-table-td .arco-table .arco-table-th,.arco-table-tr-expand .arco-table-td .arco-table .arco-table-td{background-color:transparent}.arco-table-tr-expand .arco-table-td .arco-table .arco-table-pagination{margin-bottom:12px}.arco-table-th.arco-table-operation,.arco-table-td.arco-table-operation{text-align:center}.arco-table-th.arco-table-operation .arco-table-cell,.arco-table-td.arco-table-operation .arco-table-cell{display:flex;justify-content:center;padding:0}.arco-table-radio,.arco-table-checkbox{justify-content:center}.arco-table-checkbox .arco-checkbox,.arco-table-radio .arco-radio{padding-left:0}.arco-table-selection-checkbox-col,.arco-table-selection-radio-col,.arco-table-expand-col,.arco-table-drag-handle-col{width:40px;min-width:40px;max-width:40px}.arco-table-th{transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-table-cell-with-sorter{display:flex;align-items:center;cursor:pointer}.arco-table-cell-with-sorter:hover{background-color:rgba(var(--gray-4),.5)}.arco-table-cell-with-filter{display:flex;align-items:center}.arco-table-cell-next-ascend .arco-table-sorter-icon .arco-icon-caret-up,.arco-table-cell-next-descend .arco-table-sorter-icon .arco-icon-caret-down{color:var(--color-neutral-6)}.arco-table-sorter{display:inline-block;margin-left:8px;vertical-align:-3px}.arco-table-sorter.arco-table-sorter-direction-one{vertical-align:0}.arco-table-sorter-icon{position:relative;width:14px;height:8px;overflow:hidden;line-height:8px}.arco-table-sorter-icon .arco-icon-caret-up,.arco-table-sorter-icon .arco-icon-caret-down{position:absolute;top:50%;color:var(--color-neutral-5);font-size:12px;transition:all .1s cubic-bezier(0,0,1,1)}.arco-table-sorter-icon .arco-icon-caret-up{top:-2px;left:1px}.arco-table-sorter-icon .arco-icon-caret-down{top:-3px;left:1px}.arco-table-sorter-icon.arco-table-sorter-icon-active svg{color:rgb(var(--primary-6))}.arco-table-filters{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:24px;height:100%;line-height:1;vertical-align:0;background-color:transparent;cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-table-filters:hover,.arco-table-filters-open{background-color:var(--color-neutral-4)}.arco-table-filters svg{color:var(--color-text-2);font-size:16px;transition:all .1s cubic-bezier(0,0,1,1)}.arco-table-filters-active svg{color:rgb(var(--primary-6))}.arco-table-filters-align-left{position:relative;width:auto;margin-left:8px}.arco-table-filters-align-left svg{font-size:12px}.arco-table-filters-align-left:hover,.arco-table-filters-align-left-open{background:none}.arco-table-filters-align-left:hover:before,.arco-table-filters-align-left.arco-table-filters-open:before{background:var(--color-fill-4)}.arco-table-container{position:relative;border-radius:var(--border-radius-medium) var(--border-radius-medium) 0 0}.arco-table-header{flex-shrink:0;border-radius:var(--border-radius-medium) var(--border-radius-medium) 0 0}.arco-table-container{box-sizing:border-box;width:100%;min-height:0}.arco-table-container .arco-table-content{display:flex;flex-direction:column;width:auto;height:100%}.arco-table-container .arco-table-content-scroll-x{overflow-x:auto;overflow-y:hidden}.arco-table-container:before,.arco-table-container:after{position:absolute;z-index:1;width:10px;height:100%;box-shadow:none;transition:box-shadow .1s cubic-bezier(0,0,1,1);content:"";pointer-events:none}.arco-table-container:before{top:0;left:0;border-top-left-radius:var(--border-radius-medium)}.arco-table-container:after{top:0;right:0;border-top-right-radius:var(--border-radius-medium)}.arco-table-container:not(.arco-table-has-fixed-col-left).arco-table-scroll-position-right:before,.arco-table-container:not(.arco-table-has-fixed-col-left).arco-table-scroll-position-middle:before{box-shadow:inset 6px 0 8px -3px #00000026}.arco-table-container:not(.arco-table-has-fixed-col-right).arco-table-scroll-position-left:after,.arco-table-container:not(.arco-table-has-fixed-col-right).arco-table-scroll-position-middle:after{box-shadow:inset -6px 0 8px -3px #00000026}.arco-table-header{overflow-x:hidden;overflow-y:hidden;background-color:var(--color-neutral-2);scrollbar-color:transparent transparent}.arco-table-header-sticky{position:sticky;top:0;z-index:100}.arco-table:not(.arco-table-empty) .arco-table-header::-webkit-scrollbar{height:0;background-color:transparent}.arco-table.arco-table-empty .arco-table-header{overflow-x:auto}.arco-table-body{position:relative;width:100%;min-height:40px;overflow:auto;background-color:var(--color-bg-2)}.arco-table-border .arco-table-container{border-top:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-table-border .arco-table-scroll-y{border-bottom:1px solid var(--color-neutral-3)}.arco-table-border .arco-table-scroll-y .arco-table-body .arco-table-tr:last-of-type .arco-table-td,.arco-table-border .arco-table-scroll-y tfoot .arco-table-tr:last-of-type .arco-table-td{border-bottom:none}.arco-table-border .arco-table-scroll-y .arco-table-body .arco-table-tr:last-of-type .arco-table-td.arco-table-col-fixed-left-last:after,.arco-table-border .arco-table-scroll-y tfoot .arco-table-tr:last-of-type .arco-table-td.arco-table-col-fixed-left-last:after,.arco-table-border .arco-table-scroll-y .arco-table-body .arco-table-tr:last-of-type .arco-table-td.arco-table-col-fixed-right-first:after,.arco-table-border .arco-table-scroll-y tfoot .arco-table-tr:last-of-type .arco-table-td.arco-table-col-fixed-right-first:after{bottom:0}.arco-table-border .arco-table-tr .arco-table-th{border-bottom:1px solid var(--color-neutral-3)}.arco-table-border .arco-table-footer{border:1px solid var(--color-neutral-3);border-top:0}.arco-table-border:not(.arco-table-border-cell) .arco-table-container{border-right:1px solid var(--color-neutral-3)}.arco-table-border-cell .arco-table-th,.arco-table-border-cell .arco-table-td:not(.arco-table-tr-expand){border-right:1px solid var(--color-neutral-3)}.arco-table-border-cell .arco-table-th-resizing,.arco-table-border-cell .arco-table-td-resizing:not(.arco-table-tr-expand){border-right-color:rgb(var(--primary-6))}.arco-table-border-header-cell .arco-table-th{border-right:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.arco-table-border-header-cell .arco-table-th-resizing,.arco-table-border-header-cell .arco-table-td-resizing:not(.arco-table-tr-expand){border-right-color:rgb(var(--primary-6))}.arco-table-border.arco-table-border-header-cell thead .arco-table-tr:first-child .arco-table-th:last-child{border-right:0}.arco-table-border-body-cell .arco-table-td:not(:last-child):not(.arco-table-tr-expand){border-right:1px solid var(--color-neutral-3)}.arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(2n) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),.arco-table-stripe .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){background-color:var(--color-fill-1)}.arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(2n) .arco-table-td.arco-table-col-fixed-left:before,.arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left:before,.arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(2n) .arco-table-td.arco-table-col-fixed-right:before,.arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right:before{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;background-color:var(--color-fill-1);content:""}.arco-table .arco-table-tr-draggable{cursor:move}.arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),.arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){background-color:var(--color-fill-1)}.arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left:before,.arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left:before,.arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right:before,.arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right:before{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;background-color:var(--color-fill-1);content:""}.arco-table-hover .arco-table-tr-expand:not(.arco-table-tr-empty):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){background-color:var(--color-fill-1)}.arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){background-color:transparent}.arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td.arco-table-col-fixed-left:before,.arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td.arco-table-col-fixed-right:before{background-color:transparent}.arco-table-tfoot{position:relative;z-index:1;flex-shrink:0;width:100%;overflow-x:auto;background-color:var(--color-neutral-2);box-shadow:0 -1px 0 var(--color-neutral-3);scrollbar-color:transparent transparent}.arco-table-tfoot::-webkit-scrollbar{height:0;background-color:transparent}.arco-table tfoot .arco-table-td{background-color:var(--color-neutral-2)}.arco-table-tr-checked .arco-table-td{background-color:var(--color-fill-1)}.arco-table .arco-table-cell{padding:9px 16px}.arco-table .arco-table-th,.arco-table .arco-table-td{font-size:14px}.arco-table .arco-table-footer{padding:9px 16px}.arco-table .arco-table-tr-expand .arco-table-td .arco-table{margin:-9px -16px -10px}.arco-table .arco-table-editable-row .arco-table-cell-wrap-value{padding:9px 16px}.arco-table-size-medium .arco-table-cell{padding:7px 16px}.arco-table-size-medium .arco-table-th,.arco-table-size-medium .arco-table-td{font-size:14px}.arco-table-size-medium .arco-table-footer{padding:7px 16px}.arco-table-size-medium .arco-table-tr-expand .arco-table-td .arco-table{margin:-7px -16px -8px}.arco-table-size-medium .arco-table-editable-row .arco-table-cell-wrap-value{padding:7px 16px}.arco-table-size-small .arco-table-cell{padding:5px 16px}.arco-table-size-small .arco-table-th,.arco-table-size-small .arco-table-td{font-size:14px}.arco-table-size-small .arco-table-footer{padding:5px 16px}.arco-table-size-small .arco-table-tr-expand .arco-table-td .arco-table{margin:-5px -16px -6px}.arco-table-size-small .arco-table-editable-row .arco-table-cell-wrap-value{padding:5px 16px}.arco-table-size-mini .arco-table-cell{padding:2px 16px}.arco-table-size-mini .arco-table-th,.arco-table-size-mini .arco-table-td{font-size:12px}.arco-table-size-mini .arco-table-footer{padding:2px 16px}.arco-table-size-mini .arco-table-tr-expand .arco-table-td .arco-table{margin:-2px -16px -3px}.arco-table-size-mini .arco-table-editable-row .arco-table-cell-wrap-value{padding:2px 16px}.arco-table-virtualized .arco-table-element{table-layout:fixed}.arco-table-virtualized div.arco-table-body div.arco-table-tr{display:flex}.arco-table-virtualized div.arco-table-body div.arco-table-td{display:flex;flex:1;align-items:center}.arco-table-pagination{display:flex;align-items:center;justify-content:flex-end;margin-top:12px}.arco-table-pagination-left{justify-content:flex-start}.arco-table-pagination-center{justify-content:center}.arco-table-pagination-top{margin-top:0;margin-bottom:12px}.arco-virtual-list>.arco-table-element{width:auto}.arco-icon-hover.arco-tabs-icon-hover:before{width:16px;height:16px}.arco-tabs .arco-tabs-icon-hover{color:var(--color-text-2);font-size:12px;-webkit-user-select:none;user-select:none}.arco-tabs-dropdown-icon{margin-left:6px;font-size:12px;-webkit-user-select:none;user-select:none}.arco-tabs-tab-close-btn{margin-left:8px;-webkit-user-select:none;user-select:none}.arco-tabs-nav-add-btn{display:inline-flex;align-items:center;justify-content:center;padding:0 8px;font-size:12px;-webkit-user-select:none;user-select:none}.arco-tabs-add{position:relative}.arco-tabs-nav-button-left{margin-right:6px;margin-left:10px}.arco-tabs-nav-button-right{margin-right:10px;margin-left:6px}.arco-tabs-nav-button-up{margin-bottom:10px}.arco-tabs-nav-button-down{margin-top:10px}.arco-tabs-nav-button-disabled{color:var(--color-text-4);cursor:not-allowed}.arco-tabs{position:relative;overflow:hidden}.arco-tabs-nav{position:relative;flex-shrink:0}.arco-tabs-nav:before{position:absolute;right:0;bottom:0;left:0;display:block;clear:both;height:1px;background-color:var(--color-neutral-3);content:""}.arco-tabs-nav-tab{display:flex;flex:1;overflow:hidden}.arco-tabs-nav-tab-list{position:relative;display:inline-block;white-space:nowrap;transition:transform .2s cubic-bezier(.34,.69,.1,1)}.arco-tabs-nav-extra{display:flex;align-items:center;width:auto;line-height:32px}.arco-tabs-nav-extra .arco-tabs-nav-add-btn{padding-left:0}.arco-tabs-tab{display:inline-flex;align-items:center;box-sizing:border-box;padding:4px 0;color:var(--color-text-2);font-size:14px;line-height:1.5715;outline:none;cursor:pointer;transition:color .2s cubic-bezier(0,0,1,1)}.arco-tabs-tab-title{display:inline-block}.arco-tabs-tab:hover{color:var(--color-text-2);font-weight:400}.arco-tabs-tab-disabled,.arco-tabs-tab-disabled:hover{color:var(--color-text-4);cursor:not-allowed}.arco-tabs-tab-active,.arco-tabs-tab-active:hover{color:rgb(var(--primary-6));font-weight:500}.arco-tabs-tab-active.arco-tabs-tab-disabled,.arco-tabs-tab-active:hover.arco-tabs-tab-disabled{color:var(--color-primary-light-3)}.arco-tabs-nav-ink{position:absolute;top:initial;right:initial;bottom:0;height:2px;background-color:rgb(var(--primary-6));transition:left .2s cubic-bezier(.34,.69,.1,1),width .2s cubic-bezier(.34,.69,.1,1)}.arco-tabs-nav-ink.arco-tabs-header-ink-no-animation{transition:none}.arco-tabs-nav-ink-disabled{background-color:var(--color-primary-light-3)}.arco-tabs-nav-type-line .arco-tabs-nav-extra{line-height:40px}.arco-tabs-nav-type-line .arco-tabs-tab{margin:0 16px;padding:8px 0;line-height:1.5715}.arco-tabs-nav-type-line .arco-tabs-tab-title{position:relative;display:inline-block;padding:1px 0}.arco-tabs-nav-type-line .arco-tabs-tab-title:before{position:absolute;top:0;right:-8px;bottom:0;left:-8px;z-index:-1;background-color:transparent;border-radius:var(--border-radius-small);opacity:1;transition:background-color,opacity .2s cubic-bezier(0,0,1,1);content:""}.arco-tabs-nav-type-line .arco-tabs-tab:hover .arco-tabs-tab-title:before{background-color:var(--color-fill-2)}.arco-tabs-nav-type-line .arco-tabs-tab-active .arco-tabs-tab-title:before,.arco-tabs-nav-type-line .arco-tabs-tab-active:hover .arco-tabs-tab-title:before{background-color:transparent}.arco-tabs-nav-type-line .arco-tabs-tab-disabled .arco-tabs-tab-title:before,.arco-tabs-nav-type-line .arco-tabs-tab-disabled:hover .arco-tabs-tab-title:before{opacity:0}.arco-tabs-nav-type-line .arco-tabs-tab:focus-visible .arco-tabs-tab-title:before{border:2px solid rgb(var(--primary-6))}.arco-tabs-nav-type-line.arco-tabs-nav-horizontal>.arco-tabs-tab:first-of-type{margin-left:16px}.arco-tabs-nav-type-line.arco-tabs-nav-horizontal .arco-tabs-nav-tab-list-no-padding>.arco-tabs-tab:first-of-type,.arco-tabs-nav-text.arco-tabs-nav-horizontal .arco-tabs-nav-tab-list-no-padding>.arco-tabs-tab:first-of-type{margin-left:0}.arco-tabs-nav-type-card .arco-tabs-tab,.arco-tabs-nav-type-card-gutter .arco-tabs-tab{position:relative;padding:4px 16px;font-size:14px;border:1px solid var(--color-neutral-3);transition:padding .2s cubic-bezier(0,0,1,1),color .2s cubic-bezier(0,0,1,1)}.arco-tabs-nav-type-card .arco-tabs-tab-closable,.arco-tabs-nav-type-card-gutter .arco-tabs-tab-closable{padding-right:12px}.arco-tabs-nav-type-card .arco-tabs-tab-closable:not(.arco-tabs-tab-active):hover .arco-icon-hover:hover:before,.arco-tabs-nav-type-card-gutter .arco-tabs-tab-closable:not(.arco-tabs-tab-active):hover .arco-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-tabs-nav-type-card .arco-tabs-tab:focus-visible:before,.arco-tabs-nav-type-card-gutter .arco-tabs-tab:focus-visible:before{position:absolute;top:-1px;right:0;bottom:-1px;left:-1px;border:2px solid rgb(var(--primary-6));content:""}.arco-tabs-nav-type-card .arco-tabs-tab:last-child:focus-visible:before,.arco-tabs-nav-type-card-gutter .arco-tabs-tab:last-child:focus-visible:before{right:-1px}.arco-tabs-nav-type-card .arco-tabs-nav-add-btn,.arco-tabs-nav-type-card-gutter .arco-tabs-nav-add-btn{height:32px}.arco-tabs-nav-type-card .arco-tabs-tab{background-color:transparent;border-right:none}.arco-tabs-nav-type-card .arco-tabs-tab:last-child{border-right:1px solid var(--color-neutral-3);border-top-right-radius:var(--border-radius-small)}.arco-tabs-nav-type-card .arco-tabs-tab:first-child{border-top-left-radius:var(--border-radius-small)}.arco-tabs-nav-type-card .arco-tabs-tab:hover{background-color:var(--color-fill-3)}.arco-tabs-nav-type-card .arco-tabs-tab-disabled,.arco-tabs-nav-type-card .arco-tabs-tab-disabled:hover{background-color:transparent}.arco-tabs-nav-type-card .arco-tabs-tab-active,.arco-tabs-nav-type-card .arco-tabs-tab-active:hover{background-color:transparent;border-bottom-color:var(--color-bg-2)}.arco-tabs-nav-type-card-gutter .arco-tabs-tab{margin-left:4px;background-color:var(--color-fill-1);border-right:1px solid var(--color-neutral-3);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}.arco-tabs-nav-type-card-gutter .arco-tabs-tab:hover{background-color:var(--color-fill-3)}.arco-tabs-nav-type-card-gutter .arco-tabs-tab-disabled,.arco-tabs-nav-type-card-gutter .arco-tabs-tab-disabled:hover{background-color:var(--color-fill-1)}.arco-tabs-nav-type-card-gutter .arco-tabs-tab-active,.arco-tabs-nav-type-card-gutter .arco-tabs-tab-active:hover{background-color:transparent;border-bottom-color:var(--color-bg-2)}.arco-tabs-nav-type-card-gutter .arco-tabs-tab:first-child{margin-left:0}.arco-tabs-nav-type-text:before{display:none}.arco-tabs-nav-type-text .arco-tabs-tab{position:relative;margin:0 9px;padding:5px 0;font-size:14px;line-height:1.5715}.arco-tabs-nav-type-text .arco-tabs-tab:not(:first-of-type):before{position:absolute;top:50%;left:-9px;display:block;width:2px;height:12px;background-color:var(--color-fill-3);transform:translateY(-50%);content:""}.arco-tabs-nav-type-text .arco-tabs-tab-title{padding-right:8px;padding-left:8px;background-color:transparent}.arco-tabs-nav-type-text .arco-tabs-tab-title:hover{background-color:var(--color-fill-2)}.arco-tabs-nav-type-text .arco-tabs-tab-active .arco-tabs-tab-title,.arco-tabs-nav-type-text .arco-tabs-tab-active .arco-tabs-tab-title:hover,.arco-tabs-nav-type-text .arco-tabs-tab-disabled .arco-tabs-tab-title,.arco-tabs-nav-type-text .arco-tabs-tab-disabled .arco-tabs-tab-title:hover{background-color:transparent}.arco-tabs-nav-type-text .arco-tabs-tab-active.arco-tabs-nav-type-text .arco-tabs-tab-disabled .arco-tabs-tab-title,.arco-tabs-nav-type-text .arco-tabs-tab-active.arco-tabs-nav-type-text .arco-tabs-tab-disabled .arco-tabs-tab-title:hover{background-color:var(--color-primary-light-3)}.arco-tabs-nav-type-text .arco-tabs-tab:focus-visible .arco-tabs-tab-title{margin:-2px;border:2px solid rgb(var(--primary-6))}.arco-tabs-nav-type-rounded:before{display:none}.arco-tabs-nav-type-rounded .arco-tabs-tab{margin:0 6px;padding:5px 16px;font-size:14px;background-color:transparent;border-radius:32px}.arco-tabs-nav-type-rounded .arco-tabs-tab:hover{background-color:var(--color-fill-2)}.arco-tabs-nav-type-rounded .arco-tabs-tab-disabled:hover{background-color:transparent}.arco-tabs-nav-type-rounded .arco-tabs-tab-active,.arco-tabs-nav-type-rounded .arco-tabs-tab-active:hover{background-color:var(--color-fill-2)}.arco-tabs-nav-type-rounded .arco-tabs-tab:focus-visible{border-color:rgb(var(--primary-6))}.arco-tabs-nav-type-capsule:before{display:none}.arco-tabs-nav-type-capsule .arco-tabs-nav-tab:not(.arco-tabs-nav-tab-scroll){justify-content:flex-end}.arco-tabs-nav-type-capsule .arco-tabs-nav-tab-list{padding:3px;line-height:1;background-color:var(--color-fill-2);border-radius:var(--border-radius-small)}.arco-tabs-nav-type-capsule .arco-tabs-tab{position:relative;padding:0 10px;font-size:14px;line-height:26px;background-color:transparent}.arco-tabs-nav-type-capsule .arco-tabs-tab:hover{background-color:var(--color-bg-2)}.arco-tabs-nav-type-capsule .arco-tabs-tab-disabled:hover{background-color:unset}.arco-tabs-nav-type-capsule .arco-tabs-tab-active,.arco-tabs-nav-type-capsule .arco-tabs-tab-active:hover{background-color:var(--color-bg-2)}.arco-tabs-nav-type-capsule .arco-tabs-tab-active:before,.arco-tabs-nav-type-capsule .arco-tabs-tab-active:hover:before,.arco-tabs-nav-type-capsule .arco-tabs-tab-active+.arco-tabs-tab:before,.arco-tabs-nav-type-capsule .arco-tabs-tab-active:hover+.arco-tabs-tab:before{opacity:0}.arco-tabs-nav-type-capsule .arco-tabs-tab:focus-visible{border-color:rgb(var(--primary-6))}.arco-tabs-nav-type-capsule.arco-tabs-nav-horizontal .arco-tabs-tab:not(:first-of-type){margin-left:3px}.arco-tabs-nav-type-capsule.arco-tabs-nav-horizontal .arco-tabs-tab:not(:first-of-type):before{position:absolute;top:50%;left:-4px;display:block;width:1px;height:14px;background-color:var(--color-fill-3);transform:translateY(-50%);transition:all .2s cubic-bezier(0,0,1,1);content:""}.arco-tabs-nav{position:relative;display:flex;align-items:center;overflow:hidden}.arco-tabs-content{box-sizing:border-box;width:100%;padding-top:16px;overflow:hidden}.arco-tabs-content-hide{display:none}.arco-tabs-content .arco-tabs-content-list{display:flex;width:100%}.arco-tabs-content .arco-tabs-content-item{flex-shrink:0;width:100%;height:0;overflow:hidden}.arco-tabs-content .arco-tabs-content-item.arco-tabs-content-item-active{height:auto}.arco-tabs-type-card>.arco-tabs-content,.arco-tabs-type-card-gutter>.arco-tabs-content{border:1px solid var(--color-neutral-3);border-top:none}.arco-tabs-content-animation{transition:all .2s cubic-bezier(.34,.69,.1,1)}.arco-tabs-horizontal.arco-tabs-justify{display:flex;flex-direction:column;height:100%}.arco-tabs-horizontal.arco-tabs-justify .arco-tabs-content,.arco-tabs-horizontal.arco-tabs-justify .arco-tabs-content-list,.arco-tabs-horizontal.arco-tabs-justify .arco-tabs-pane{height:100%}.arco-tabs-nav-size-mini.arco-tabs-nav-type-line .arco-tabs-tab{padding-top:6px;padding-bottom:6px;font-size:12px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-line .arco-tabs-nav-extra{font-size:12px;line-height:32px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-card .arco-tabs-tab,.arco-tabs-nav-size-mini.arco-tabs-nav-type-card-gutter .arco-tabs-tab{padding-top:1px;padding-bottom:1px;font-size:12px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-card .arco-tabs-nav-extra,.arco-tabs-nav-size-mini.arco-tabs-nav-type-card-gutter .arco-tabs-nav-extra{font-size:12px;line-height:24px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-card .arco-tabs-nav-add-btn,.arco-tabs-nav-size-mini.arco-tabs-nav-type-card-gutter .arco-tabs-nav-add-btn{height:24px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-capsule .arco-tabs-tab{font-size:12px;line-height:18px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-capsule .arco-tabs-nav-extra{font-size:12px;line-height:24px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-rounded .arco-tabs-tab{padding-top:3px;padding-bottom:3px;font-size:12px}.arco-tabs-nav-size-mini.arco-tabs-nav-type-rounded .arco-tabs-nav-extra{font-size:12px;line-height:24px}.arco-tabs-nav-size-small.arco-tabs-nav-type-line .arco-tabs-tab{padding-top:6px;padding-bottom:6px;font-size:14px}.arco-tabs-nav-size-small.arco-tabs-nav-type-line .arco-tabs-nav-extra{font-size:14px;line-height:36px}.arco-tabs-nav-size-small.arco-tabs-nav-type-card .arco-tabs-tab,.arco-tabs-nav-size-small.arco-tabs-nav-type-card-gutter .arco-tabs-tab{padding-top:1px;padding-bottom:1px;font-size:14px}.arco-tabs-nav-size-small.arco-tabs-nav-type-card .arco-tabs-nav-extra,.arco-tabs-nav-size-small.arco-tabs-nav-type-card-gutter .arco-tabs-nav-extra{font-size:14px;line-height:28px}.arco-tabs-nav-size-small.arco-tabs-nav-type-card .arco-tabs-nav-add-btn,.arco-tabs-nav-size-small.arco-tabs-nav-type-card-gutter .arco-tabs-nav-add-btn{height:28px}.arco-tabs-nav-size-small.arco-tabs-nav-type-capsule .arco-tabs-tab{font-size:14px;line-height:22px}.arco-tabs-nav-size-small.arco-tabs-nav-type-capsule .arco-tabs-nav-extra{font-size:14px;line-height:28px}.arco-tabs-nav-size-small.arco-tabs-nav-type-rounded .arco-tabs-tab{padding-top:3px;padding-bottom:3px;font-size:14px}.arco-tabs-nav-size-small.arco-tabs-nav-type-rounded .arco-tabs-nav-extra{font-size:14px;line-height:28px}.arco-tabs-nav-size-large.arco-tabs-nav-type-line .arco-tabs-tab{padding-top:10px;padding-bottom:10px;font-size:14px}.arco-tabs-nav-size-large.arco-tabs-nav-type-line .arco-tabs-nav-extra{font-size:14px;line-height:44px}.arco-tabs-nav-size-large.arco-tabs-nav-type-card .arco-tabs-tab,.arco-tabs-nav-size-large.arco-tabs-nav-type-card-gutter .arco-tabs-tab{padding-top:5px;padding-bottom:5px;font-size:14px}.arco-tabs-nav-size-large.arco-tabs-nav-type-card .arco-tabs-nav-extra,.arco-tabs-nav-size-large.arco-tabs-nav-type-card-gutter .arco-tabs-nav-extra{font-size:14px;line-height:36px}.arco-tabs-nav-size-large.arco-tabs-nav-type-card .arco-tabs-nav-add-btn,.arco-tabs-nav-size-large.arco-tabs-nav-type-card-gutter .arco-tabs-nav-add-btn{height:36px}.arco-tabs-nav-size-large.arco-tabs-nav-type-capsule .arco-tabs-tab{font-size:14px;line-height:30px}.arco-tabs-nav-size-large.arco-tabs-nav-type-capsule .arco-tabs-nav-extra{font-size:14px;line-height:36px}.arco-tabs-nav-size-large.arco-tabs-nav-type-rounded .arco-tabs-tab{padding-top:7px;padding-bottom:7px;font-size:14px}.arco-tabs-nav-size-large.arco-tabs-nav-type-rounded .arco-tabs-nav-extra{font-size:14px;line-height:36px}.arco-tabs-nav-vertical{float:left;height:100%}.arco-tabs-nav-vertical:before{position:absolute;top:0;right:0;bottom:0;left:initial;clear:both;width:1px;height:100%}.arco-tabs-nav-vertical .arco-tabs-nav-add-btn{height:auto;margin-top:8px;margin-left:0;padding:0 16px}.arco-tabs-nav-right{float:right}.arco-tabs-nav-vertical{flex-direction:column}.arco-tabs-nav-vertical .arco-tabs-nav-tab{flex-direction:column;height:100%}.arco-tabs-nav-vertical .arco-tabs-nav-ink{position:absolute;right:0;bottom:initial;left:initial;width:2px;transition:top .2s cubic-bezier(.34,.69,.1,1),height .2s cubic-bezier(.34,.69,.1,1)}.arco-tabs-nav-vertical .arco-tabs-nav-tab-list{height:auto}.arco-tabs-nav-vertical .arco-tabs-nav-tab-list-overflow-scroll{padding:6px 0}.arco-tabs-nav-vertical .arco-tabs-tab{display:block;margin:12px 0 0;white-space:nowrap}.arco-tabs-nav-vertical .arco-tabs-tab:first-of-type{margin-top:0}.arco-tabs-nav-right:before{right:unset;left:0}.arco-tabs-nav-right .arco-tabs-nav-ink{right:unset;left:0}.arco-tabs-nav-vertical{position:relative;box-sizing:border-box;height:100%}.arco-tabs-nav-vertical.arco-tabs-nav-type-line .arco-tabs-tab{padding:0 20px}.arco-tabs-nav-vertical.arco-tabs-nav-type-card .arco-tabs-tab{position:relative;margin:0;border:1px solid var(--color-neutral-3);border-bottom-color:transparent}.arco-tabs-nav-vertical.arco-tabs-nav-type-card .arco-tabs-tab:first-child{border-top-left-radius:var(--border-radius-small)}.arco-tabs-nav-vertical.arco-tabs-nav-type-card .arco-tabs-tab-active,.arco-tabs-nav-vertical.arco-tabs-nav-type-card .arco-tabs-tab-active:hover{border-right-color:var(--color-bg-2);border-bottom-color:transparent}.arco-tabs-nav-vertical.arco-tabs-nav-type-card .arco-tabs-tab:last-child{border-bottom:1px solid var(--color-neutral-3);border-bottom-left-radius:var(--border-radius-small)}.arco-tabs-nav-vertical.arco-tabs-nav-type-card-gutter .arco-tabs-tab{position:relative;margin-left:0;border-radius:var(--border-radius-small) 0 0 var(--border-radius-small)}.arco-tabs-nav-vertical.arco-tabs-nav-type-card-gutter .arco-tabs-tab:not(:first-of-type){margin-top:4px}.arco-tabs-nav-vertical.arco-tabs-nav-type-card-gutter .arco-tabs-tab-active,.arco-tabs-nav-vertical.arco-tabs-nav-type-card-gutter .arco-tabs-tab-active:hover{border-right-color:var(--color-bg-2);border-bottom-color:var(--color-neutral-3)}.arco-tabs-vertical .arco-tabs-content{width:auto;height:100%;padding:0}.arco-tabs-right.arco-tabs-vertical .arco-tabs-content{padding-right:16px}.arco-tabs-left.arco-tabs-vertical .arco-tabs-content{padding-left:16px}.arco-tabs-vertical.arco-tabs-type-card>.arco-tabs-content,.arco-tabs-vertical.arco-tabs-type-card-gutter>.arco-tabs-content{border:1px solid var(--color-neutral-3);border-left:none}body[arco-theme=dark] .arco-tabs-nav-type-capsule .arco-tabs-tab-active,body[arco-theme=dark] .arco-tabs-nav-type-capsule .arco-tabs-tab:hover{background-color:var(--color-fill-3)}.arco-textarea-wrapper{display:inline-flex;box-sizing:border-box;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1);position:relative;display:inline-block;width:100%;padding-right:0;padding-left:0;overflow:hidden}.arco-textarea-wrapper:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-textarea-wrapper:focus-within,.arco-textarea-wrapper.arco-textarea-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-textarea-wrapper.arco-textarea-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-textarea-wrapper.arco-textarea-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-textarea-wrapper.arco-textarea-disabled .arco-textarea-prefix,.arco-textarea-wrapper.arco-textarea-disabled .arco-textarea-suffix{color:inherit}.arco-textarea-wrapper.arco-textarea-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-textarea-wrapper.arco-textarea-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-textarea-wrapper.arco-textarea-error:focus-within,.arco-textarea-wrapper.arco-textarea-error.arco-textarea-wrapper-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-textarea-wrapper .arco-textarea-prefix,.arco-textarea-wrapper .arco-textarea-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-textarea-wrapper .arco-textarea-prefix>svg,.arco-textarea-wrapper .arco-textarea-suffix>svg{font-size:14px}.arco-textarea-wrapper .arco-textarea-prefix{padding-right:12px;color:var(--color-text-2)}.arco-textarea-wrapper .arco-textarea-suffix{padding-left:12px;color:var(--color-text-2)}.arco-textarea-wrapper .arco-textarea-suffix .arco-feedback-icon{display:inline-flex}.arco-textarea-wrapper .arco-textarea-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-textarea-wrapper .arco-textarea-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-textarea-wrapper .arco-textarea-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-textarea-wrapper .arco-textarea-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-textarea-wrapper .arco-textarea-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-textarea-wrapper .arco-textarea-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-textarea-wrapper:hover .arco-textarea-clear-btn{visibility:visible}.arco-textarea-wrapper:not(.arco-textarea-focus) .arco-textarea-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-textarea-wrapper .arco-textarea-word-limit{position:absolute;right:10px;bottom:6px;color:var(--color-text-3);font-size:12px;-webkit-user-select:none;user-select:none}.arco-textarea-wrapper.arco-textarea-scroll .arco-textarea-word-limit{right:25px}.arco-textarea-wrapper .arco-textarea-clear-btn{position:absolute;top:50%;right:10px;transform:translateY(-50%)}.arco-textarea-wrapper.arco-textarea-scroll .arco-textarea-clear-btn{right:25px}.arco-textarea-wrapper:hover .arco-textarea-clear-btn{display:block}.arco-textarea-wrapper .arco-textarea-mirror{position:absolute;visibility:hidden}.arco-textarea{width:100%;color:inherit;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:block;box-sizing:border-box;height:100%;min-height:32px;padding:4px 12px;font-size:14px;line-height:1.5715;vertical-align:top;resize:vertical}.arco-textarea::placeholder{color:var(--color-text-3)}.arco-textarea[disabled]::placeholder{color:var(--color-text-4)}.arco-textarea[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-timepicker{position:relative;display:flex;box-sizing:border-box;padding:0}.arco-timepicker-container{overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px #0000001a}.arco-timepicker-column{box-sizing:border-box;width:64px;height:224px;overflow:hidden}.arco-timepicker-column:not(:last-child){border-right:1px solid var(--color-neutral-3)}.arco-timepicker-column:hover{overflow-y:auto}.arco-timepicker-column ul{box-sizing:border-box;margin:0;padding:0;list-style:none}.arco-timepicker-column ul:after{display:block;width:100%;height:192px;content:""}.arco-timepicker-cell{padding:4px 0;color:var(--color-text-1);font-weight:500;cursor:pointer}.arco-timepicker-cell-inner{height:24px;padding-left:24px;font-size:14px;line-height:24px}.arco-timepicker-cell:not(.arco-timepicker-cell-selected):not(.arco-timepicker-cell-disabled):hover .arco-timepicker-cell-inner{background-color:var(--color-fill-2)}.arco-timepicker-cell-selected .arco-timepicker-cell-inner{font-weight:500;background-color:var(--color-fill-2)}.arco-timepicker-cell-disabled{color:var(--color-text-4);cursor:not-allowed}.arco-timepicker-footer-extra-wrapper{padding:8px;color:var(--color-text-1);font-size:12px;border-top:1px solid var(--color-neutral-3)}.arco-timepicker-footer-btn-wrapper{display:flex;justify-content:space-between;padding:8px;border-top:1px solid var(--color-neutral-3)}.arco-timepicker-footer-btn-wrapper :only-child{margin-left:auto}.arco-timeline{display:flex;flex-direction:column}.arco-timeline-item{position:relative;min-height:78px;padding-left:6px;color:var(--color-text-1);font-size:14px}.arco-timeline-item-label{color:var(--color-text-3);font-size:12px;line-height:1.667}.arco-timeline-item-content{margin-bottom:4px;color:var(--color-text-1);font-size:14px;line-height:1.5715}.arco-timeline-item-content-wrapper{position:relative;margin-left:16px}.arco-timeline-item.arco-timeline-item-last>.arco-timeline-item-dot-wrapper .arco-timeline-item-dot-line{display:none}.arco-timeline-item-dot-wrapper{position:absolute;left:0;height:100%;text-align:center}.arco-timeline-item-dot-wrapper .arco-timeline-item-dot-content{position:relative;width:6px;height:22.001px;line-height:22.001px}.arco-timeline-item-dot{position:relative;top:50%;box-sizing:border-box;width:6px;height:6px;margin-top:-50%;color:rgb(var(--primary-6));border-radius:var(--border-radius-circle)}.arco-timeline-item-dot-solid{background-color:rgb(var(--primary-6))}.arco-timeline-item-dot-hollow{background-color:var(--color-bg-2);border:2px solid rgb(var(--primary-6))}.arco-timeline-item-dot-custom{position:absolute;top:50%;left:50%;display:inline-flex;box-sizing:border-box;color:rgb(var(--primary-6));background-color:var(--color-bg-2);transform:translate(-50%) translateY(-50%);transform-origin:center}.arco-timeline-item-dot-custom svg{color:inherit}.arco-timeline-item-dot-line{position:absolute;top:18.0005px;bottom:-4.0005px;left:50%;box-sizing:border-box;width:1px;border-color:var(--color-neutral-3);border-left-width:1px;transform:translate(-50%)}.arco-timeline-is-reverse{flex-direction:column-reverse}.arco-timeline-alternate{overflow:hidden}.arco-timeline-alternate .arco-timeline-item-vertical-left{padding-left:0}.arco-timeline-alternate .arco-timeline-item-vertical-left>.arco-timeline-item-dot-wrapper{left:50%}.arco-timeline-alternate .arco-timeline-item-vertical-left>.arco-timeline-item-content-wrapper{left:50%;width:50%;margin-left:22px;padding-right:22px}.arco-timeline-alternate .arco-timeline-item-vertical-right{padding-right:0}.arco-timeline-alternate .arco-timeline-item-vertical-right>.arco-timeline-item-dot-wrapper{left:50%}.arco-timeline-alternate .arco-timeline-item-vertical-right>.arco-timeline-item-content-wrapper{left:0;width:50%;margin-right:0;margin-left:-16px;padding-right:16px;text-align:right}.arco-timeline-right .arco-timeline-item-vertical-right{padding-right:6px}.arco-timeline-right .arco-timeline-item-vertical-right>.arco-timeline-item-dot-wrapper{right:0;left:unset}.arco-timeline-right .arco-timeline-item-vertical-right>.arco-timeline-item-content-wrapper{margin-right:16px;margin-left:0;text-align:right}.arco-timeline-item-label-relative>.arco-timeline-item-label{position:absolute;top:0;box-sizing:border-box;max-width:100px}.arco-timeline-item-vertical-left.arco-timeline-item-label-relative{margin-left:100px}.arco-timeline-item-vertical-left.arco-timeline-item-label-relative>.arco-timeline-item-label{left:0;padding-right:16px;text-align:right;transform:translate(-100%)}.arco-timeline-item-vertical-right.arco-timeline-item-label-relative{margin-right:100px}.arco-timeline-item-vertical-right.arco-timeline-item-label-relative>.arco-timeline-item-label{right:0;padding-left:16px;text-align:left;transform:translate(100%)}.arco-timeline-item-horizontal-top.arco-timeline-item-label-relative{margin-top:50px}.arco-timeline-item-horizontal-top.arco-timeline-item-label-relative>.arco-timeline-item-label{padding-bottom:16px;transform:translateY(-100%)}.arco-timeline-item-horizontal-top.arco-timeline-item-label-relative>.arco-timeline-item-content{margin-bottom:0}.arco-timeline-item-horizontal-bottom.arco-timeline-item-label-relative{margin-bottom:50px}.arco-timeline-item-horizontal-bottom.arco-timeline-item-label-relative>.arco-timeline-item-content{margin-bottom:0}.arco-timeline-item-horizontal-bottom.arco-timeline-item-label-relative>.arco-timeline-item-label{top:unset;bottom:0;padding-top:16px;text-align:left;transform:translateY(100%)}.arco-timeline-alternate .arco-timeline-item-vertical-left.arco-timeline-item-label-relative{margin-left:0}.arco-timeline-alternate .arco-timeline-item-vertical-left.arco-timeline-item-label-relative>.arco-timeline-item-label{left:0;width:50%;max-width:unset;transform:none}.arco-timeline-alternate .arco-timeline-item-vertical-right.arco-timeline-item-label-relative{margin-right:0}.arco-timeline-alternate .arco-timeline-item-vertical-right.arco-timeline-item-label-relative>.arco-timeline-item-label{right:0;width:50%;max-width:unset;transform:none}.arco-timeline-alternate .arco-timeline-item-horizontal-top.arco-timeline-item-label-relative{margin-top:0}.arco-timeline-alternate .arco-timeline-item-horizontal-bottom.arco-timeline-item-label-relative{margin-bottom:0}.arco-timeline-direction-horizontal{display:flex;flex-direction:row}.arco-timeline-direction-horizontal.arco-timeline-is-reverse{flex-direction:row-reverse}.arco-timeline-item-dot-line-is-horizontal{top:50%;right:4px;left:12px;width:unset;height:1px;border-top-width:1px;border-left:none;transform:translateY(-50%)}.arco-timeline-item-horizontal-bottom,.arco-timeline-item-horizontal-top{flex:1;min-height:unset;padding-right:0;padding-left:0}.arco-timeline-item-horizontal-bottom>.arco-timeline-item-dot-wrapper,.arco-timeline-item-horizontal-top>.arco-timeline-item-dot-wrapper{top:0;width:100%;height:auto}.arco-timeline-item-horizontal-bottom>.arco-timeline-item-dot-wrapper .arco-timeline-item-dot,.arco-timeline-item-horizontal-top>.arco-timeline-item-dot-wrapper .arco-timeline-item-dot{top:unset;margin-top:unset}.arco-timeline-item-horizontal-bottom>.arco-timeline-item-dot-wrapper .arco-timeline-item-dot-content,.arco-timeline-item-horizontal-top>.arco-timeline-item-dot-wrapper .arco-timeline-item-dot-content{height:6px;line-height:6px}.arco-timeline-item-horizontal-top{padding-top:6px}.arco-timeline-item-horizontal-top>.arco-timeline-item-dot-wrapper{top:0;bottom:unset}.arco-timeline-item-horizontal-top>.arco-timeline-item-content-wrapper{margin-top:16px;margin-left:0}.arco-timeline-item-horizontal-bottom{padding-bottom:6px}.arco-timeline-item-horizontal-bottom>.arco-timeline-item-dot-wrapper{top:unset;bottom:0}.arco-timeline-item-horizontal-bottom>.arco-timeline-item-content-wrapper{margin-bottom:16px;margin-left:0}.arco-timeline-alternate.arco-timeline-direction-horizontal{align-items:center;min-height:200px;overflow:visible}.arco-timeline-alternate.arco-timeline-direction-horizontal .arco-timeline-item-horizontal-bottom{margin-top:6px;transform:translateY(-50%)}.arco-timeline-alternate.arco-timeline-direction-horizontal .arco-timeline-item-horizontal-top{margin-top:-6px;transform:translateY(50%)}.arco-transfer{display:flex;align-items:center}.arco-transfer-view{display:flex;flex-direction:column;box-sizing:border-box;width:200px;height:224px;border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-small)}.arco-transfer-view-search{padding:8px 12px 4px}.arco-transfer-view-list{flex:1}.arco-transfer-view-custom-list{flex:1;overflow:auto}.arco-transfer-view-header{display:flex;align-items:center;padding:0 10px}.arco-transfer-view-header>*:first-child{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-transfer-view-header>*:first-child:not(:last-child){margin-right:8px}.arco-transfer-view-header{height:40px;color:var(--color-text-1);font-weight:500;font-size:14px;line-height:40px;background-color:var(--color-fill-1)}.arco-transfer-view-header-title{display:flex;align-items:center}.arco-transfer-view-header-title .arco-checkbox{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:inherit}.arco-transfer-view-header-title .arco-checkbox-text{color:inherit}.arco-transfer-view-header-title .arco-checkbox-label,.arco-transfer-view-header-title-simple{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-transfer-view-header-clear-btn{color:var(--color-text-2);font-size:12px;cursor:pointer}.arco-transfer-view-header-clear-btn:hover:before{background-color:var(--color-fill-3)}.arco-transfer-view-header-count{margin-right:2px;color:var(--color-text-3);font-weight:400;font-size:12px}.arco-transfer-view-body{flex:1 1 auto;overflow:hidden}.arco-transfer-view-body .arco-transfer-view-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.arco-transfer-view .arco-scrollbar{height:100%}.arco-transfer-view .arco-scrollbar-container{height:100%;overflow:auto}.arco-transfer-view .arco-list{border-radius:0}.arco-transfer-view .arco-list-footer{position:relative;display:flex;align-items:center;box-sizing:border-box;height:40px;padding:0 8px}.arco-transfer-view .arco-list .arco-pagination{position:absolute;top:50%;right:8px;margin:0;transform:translateY(-50%)}.arco-transfer-view .arco-list .arco-pagination-jumper-input{width:24px}.arco-transfer-view .arco-list .arco-pagination-jumper-separator{padding:0 8px}.arco-transfer-view .arco-checkbox{padding-left:6px}.arco-transfer-view .arco-checkbox-wrapper{display:inline}.arco-transfer-view .arco-checkbox .arco-icon-hover:hover:before{background-color:var(--color-fill-3)}.arco-transfer-list-item{position:relative;display:flex;align-items:center;height:36px;padding:0 10px;color:var(--color-text-1);line-height:36px;list-style:none;background-color:transparent;cursor:default}.arco-transfer-list-item-content{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-transfer-list-item-checkbox .arco-checkbox-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-transfer-list-item-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-transfer-list-item:not(.arco-transfer-list-item-disabled):hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-transfer-list-item .arco-checkbox{width:100%}.arco-transfer-list-item .arco-checkbox-text{color:inherit}.arco-transfer-list-item-remove-btn{margin-left:auto;color:var(--color-text-2);font-size:12px;cursor:pointer}.arco-transfer-list-item-remove-btn:hover:before{background-color:var(--color-fill-3)}.arco-transfer-list-item-draggable:before{position:absolute;right:0;left:0;display:block;height:2px;border-radius:1px;content:""}.arco-transfer-list-item-gap-bottom:before{bottom:-2px;background-color:rgb(var(--primary-6))}.arco-transfer-list-item-gap-top:before{top:-2px;background-color:rgb(var(--primary-6))}.arco-transfer-list-item-dragging{color:var(--color-text-4)!important;background-color:var(--color-fill-1)!important}.arco-transfer-list-item-dragged{animation:arco-transfer-drag-item-blink .4s;animation-timing-function:cubic-bezier(0,0,1,1)}.arco-transfer-operations{padding:0 20px}.arco-transfer-operations .arco-btn{display:block}.arco-transfer-operations .arco-btn:last-child{margin-top:12px}.arco-transfer-operations-words .arco-btn{width:100%;padding:0 12px;text-align:left}.arco-transfer-simple .arco-transfer-view-source{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.arco-transfer-simple .arco-transfer-view-target{border-top-left-radius:0;border-bottom-left-radius:0}.arco-transfer-disabled .arco-transfer-view-header{color:var(--color-text-4)}@keyframes arco-transfer-drag-item-blink{0%{background-color:var(--color-primary-light-1)}to{background-color:transparent}}.arco-tree-select-popup{box-sizing:border-box;padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-tree-select-popup .arco-tree-select-tree-wrapper{height:100%;max-height:200px;padding-right:4px;padding-left:10px;overflow:auto}.arco-tree-select-popup .arco-tree-node{padding-left:0}.arco-tree-select-highlight{font-weight:500}.arco-tree-select-has-header{padding-top:0}.arco-tree-select-header{border-bottom:1px solid var(--color-fill-3)}.arco-tree-select-has-footer{padding-bottom:0}.arco-tree-select-footer{border-top:1px solid var(--color-fill-3)}.arco-icon-hover.arco-tree-node-icon-hover:before{width:16px;height:16px}.arco-tree-node-switcher{position:relative;display:flex;flex-shrink:0;align-items:center;width:12px;height:32px;margin-right:10px;color:var(--color-text-2);font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.arco-tree-node-switcher-icon{position:relative;margin:0 auto}.arco-tree-node-switcher-icon svg{position:relative;transform:rotate(-90deg);transition:transform .2s cubic-bezier(.34,.69,.1,1)}.arco-tree-node-expanded .arco-tree-node-switcher-icon svg,.arco-tree-node-is-leaf .arco-tree-node-switcher-icon svg{transform:rotate(0)}.arco-tree-node-drag-icon{margin-left:120px;color:rgb(var(--primary-6));opacity:0}.arco-tree-node-custom-icon{margin-right:10px;font-size:inherit;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none}.arco-tree-node .arco-icon-loading{color:rgb(var(--primary-6))}.arco-tree-node-minus-icon,.arco-tree-node-plus-icon{position:relative;display:block;width:14px;height:14px;background:var(--color-fill-2);border-radius:var(--border-radius-small);cursor:pointer}.arco-tree-node-minus-icon:after,.arco-tree-node-plus-icon:after{position:absolute;top:50%;left:50%;display:block;width:6px;height:2px;margin-top:-1px;margin-left:-3px;color:var(--color-text-2);background-color:var(--color-text-2);border-radius:.5px;content:""}.arco-tree-node-plus-icon:before{position:absolute;top:50%;left:50%;display:block;width:2px;height:6px;margin-top:-3px;margin-left:-1px;color:var(--color-text-2);background-color:var(--color-text-2);border-radius:.5px;content:""}.arco-tree{color:var(--color-text-1)}.arco-tree .arco-checkbox{margin-right:10px;padding-left:0;line-height:32px}.arco-tree-node{position:relative;display:flex;flex-wrap:nowrap;align-items:center;padding-left:2px;color:var(--color-text-1);line-height:1.5715;cursor:pointer}.arco-tree-node-selected .arco-tree-node-title,.arco-tree-node-selected .arco-tree-node-title:hover{color:rgb(var(--primary-6));transition:color .2s cubic-bezier(0,0,1,1)}.arco-tree-node-disabled-selectable .arco-tree-node-title,.arco-tree-node-disabled .arco-tree-node-title,.arco-tree-node-disabled-selectable .arco-tree-node-title:hover,.arco-tree-node-disabled .arco-tree-node-title:hover{color:var(--color-text-4);background:none;cursor:not-allowed}.arco-tree-node-disabled.arco-tree-node-selected .arco-tree-node-title{color:var(--color-primary-light-3)}.arco-tree-node-title-block{flex:1;box-sizing:content-box}.arco-tree-node-title-block .arco-tree-node-drag-icon{position:absolute;right:12px}.arco-tree-node-indent{position:relative;flex-shrink:0;align-self:stretch}.arco-tree-node-indent-block{position:relative;display:inline-block;width:12px;height:100%;margin-right:10px}.arco-tree-node-draggable{margin-top:2px}.arco-tree-node-title{position:relative;display:flex;align-items:center;margin-left:-4px;padding:5px 4px;font-size:14px;border-radius:var(--border-radius-small)}.arco-tree-node-title:hover{color:var(--color-text-1);background-color:var(--color-fill-2)}.arco-tree-node-title:hover .arco-tree-node-drag-icon{opacity:1}.arco-tree-node-title-draggable:before{position:absolute;top:-2px;right:0;left:0;display:block;height:2px;border-radius:1px;content:""}.arco-tree-node-title-gap-bottom:before{top:unset;bottom:-2px;background-color:rgb(var(--primary-6))}.arco-tree-node-title-gap-top:before{background-color:rgb(var(--primary-6))}.arco-tree-node-title-highlight{color:var(--color-text-1);background-color:var(--color-primary-light-1)}.arco-tree-node-title-dragging,.arco-tree-node-title-dragging:hover{color:var(--color-text-4);background-color:var(--color-fill-1)}.arco-tree-show-line{padding-left:1px}.arco-tree-show-line .arco-tree-node-switcher{width:14px;text-align:center}.arco-tree-show-line .arco-tree-node-switcher .arco-tree-node-icon-hover{width:100%}.arco-tree-show-line .arco-tree-node-indent-block{width:14px}.arco-tree-show-line .arco-tree-node-indent-block:before{position:absolute;left:50%;box-sizing:border-box;width:1px;border-left:1px solid var(--color-neutral-3);transform:translate(-50%);content:"";top:-5px;bottom:-5px}.arco-tree-show-line .arco-tree-node-is-leaf:not(.arco-tree-node-is-tail) .arco-tree-node-indent:after{position:absolute;right:-7px;box-sizing:border-box;width:1px;border-left:1px solid var(--color-neutral-3);transform:translate(50%);content:"";top:27px;bottom:-5px}.arco-tree-show-line .arco-tree-node-indent-block-lineless:before{display:none}.arco-tree-size-mini .arco-tree-node-switcher{height:24px}.arco-tree-size-mini .arco-checkbox{line-height:24px}.arco-tree-size-mini .arco-tree-node-title{padding-top:2px;padding-bottom:2px;font-size:12px;line-height:1.667}.arco-tree-size-mini .arco-tree-node-indent-block:after{top:23px;bottom:-1px}.arco-tree-size-mini .arco-tree-node-is-leaf:not(.arco-tree-node-is-tail) .arco-tree-node-indent:before{top:-1px;bottom:-1px}.arco-tree-size-small .arco-tree-node-switcher{height:28px}.arco-tree-size-small .arco-checkbox{line-height:28px}.arco-tree-size-small .arco-tree-node-title{padding-top:3px;padding-bottom:3px;font-size:14px}.arco-tree-size-small .arco-tree-node-indent-block:after{top:25px;bottom:-3px}.arco-tree-size-small .arco-tree-node-is-leaf:not(.arco-tree-node-is-tail) .arco-tree-node-indent:before{top:-3px;bottom:-3px}.arco-tree-size-large .arco-tree-node-switcher{height:36px}.arco-tree-size-large .arco-checkbox{line-height:36px}.arco-tree-size-large .arco-tree-node-title{padding-top:7px;padding-bottom:7px;font-size:14px}.arco-tree-size-large .arco-tree-node-indent-block:after{top:29px;bottom:-7px}.arco-tree-size-large .arco-tree-node-is-leaf:not(.arco-tree-node-is-tail) .arco-tree-node-indent:before{top:-7px;bottom:-7px}.arco-tree-node-list{overflow:hidden;transition:height .2s cubic-bezier(.34,.69,.1,1)}.arco-typography{color:var(--color-text-1);line-height:1.5715;white-space:normal;overflow-wrap:anywhere}h1.arco-typography,h2.arco-typography,h3.arco-typography,h4.arco-typography,h5.arco-typography,h6.arco-typography{margin-top:1em;margin-bottom:.5em;font-weight:500}h1.arco-typography{font-size:36px;line-height:1.23}h2.arco-typography{font-size:32px;line-height:1.25}h3.arco-typography{font-size:28px;line-height:1.29}h4.arco-typography{font-size:24px;line-height:1.33}h5.arco-typography{font-size:20px;line-height:1.4}h6.arco-typography{font-size:16px;line-height:1.5}div.arco-typography,p.arco-typography{margin-top:0;margin-bottom:1em}.arco-typography-primary{color:rgb(var(--primary-6))}.arco-typography-secondary{color:var(--color-text-2)}.arco-typography-success{color:rgb(var(--success-6))}.arco-typography-warning{color:rgb(var(--warning-6))}.arco-typography-danger{color:rgb(var(--danger-6))}.arco-typography-disabled{color:var(--color-text-4);cursor:not-allowed}.arco-typography mark{background-color:rgb(var(--yellow-4))}.arco-typography u{text-decoration:underline}.arco-typography del{text-decoration:line-through}.arco-typography b{font-weight:500}.arco-typography code{margin:0 2px;padding:2px 8px;color:var(--color-text-2);font-size:85%;background-color:var(--color-neutral-2);border:1px solid var(--color-neutral-3);border-radius:2px}.arco-typography blockquote{margin:0 0 1em;padding-left:8px;background-color:var(--color-bg-2);border-left:2px solid var(--color-neutral-6)}.arco-typography ol,.arco-typography ul{margin:0;padding:0}.arco-typography ul li,.arco-typography ol li{margin-left:20px}.arco-typography ul{list-style:circle}.arco-typography-spacing-close{line-height:1.3}.arco-typography-operation-copy,.arco-typography-operation-copied{margin-left:2px;padding:2px}.arco-typography-operation-copy{color:var(--color-text-2);background-color:transparent;border-radius:2px;cursor:pointer;transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-typography-operation-copy:hover{color:var(--color-text-2);background-color:var(--color-fill-2)}.arco-typography-operation-copied{color:rgb(var(--success-6))}.arco-typography-operation-edit{margin-left:2px;padding:2px;color:var(--color-text-2);background-color:transparent;border-radius:2px;cursor:pointer;transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-typography-operation-edit:hover{color:var(--color-text-2);background-color:var(--color-fill-2)}.arco-typography-operation-expand{margin:0 4px;color:rgb(var(--primary-6));cursor:pointer}.arco-typography-operation-expand:hover{color:rgb(var(--primary-5))}.arco-typography-edit-content{position:relative;left:-13px;margin-top:-5px;margin-right:-13px;margin-bottom:calc(1em - 5px)}.arco-typography-css-operation{margin-top:-1em;margin-bottom:1em;text-align:right}.arco-upload{display:inline-block;max-width:100%;cursor:pointer}.arco-upload.arco-upload-draggable{width:100%}.arco-upload-tip{margin-top:4px;overflow:hidden;color:var(--color-text-3);font-size:12px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.arco-upload-picture-card{display:flex;flex-direction:column;justify-content:center;min-width:80px;height:80px;margin-bottom:0;color:var(--color-text-2);text-align:center;background:var(--color-fill-2);border:1px dashed var(--color-neutral-3);border-radius:var(--border-radius-small);transition:all .1s cubic-bezier(0,0,1,1)}.arco-upload-picture-card:hover{color:var(--color-text-2);background-color:var(--color-fill-3);border-color:var(--color-neutral-4)}.arco-upload-drag{width:100%;padding:50px 0;color:var(--color-text-1);text-align:center;background-color:var(--color-fill-1);border:1px dashed var(--color-neutral-3);border-radius:var(--border-radius-small);transition:all .2s ease}.arco-upload-drag .arco-icon-plus{margin-bottom:24px;color:var(--color-text-2);font-size:14px}.arco-upload-drag:hover{background-color:var(--color-fill-3);border-color:var(--color-neutral-4)}.arco-upload-drag:hover .arco-upload-drag-text{color:var(--color-text-1)}.arco-upload-drag:hover .arco-icon-plus{color:var(--color-text-2)}.arco-upload-drag-active{color:var(--color-text-1);background-color:var(--color-primary-light-1);border-color:rgb(var(--primary-6))}.arco-upload-drag-active .arco-upload-drag-text{color:var(--color-text-1)}.arco-upload-drag-active .arco-icon-plus{color:rgb(var(--primary-6))}.arco-upload-drag .arco-upload-tip{margin-top:0}.arco-upload-drag-text{color:var(--color-text-1);font-size:14px;line-height:1.5}.arco-upload-wrapper{width:100%}.arco-upload-wrapper.arco-upload-wrapper-type-picture-card{display:flex;justify-content:flex-start}.arco-upload-drag{width:100%}.arco-upload-hide{display:none}.arco-upload-disabled .arco-upload-picture-card,.arco-upload-disabled .arco-upload-picture-card:hover{color:var(--color-text-4);background-color:var(--color-fill-1);border-color:var(--color-neutral-4);cursor:not-allowed}.arco-upload-disabled .arco-upload-drag,.arco-upload-disabled .arco-upload-drag:hover{background-color:var(--color-fill-1);border-color:var(--color-text-4);cursor:not-allowed}.arco-upload-disabled .arco-upload-drag .arco-icon-plus,.arco-upload-disabled .arco-upload-drag:hover .arco-icon-plus,.arco-upload-disabled .arco-upload-drag .arco-upload-drag-text,.arco-upload-disabled .arco-upload-drag:hover .arco-upload-drag-text,.arco-upload-disabled .arco-upload-tip{color:var(--color-text-4)}.arco-upload-icon{cursor:pointer}.arco-upload-icon-error{margin-left:4px;color:rgb(var(--danger-6))}.arco-upload-icon-success{color:rgb(var(--success-6));font-size:14px;line-height:14px}.arco-upload-icon-remove{position:relative;font-size:14px}.arco-upload-icon-start,.arco-upload-icon-cancel{position:absolute;top:50%;left:50%;color:var(--color-white);font-size:12px;transform:translate(-50%) translateY(-50%)}.arco-upload-icon-upload{color:rgb(var(--primary-6));font-size:14px;cursor:pointer;transition:all .2s ease}.arco-upload-icon-upload:active,.arco-upload-icon-upload:hover{color:rgb(var(--primary-7))}.arco-upload-list{margin:0;padding:0;list-style:none}.arco-upload-list.arco-upload-list-type-text,.arco-upload-list.arco-upload-list-type-picture{width:100%}.arco-upload-list.arco-upload-list-type-text .arco-upload-list-item:first-of-type,.arco-upload-list.arco-upload-list-type-picture .arco-upload-list-item:first-of-type{margin-top:24px}.arco-upload-list-item-done .arco-upload-list-item-file-icon{color:rgb(var(--primary-6))}.arco-upload-list-item{position:relative;display:flex;align-items:center;box-sizing:border-box;margin-top:12px}.arco-upload-list-item-content{display:flex;flex:1;flex-wrap:nowrap;align-items:center;box-sizing:border-box;width:100%;padding:8px 10px 8px 12px;overflow:hidden;font-size:14px;background-color:var(--color-fill-1);border-radius:var(--border-radius-small);transition:background-color .1s cubic-bezier(0,0,1,1)}.arco-upload-list-item-file-icon{margin-right:12px;color:rgb(var(--primary-6));font-size:16px;line-height:16px}.arco-upload-list-item-thumbnail{flex-shrink:0;width:40px;height:40px;margin-right:12px}.arco-upload-list-item-thumbnail img{width:100%;height:100%}.arco-upload-list-item-name{display:flex;flex:1;align-items:center;margin-right:10px;overflow:hidden;color:var(--color-text-1);font-size:14px;line-height:1.4286;white-space:nowrap;text-overflow:ellipsis}.arco-upload-list-item-name-link{overflow:hidden;color:rgb(var(--link-6));text-decoration:none;text-overflow:ellipsis;cursor:pointer}.arco-upload-list-item-name-text{overflow:hidden;text-overflow:ellipsis;cursor:pointer}.arco-upload-list-item .arco-upload-progress{position:relative;margin-left:auto;line-height:12px}.arco-upload-list-item .arco-upload-progress:hover .arco-progress-circle-bg{stroke:rgba(var(--gray-10),.2)}.arco-upload-list-item .arco-upload-progress:hover .arco-progress-circle-bar{stroke:rgb(var(--primary-7))}.arco-upload-list-item-operation{margin-left:12px;color:var(--color-text-2);font-size:12px}.arco-upload-list-item-operation .arco-upload-icon-remove{font-size:inherit}.arco-upload-list-item-error .arco-upload-list-status,.arco-upload-list-item-done .arco-upload-list-status{display:none}.arco-upload-list-type-text .arco-upload-list-item-error .arco-upload-list-item-name-link,.arco-upload-list-type-text .arco-upload-list-item-error .arco-upload-list-item-name{color:rgb(var(--danger-6))}.arco-upload-list.arco-upload-list-type-picture-card{display:flex;flex-wrap:wrap;vertical-align:top}.arco-upload-list.arco-upload-list-type-picture-card .arco-upload-list-status{top:50%;margin-left:0;transform:translateY(-50%)}.arco-upload-list-picture{display:inline-block;margin-top:0;margin-right:8px;margin-bottom:8px;padding-right:0;overflow:hidden;vertical-align:top;transition:all .2s cubic-bezier(.34,.69,.1,1)}.arco-upload-list-picture-status-error .arco-upload-list-picture-mask{opacity:1}.arco-upload-list-picture{position:relative;box-sizing:border-box;width:80px;height:80px;overflow:hidden;line-height:80px;text-align:center;vertical-align:top;border-radius:var(--border-radius-small)}.arco-upload-list-picture img{width:100%;height:100%}.arco-upload-list-picture-mask{position:absolute;top:0;right:0;bottom:0;left:0;color:var(--color-white);font-size:16px;line-height:80px;text-align:center;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .1s cubic-bezier(0,0,1,1)}.arco-upload-list-picture-operation{display:none;font-size:14px}.arco-upload-list-picture-operation .arco-upload-icon-retry{color:var(--color-white)}.arco-upload-list-picture-error-tip .arco-upload-icon-error{color:var(--color-white);font-size:26px}.arco-upload-list-picture-mask:hover{opacity:1}.arco-upload-list-picture-mask:hover .arco-upload-list-picture-operation{display:flex;justify-content:space-evenly}.arco-upload-list-picture-mask:hover .arco-upload-list-picture-error-tip{display:none}.arco-upload-list-type-picture .arco-upload-list-item-content{padding-top:8px;padding-bottom:8px}.arco-upload-list-type-picture .arco-upload-list-item-error .arco-upload-list-item-content{background-color:var(--color-danger-light-1)}.arco-upload-list-type-picture .arco-upload-list-item-error .arco-upload-list-item-name-link,.arco-upload-list-type-picture .arco-upload-list-item-error .arco-upload-list-item-name{color:rgb(var(--danger-6))}.arco-upload-hide+.arco-upload-list .arco-upload-list-item:first-of-type{margin-top:0}.arco-upload-slide-up-enter{opacity:0}.arco-upload-slide-up-enter-active{opacity:1;transition:opacity .2s cubic-bezier(.34,.69,.1,1)}.arco-upload-slide-up-exit{opacity:1}.arco-upload-slide-up-exit-active{margin:0;overflow:hidden;opacity:0;transition:opacity .1s cubic-bezier(0,0,1,1),height .3s cubic-bezier(.34,.69,.1,1) .1s,margin .3s cubic-bezier(.34,.69,.1,1) .1s}.arco-upload-list-item.arco-upload-slide-inline-enter{opacity:0}.arco-upload-list-item.arco-upload-slide-inline-enter-active{opacity:1;transition:opacity .2s cubic-bezier(0,0,1,1)}.arco-upload-list-item.arco-upload-slide-inline-exit{opacity:1}.arco-upload-list-item.arco-upload-slide-inline-exit-active{margin:0;overflow:hidden;opacity:0;transition:opacity .1s cubic-bezier(0,0,1,1),width .3s cubic-bezier(.34,.69,.1,1) .1s,margin .3s cubic-bezier(.34,.69,.1,1) .1s}body{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,noto sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}body{--color-white:#ffffff;--color-black:#000000;--color-border:rgb(var(--gray-3));--color-bg-popup:var(--color-bg-5);--color-bg-1:#ffffff;--color-bg-2:#ffffff;--color-bg-3:#ffffff;--color-bg-4:#ffffff;--color-bg-5:#ffffff;--color-bg-white:#ffffff;--color-neutral-1:rgb(var(--gray-1));--color-neutral-2:rgb(var(--gray-2));--color-neutral-3:rgb(var(--gray-3));--color-neutral-4:rgb(var(--gray-4));--color-neutral-5:rgb(var(--gray-5));--color-neutral-6:rgb(var(--gray-6));--color-neutral-7:rgb(var(--gray-7));--color-neutral-8:rgb(var(--gray-8));--color-neutral-9:rgb(var(--gray-9));--color-neutral-10:rgb(var(--gray-10));--color-text-1:var(--color-neutral-10);--color-text-2:var(--color-neutral-8);--color-text-3:var(--color-neutral-6);--color-text-4:var(--color-neutral-4);--color-fill-1:var(--color-neutral-1);--color-fill-2:var(--color-neutral-2);--color-fill-3:var(--color-neutral-3);--color-fill-4:var(--color-neutral-4);--color-border-1:var(--color-neutral-2);--color-border-2:var(--color-neutral-3);--color-border-3:var(--color-neutral-4);--color-border-4:var(--color-neutral-6);--color-primary-light-1:rgb(var(--primary-1));--color-primary-light-2:rgb(var(--primary-2));--color-primary-light-3:rgb(var(--primary-3));--color-primary-light-4:rgb(var(--primary-4));--color-secondary:var(--color-neutral-2);--color-secondary-hover:var(--color-neutral-3);--color-secondary-active:var(--color-neutral-4);--color-secondary-disabled:var(--color-neutral-1);--color-danger-light-1:rgb(var(--danger-1));--color-danger-light-2:rgb(var(--danger-2));--color-danger-light-3:rgb(var(--danger-3));--color-danger-light-4:rgb(var(--danger-4));--color-success-light-1:rgb(var(--success-1));--color-success-light-2:rgb(var(--success-2));--color-success-light-3:rgb(var(--success-3));--color-success-light-4:rgb(var(--success-4));--color-warning-light-1:rgb(var(--warning-1));--color-warning-light-2:rgb(var(--warning-2));--color-warning-light-3:rgb(var(--warning-3));--color-warning-light-4:rgb(var(--warning-4));--color-link-light-1:rgb(var(--link-1));--color-link-light-2:rgb(var(--link-2));--color-link-light-3:rgb(var(--link-3));--color-link-light-4:rgb(var(--link-4));--border-radius-none:0;--border-radius-small:2px;--border-radius-medium:4px;--border-radius-large:8px;--border-radius-circle:50%;--color-tooltip-bg:rgb(var(--gray-10));--color-spin-layer-bg:rgba(255,255,255,.6);--color-menu-dark-bg:#232324;--color-menu-light-bg:#ffffff;--color-menu-dark-hover:rgba(255,255,255,.04);--color-mask-bg:rgba(29,33,41,.6)}body[arco-theme=dark]{--color-black:#000000;--color-border:#333335;--color-bg-1:#17171A;--color-bg-2:#232324;--color-bg-3:#2a2a2b;--color-bg-4:#313132;--color-bg-5:#373739;--color-bg-white:#f6f6f6;--color-text-1:rgba(255,255,255,.9);--color-text-2:rgba(255,255,255,.7);--color-text-3:rgba(255,255,255,.5);--color-text-4:rgba(255,255,255,.3);--color-fill-1:rgba(255,255,255,.04);--color-fill-2:rgba(255,255,255,.08);--color-fill-3:rgba(255,255,255,.12);--color-fill-4:rgba(255,255,255,.16);--color-border-1:#2e2e30;--color-border-2:#484849;--color-border-3:#5f5f60;--color-border-4:#929293;--color-primary-light-1:rgba(var(--primary-6), .2);--color-primary-light-2:rgba(var(--primary-6), .35);--color-primary-light-3:rgba(var(--primary-6), .5);--color-primary-light-4:rgba(var(--primary-6), .65);--color-secondary:rgba(var(--gray-9), .08);--color-secondary-hover:rgba(var(--gray-8), .16);--color-secondary-active:rgba(var(--gray-7), .24);--color-secondary-disabled:rgba(var(--gray-9), .08);--color-danger-light-1:rgba(var(--danger-6), .2);--color-danger-light-2:rgba(var(--danger-6), .35);--color-danger-light-3:rgba(var(--danger-6), .5);--color-danger-light-4:rgba(var(--danger-6), .65);--color-success-light-1:rgb(var(--success-6), .2);--color-success-light-2:rgb(var(--success-6), .35);--color-success-light-3:rgb(var(--success-6), .5);--color-success-light-4:rgb(var(--success-6), .65);--color-warning-light-1:rgb(var(--warning-6), .2);--color-warning-light-2:rgb(var(--warning-6), .35);--color-warning-light-3:rgb(var(--warning-6), .5);--color-warning-light-4:rgb(var(--warning-6), .65);--color-link-light-1:rgba(var(--link-6), .2);--color-link-light-2:rgba(var(--link-6), .35);--color-link-light-3:rgba(var(--link-6), .5);--color-link-light-4:rgba(var(--link-6), .65);--color-tooltip-bg:#373739;--color-spin-layer-bg:rgba(51,51,51,.6);--color-menu-dark-bg:#232324;--color-menu-light-bg:#232324;--color-menu-dark-hover:var(--color-fill-2);--color-mask-bg:rgba(23,23,26,.6)}body{--red-1:255,236,232;--red-2:253,205,197;--red-3:251,172,163;--red-4:249,137,129;--red-5:247,101,96;--red-6:245,63,63;--red-7:203,39,45;--red-8:161,21,30;--red-9:119,8,19;--red-10:77,0,10;--orangered-1:255,243,232;--orangered-2:253,221,195;--orangered-3:252,197,159;--orangered-4:250,172,123;--orangered-5:249,144,87;--orangered-6:247,114,52;--orangered-7:204,81,32;--orangered-8:162,53,17;--orangered-9:119,31,6;--orangered-10:77,14,0;--orange-1:255,247,232;--orange-2:255,228,186;--orange-3:255,207,139;--orange-4:255,182,93;--orange-5:255,154,46;--orange-6:255,125,0;--orange-7:210,95,0;--orange-8:166,69,0;--orange-9:121,46,0;--orange-10:77,27,0;--gold-1:255,252,232;--gold-2:253,244,191;--gold-3:252,233,150;--gold-4:250,220,109;--gold-5:249,204,69;--gold-6:247,186,30;--gold-7:204,146,19;--gold-8:162,109,10;--gold-9:119,75,4;--gold-10:77,45,0;--yellow-1:254,255,232;--yellow-2:254,254,190;--yellow-3:253,250,148;--yellow-4:252,242,107;--yellow-5:251,232,66;--yellow-6:250,220,25;--yellow-7:207,175,15;--yellow-8:163,132,8;--yellow-9:120,93,3;--yellow-10:77,56,0;--lime-1:252,255,232;--lime-2:237,248,187;--lime-3:220,241,144;--lime-4:201,233,104;--lime-5:181,226,65;--lime-6:159,219,29;--lime-7:126,183,18;--lime-8:95,148,10;--lime-9:67,112,4;--lime-10:42,77,0;--green-1:232,255,234;--green-2:175,240,181;--green-3:123,225,136;--green-4:76,210,99;--green-5:35,195,67;--green-6:0,180,42;--green-7:0,154,41;--green-8:0,128,38;--green-9:0,102,34;--green-10:0,77,28;--cyan-1:232,255,251;--cyan-2:183,244,236;--cyan-3:137,233,224;--cyan-4:94,223,214;--cyan-5:55,212,207;--cyan-6:20,201,201;--cyan-7:13,165,170;--cyan-8:7,130,139;--cyan-9:3,97,108;--cyan-10:0,66,77;--blue-1:232,247,255;--blue-2:195,231,254;--blue-3:159,212,253;--blue-4:123,192,252;--blue-5:87,169,251;--blue-6:52,145,250;--blue-7:32,108,207;--blue-8:17,75,163;--blue-9:6,48,120;--blue-10:0,26,77;--arcoblue-1:232,243,255;--arcoblue-2:190,218,255;--arcoblue-3:148,191,255;--arcoblue-4:106,161,255;--arcoblue-5:64,128,255;--arcoblue-6:22,93,255;--arcoblue-7:14,66,210;--arcoblue-8:7,44,166;--arcoblue-9:3,26,121;--arcoblue-10:0,13,77;--purple-1:245,232,255;--purple-2:221,190,246;--purple-3:195,150,237;--purple-4:168,113,227;--purple-5:141,78,218;--purple-6:114,46,209;--purple-7:85,29,176;--purple-8:60,16,143;--purple-9:39,6,110;--purple-10:22,0,77;--pinkpurple-1:255,232,251;--pinkpurple-2:247,186,239;--pinkpurple-3:240,142,230;--pinkpurple-4:232,101,223;--pinkpurple-5:225,62,219;--pinkpurple-6:217,26,217;--pinkpurple-7:176,16,182;--pinkpurple-8:138,9,147;--pinkpurple-9:101,3,112;--pinkpurple-10:66,0,77;--magenta-1:255,232,241;--magenta-2:253,194,219;--magenta-3:251,157,199;--magenta-4:249,121,183;--magenta-5:247,84,168;--magenta-6:245,49,157;--magenta-7:203,30,131;--magenta-8:161,16,105;--magenta-9:119,6,79;--magenta-10:77,0,52;--gray-1:247,248,250;--gray-2:242,243,245;--gray-3:229,230,235;--gray-4:201,205,212;--gray-5:169,174,184;--gray-6:134,144,156;--gray-7:107,119,133;--gray-8:78,89,105;--gray-9:39,46,59;--gray-10:29,33,41;--primary-1:232,240,255;--primary-2:198,215,253;--primary-3:163,188,251;--primary-4:130,160,250;--primary-5:97,129,248;--primary-6:64,98,246;--primary-7:40,64,204;--primary-8:21,37,161;--primary-9:8,17,119;--primary-10:0,4,77;--link-1:var(--arcoblue-1);--link-2:var(--arcoblue-2);--link-3:var(--arcoblue-3);--link-4:var(--arcoblue-4);--link-5:var(--arcoblue-5);--link-6:var(--arcoblue-6);--link-7:var(--arcoblue-7);--link-8:var(--arcoblue-8);--link-9:var(--arcoblue-9);--link-10:var(--arcoblue-10);--success-1:var(--green-1);--success-2:var(--green-2);--success-3:var(--green-3);--success-4:var(--green-4);--success-5:var(--green-5);--success-6:var(--green-6);--success-7:var(--green-7);--success-8:var(--green-8);--success-9:var(--green-9);--success-10:var(--green-10);--danger-1:var(--red-1);--danger-2:var(--red-2);--danger-3:var(--red-3);--danger-4:var(--red-4);--danger-5:var(--red-5);--danger-6:var(--red-6);--danger-7:var(--red-7);--danger-8:var(--red-8);--danger-9:var(--red-9);--danger-10:var(--red-10);--warning-1:var(--orange-1);--warning-2:var(--orange-2);--warning-3:var(--orange-3);--warning-4:var(--orange-4);--warning-5:var(--orange-5);--warning-6:var(--orange-6);--warning-7:var(--orange-7);--warning-8:var(--orange-8);--warning-9:var(--orange-9);--warning-10:var(--orange-10)}body[arco-theme=dark]{--red-1:77,0,10;--red-2:119,6,17;--red-3:161,22,31;--red-4:203,46,52;--red-5:245,78,78;--red-6:247,105,101;--red-7:249,141,134;--red-8:251,176,167;--red-9:253,209,202;--red-10:255,240,236;--orangered-1:77,14,0;--orangered-2:119,30,5;--orangered-3:162,55,20;--orangered-4:204,87,41;--orangered-5:247,126,69;--orangered-6:249,146,90;--orangered-7:250,173,125;--orangered-8:252,198,161;--orangered-9:253,222,197;--orangered-10:255,244,235;--orange-1:77,27,0;--orange-2:121,48,4;--orange-3:166,75,10;--orange-4:210,105,19;--orange-5:255,141,31;--orange-6:255,150,38;--orange-7:255,179,87;--orange-8:255,205,135;--orange-9:255,227,184;--orange-10:255,247,232;--gold-1:77,45,0;--gold-2:119,75,4;--gold-3:162,111,15;--gold-4:204,150,31;--gold-5:247,192,52;--gold-6:249,204,68;--gold-7:250,220,108;--gold-8:252,233,149;--gold-9:253,244,190;--gold-10:255,252,232;--yellow-1:77,56,0;--yellow-2:120,94,7;--yellow-3:163,134,20;--yellow-4:207,179,37;--yellow-5:250,225,60;--yellow-6:251,233,75;--yellow-7:252,243,116;--yellow-8:253,250,157;--yellow-9:254,254,198;--yellow-10:254,255,240;--lime-1:42,77,0;--lime-2:68,112,6;--lime-3:98,148,18;--lime-4:132,183,35;--lime-5:168,219,57;--lime-6:184,226,75;--lime-7:203,233,112;--lime-8:222,241,152;--lime-9:238,248,194;--lime-10:253,255,238;--green-1:0,77,28;--green-2:4,102,37;--green-3:10,128,45;--green-4:18,154,55;--green-5:29,180,64;--green-6:39,195,70;--green-7:80,210,102;--green-8:126,225,139;--green-9:178,240,183;--green-10:235,255,236;--cyan-1:0,66,77;--cyan-2:6,97,108;--cyan-3:17,131,139;--cyan-4:31,166,170;--cyan-5:48,201,201;--cyan-6:63,212,207;--cyan-7:102,223,215;--cyan-8:144,233,225;--cyan-9:190,244,237;--cyan-10:240,255,252;--blue-1:0,26,77;--blue-2:5,47,120;--blue-3:19,76,163;--blue-4:41,113,207;--blue-5:70,154,250;--blue-6:90,170,251;--blue-7:125,193,252;--blue-8:161,213,253;--blue-9:198,232,254;--blue-10:234,248,255;--arcoblue-1:0,13,77;--arcoblue-2:4,27,121;--arcoblue-3:14,50,166;--arcoblue-4:29,77,210;--arcoblue-5:48,111,255;--arcoblue-6:60,126,255;--arcoblue-7:104,159,255;--arcoblue-8:147,190,255;--arcoblue-9:190,218,255;--arcoblue-10:234,244,255;--purple-1:22,0,77;--purple-2:39,6,110;--purple-3:62,19,143;--purple-4:90,37,176;--purple-5:123,61,209;--purple-6:142,81,218;--purple-7:169,116,227;--purple-8:197,154,237;--purple-9:223,194,246;--purple-10:247,237,255;--pinkpurple-1:66,0,77;--pinkpurple-2:101,3,112;--pinkpurple-3:138,13,147;--pinkpurple-4:176,27,182;--pinkpurple-5:217,46,217;--pinkpurple-6:225,61,219;--pinkpurple-7:232,102,223;--pinkpurple-8:240,146,230;--pinkpurple-9:247,193,240;--pinkpurple-10:255,242,253;--magenta-1:77,0,52;--magenta-2:119,8,80;--magenta-3:161,23,108;--magenta-4:203,43,136;--magenta-5:245,69,166;--magenta-6:247,86,169;--magenta-7:249,122,184;--magenta-8:251,158,200;--magenta-9:253,195,219;--magenta-10:255,232,241;--gray-1:23,23,26;--gray-2:46,46,48;--gray-3:72,72,73;--gray-4:95,95,96;--gray-5:120,120,122;--gray-6:146,146,147;--gray-7:171,171,172;--gray-8:197,197,197;--gray-9:223,223,223;--gray-10:246,246,246;--primary-1:0,4,77;--primary-2:6,15,119;--primary-3:23,38,161;--primary-4:47,70,204;--primary-5:79,110,246;--primary-6:102,133,248;--primary-7:135,164,250;--primary-8:168,192,251;--primary-9:202,218,253;--primary-10:237,243,255;--link-1:var(--arcoblue-1);--link-2:var(--arcoblue-2);--link-3:var(--arcoblue-3);--link-4:var(--arcoblue-4);--link-5:var(--arcoblue-5);--link-6:var(--arcoblue-6);--link-7:var(--arcoblue-7);--link-8:var(--arcoblue-8);--link-9:var(--arcoblue-9);--link-10:var(--arcoblue-10);--success-1:var(--green-1);--success-2:var(--green-2);--success-3:var(--green-3);--success-4:var(--green-4);--success-5:var(--green-5);--success-6:var(--green-6);--success-7:var(--green-7);--success-8:var(--green-8);--success-9:var(--green-9);--success-10:var(--green-10);--danger-1:var(--red-1);--danger-2:var(--red-2);--danger-3:var(--red-3);--danger-4:var(--red-4);--danger-5:var(--red-5);--danger-6:var(--red-6);--danger-7:var(--red-7);--danger-8:var(--red-8);--danger-9:var(--red-9);--danger-10:var(--red-10);--warning-1:var(--orange-1);--warning-2:var(--orange-2);--warning-3:var(--orange-3);--warning-4:var(--orange-4);--warning-5:var(--orange-5);--warning-6:var(--orange-6);--warning-7:var(--orange-7);--warning-8:var(--orange-8);--warning-9:var(--orange-9);--warning-10:var(--orange-10)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.arco-layout{display:flex;flex:1;flex-direction:column;margin:0;padding:0}.arco-layout-sider{position:relative;flex:none;width:auto;margin:0;padding:0;background:var(--color-menu-dark-bg);transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-layout-sider-children{height:100%;overflow:auto}.arco-layout-sider-collapsed .arco-layout-sider-children::-webkit-scrollbar{width:0}.arco-layout-sider-has-trigger{box-sizing:border-box;padding-bottom:48px}.arco-layout-sider-trigger{z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:48px;color:var(--color-white);background:rgba(255,255,255,.2);cursor:pointer;transition:width .2s cubic-bezier(.34,.69,.1,1)}.arco-layout-sider-trigger-light{color:var(--color-text-1);background:var(--color-menu-light-bg);border-top:1px solid var(--color-bg-5)}.arco-layout-sider-light{background:var(--color-menu-light-bg);box-shadow:0 2px 5px #00000014}.arco-layout-header{flex:0 0 auto;box-sizing:border-box;margin:0}.arco-layout-content{flex:1}.arco-layout-footer{flex:0 0 auto;margin:0}.arco-layout-has-sider{flex-direction:row}.arco-layout-has-sider>.arco-layout,.arco-layout-has-sider>.arco-layout-content{overflow-x:hidden}.arco-scrollbar{position:relative}.arco-scrollbar-container{position:relative;scrollbar-width:none}.arco-scrollbar-container::-webkit-scrollbar{display:none}.arco-scrollbar-track{position:absolute;z-index:100}.arco-scrollbar-track-direction-horizontal{bottom:0;left:0;box-sizing:border-box;width:100%;height:15px}.arco-scrollbar-track-direction-vertical{top:0;right:0;box-sizing:border-box;width:15px;height:100%}.arco-scrollbar-thumb{position:absolute;display:block;box-sizing:border-box}.arco-scrollbar-thumb-bar{width:100%;height:100%;background-color:var(--color-neutral-4);border-radius:6px}.arco-scrollbar-thumb:hover .arco-scrollbar-thumb-bar,.arco-scrollbar-thumb-dragging .arco-scrollbar-thumb-bar{background-color:var(--color-neutral-6)}.arco-scrollbar-thumb-direction-horizontal .arco-scrollbar-thumb-bar{height:9px;margin:3px 0}.arco-scrollbar-thumb-direction-vertical .arco-scrollbar-thumb-bar{width:9px;margin:0 3px}.arco-scrollbar.arco-scrollbar-type-embed .arco-scrollbar-thumb{opacity:0;transition:opacity ease .2s}.arco-scrollbar.arco-scrollbar-type-embed .arco-scrollbar-thumb-dragging,.arco-scrollbar.arco-scrollbar-type-embed:hover .arco-scrollbar-thumb{opacity:.8}.arco-scrollbar.arco-scrollbar-type-track .arco-scrollbar-track{background-color:var(--color-neutral-1)}.arco-scrollbar.arco-scrollbar-type-track .arco-scrollbar-track-direction-horizontal{border-top:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3)}.arco-scrollbar.arco-scrollbar-type-track .arco-scrollbar-track-direction-vertical{border-right:1px solid var(--color-neutral-3);border-left:1px solid var(--color-neutral-3)}.arco-scrollbar.arco-scrollbar-type-track .arco-scrollbar-thumb-direction-horizontal{margin:-1px 0}.arco-scrollbar.arco-scrollbar-type-track .arco-scrollbar-thumb-direction-vertical{margin:0 -1px}.arco-scrollbar.arco-scrollbar-type-track.arco-scrollbar-both .arco-scrollbar-track-direction-vertical:after{position:absolute;right:-1px;bottom:0;display:block;box-sizing:border-box;width:15px;height:15px;background-color:var(--color-neutral-1);border-right:1px solid var(--color-neutral-3);border-bottom:1px solid var(--color-neutral-3);content:""}@font-face{font-family:JetBrainsMono;font-display:swap;src:url(/assets/mono-fb3b2575.ttf)}@media screen and (max-width: 768px){#app>section>div{min-width:100vw;max-width:100%;padding:0}#app>section>div>div.arco-resizebox-trigger-vertical>div{display:none}}@media screen and (min-width: 768px){#app>section>div{min-width:25%;max-width:60%}}#app>section>div>div>div{height:100%}#app>section>div>div>div>div.arco-scrollbar-container{padding:1em;height:calc(100% - 2em)}#app>section>div>div>div>div.arco-scrollbar-track>div>div{background:var(--color-fill-4)!important}#codespace>div>svg{position:fixed;top:12px;right:12px;width:36px;height:36px;color:var(--color-text-3)}#codespace>div>pre{margin:0}#codespace>div>pre>code{-webkit-user-select:text;user-select:text;overflow:inherit;padding:0;font-family:JetBrainsMono,sans-serif;font-size:15px;line-height:1.414;background:transparent}@media screen and (max-width: 768px){#codespace>div:nth-child(1){display:block;height:60px}}@media screen and (min-width: 768px){#codespace>div:nth-child(1){display:none}}#codespace>div:nth-child(2){width:100%}.arco-input-wrapper{display:inline-flex;box-sizing:border-box;width:100%;padding-right:12px;padding-left:12px;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1)}.arco-input-wrapper:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-input-wrapper:focus-within,.arco-input-wrapper.arco-input-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-input-wrapper.arco-input-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-input-wrapper.arco-input-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-input-wrapper.arco-input-disabled .arco-input-prefix,.arco-input-wrapper.arco-input-disabled .arco-input-suffix{color:inherit}.arco-input-wrapper.arco-input-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-input-wrapper.arco-input-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-input-wrapper.arco-input-error:focus-within,.arco-input-wrapper.arco-input-error.arco-input-wrapper-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-input-wrapper .arco-input-prefix,.arco-input-wrapper .arco-input-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-input-wrapper .arco-input-prefix>svg,.arco-input-wrapper .arco-input-suffix>svg{font-size:14px}.arco-input-wrapper .arco-input-prefix{padding-right:12px;color:var(--color-text-2)}.arco-input-wrapper .arco-input-suffix{padding-left:12px;color:var(--color-text-2)}.arco-input-wrapper .arco-input-suffix .arco-feedback-icon{display:inline-flex}.arco-input-wrapper .arco-input-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-input-wrapper .arco-input-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-input-wrapper .arco-input-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-input-wrapper .arco-input-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-input-wrapper .arco-input-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-input-wrapper .arco-input-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-input-wrapper:hover .arco-input-clear-btn{visibility:visible}.arco-input-wrapper:not(.arco-input-focus) .arco-input-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-input-wrapper .arco-input{width:100%;padding-right:0;padding-left:0;color:inherit;line-height:1.5715;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.arco-input-wrapper .arco-input::placeholder{color:var(--color-text-3)}.arco-input-wrapper .arco-input[disabled]::placeholder{color:var(--color-text-4)}.arco-input-wrapper .arco-input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-input-wrapper .arco-input.arco-input-size-mini{padding-top:1px;padding-bottom:1px;font-size:12px;line-height:1.667}.arco-input-wrapper .arco-input.arco-input-size-small{padding-top:2px;padding-bottom:2px;font-size:14px;line-height:1.5715}.arco-input-wrapper .arco-input.arco-input-size-medium{padding-top:4px;padding-bottom:4px;font-size:14px;line-height:1.5715}.arco-input-wrapper .arco-input.arco-input-size-large{padding-top:6px;padding-bottom:6px;font-size:14px;line-height:1.5715}.arco-input-wrapper .arco-input-word-limit{color:var(--color-text-3);font-size:12px}.arco-input-outer{display:inline-flex;width:100%}.arco-input-outer>.arco-input-wrapper{border-radius:0}.arco-input-outer>:first-child{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.arco-input-outer>:last-child{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.arco-input-outer.arco-input-outer-size-mini .arco-input-outer,.arco-input-outer.arco-input-outer-size-mini .arco-input-wrapper .arco-input-prefix,.arco-input-outer.arco-input-outer-size-mini .arco-input-wrapper .arco-input-suffix{font-size:12px}.arco-input-outer.arco-input-outer-size-mini .arco-input-wrapper .arco-input-prefix>svg,.arco-input-outer.arco-input-outer-size-mini .arco-input-wrapper .arco-input-suffix>svg{font-size:12px}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend,.arco-input-outer.arco-input-outer-size-mini .arco-input-append{font-size:12px}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend>svg,.arco-input-outer.arco-input-outer-size-mini .arco-input-append>svg{font-size:12px}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend .arco-input{width:auto;height:100%;margin:-1px -13px -1px -12px;border-color:transparent;border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend .arco-select{width:auto;height:100%;margin:-1px -13px -1px -12px}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-mini .arco-input-prepend .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer.arco-input-outer-size-mini .arco-input-append .arco-input{width:auto;height:100%;margin:-1px -12px -1px -13px;border-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}.arco-input-outer.arco-input-outer-size-mini .arco-input-append .arco-select{width:auto;height:100%;margin:-1px -12px -1px -13px}.arco-input-outer.arco-input-outer-size-mini .arco-input-append .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-mini .arco-input-append .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer.arco-input-outer-size-small .arco-input-outer,.arco-input-outer.arco-input-outer-size-small .arco-input-wrapper .arco-input-prefix,.arco-input-outer.arco-input-outer-size-small .arco-input-wrapper .arco-input-suffix{font-size:14px}.arco-input-outer.arco-input-outer-size-small .arco-input-wrapper .arco-input-prefix>svg,.arco-input-outer.arco-input-outer-size-small .arco-input-wrapper .arco-input-suffix>svg{font-size:14px}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend,.arco-input-outer.arco-input-outer-size-small .arco-input-append{font-size:14px}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend>svg,.arco-input-outer.arco-input-outer-size-small .arco-input-append>svg{font-size:14px}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend .arco-input{width:auto;height:100%;margin:-1px -13px -1px -12px;border-color:transparent;border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend .arco-select{width:auto;height:100%;margin:-1px -13px -1px -12px}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-small .arco-input-prepend .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer.arco-input-outer-size-small .arco-input-append .arco-input{width:auto;height:100%;margin:-1px -12px -1px -13px;border-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}.arco-input-outer.arco-input-outer-size-small .arco-input-append .arco-select{width:auto;height:100%;margin:-1px -12px -1px -13px}.arco-input-outer.arco-input-outer-size-small .arco-input-append .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-small .arco-input-append .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer.arco-input-outer-size-large .arco-input-outer,.arco-input-outer.arco-input-outer-size-large .arco-input-wrapper .arco-input-prefix,.arco-input-outer.arco-input-outer-size-large .arco-input-wrapper .arco-input-suffix{font-size:14px}.arco-input-outer.arco-input-outer-size-large .arco-input-wrapper .arco-input-prefix>svg,.arco-input-outer.arco-input-outer-size-large .arco-input-wrapper .arco-input-suffix>svg{font-size:14px}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend,.arco-input-outer.arco-input-outer-size-large .arco-input-append{font-size:14px}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend>svg,.arco-input-outer.arco-input-outer-size-large .arco-input-append>svg{font-size:14px}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend .arco-input{width:auto;height:100%;margin:-1px -13px -1px -12px;border-color:transparent;border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend .arco-select{width:auto;height:100%;margin:-1px -13px -1px -12px}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-large .arco-input-prepend .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer.arco-input-outer-size-large .arco-input-append .arco-input{width:auto;height:100%;margin:-1px -12px -1px -13px;border-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}.arco-input-outer.arco-input-outer-size-large .arco-input-append .arco-select{width:auto;height:100%;margin:-1px -12px -1px -13px}.arco-input-outer.arco-input-outer-size-large .arco-input-append .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-outer.arco-input-outer-size-large .arco-input-append .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-outer-disabled{cursor:not-allowed}.arco-input-prepend,.arco-input-append{display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;padding:0 12px;color:var(--color-text-1);white-space:nowrap;background-color:var(--color-fill-2);border:1px solid transparent}.arco-input-prepend>svg,.arco-input-append>svg{font-size:14px}.arco-input-prepend{border-right:1px solid var(--color-neutral-3)}.arco-input-prepend .arco-input{width:auto;height:100%;margin:-1px -12px -1px -13px;border-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}.arco-input-prepend .arco-select{width:auto;height:100%;margin:-1px -12px -1px -13px}.arco-input-prepend .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-prepend .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-append{border-left:1px solid var(--color-neutral-3)}.arco-input-append .arco-input{width:auto;height:100%;margin:-1px -13px -1px -12px;border-color:transparent;border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-append .arco-select{width:auto;height:100%;margin:-1px -13px -1px -12px}.arco-input-append .arco-select .arco-select-view{background-color:inherit;border-color:transparent;border-radius:0}.arco-input-append .arco-select.arco-select-single .arco-select-view{height:100%}.arco-input-group{display:inline-flex;align-items:center}.arco-input-group>*{border-radius:0}.arco-input-group>*.arco-input-outer>:last-child,.arco-input-group>*.arco-input-outer>:first-child{border-radius:0}.arco-input-group>*:not(:last-child){position:relative;box-sizing:border-box}.arco-input-group>*:first-child,.arco-input-group>*:first-child .arco-input-group>*:first-child{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.arco-input-group>*:first-child .arco-select-view,.arco-input-group>*:first-child .arco-input-group>*:first-child .arco-select-view{border-top-left-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.arco-input-group>*:last-child,.arco-input-group>*:last-child .arco-input-outer>*:last-child{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.arco-input-group>*:last-child .arco-select-view,.arco-input-group>*:last-child .arco-input-outer>*:last-child .arco-select-view{border-top-right-radius:var(--border-radius-small);border-bottom-right-radius:var(--border-radius-small)}.arco-input-group>.arco-input-wrapper:not(:last-child),.arco-input-group>.arco-input-outer:not(:last-child),.arco-input-group>.arco-input-tag:not(:last-child),.arco-input-group>.arco-select-view:not(:last-child){border-right:1px solid var(--color-neutral-3)}.arco-input-group>.arco-input-wrapper:not(:last-child):focus-within,.arco-input-group>.arco-input-outer:not(:last-child):focus-within,.arco-input-group>.arco-input-tag:not(:last-child):focus-within,.arco-input-group>.arco-select-view:not(:last-child):focus-within{border-right-color:rgb(var(--primary-6))}.size-height-size-mini{padding-top:1px;padding-bottom:1px;font-size:12px;line-height:1.667}.size-height-size-small{padding-top:2px;padding-bottom:2px;font-size:14px}.size-height-size-large{padding-top:6px;padding-bottom:6px;font-size:14px}.arco-textarea-wrapper{position:relative;display:inline-block;width:100%}.arco-textarea-clear-wrapper:hover .arco-textarea-clear-icon{display:inline-block}.arco-textarea-clear-wrapper .arco-textarea{padding-right:20px}.arco-textarea-word-limit{position:absolute;right:10px;bottom:6px;color:var(--color-text-3);font-size:12px;-webkit-user-select:none;user-select:none}.arco-textarea-clear-icon{position:absolute;top:10px;right:10px;display:none;font-size:12px}.arco-input-search .arco-input-append{padding:0;border:none}.arco-input-search .arco-input-suffix{color:var(--color-text-2);font-size:14px}.arco-input-search .arco-input-search-btn{border-top-left-radius:0;border-bottom-left-radius:0}.arco-input-wrapper.arco-input-password:not(.arco-input-disabled) .arco-input-suffix{color:var(--color-text-2);font-size:12px;cursor:pointer}.arco-modal-container .arco-modal-simple{width:calc(100% - 80px);max-width:520px;margin:0 20px;padding:20px}.arco-modal-container .arco-modal-simple>div>div>div.arco-modal-title-icon{display:none}.arco-trigger-wrapper{display:inline-block}.arco-trigger-popup{position:absolute;z-index:1000}.arco-trigger-arrow{position:absolute;z-index:-1;display:block;box-sizing:border-box;width:8px;height:8px;background-color:var(--color-bg-5);content:""}.arco-trigger-popup[trigger-placement=top] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=tl] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=tr] .arco-trigger-arrow{border-top:none;border-left:none;border-bottom-right-radius:var(--border-radius-small)}.arco-trigger-popup[trigger-placement=bottom] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=bl] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=br] .arco-trigger-arrow{border-right:none;border-bottom:none;border-top-left-radius:var(--border-radius-small)}.arco-trigger-popup[trigger-placement=left] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=lt] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=lb] .arco-trigger-arrow{border-bottom:none;border-left:none;border-top-right-radius:var(--border-radius-small)}.arco-trigger-popup[trigger-placement=right] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=rt] .arco-trigger-arrow,.arco-trigger-popup[trigger-placement=rb] .arco-trigger-arrow{border-top:none;border-right:none;border-bottom-left-radius:var(--border-radius-small)}.arco-divider-horizontal{position:relative;clear:both;width:100%;min-width:100%;max-width:100%;margin:20px 0;border-bottom:1px solid var(--color-neutral-3)}.arco-divider-horizontal.arco-divider-with-text{margin:20px 0}.arco-divider-vertical{display:inline-block;min-width:1px;max-width:1px;min-height:1em;margin:0 12px;vertical-align:middle;border-left:1px solid var(--color-neutral-3)}.arco-divider-text{position:absolute;top:50%;box-sizing:border-box;padding:0 16px;color:var(--color-text-1);font-weight:500;font-size:14px;line-height:2;background:var(--color-bg-2);transform:translateY(-50%)}.arco-divider-text-center{left:50%;transform:translate(-50%,-50%)}.arco-divider-text-left{left:24px}.arco-divider-text-right{right:24px}.arco-dropdown{box-sizing:border-box;padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-dropdown-list{margin-top:0;margin-bottom:0;padding-left:0;list-style:none}.arco-dropdown-list-wrapper{max-height:200px;overflow-y:auto}.arco-dropdown-option{position:relative;z-index:1;display:flex;align-items:center;box-sizing:border-box;width:100%;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:transparent;cursor:pointer}.arco-dropdown-option-content{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-option-has-suffix{justify-content:space-between}.arco-dropdown-option-active,.arco-dropdown-option:not(.arco-dropdown-option-disabled):hover{color:var(--color-text-1);background-color:var(--color-fill-2);transition:all .1s cubic-bezier(0,0,1,1)}.arco-dropdown-option-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-dropdown-option-icon{display:inline-flex;margin-right:8px}.arco-dropdown-option-suffix{margin-left:12px}.arco-dropdown-group:first-child .arco-dropdown-group-title{margin-top:8px}.arco-dropdown-group-title{box-sizing:border-box;width:100%;margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-dropdown-submenu{margin-top:-4px}.arco-dropdown.arco-dropdown-has-footer{padding-bottom:0}.arco-dropdown-footer{border-top:1px solid var(--color-fill-3)}.arco-input-label{display:inline-flex;box-sizing:border-box;width:100%;padding-right:12px;padding-left:12px;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1);cursor:pointer}.arco-input-label.arco-input-label-search{cursor:text}.arco-input-label.arco-input-label-search .arco-input-label-value{pointer-events:none}.arco-input-label:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-input-label:focus-within,.arco-input-label.arco-input-label-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-input-label.arco-input-label-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-input-label.arco-input-label-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-input-label.arco-input-label-disabled .arco-input-label-prefix,.arco-input-label.arco-input-label-disabled .arco-input-label-suffix{color:inherit}.arco-input-label.arco-input-label-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-input-label.arco-input-label-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-input-label.arco-input-label-error:focus-within,.arco-input-label.arco-input-label-error.arco-input-label-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-input-label .arco-input-label-prefix,.arco-input-label .arco-input-label-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-input-label .arco-input-label-prefix>svg,.arco-input-label .arco-input-label-suffix>svg{font-size:14px}.arco-input-label .arco-input-label-prefix{padding-right:12px;color:var(--color-text-2)}.arco-input-label .arco-input-label-suffix{padding-left:12px;color:var(--color-text-2)}.arco-input-label .arco-input-label-suffix .arco-feedback-icon{display:inline-flex}.arco-input-label .arco-input-label-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-input-label .arco-input-label-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-input-label .arco-input-label-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-input-label .arco-input-label-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-input-label .arco-input-label-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-input-label .arco-input-label-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-input-label:hover .arco-input-label-clear-btn{visibility:visible}.arco-input-label:not(.arco-input-label-focus) .arco-input-label-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-input-label .arco-input-label-input{width:100%;padding-right:0;padding-left:0;color:inherit;line-height:1.5715;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.arco-input-label .arco-input-label-input::placeholder{color:var(--color-text-3)}.arco-input-label .arco-input-label-input[disabled]::placeholder{color:var(--color-text-4)}.arco-input-label .arco-input-label-input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-input-label .arco-input-label-input-hidden{position:absolute;width:0!important}.arco-input-label .arco-input-label-value{display:flex;align-items:center;box-sizing:border-box;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-input-label .arco-input-label-value:after{font-size:0;line-height:0;visibility:hidden;content:"."}.arco-input-label .arco-input-label-value-hidden{display:none}.arco-input-label.arco-input-label-size-mini .arco-input-label-input,.arco-input-label.arco-input-label-size-mini .arco-input-label-value{padding-top:1px;padding-bottom:1px;font-size:12px;line-height:1.667}.arco-input-label.arco-input-label-size-mini .arco-input-label-value{min-height:22px}.arco-input-label.arco-input-label-size-medium .arco-input-label-input,.arco-input-label.arco-input-label-size-medium .arco-input-label-value{padding-top:4px;padding-bottom:4px;font-size:14px;line-height:1.5715}.arco-input-label.arco-input-label-size-medium .arco-input-label-value{min-height:30px}.arco-input-label.arco-input-label-size-small .arco-input-label-input,.arco-input-label.arco-input-label-size-small .arco-input-label-value{padding-top:2px;padding-bottom:2px;font-size:14px;line-height:1.5715}.arco-input-label.arco-input-label-size-small .arco-input-label-value{min-height:26px}.arco-input-label.arco-input-label-size-large .arco-input-label-input,.arco-input-label.arco-input-label-size-large .arco-input-label-value{padding-top:6px;padding-bottom:6px;font-size:14px;line-height:1.5715}.arco-input-label.arco-input-label-size-large .arco-input-label-value{min-height:34px}.arco-input-tag{display:inline-flex;box-sizing:border-box;width:100%;padding-right:12px;padding-left:12px;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1)}.arco-input-tag:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-input-tag:focus-within,.arco-input-tag.arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-input-tag.arco-input-tag-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-input-tag.arco-input-tag-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-input-tag.arco-input-tag-disabled .arco-input-tag-prefix,.arco-input-tag.arco-input-tag-disabled .arco-input-tag-suffix{color:inherit}.arco-input-tag.arco-input-tag-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-input-tag.arco-input-tag-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-input-tag.arco-input-tag-error:focus-within,.arco-input-tag.arco-input-tag-error.arco-input-tag-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-input-tag .arco-input-tag-prefix,.arco-input-tag .arco-input-tag-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-input-tag .arco-input-tag-prefix>svg,.arco-input-tag .arco-input-tag-suffix>svg{font-size:14px}.arco-input-tag .arco-input-tag-prefix{padding-right:12px;color:var(--color-text-2)}.arco-input-tag .arco-input-tag-suffix{padding-left:12px;color:var(--color-text-2)}.arco-input-tag .arco-input-tag-suffix .arco-feedback-icon{display:inline-flex}.arco-input-tag .arco-input-tag-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-input-tag .arco-input-tag-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-input-tag .arco-input-tag-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-input-tag .arco-input-tag-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-input-tag .arco-input-tag-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-input-tag .arco-input-tag-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-input-tag:hover .arco-input-tag-clear-btn{visibility:visible}.arco-input-tag:not(.arco-input-tag-focus) .arco-input-tag-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-input-tag.arco-input-tag-has-tag{padding-right:4px;padding-left:4px}.arco-input-tag.arco-input-tag-has-prefix{padding-left:12px}.arco-input-tag.arco-input-tag-has-suffix{padding-right:12px}.arco-input-tag .arco-input-tag-inner{flex:1;overflow:hidden;line-height:0}.arco-input-tag .arco-input-tag-inner .arco-input-tag-tag{display:inline-flex;align-items:center;margin-right:4px;color:var(--color-text-1);font-size:12px;white-space:pre-wrap;word-break:break-word;background-color:var(--color-bg-2);border-color:var(--color-fill-3)}.arco-input-tag .arco-input-tag-inner .arco-input-tag-tag .arco-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-input-tag .arco-input-tag-inner .arco-input-tag-tag.arco-tag-custom-color{color:var(--color-white)}.arco-input-tag .arco-input-tag-inner .arco-input-tag-tag.arco-tag-custom-color .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:#fff3}.arco-input-tag .arco-input-tag-inner .arco-input-tag-input{width:100%;padding-right:0;padding-left:0;color:inherit;line-height:1.5715;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box}.arco-input-tag .arco-input-tag-inner .arco-input-tag-input::placeholder{color:var(--color-text-3)}.arco-input-tag .arco-input-tag-inner .arco-input-tag-input[disabled]::placeholder{color:var(--color-text-4)}.arco-input-tag .arco-input-tag-inner .arco-input-tag-input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-input-tag .arco-input-tag-mirror{position:absolute;top:0;left:0;white-space:pre;visibility:hidden;pointer-events:none}.arco-input-tag.arco-input-tag-focus .arco-input-tag-tag{background-color:var(--color-fill-2);border-color:var(--color-fill-2)}.arco-input-tag.arco-input-tag-focus .arco-input-tag-tag .arco-icon-hover:hover:before{background-color:var(--color-fill-3)}.arco-input-tag.arco-input-tag-disabled .arco-input-tag-tag{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:var(--color-fill-3)}.arco-input-tag.arco-input-tag-readonly,.arco-input-tag.arco-input-tag-disabled-input{cursor:default}.arco-input-tag.arco-input-tag-size-mini{font-size:12px}.arco-input-tag.arco-input-tag-size-mini .arco-input-tag-inner{padding-top:0;padding-bottom:0}.arco-input-tag.arco-input-tag-size-mini .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-mini .arco-input-tag-input{margin-top:1px;margin-bottom:1px;line-height:18px;vertical-align:middle}.arco-input-tag.arco-input-tag-size-mini .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-mini .arco-input-tag-input{height:auto;min-height:20px}.arco-input-tag.arco-input-tag-size-medium{font-size:14px}.arco-input-tag.arco-input-tag-size-medium .arco-input-tag-inner{padding-top:2px;padding-bottom:2px}.arco-input-tag.arco-input-tag-size-medium .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-medium .arco-input-tag-input{margin-top:1px;margin-bottom:1px;line-height:22px;vertical-align:middle}.arco-input-tag.arco-input-tag-size-medium .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-medium .arco-input-tag-input{height:auto;min-height:24px}.arco-input-tag.arco-input-tag-size-small{font-size:14px}.arco-input-tag.arco-input-tag-size-small .arco-input-tag-inner{padding-top:2px;padding-bottom:2px}.arco-input-tag.arco-input-tag-size-small .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-small .arco-input-tag-input{margin-top:1px;margin-bottom:1px;line-height:18px;vertical-align:middle}.arco-input-tag.arco-input-tag-size-small .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-small .arco-input-tag-input{height:auto;min-height:20px}.arco-input-tag.arco-input-tag-size-large{font-size:14px}.arco-input-tag.arco-input-tag-size-large .arco-input-tag-inner{padding-top:2px;padding-bottom:2px}.arco-input-tag.arco-input-tag-size-large .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-large .arco-input-tag-input{margin-top:1px;margin-bottom:1px;line-height:26px;vertical-align:middle}.arco-input-tag.arco-input-tag-size-large .arco-input-tag-tag,.arco-input-tag.arco-input-tag-size-large .arco-input-tag-input{height:auto;min-height:28px}.input-tag-zoom-enter-from{transform:scale(.5);opacity:0}.input-tag-zoom-enter-to{transform:scale(1);opacity:1}.input-tag-zoom-enter-active{transition:all .3s cubic-bezier(.34,.69,.1,1)}.input-tag-zoom-leave-from{transform:scale(1);opacity:1}.input-tag-zoom-leave-to{transform:scale(.5);opacity:0}.input-tag-zoom-leave-active{position:absolute;transition:all .3s cubic-bezier(.3,1.3,.3,1)}.input-tag-zoom-move{transition:all .3s cubic-bezier(.3,1.3,.3,1)}.arco-tag{display:inline-flex;align-items:center;box-sizing:border-box;height:24px;padding:0 8px;color:var(--color-text-1);font-weight:500;font-size:12px;line-height:22px;vertical-align:middle;border:1px solid transparent;border-radius:var(--border-radius-small);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-tag .arco-icon-hover.arco-tag-icon-hover:before{width:16px;height:16px}.arco-tag .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:var(--color-fill-3)}.arco-tag-checkable{cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-tag-checkable:hover{background-color:var(--color-fill-2)}.arco-tag-checked{background-color:var(--color-fill-2);border-color:transparent}.arco-tag-checkable.arco-tag-checked:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-tag-bordered,.arco-tag-checkable.arco-tag-checked.arco-tag-bordered:hover{border-color:var(--color-border-2)}.arco-tag-size-small{height:20px;font-size:12px;line-height:18px}.arco-tag-size-medium{height:24px;font-size:12px;line-height:22px}.arco-tag-size-large{height:32px;font-size:14px;line-height:30px}.arco-tag-hide{display:none}.arco-tag-loading{cursor:default;opacity:.8}.arco-tag-icon{margin-right:4px;color:var(--color-text-2)}.arco-tag.arco-tag-checked.arco-tag-red{color:rgb(var(--red-6));background-color:rgb(var(--red-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-red .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--red-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-red.arco-tag:hover{background-color:rgb(var(--red-2));border-color:transparent}.arco-tag-checked.arco-tag-red.arco-tag-bordered,.arco-tag-checked.arco-tag-red.arco-tag-bordered:hover{border-color:rgb(var(--red-6))}.arco-tag.arco-tag-checked.arco-tag-red .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-red .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-red .arco-tag-loading-icon{color:rgb(var(--red-6))}.arco-tag.arco-tag-checked.arco-tag-orangered{color:rgb(var(--orangered-6));background-color:rgb(var(--orangered-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-orangered .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--orangered-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-orangered.arco-tag:hover{background-color:rgb(var(--orangered-2));border-color:transparent}.arco-tag-checked.arco-tag-orangered.arco-tag-bordered,.arco-tag-checked.arco-tag-orangered.arco-tag-bordered:hover{border-color:rgb(var(--orangered-6))}.arco-tag.arco-tag-checked.arco-tag-orangered .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-orangered .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-orangered .arco-tag-loading-icon{color:rgb(var(--orangered-6))}.arco-tag.arco-tag-checked.arco-tag-orange{color:rgb(var(--orange-6));background-color:rgb(var(--orange-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-orange .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--orange-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-orange.arco-tag:hover{background-color:rgb(var(--orange-2));border-color:transparent}.arco-tag-checked.arco-tag-orange.arco-tag-bordered,.arco-tag-checked.arco-tag-orange.arco-tag-bordered:hover{border-color:rgb(var(--orange-6))}.arco-tag.arco-tag-checked.arco-tag-orange .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-orange .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-orange .arco-tag-loading-icon{color:rgb(var(--orange-6))}.arco-tag.arco-tag-checked.arco-tag-gold{color:rgb(var(--gold-6));background-color:rgb(var(--gold-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-gold .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--gold-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-gold.arco-tag:hover{background-color:rgb(var(--gold-3));border-color:transparent}.arco-tag-checked.arco-tag-gold.arco-tag-bordered,.arco-tag-checked.arco-tag-gold.arco-tag-bordered:hover{border-color:rgb(var(--gold-6))}.arco-tag.arco-tag-checked.arco-tag-gold .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-gold .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-gold .arco-tag-loading-icon{color:rgb(var(--gold-6))}.arco-tag.arco-tag-checked.arco-tag-lime{color:rgb(var(--lime-6));background-color:rgb(var(--lime-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-lime .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--lime-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-lime.arco-tag:hover{background-color:rgb(var(--lime-2));border-color:transparent}.arco-tag-checked.arco-tag-lime.arco-tag-bordered,.arco-tag-checked.arco-tag-lime.arco-tag-bordered:hover{border-color:rgb(var(--lime-6))}.arco-tag.arco-tag-checked.arco-tag-lime .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-lime .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-lime .arco-tag-loading-icon{color:rgb(var(--lime-6))}.arco-tag.arco-tag-checked.arco-tag-green{color:rgb(var(--green-6));background-color:rgb(var(--green-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-green .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--green-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-green.arco-tag:hover{background-color:rgb(var(--green-2));border-color:transparent}.arco-tag-checked.arco-tag-green.arco-tag-bordered,.arco-tag-checked.arco-tag-green.arco-tag-bordered:hover{border-color:rgb(var(--green-6))}.arco-tag.arco-tag-checked.arco-tag-green .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-green .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-green .arco-tag-loading-icon{color:rgb(var(--green-6))}.arco-tag.arco-tag-checked.arco-tag-cyan{color:rgb(var(--cyan-6));background-color:rgb(var(--cyan-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-cyan .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--cyan-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-cyan.arco-tag:hover{background-color:rgb(var(--cyan-2));border-color:transparent}.arco-tag-checked.arco-tag-cyan.arco-tag-bordered,.arco-tag-checked.arco-tag-cyan.arco-tag-bordered:hover{border-color:rgb(var(--cyan-6))}.arco-tag.arco-tag-checked.arco-tag-cyan .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-cyan .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-cyan .arco-tag-loading-icon{color:rgb(var(--cyan-6))}.arco-tag.arco-tag-checked.arco-tag-blue{color:rgb(var(--blue-6));background-color:rgb(var(--blue-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-blue .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--blue-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-blue.arco-tag:hover{background-color:rgb(var(--blue-2));border-color:transparent}.arco-tag-checked.arco-tag-blue.arco-tag-bordered,.arco-tag-checked.arco-tag-blue.arco-tag-bordered:hover{border-color:rgb(var(--blue-6))}.arco-tag.arco-tag-checked.arco-tag-blue .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-blue .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-blue .arco-tag-loading-icon{color:rgb(var(--blue-6))}.arco-tag.arco-tag-checked.arco-tag-arcoblue{color:rgb(var(--arcoblue-6));background-color:rgb(var(--arcoblue-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-arcoblue .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--arcoblue-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-arcoblue.arco-tag:hover{background-color:rgb(var(--arcoblue-2));border-color:transparent}.arco-tag-checked.arco-tag-arcoblue.arco-tag-bordered,.arco-tag-checked.arco-tag-arcoblue.arco-tag-bordered:hover{border-color:rgb(var(--arcoblue-6))}.arco-tag.arco-tag-checked.arco-tag-arcoblue .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-arcoblue .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-arcoblue .arco-tag-loading-icon{color:rgb(var(--arcoblue-6))}.arco-tag.arco-tag-checked.arco-tag-purple{color:rgb(var(--purple-6));background-color:rgb(var(--purple-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-purple .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--purple-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-purple.arco-tag:hover{background-color:rgb(var(--purple-2));border-color:transparent}.arco-tag-checked.arco-tag-purple.arco-tag-bordered,.arco-tag-checked.arco-tag-purple.arco-tag-bordered:hover{border-color:rgb(var(--purple-6))}.arco-tag.arco-tag-checked.arco-tag-purple .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-purple .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-purple .arco-tag-loading-icon{color:rgb(var(--purple-6))}.arco-tag.arco-tag-checked.arco-tag-pinkpurple{color:rgb(var(--pinkpurple-6));background-color:rgb(var(--pinkpurple-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-pinkpurple .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--pinkpurple-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-pinkpurple.arco-tag:hover{background-color:rgb(var(--pinkpurple-2));border-color:transparent}.arco-tag-checked.arco-tag-pinkpurple.arco-tag-bordered,.arco-tag-checked.arco-tag-pinkpurple.arco-tag-bordered:hover{border-color:rgb(var(--pinkpurple-6))}.arco-tag.arco-tag-checked.arco-tag-pinkpurple .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-pinkpurple .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-pinkpurple .arco-tag-loading-icon{color:rgb(var(--pinkpurple-6))}.arco-tag.arco-tag-checked.arco-tag-magenta{color:rgb(var(--magenta-6));background-color:rgb(var(--magenta-1));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-magenta .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--magenta-2))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-magenta.arco-tag:hover{background-color:rgb(var(--magenta-2));border-color:transparent}.arco-tag-checked.arco-tag-magenta.arco-tag-bordered,.arco-tag-checked.arco-tag-magenta.arco-tag-bordered:hover{border-color:rgb(var(--magenta-6))}.arco-tag.arco-tag-checked.arco-tag-magenta .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-magenta .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-magenta .arco-tag-loading-icon{color:rgb(var(--magenta-6))}.arco-tag.arco-tag-checked.arco-tag-gray{color:rgb(var(--gray-6));background-color:rgb(var(--gray-2));border:1px solid transparent}.arco-tag.arco-tag-checked.arco-tag-gray .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgb(var(--gray-3))}.arco-tag.arco-tag-checkable.arco-tag-checked.arco-tag-gray.arco-tag:hover{background-color:rgb(var(--gray-3));border-color:transparent}.arco-tag-checked.arco-tag-gray.arco-tag-bordered,.arco-tag-checked.arco-tag-gray.arco-tag-bordered:hover{border-color:rgb(var(--gray-6))}.arco-tag.arco-tag-checked.arco-tag-gray .arco-tag-icon,.arco-tag.arco-tag-checked.arco-tag-gray .arco-tag-close-btn,.arco-tag.arco-tag-checked.arco-tag-gray .arco-tag-loading-icon{color:rgb(var(--gray-6))}.arco-tag.arco-tag-custom-color{color:var(--color-white)}.arco-tag.arco-tag-custom-color .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:#fff3}.arco-tag .arco-tag-close-btn{margin-left:4px;font-size:12px}.arco-tag .arco-tag-close-btn>svg{position:relative}.arco-tag .arco-tag-loading-icon{margin-left:4px;font-size:12px}body[arco-theme=dark] .arco-tag-checked{color:#ffffffe6}body[arco-theme=dark] .arco-tag-checked.arco-tag-red{background-color:rgba(var(--red-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-red .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--red-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-red:hover{background-color:rgba(var(--red-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-orangered{background-color:rgba(var(--orangered-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-orangered .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--orangered-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-orangered:hover{background-color:rgba(var(--orangered-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-orange{background-color:rgba(var(--orange-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-orange .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--orange-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-orange:hover{background-color:rgba(var(--orange-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-gold{background-color:rgba(var(--gold-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-gold .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--gold-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-gold:hover{background-color:rgba(var(--gold-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-lime{background-color:rgba(var(--lime-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-lime .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--lime-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-lime:hover{background-color:rgba(var(--lime-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-green{background-color:rgba(var(--green-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-green .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--green-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-green:hover{background-color:rgba(var(--green-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-cyan{background-color:rgba(var(--cyan-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-cyan .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--cyan-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-cyan:hover{background-color:rgba(var(--cyan-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-blue{background-color:rgba(var(--blue-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-blue .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--blue-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-blue:hover{background-color:rgba(var(--blue-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-arcoblue{background-color:rgba(var(--arcoblue-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-arcoblue .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--arcoblue-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-arcoblue:hover{background-color:rgba(var(--arcoblue-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-purple{background-color:rgba(var(--purple-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-purple .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--purple-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-purple:hover{background-color:rgba(var(--purple-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-pinkpurple{background-color:rgba(var(--pinkpurple-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-pinkpurple .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--pinkpurple-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-pinkpurple:hover{background-color:rgba(var(--pinkpurple-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-magenta{background-color:rgba(var(--magenta-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-magenta .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--magenta-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-magenta:hover{background-color:rgba(var(--magenta-6),.35)}body[arco-theme=dark] .arco-tag-checked.arco-tag-gray{background-color:rgba(var(--gray-6),.2)}body[arco-theme=dark] .arco-tag-checked.arco-tag-gray .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:rgba(var(--gray-6),.35)}body[arco-theme=dark] .arco-tag-checkable.arco-tag-checked.arco-tag-gray:hover{background-color:rgba(var(--gray-6),.35)}.arco-select-view-single{display:inline-flex;box-sizing:border-box;width:100%;padding-right:12px;padding-left:12px;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1);cursor:pointer}.arco-select-view-single.arco-select-view-search{cursor:text}.arco-select-view-single.arco-select-view-search .arco-select-view-value{pointer-events:none}.arco-select-view-single:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-select-view-single:focus-within,.arco-select-view-single.arco-select-view-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-select-view-single.arco-select-view-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-select-view-single.arco-select-view-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-select-view-single.arco-select-view-disabled .arco-select-view-prefix,.arco-select-view-single.arco-select-view-disabled .arco-select-view-suffix{color:inherit}.arco-select-view-single.arco-select-view-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-select-view-single.arco-select-view-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-select-view-single.arco-select-view-error:focus-within,.arco-select-view-single.arco-select-view-error.arco-select-view-single-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-select-view-single .arco-select-view-prefix,.arco-select-view-single .arco-select-view-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-select-view-single .arco-select-view-prefix>svg,.arco-select-view-single .arco-select-view-suffix>svg{font-size:14px}.arco-select-view-single .arco-select-view-prefix{padding-right:12px;color:var(--color-text-2)}.arco-select-view-single .arco-select-view-suffix{padding-left:12px;color:var(--color-text-2)}.arco-select-view-single .arco-select-view-suffix .arco-feedback-icon{display:inline-flex}.arco-select-view-single .arco-select-view-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-select-view-single .arco-select-view-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-select-view-single .arco-select-view-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-select-view-single .arco-select-view-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-select-view-single .arco-select-view-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-select-view-single .arco-select-view-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-select-view-single:hover .arco-select-view-clear-btn{visibility:visible}.arco-select-view-single:not(.arco-select-view-focus) .arco-select-view-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-select-view-single .arco-select-view-input{width:100%;padding-right:0;padding-left:0;color:inherit;line-height:1.5715;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.arco-select-view-single .arco-select-view-input::placeholder{color:var(--color-text-3)}.arco-select-view-single .arco-select-view-input[disabled]::placeholder{color:var(--color-text-4)}.arco-select-view-single .arco-select-view-input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-select-view-single .arco-select-view-input-hidden{position:absolute;width:0!important}.arco-select-view-single .arco-select-view-value{display:flex;align-items:center;box-sizing:border-box;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-select-view-single .arco-select-view-value:after{font-size:0;line-height:0;visibility:hidden;content:"."}.arco-select-view-single .arco-select-view-value-hidden{display:none}.arco-select-view-single.arco-select-view-size-mini .arco-select-view-input,.arco-select-view-single.arco-select-view-size-mini .arco-select-view-value{padding-top:1px;padding-bottom:1px;font-size:12px;line-height:1.667}.arco-select-view-single.arco-select-view-size-mini .arco-select-view-value{min-height:22px}.arco-select-view-single.arco-select-view-size-medium .arco-select-view-input,.arco-select-view-single.arco-select-view-size-medium .arco-select-view-value{padding-top:4px;padding-bottom:4px;font-size:14px;line-height:1.5715}.arco-select-view-single.arco-select-view-size-medium .arco-select-view-value{min-height:30px}.arco-select-view-single.arco-select-view-size-small .arco-select-view-input,.arco-select-view-single.arco-select-view-size-small .arco-select-view-value{padding-top:2px;padding-bottom:2px;font-size:14px;line-height:1.5715}.arco-select-view-single.arco-select-view-size-small .arco-select-view-value{min-height:26px}.arco-select-view-single.arco-select-view-size-large .arco-select-view-input,.arco-select-view-single.arco-select-view-size-large .arco-select-view-value{padding-top:6px;padding-bottom:6px;font-size:14px;line-height:1.5715}.arco-select-view-single.arco-select-view-size-large .arco-select-view-value{min-height:34px}.arco-select-view-multiple{display:inline-flex;box-sizing:border-box;width:100%;padding-right:12px;padding-left:12px;color:var(--color-text-1);font-size:14px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);cursor:text;transition:color .1s cubic-bezier(0,0,1,1),border-color .1s cubic-bezier(0,0,1,1),background-color .1s cubic-bezier(0,0,1,1)}.arco-select-view-multiple:hover{background-color:var(--color-fill-3);border-color:transparent}.arco-select-view-multiple:focus-within,.arco-select-view-multiple.arco-select-view-focus{background-color:var(--color-bg-2);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.arco-select-view-multiple.arco-select-view-disabled{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent;cursor:not-allowed}.arco-select-view-multiple.arco-select-view-disabled:hover{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.arco-select-view-multiple.arco-select-view-disabled .arco-select-view-prefix,.arco-select-view-multiple.arco-select-view-disabled .arco-select-view-suffix{color:inherit}.arco-select-view-multiple.arco-select-view-error{background-color:var(--color-danger-light-1);border-color:transparent}.arco-select-view-multiple.arco-select-view-error:hover{background-color:var(--color-danger-light-2);border-color:transparent}.arco-select-view-multiple.arco-select-view-error:focus-within,.arco-select-view-multiple.arco-select-view-error.arco-select-view-multiple-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.arco-select-view-multiple .arco-select-view-prefix,.arco-select-view-multiple .arco-select-view-suffix{display:inline-flex;flex-shrink:0;align-items:center;white-space:nowrap;-webkit-user-select:none;user-select:none}.arco-select-view-multiple .arco-select-view-prefix>svg,.arco-select-view-multiple .arco-select-view-suffix>svg{font-size:14px}.arco-select-view-multiple .arco-select-view-prefix{padding-right:12px;color:var(--color-text-2)}.arco-select-view-multiple .arco-select-view-suffix{padding-left:12px;color:var(--color-text-2)}.arco-select-view-multiple .arco-select-view-suffix .arco-feedback-icon{display:inline-flex}.arco-select-view-multiple .arco-select-view-suffix .arco-feedback-icon-status-validating{color:rgb(var(--primary-6))}.arco-select-view-multiple .arco-select-view-suffix .arco-feedback-icon-status-success{color:rgb(var(--success-6))}.arco-select-view-multiple .arco-select-view-suffix .arco-feedback-icon-status-warning{color:rgb(var(--warning-6))}.arco-select-view-multiple .arco-select-view-suffix .arco-feedback-icon-status-error{color:rgb(var(--danger-6))}.arco-select-view-multiple .arco-select-view-clear-btn{align-self:center;color:var(--color-text-2);font-size:12px;visibility:hidden;cursor:pointer}.arco-select-view-multiple .arco-select-view-clear-btn>svg{position:relative;transition:color .1s cubic-bezier(0,0,1,1)}.arco-select-view-multiple:hover .arco-select-view-clear-btn{visibility:visible}.arco-select-view-multiple:not(.arco-select-view-focus) .arco-select-view-icon-hover:hover:before{background-color:var(--color-fill-4)}.arco-select-view-multiple.arco-select-view-has-tag{padding-right:4px;padding-left:4px}.arco-select-view-multiple.arco-select-view-has-prefix{padding-left:12px}.arco-select-view-multiple.arco-select-view-has-suffix{padding-right:12px}.arco-select-view-multiple .arco-select-view-inner{flex:1;overflow:hidden;line-height:0}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-tag{display:inline-flex;align-items:center;margin-right:4px;color:var(--color-text-1);font-size:12px;white-space:pre-wrap;word-break:break-word;background-color:var(--color-bg-2);border-color:var(--color-fill-3)}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-tag .arco-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-tag.arco-tag-custom-color{color:var(--color-white)}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-tag.arco-tag-custom-color .arco-icon-hover.arco-tag-icon-hover:hover:before{background-color:#fff3}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-input{width:100%;padding-right:0;padding-left:0;color:inherit;line-height:1.5715;background:none;border:none;border-radius:0;outline:none;cursor:inherit;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-input::placeholder{color:var(--color-text-3)}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-input[disabled]::placeholder{color:var(--color-text-4)}.arco-select-view-multiple .arco-select-view-inner .arco-select-view-input[disabled]{-webkit-text-fill-color:var(--color-text-4)}.arco-select-view-multiple .arco-select-view-mirror{position:absolute;top:0;left:0;white-space:pre;visibility:hidden;pointer-events:none}.arco-select-view-multiple.arco-select-view-focus .arco-select-view-tag{background-color:var(--color-fill-2);border-color:var(--color-fill-2)}.arco-select-view-multiple.arco-select-view-focus .arco-select-view-tag .arco-icon-hover:hover:before{background-color:var(--color-fill-3)}.arco-select-view-multiple.arco-select-view-disabled .arco-select-view-tag{color:var(--color-text-4);background-color:var(--color-fill-2);border-color:var(--color-fill-3)}.arco-select-view-multiple.arco-select-view-readonly,.arco-select-view-multiple.arco-select-view-disabled-input{cursor:default}.arco-select-view-multiple.arco-select-view-size-mini{font-size:12px}.arco-select-view-multiple.arco-select-view-size-mini .arco-select-view-inner{padding-top:0;padding-bottom:0}.arco-select-view-multiple.arco-select-view-size-mini .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-mini .arco-select-view-input{margin-top:1px;margin-bottom:1px;line-height:18px;vertical-align:middle}.arco-select-view-multiple.arco-select-view-size-mini .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-mini .arco-select-view-input{height:auto;min-height:20px}.arco-select-view-multiple.arco-select-view-size-medium{font-size:14px}.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-inner{padding-top:2px;padding-bottom:2px}.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-input{margin-top:1px;margin-bottom:1px;line-height:22px;vertical-align:middle}.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-medium .arco-select-view-input{height:auto;min-height:24px}.arco-select-view-multiple.arco-select-view-size-small{font-size:14px}.arco-select-view-multiple.arco-select-view-size-small .arco-select-view-inner{padding-top:2px;padding-bottom:2px}.arco-select-view-multiple.arco-select-view-size-small .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-small .arco-select-view-input{margin-top:1px;margin-bottom:1px;line-height:18px;vertical-align:middle}.arco-select-view-multiple.arco-select-view-size-small .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-small .arco-select-view-input{height:auto;min-height:20px}.arco-select-view-multiple.arco-select-view-size-large{font-size:14px}.arco-select-view-multiple.arco-select-view-size-large .arco-select-view-inner{padding-top:2px;padding-bottom:2px}.arco-select-view-multiple.arco-select-view-size-large .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-large .arco-select-view-input{margin-top:1px;margin-bottom:1px;line-height:26px;vertical-align:middle}.arco-select-view-multiple.arco-select-view-size-large .arco-select-view-tag,.arco-select-view-multiple.arco-select-view-size-large .arco-select-view-input{height:auto;min-height:28px}.arco-select-view-multiple.arco-select-view-disabled-input{cursor:pointer}.arco-select-view.arco-select-view-borderless{background:none!important;border:none!important;box-shadow:none!important}.arco-select-view-suffix .arco-feedback-icon{margin-left:4px}.arco-select-view-clear-btn svg,.arco-select-view-icon svg{display:block;font-size:12px}.arco-select-view-opened .arco-select-view-arrow-icon{transform:rotate(180deg)}.arco-select-view-expand-icon{transform:rotate(-45deg)}.arco-select-view-clear-btn{display:none;cursor:pointer}.arco-select-view:hover .arco-select-view-clear-btn{display:block}.arco-select-view:hover .arco-select-view-clear-btn~*{display:none}.arco-empty{box-sizing:border-box;width:100%;padding:10px 0;text-align:center}.arco-empty-image{margin-bottom:4px;color:rgb(var(--gray-5));font-size:48px;line-height:1}.arco-empty-image img{height:80px}.arco-empty .arco-empty-description{color:rgb(var(--gray-5));font-size:14px}.arco-icon-hover.arco-checkbox-icon-hover:before{width:24px;height:24px}.arco-checkbox{position:relative;display:inline-flex;align-items:center;box-sizing:border-box;padding-left:5px;font-size:14px;line-height:unset;cursor:pointer}.arco-checkbox>input[type=checkbox]{position:absolute;top:0;left:0;width:0;height:0;opacity:0}.arco-checkbox>input[type=checkbox]:focus-visible+.arco-checkbox-icon-hover:before{background-color:var(--color-fill-2)}.arco-checkbox:hover .arco-checkbox-icon-hover:before{background-color:var(--color-fill-2)}.arco-checkbox-label{margin-left:8px;color:var(--color-text-1)}.arco-checkbox-icon{position:relative;box-sizing:border-box;width:14px;height:14px;background-color:var(--color-bg-2);border:2px solid var(--color-fill-3);border-radius:var(--border-radius-small);-webkit-user-select:none;user-select:none}.arco-checkbox-icon:after{position:absolute;top:50%;left:50%;display:block;width:6px;height:2px;background:var(--color-white);border-radius:.5px;transform:translate(-50%) translateY(-50%) scale(0);content:""}.arco-checkbox-icon-check{position:relative;display:block;width:8px;height:100%;margin:0 auto;color:var(--color-white);transform:scale(0);transform-origin:center 75%}.arco-checkbox:hover .arco-checkbox-icon{border-color:var(--color-fill-4);transition:border-color .1s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.arco-checkbox-checked:hover .arco-checkbox-icon,.arco-checkbox-indeterminate:hover .arco-checkbox-icon{transition:transform .3s cubic-bezier(.3,1.3,.3,1)}.arco-checkbox-checked .arco-checkbox-icon{background-color:rgb(var(--primary-6));border-color:transparent}.arco-checkbox-checked .arco-checkbox-icon-check{transform:scale(1);transition:transform .3s cubic-bezier(.3,1.3,.3,1)}.arco-checkbox-indeterminate .arco-checkbox-icon{background-color:rgb(var(--primary-6));border-color:transparent}.arco-checkbox-indeterminate .arco-checkbox-icon svg{transform:scale(0)}.arco-checkbox-indeterminate .arco-checkbox-icon:after{transform:translate(-50%) translateY(-50%) scale(1);transition:transform .3s cubic-bezier(.3,1.3,.3,1)}.arco-checkbox.arco-checkbox-disabled,.arco-checkbox.arco-checkbox-disabled .arco-checkbox-icon-hover{cursor:not-allowed}.arco-checkbox.arco-checkbox-disabled:hover .arco-checkbox-mask{border-color:var(--color-fill-3)}.arco-checkbox-checked:hover .arco-checkbox-icon,.arco-checkbox-indeterminate:hover .arco-checkbox-icon{border-color:transparent}.arco-checkbox-disabled .arco-checkbox-icon{background-color:var(--color-fill-2);border-color:var(--color-fill-3)}.arco-checkbox-disabled.arco-checkbox-checked .arco-checkbox-icon,.arco-checkbox-disabled.arco-checkbox-checked:hover .arco-checkbox-icon{background-color:var(--color-primary-light-3);border-color:transparent}.arco-checkbox-disabled:hover .arco-checkbox-icon-hover:before,.arco-checkbox-checked:hover .arco-checkbox-icon-hover:before,.arco-checkbox-indeterminate:hover .arco-checkbox-icon-hover:before{background-color:transparent}.arco-checkbox-disabled:hover .arco-checkbox-icon{border-color:var(--color-fill-3)}.arco-checkbox-disabled .arco-checkbox-label{color:var(--color-text-4)}.arco-checkbox-disabled .arco-checkbox-icon-check{color:var(--color-fill-3)}.arco-checkbox-group{display:inline-block}.arco-checkbox-group .arco-checkbox{margin-right:16px}.arco-checkbox-group-direction-vertical .arco-checkbox{display:flex;margin-right:0;line-height:32px}.arco-select-dropdown{box-sizing:border-box;padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}.arco-select-dropdown .arco-select-dropdown-loading{display:flex;align-items:center;justify-content:center;min-height:50px}.arco-select-dropdown-list{margin-top:0;margin-bottom:0;padding-left:0;list-style:none}.arco-select-dropdown-list-wrapper{max-height:200px;overflow-y:auto}.arco-select-dropdown .arco-select-option{position:relative;z-index:1;display:flex;align-items:center;box-sizing:border-box;width:100%;padding:0 12px;color:var(--color-text-1);font-size:14px;line-height:36px;text-align:left;background-color:var(--color-bg-popup);cursor:pointer}.arco-select-dropdown .arco-select-option-content{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-select-dropdown .arco-select-option-checkbox{overflow:hidden}.arco-select-dropdown .arco-select-option-checkbox .arco-checkbox-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-select-dropdown .arco-select-option-has-suffix{justify-content:space-between}.arco-select-dropdown .arco-select-option-active,.arco-select-dropdown .arco-select-option:not(.arco-select-dropdown .arco-select-option-disabled):hover{color:var(--color-text-1);background-color:var(--color-fill-2);transition:all .1s cubic-bezier(0,0,1,1)}.arco-select-dropdown .arco-select-option-disabled{color:var(--color-text-4);background-color:var(--color-bg-popup);cursor:not-allowed}.arco-select-dropdown .arco-select-option-icon{display:inline-flex;margin-right:8px}.arco-select-dropdown .arco-select-option-suffix{margin-left:12px}.arco-select-dropdown .arco-select-group:first-child .arco-select-dropdown .arco-select-group-title{margin-top:8px}.arco-select-dropdown .arco-select-group-title{box-sizing:border-box;width:100%;margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.arco-select-dropdown.arco-select-dropdown-has-header{padding-top:0}.arco-select-dropdown-header{border-bottom:1px solid var(--color-fill-3)}.arco-select-dropdown.arco-select-dropdown-has-footer{padding-bottom:0}.arco-select-dropdown-footer{border-top:1px solid var(--color-fill-3)}.arco-space{display:inline-flex}.arco-space-horizontal .arco-space-item{display:flex;align-items:center}.arco-space-vertical{flex-direction:column}.arco-space-align-baseline{align-items:baseline}.arco-space-align-start{align-items:flex-start}.arco-space-align-end{align-items:flex-end}.arco-space-align-center{align-items:center}.arco-space-wrap{flex-wrap:wrap}.arco-space-fill{display:flex}.arco-radio>input[type=radio],.arco-radio-button>input[type=radio]{position:absolute;top:0;left:0;width:0;height:0;opacity:0}.arco-radio>input[type=radio]:focus+.arco-radio-icon-hover:before,.arco-radio-button>input[type=radio]:focus+.arco-radio-icon-hover:before{background-color:var(--color-fill-2)}.arco-icon-hover.arco-radio-icon-hover:before{width:24px;height:24px}.arco-radio{position:relative;display:inline-flex;align-items:center;padding-left:5px;font-size:14px;line-height:unset;cursor:pointer}.arco-radio-label{margin-left:8px;color:var(--color-text-1)}.arco-radio-icon{position:relative;display:block;box-sizing:border-box;width:14px;height:14px;line-height:14px;border:2px solid var(--color-neutral-3);border-radius:var(--border-radius-circle)}.arco-radio-icon:after{position:absolute;top:0;left:0;display:inline-block;box-sizing:border-box;width:10px;height:10px;background-color:var(--color-bg-2);border-radius:var(--border-radius-circle);transform:scale(1);transition:transform .3s cubic-bezier(.3,1.3,.3,1);content:""}.arco-radio:hover .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-checked .arco-radio-icon{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6))}.arco-radio-checked .arco-radio-icon:after{background-color:var(--color-white);transform:scale(.4)}.arco-radio-checked:hover .arco-radio-icon{border-color:rgb(var(--primary-6))}.arco-radio-disabled,.arco-radio-disabled .arco-radio-icon-hover{cursor:not-allowed}.arco-radio-disabled .arco-radio-label{color:var(--color-text-4)}.arco-radio-disabled .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-disabled .arco-radio-icon:after{background-color:var(--color-fill-2)}.arco-radio-disabled:hover .arco-radio-icon{border-color:var(--color-neutral-3)}.arco-radio-checked.arco-radio-disabled .arco-radio-icon,.arco-radio-checked.arco-radio-disabled:hover .arco-radio-icon{background-color:var(--color-primary-light-3);border-color:transparent}.arco-radio-checked.arco-radio-disabled .arco-radio-icon:after{background-color:var(--color-fill-2)}.arco-radio-checked.arco-radio-disabled .arco-radio-label{color:var(--color-text-4)}.arco-radio:hover .arco-radio-icon-hover:before{background-color:var(--color-fill-2)}.arco-radio-group{display:inline-block;box-sizing:border-box}.arco-radio-group .arco-radio{margin-right:20px}.arco-radio-group-button{display:inline-flex;padding:1.5px;line-height:26px;background-color:var(--color-fill-2);border-radius:var(--border-radius-small)}.arco-radio-button{position:relative;display:inline-block;margin:1.5px;color:var(--color-text-2);font-size:14px;line-height:26px;background-color:transparent;border-radius:var(--border-radius-small);cursor:pointer;transition:all .1s cubic-bezier(0,0,1,1)}.arco-radio-button-content{position:relative;display:block;padding:0 12px}.arco-radio-button:not(:first-of-type):before{position:absolute;top:50%;left:-2px;display:block;width:1px;height:14px;background-color:var(--color-neutral-3);transform:translateY(-50%);transition:all .1s cubic-bezier(0,0,1,1);content:""}.arco-radio-button:hover:before,.arco-radio-button:hover+.arco-radio-button:before,.arco-radio-button.arco-radio-checked:before,.arco-radio-button.arco-radio-checked+.arco-radio-button:before{opacity:0}.arco-radio-button:hover{color:var(--color-text-1);background-color:var(--color-bg-5)}.arco-radio-button.arco-radio-checked{color:rgb(var(--primary-6));background-color:var(--color-bg-5)}.arco-radio-button.arco-radio-disabled{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-radio-button.arco-radio-disabled.arco-radio-checked{color:var(--color-primary-light-3);background-color:var(--color-bg-5)}.arco-radio-group-size-small{line-height:28px}.arco-radio-group-size-small.arco-radio-group-button,.arco-radio-group-size-small .arco-radio-button{font-size:14px;line-height:22px}.arco-radio-group-size-large{line-height:36px}.arco-radio-group-size-large.arco-radio-group-button,.arco-radio-group-size-large .arco-radio-button{font-size:14px;line-height:30px}.arco-radio-group-size-mini{line-height:24px}.arco-radio-group-size-mini.arco-radio-group-button,.arco-radio-group-size-mini .arco-radio-button{font-size:12px;line-height:18px}.arco-radio-group-direction-vertical .arco-radio{display:flex;margin-right:0;line-height:32px}body[arco-theme=dark] .arco-radio-button.arco-radio-checked,body[arco-theme=dark] .arco-radio-button:not(.arco-radio-disabled):hover{background-color:var(--color-fill-3)}body[arco-theme=dark] .arco-radio-button:after{background-color:var(--color-bg-3)}#modal-content>div{justify-content:space-between;width:100%;-webkit-tap-highlight-color:transparent}#modal-content{-webkit-tap-highlight-color:transparent}#logo{position:absolute;z-index:4;top:0;left:0;width:36px;height:36px;padding:12px;background-color:var(--color-bg-2)}.navigatorMenu{overflow:hidden;box-sizing:border-box;padding:12px 16px;font-size:14px;line-height:1.5715;color:var(--color-text-2);background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 -2px 5px #0000001a;animation:show-dropdown cubic-bezier(.3,1.3,.3,1) .4s forwards!important}.navigatorMenu>li{-webkit-tap-highlight-color:transparent}@keyframes show-dropdown{0%{width:0;height:0}to{width:150px;height:260px}}.arco-image-trigger{padding:6px 4px;background:var(--color-bg-5);border:1px solid var(--color-neutral-3);border-radius:4px}.arco-image-trigger .arco-trigger-arrow{background-color:var(--color-bg-5);border:1px solid var(--color-neutral-3)}.arco-image{position:relative;display:inline-block;border-radius:var(--border-radius-small)}.arco-image-img{vertical-align:middle;border-radius:inherit}.arco-image-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.arco-image-footer{display:flex;width:100%;max-width:100%}.arco-image-footer-caption{flex:1 1 auto}.arco-image-footer-caption-title{font-weight:500;font-size:16px}.arco-image-footer-caption-description{font-size:14px}.arco-image-footer-extra{flex:0 0 auto;padding-left:12px}.arco-image-with-footer-inner .arco-image-footer{position:absolute;bottom:0;left:0;align-items:center;box-sizing:border-box;padding:9px 16px;color:var(--color-white);background:linear-gradient(360deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,0) 100%);border-bottom-right-radius:var(--border-radius-small);border-bottom-left-radius:var(--border-radius-small)}.arco-image-with-footer-inner .arco-image-footer-caption-title,.arco-image-with-footer-inner .arco-image-footer-caption-description{color:var(--color-white)}.arco-image-with-footer-outer .arco-image-footer{margin-top:4px;color:var(--color-neutral-8)}.arco-image-with-footer-outer .arco-image-footer-caption-title{color:var(--color-text-1)}.arco-image-with-footer-outer .arco-image-footer-caption-description{color:var(--color-neutral-6)}.arco-image-error{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;color:var(--color-neutral-4);background-color:var(--color-neutral-1)}.arco-image-error-icon{width:60px;max-width:100%;height:60px;max-height:100%}.arco-image-error-icon>svg{width:100%;height:100%}.arco-image-error-alt{padding:8px 16px;font-size:12px;line-height:1.6667;text-align:center}.arco-image-loader{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--color-neutral-1)}.arco-image-loader-spin{position:absolute;top:50%;left:50%;color:rgb(var(--primary-6));font-size:32px;text-align:center;transform:translate(-50%,-50%)}.arco-image-loader-spin-text{color:var(--color-neutral-6);font-size:16px}.arco-image-simple.arco-image-with-footer-inner .arco-image-footer{padding:12px 16px}.arco-image-loading .arco-image-img,.arco-image-loading-error .arco-image-img{visibility:hidden}.arco-image-preview{position:fixed;top:0;left:0;z-index:1001;width:100%;height:100%}.arco-image-preview-hide{display:none}.arco-image-preview-mask,.arco-image-preview-wrapper{position:absolute;top:0;left:0;width:100%;height:100%}.arco-image-preview-mask{background-color:var(--color-mask-bg)}.arco-image-preview-img-container{width:100%;height:100%;text-align:center}.arco-image-preview-img-container:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.arco-image-preview-img-container .arco-image-preview-img{display:inline-block;max-width:100%;max-height:100%;vertical-align:middle;cursor:grab;-webkit-user-select:none;user-select:none}.arco-image-preview-img-container .arco-image-preview-img.arco-image-preview-img-moving{cursor:grabbing}.arco-image-preview-scale-value{box-sizing:border-box;padding:7px 10px;color:var(--color-white);font-size:12px;line-height:initial;background-color:#ffffff14;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.arco-image-preview-toolbar{position:absolute;bottom:46px;left:50%;display:flex;align-items:flex-start;padding:4px 16px;background-color:var(--color-bg-2);border-radius:var(--border-radius-medium);transform:translate(-50%)}.arco-image-preview-toolbar-action{display:flex;align-items:center;color:var(--color-neutral-8);font-size:14px;background-color:transparent;border-radius:var(--border-radius-small);cursor:pointer}.arco-image-preview-toolbar-action:not(:last-of-type){margin-right:0}.arco-image-preview-toolbar-action:hover{color:rgb(var(--primary-6));background-color:var(--color-neutral-2)}.arco-image-preview-toolbar-action-disabled,.arco-image-preview-toolbar-action-disabled:hover{color:var(--color-text-4);background-color:transparent;cursor:not-allowed}.arco-image-preview-toolbar-action-name{padding-right:12px;font-size:12px}.arco-image-preview-toolbar-action-content{padding:13px;line-height:1}.arco-image-preview-loading{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:48px;height:48px;padding:10px;color:rgb(var(--primary-6));font-size:18px;background-color:#232324;border-radius:var(--border-radius-medium);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.arco-image-preview-close-btn{position:absolute;top:36px;right:36px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--color-white);font-size:14px;line-height:32px;text-align:center;background:rgba(0,0,0,.5);border-radius:50%;cursor:pointer}.arco-image-preview-arrow-left,.arco-image-preview-arrow-right{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--color-white);background-color:#ffffff4d;border-radius:50%;cursor:pointer}.arco-image-preview-arrow-left>svg,.arco-image-preview-arrow-right>svg{color:var(--color-white);font-size:16px}.arco-image-preview-arrow-left:hover,.arco-image-preview-arrow-right:hover{background-color:#ffffff80}.arco-image-preview-arrow-left{top:50%;left:20px;transform:translateY(-50%)}.arco-image-preview-arrow-right{top:50%;right:20px;transform:translateY(-50%)}.arco-image-preview-arrow-disabled{color:#ffffff4d;background-color:#fff3;cursor:not-allowed}.arco-image-preview-arrow-disabled>svg{color:#ffffff4d}.arco-image-preview-arrow-disabled:hover{background-color:#fff3}.image-fade-enter-from,.image-fade-leave-to{opacity:0}.image-fade-enter-to,.image-fade-leave-from{opacity:1}.image-fade-enter-active,.image-fade-leave-active{transition:opacity .4s cubic-bezier(.3,1.3,.3,1)}body>div.arco-image-preview>div.arco-image-preview-wrapper>div.arco-image-preview-img-container{width:50%;height:50%;margin:25%}#search{position:absolute;right:40px;top:40px;z-index:7}#search>div>div>span>span.arco-input-append{padding:0 4px}div.blockly-ws-search{display:none!important}div.injectionDiv>div.blocklyToolboxDiv{z-index:4;top:60px;width:60px;height:calc(100% - 60px)!important;padding:0;background:var(--color-bg-2)}div.injectionDiv>div.blocklyToolboxDiv>div>div>div.blocklyTreeRow{height:initial;margin:0 4px;padding:0!important;border-radius:4px}div.injectionDiv>div.blocklyToolboxDiv>div>div>div.blocklyTreeRow>div.blocklyTreeRowContentContainer{display:flex;flex-direction:column;align-items:center;padding:11px 0 6px}div.injectionDiv>div.blocklyToolboxDiv>div>div>div.blocklyTreeRow>div.blocklyTreeRowContentContainer>span.blocklyTreeLabel{padding:3px 0;font:13px sans-serif!important;color:var(--color-text-1);text-align:center;white-space:pre-line}@media (any-hover: hover){div.injectionDiv>div.blocklyToolboxDiv>div>div>div.blocklyTreeRow:not(.blocklyTreeSelected):hover{background-color:rgb(var(--primary-1))}}div.injectionDiv>svg.blocklyFlyout{position:absolute;z-index:3;transform:translate(-260px);overflow:hidden;display:block!important;width:320px;height:100%;min-width:320px;background:var(--color-bg-2);border-right:1px solid var(--color-border);transition:width cubic-bezier(.34,.69,.1,1) .3s,min-width cubic-bezier(.34,.69,.1,1) .3s,transform cubic-bezier(.34,.69,.1,1) .3s}div.injectionDiv>svg.blocklyFlyout>path.blocklyFlyoutBackground{fill:var(--color-bg-2);fill-opacity:0}div.injectionDiv>svg.blocklyFlyout>g>g>g{fill:rgb(var(--primary-6));transition:fill cubic-bezier(.34,.69,.1,1) .3s}div.injectionDiv>svg.blocklyFlyout>g>g>g>rect.blocklyFlyoutButtonShadow{display:none}div.injectionDiv>svg.blocklyFlyout>g>g>g:hover{fill:rgb(var(--primary-5))}div.injectionDiv>svg.blocklyFlyout>g>g>g:active{fill:rgb(var(--primary-7))}div.injectionDiv>svg.blocklyScrollbarVertical.blocklyFlyoutScrollbar{display:none}#trashcan{position:absolute;z-index:0;top:0;opacity:0;width:60px;height:100%;background-color:#0000004d;-webkit-backdrop-filter:blur(12px) saturate(145%);backdrop-filter:blur(12px) saturate(145%);transition:opacity ease .2s,z-index ease .2s}#trashcan>img{-webkit-user-select:none;user-select:none;position:absolute;top:50%;opacity:0;transition:opacity .5s}#trashcan>img:nth-child(1){position:absolute;left:12px;width:36px;margin-top:-42px;transition:transform cubic-bezier(.34,.69,.1,1) .3s,opacity cubic-bezier(.34,.69,.1,1) .3s}#trashcan>img:nth-child(2){position:absolute;left:15px;width:30px;margin-top:-30px}#app>section{height:100%}#app>section>main{height:100%}#app>section>main>div.blocklyDiv{width:100%;height:100%;text-align:left}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklySvg{background-color:var(--color-bg-1)}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklySvg>g.blocklyWorkspace>rect.blocklyMainBackground{stroke:none}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklyMainWorkspaceScrollbar{opacity:0;transition:opacity ease .2s}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklyMainWorkspaceScrollbar>g>rect.blocklyScrollbarHandle{fill:var(--color-fill-4)}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklyScrollbarHorizontal{margin-top:1px}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklyScrollbarHorizontal>g>rect.blocklyScrollbarHandle{height:9px}#app>section>main>div.blocklyDiv>div.injectionDiv>svg.blocklyScrollbarVertical>g>rect.blocklyScrollbarHandle{width:9px}#app>section>main:hover>div.blocklyDiv>div>svg.blocklyMainWorkspaceScrollbar{opacity:.8}div.blocklyWidgetDiv>div.blocklyMenu{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}div.blocklyWidgetDiv>div.blocklyMenu>div.blocklyMenuItem{color:var(--color-text-1);padding:0 12px;font-size:14px;line-height:36px;text-align:left;background-color:transparent}div.blocklyWidgetDiv>div.blocklyMenu>div.blocklyMenuItem>div.blocklyMenuItemContent{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}div.blocklyWidgetDiv>div.blocklyMenu>div.blocklyMenuItem.blocklyMenuItemDisabled{color:var(--color-text-4)}div.blocklyWidgetDiv>div.blocklyMenu>div.blocklyMenuItem:not(.blocklyMenuItemDisabled):hover{background:var(--color-fill-2)}div.blocklyWidgetDiv>div.blocklyMenu.blocklyFocused{box-shadow:0 4px 10px #0000001a}body>div.blocklyDropDownDiv{border:1px solid var(--color-fill-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 10px #0000001a}body>div.blocklyDropDownDiv>div.blocklyDropDownContent>div.blocklyMenu>div.blocklyMenuItem{border-radius:var(--border-radius-medium)}body>div.blocklyDropDownDiv.blocklyFocused{box-shadow:0 4px 10px #0000001a}.arco-tooltip-content{max-width:350px;padding:8px 12px;color:#fff;font-size:14px;line-height:1.5715;text-align:left;word-wrap:break-word;background-color:var(--color-tooltip-bg);border-radius:var(--border-radius-small)}.arco-tooltip-mini{padding:4px 12px;font-size:14px}.arco-tooltip-popup-arrow{background-color:var(--color-tooltip-bg)}.blocklyZoom{display:block;opacity:0}#app>section>main{position:relative}#zoombox{position:absolute;right:40px;bottom:40px;width:max-content}#zoombox>div{position:relative;z-index:9;display:inline-flex;align-items:center;justify-content:space-evenly;margin-right:10px;background-color:var(--color-bg-2);border:var(--color-border-2) solid 1px;border-radius:var(--border-radius-medium)}#zoombox>div>div{margin:0!important}#zoombox>div>div>button>span{color:var(--color-text-2)}#zoombox>div:nth-last-child(1){margin-right:0}#zoombox>div:nth-last-child(1)>div:nth-child(2)>button{padding:0 5px}div.arco-trigger-popup.arco-trigger-position-top.arco-tooltip{visibility:hidden}arco-btn-text,.arco-btn-text[type=button],.arco-btn-text[type=submit]{background:transparent!important;-webkit-tap-highlight-color:transparent}arco-btn-text:active,.arco-btn-text[type=button]:active,.arco-btn-text[type=submit]:active{background:var(--color-fill-3)!important}@media (any-hover: hover){div.arco-trigger-popup.arco-trigger-position-top.arco-tooltip{visibility:visible}arco-btn-text:hover,.arco-btn-text[type=button]:hover,.arco-btn-text[type=submit]:hover{background:var(--color-fill-2)!important}}html,body,#app{width:100%;height:100%;margin:0;padding:0;background:var(--color-bg-1);border:0}::selection{background:#1ba2e333}body::-webkit-scrollbar{display:none}
diff --git a/dist/assets/mono-fb3b2575.ttf b/dist/assets/mono-fb3b2575.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..70d2ec9e28d6e06e923629b78b8a12c12e841589
Binary files /dev/null and b/dist/assets/mono-fb3b2575.ttf differ
diff --git a/dist/assets/superellipse-abb4b598.svg b/dist/assets/superellipse-abb4b598.svg
new file mode 100644
index 0000000000000000000000000000000000000000..7149178615c75d82decea92bfce6544ed5ce53d9
--- /dev/null
+++ b/dist/assets/superellipse-abb4b598.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/dist/assets/trashcan_body-d3f2460a.svg b/dist/assets/trashcan_body-d3f2460a.svg
new file mode 100644
index 0000000000000000000000000000000000000000..8fa1d85e86eeafb994d2f53f53fa3855b22e2341
--- /dev/null
+++ b/dist/assets/trashcan_body-d3f2460a.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/dist/assets/trashcan_lid-bf343e64.svg b/dist/assets/trashcan_lid-bf343e64.svg
new file mode 100644
index 0000000000000000000000000000000000000000..fcf6a3b5337af517a5c2e7aaaf15d4ebeb10227d
--- /dev/null
+++ b/dist/assets/trashcan_lid-bf343e64.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/dist/assets/workbox-window.prod.es5-a7b12eab.js b/dist/assets/workbox-window.prod.es5-a7b12eab.js
new file mode 100644
index 0000000000000000000000000000000000000000..6822d18ecd455ae002d76277e2ad2bb4a32db302
--- /dev/null
+++ b/dist/assets/workbox-window.prod.es5-a7b12eab.js
@@ -0,0 +1,2 @@
+try{self["workbox:window:7.0.0"]&&_()}catch{}function S(t,r){return new Promise(function(e){var i=new MessageChannel;i.port1.onmessage=function(f){e(f.data)},t.postMessage(r,[i.port2])})}function W(t,r){for(var e=0;et.length)&&(r=t.length);for(var e=0,i=new Array(r);e"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(e=function(f,d){if(f){if(typeof f=="string")return E(f,d);var h=Object.prototype.toString.call(f).slice(8,-1);return h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set"?Array.from(f):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?E(f,d):void 0}}(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(e=t[Symbol.iterator]()).next.bind(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}var y=function(){var t=this;this.promise=new Promise(function(r,e){t.resolve=r,t.reject=e})};function b(t,r){var e=location.href;return new URL(t,e).href===new URL(r,e).href}var g=function(t,r){this.type=t,Object.assign(this,r)};function p(t,r,e){return e?r?r(t):t:(t&&t.then||(t=Promise.resolve(t)),r?t.then(r):t)}function L(){}var j={type:"SKIP_WAITING"};function P(t,r){if(!r)return t&&t.then?t.then(L):Promise.resolve()}var x=function(t){var r,e;function i(v,c){var n,o;return c===void 0&&(c={}),(n=t.call(this)||this).nn={},n.tn=0,n.rn=new y,n.en=new y,n.on=new y,n.un=0,n.an=new Set,n.cn=function(){var s=n.fn,a=s.installing;n.tn>0||!b(a.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=a,s.removeEventListener("updatefound",n.cn)):(n.hn=a,n.an.add(a),n.rn.resolve(a)),++n.tn,a.addEventListener("statechange",n.ln)},n.ln=function(s){var a=n.fn,u=s.target,l=u.state,m=u===n.vn,w={sw:u,isExternal:m,originalEvent:s};!m&&n.mn&&(w.isUpdate=!0),n.dispatchEvent(new g(l,w)),l==="installed"?n.wn=self.setTimeout(function(){l==="installed"&&a.waiting===u&&n.dispatchEvent(new g("waiting",w))},200):l==="activating"&&(clearTimeout(n.wn),m||n.en.resolve(u))},n.dn=function(s){var a=n.hn,u=a!==navigator.serviceWorker.controller;n.dispatchEvent(new g("controlling",{isExternal:u,originalEvent:s,sw:a,isUpdate:n.mn})),u||n.on.resolve(a)},n.gn=(o=function(s){var a=s.data,u=s.ports,l=s.source;return p(n.getSW(),function(){n.an.has(l)&&n.dispatchEvent(new g("message",{data:a,originalEvent:s,ports:u,sw:l}))})},function(){for(var s=[],a=0;a
+
+
+
+
+
+
+
+
+
+
+
+ Boxy
+
+
+
+
+
+
+
+
diff --git a/dist/manifest.webmanifest b/dist/manifest.webmanifest
new file mode 100644
index 0000000000000000000000000000000000000000..86bf67d18a3e2ecbf3bb384f1267becd4c04cce4
--- /dev/null
+++ b/dist/manifest.webmanifest
@@ -0,0 +1 @@
+{"name":"Boxy","short_name":"Boxy","start_url":"/","display":"standalone","background_color":"#ffffff","lang":"en","scope":"/","description":"Basic available instance built on Google Blockly.","theme_color":"#4062f6","id":"boxy","icons":[{"src":"boxy.png","sizes":"512x512","purpose":"any maskable"},{"src":"favicon.ico","sizes":"256x256"}]}
diff --git a/dist/media/1x1.gif b/dist/media/1x1.gif
new file mode 100644
index 0000000000000000000000000000000000000000..3085511236caea65b69ad30a68979c9b95f4a425
Binary files /dev/null and b/dist/media/1x1.gif differ
diff --git a/dist/media/click.mp3 b/dist/media/click.mp3
new file mode 100644
index 0000000000000000000000000000000000000000..4534b0ddca7424a441a5992f78d7defb7ea01834
Binary files /dev/null and b/dist/media/click.mp3 differ
diff --git a/dist/media/click.ogg b/dist/media/click.ogg
new file mode 100644
index 0000000000000000000000000000000000000000..e8ae42a6106dadbb6861981a696b7f8b8f64c9ae
Binary files /dev/null and b/dist/media/click.ogg differ
diff --git a/dist/media/click.wav b/dist/media/click.wav
new file mode 100644
index 0000000000000000000000000000000000000000..41a50cd76f53e8ea60d878281eb16ded88f13d9f
Binary files /dev/null and b/dist/media/click.wav differ
diff --git a/dist/media/delete.mp3 b/dist/media/delete.mp3
new file mode 100644
index 0000000000000000000000000000000000000000..442bd9c1f4c9cee39ca9cc776c7cd594c90f2795
Binary files /dev/null and b/dist/media/delete.mp3 differ
diff --git a/dist/media/delete.ogg b/dist/media/delete.ogg
new file mode 100644
index 0000000000000000000000000000000000000000..67f84ac19a05075a52de49829b3a2bc17af9e29c
Binary files /dev/null and b/dist/media/delete.ogg differ
diff --git a/dist/media/delete.wav b/dist/media/delete.wav
new file mode 100644
index 0000000000000000000000000000000000000000..18debcf96d6f76e36f295feb6de2f09dffaec1f5
Binary files /dev/null and b/dist/media/delete.wav differ
diff --git a/dist/media/disconnect.mp3 b/dist/media/disconnect.mp3
new file mode 100644
index 0000000000000000000000000000000000000000..8cfaff6c06253a8b9bbe50dc0d5d05c4a25b6fb5
Binary files /dev/null and b/dist/media/disconnect.mp3 differ
diff --git a/dist/media/disconnect.ogg b/dist/media/disconnect.ogg
new file mode 100644
index 0000000000000000000000000000000000000000..467b527b4d0515046b43198c2e0ea0d558d77bfb
Binary files /dev/null and b/dist/media/disconnect.ogg differ
diff --git a/dist/media/disconnect.wav b/dist/media/disconnect.wav
new file mode 100644
index 0000000000000000000000000000000000000000..af5c25447cad1a7ebd705e0f28ffbc4ebec01f49
Binary files /dev/null and b/dist/media/disconnect.wav differ
diff --git a/dist/media/dropdown-arrow.svg b/dist/media/dropdown-arrow.svg
new file mode 100644
index 0000000000000000000000000000000000000000..4e6ce19ec0fca4e66e07dcc753184ebd8a9704c3
--- /dev/null
+++ b/dist/media/dropdown-arrow.svg
@@ -0,0 +1 @@
+dropdown-arrow
\ No newline at end of file
diff --git a/dist/media/handclosed.cur b/dist/media/handclosed.cur
new file mode 100644
index 0000000000000000000000000000000000000000..4851755a1690d6631be7c32dcc7e001e6372aafb
Binary files /dev/null and b/dist/media/handclosed.cur differ
diff --git a/dist/media/handdelete.cur b/dist/media/handdelete.cur
new file mode 100644
index 0000000000000000000000000000000000000000..170320fc281ab02ded109f0310aa180b77e465f0
Binary files /dev/null and b/dist/media/handdelete.cur differ
diff --git a/dist/media/handopen.cur b/dist/media/handopen.cur
new file mode 100644
index 0000000000000000000000000000000000000000..da44588b2fa68ee115deb843e1ce6802e58b3e30
Binary files /dev/null and b/dist/media/handopen.cur differ
diff --git a/dist/media/pilcrow.png b/dist/media/pilcrow.png
new file mode 100644
index 0000000000000000000000000000000000000000..f224c35868a35f31f5f836943ac03ef951bbfa2d
Binary files /dev/null and b/dist/media/pilcrow.png differ
diff --git a/dist/media/quote0.png b/dist/media/quote0.png
new file mode 100644
index 0000000000000000000000000000000000000000..c7820d6077e6d346b9015c22996745fbc4586fd4
Binary files /dev/null and b/dist/media/quote0.png differ
diff --git a/dist/media/quote1.png b/dist/media/quote1.png
new file mode 100644
index 0000000000000000000000000000000000000000..826583e0ad72dd1424a2ffe9e21a8b653b596058
Binary files /dev/null and b/dist/media/quote1.png differ
diff --git a/dist/media/sprites.png b/dist/media/sprites.png
new file mode 100644
index 0000000000000000000000000000000000000000..20aadb6c4c31f4a46f0a3316241788687c2fc444
Binary files /dev/null and b/dist/media/sprites.png differ
diff --git a/dist/media/sprites.svg b/dist/media/sprites.svg
new file mode 100644
index 0000000000000000000000000000000000000000..3f09ef3a4d6313f8f75070f2b1b2e75ef6abb57b
--- /dev/null
+++ b/dist/media/sprites.svg
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ✓
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dist/sw.js b/dist/sw.js
new file mode 100644
index 0000000000000000000000000000000000000000..549ba866a0c4635caf4b5221d045426d9ad2dfe6
--- /dev/null
+++ b/dist/sw.js
@@ -0,0 +1 @@
+if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,t)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let r={};const l=e=>n(e,o),c={module:{uri:o},exports:r,require:l};s[o]=Promise.all(i.map((e=>c[e]||l(e)))).then((e=>(t(...e),r)))}}define(["./workbox-bf1ed05b"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/index-5971f7e7.js",revision:null},{url:"assets/index-825ada8c.css",revision:null},{url:"assets/workbox-window.prod.es5-a7b12eab.js",revision:null},{url:"index.html",revision:"efee571707edee3c13112fe6435e513e"},{url:"manifest.webmanifest",revision:"4fd5a74a9ab05dcb5196ecee501098a3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))),e.registerRoute(/.*/i,new e.NetworkFirst({cacheName:"boxy-cache",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:2592e3}),new e.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")}));
diff --git a/dist/workbox-bf1ed05b.js b/dist/workbox-bf1ed05b.js
new file mode 100644
index 0000000000000000000000000000000000000000..ed0f218b2a6bcab446563a08baa22d5b59c0a513
--- /dev/null
+++ b/dist/workbox-bf1ed05b.js
@@ -0,0 +1 @@
+define(["exports"],(function(t){"use strict";try{self["workbox:core:7.0.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.0.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class a{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let a=r&&r.handler;const o=t.method;if(!a&&this.i.has(o)&&(a=this.i.get(o)),!a)return;let c;try{c=a.handle({url:s,request:t,event:e,params:i})}catch(t){c=Promise.reject(t)}const h=r&&r.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const a=r.match({url:t,sameOrigin:e,request:s,event:n});if(a)return i=a,(Array.isArray(i)&&0===i.length||a.constructor===Object&&0===Object.keys(a).length||"boolean"==typeof a)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let o;const c=()=>(o||(o=new a,o.addFetchListener(),o.addCacheListener()),o);function h(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)a=new r(t,e,n);else if("function"==typeof t)a=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}return c().registerRoute(a),a}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t){t.then((()=>{}))}const p=new Set;function y(){return y=Object.assign?Object.assign.bind():function(t){for(var e=1;e(t[e]=s,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function x(t){return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(g||(g=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(C(this),e),L(R.get(this))}:function(...e){return L(t.apply(C(this),e))}:function(e,...s){const n=t.call(C(this),e,...s);return b.set(n,e.sort?e.sort():[e]),L(n)}}function I(t){return"function"==typeof t?x(t):(t instanceof IDBTransaction&&function(t){if(v.has(t))return;const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",r),t.removeEventListener("abort",r)},i=()=>{e(),n()},r=()=>{s(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",i),t.addEventListener("error",r),t.addEventListener("abort",r)}));v.set(t,e)}(t),e=t,(m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((t=>e instanceof t))?new Proxy(t,U):t);var e}function L(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("success",i),t.removeEventListener("error",r)},i=()=>{e(L(t.result)),n()},r=()=>{s(t.error),n()};t.addEventListener("success",i),t.addEventListener("error",r)}));return e.then((e=>{e instanceof IDBCursor&&R.set(e,t)})).catch((()=>{})),D.set(e,t),e}(t);if(q.has(t))return q.get(t);const e=I(t);return e!==t&&(q.set(t,e),D.set(e,t)),e}const C=t=>D.get(t);const E=["get","getKey","getAll","getAllKeys","count"],N=["put","add","delete","clear"],O=new Map;function k(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(O.get(e))return O.get(e);const s=e.replace(/FromIndex$/,""),n=e!==s,i=N.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!i&&!E.includes(s))return;const r=async function(t,...e){const r=this.transaction(t,i?"readwrite":"readonly");let a=r.store;return n&&(a=a.index(e.shift())),(await Promise.all([a[s](...e),i&&r.done]))[0]};return O.set(e,r),r}U=(t=>y({},t,{get:(e,s,n)=>k(e,s)||t.get(e,s,n),has:(e,s)=>!!k(e,s)||t.has(e,s)}))(U);try{self["workbox:expiration:7.0.0"]&&_()}catch(t){}const B="cache-entries",T=t=>{const e=new URL(t,location.href);return e.hash="",e.href};class M{constructor(t){this.h=null,this.u=t}l(t){const e=t.createObjectStore(B,{keyPath:"id"});e.createIndex("cacheName","cacheName",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}p(t){this.l(t),this.u&&function(t,{blocked:e}={}){const s=indexedDB.deleteDatabase(t);e&&s.addEventListener("blocked",(t=>e(t.oldVersion,t))),L(s).then((()=>{}))}(this.u)}async setTimestamp(t,e){const s={url:t=T(t),timestamp:e,cacheName:this.u,id:this.m(t)},n=(await this.getDb()).transaction(B,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(t){const e=await this.getDb(),s=await e.get(B,this.m(t));return null==s?void 0:s.timestamp}async expireEntries(t,e){const s=await this.getDb();let n=await s.transaction(B).store.index("timestamp").openCursor(null,"prev");const i=[];let r=0;for(;n;){const s=n.value;s.cacheName===this.u&&(t&&s.timestamp=e?i.push(n.value):r++),n=await n.continue()}const a=[];for(const t of i)await s.delete(B,t.id),a.push(t.url);return a}m(t){return this.u+"|"+T(t)}async getDb(){return this.h||(this.h=await function(t,e,{blocked:s,upgrade:n,blocking:i,terminated:r}={}){const a=indexedDB.open(t,e),o=L(a);return n&&a.addEventListener("upgradeneeded",(t=>{n(L(a.result),t.oldVersion,t.newVersion,L(a.transaction),t)})),s&&a.addEventListener("blocked",(t=>s(t.oldVersion,t.newVersion,t))),o.then((t=>{r&&t.addEventListener("close",(()=>r())),i&&t.addEventListener("versionchange",(t=>i(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this.p.bind(this)})),this.h}}class P{constructor(t,e={}){this.R=!1,this.v=!1,this.q=e.maxEntries,this.D=e.maxAgeSeconds,this.U=e.matchOptions,this.u=t,this._=new M(t)}async expireEntries(){if(this.R)return void(this.v=!0);this.R=!0;const t=this.D?Date.now()-1e3*this.D:0,e=await this._.expireEntries(t,this.q),s=await self.caches.open(this.u);for(const t of e)await s.delete(t,this.U);this.R=!1,this.v&&(this.v=!1,d(this.expireEntries()))}async updateTimestamp(t){await this._.setTimestamp(t,Date.now())}async isURLExpired(t){if(this.D){const e=await this._.getTimestamp(t),s=Date.now()-1e3*this.D;return void 0===e||et.headers.get(e)===this.L[e]))),e}}try{self["workbox:strategies:7.0.0"]&&_()}catch(t){}const W={cacheWillUpdate:async({response:t})=>200===t.status||0===t.status?t:null};function S(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class K{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}function A(t){return"string"==typeof t?new Request(t):t}class F{constructor(t,e){this.C={},Object.assign(this,e),this.event=e.event,this.N=t,this.O=new K,this.k=[],this.B=[...t.plugins],this.T=new Map;for(const t of this.B)this.T.set(t,{});this.event.waitUntil(this.O.promise)}async fetch(t){const{event:e}=this;let n=A(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.N.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=A(t);let s;const{cacheName:n,matchOptions:i}=this.N,r=await this.getCacheKey(e,"read"),a=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,a);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=A(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(a=r.url,new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var a;const o=await this.M(e);if(!o)return!1;const{cacheName:c,matchOptions:h}=this.N,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=S(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await t.keys(e,r);for(const e of a)if(i===S(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?o.clone():o)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of p)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:o.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.C[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=A(await t({mode:e,request:n,event:this.event,params:this.params}));this.C[s]=n}return this.C[s]}hasCallback(t){for(const e of this.N.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.N.plugins)if("function"==typeof e[t]){const s=this.T.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.k.push(t),t}async doneWaiting(){let t;for(;t=this.k.shift();)await t}destroy(){this.O.resolve(null)}async M(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class H{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new F(this,{event:e,request:s,params:n}),r=this.P(i,s,e);return[r,this.j(r,i,s,e)]}async P(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.W(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async j(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}function $(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.0.0"]&&_()}catch(t){}function G(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class V{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class J{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.S.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.S=t}}let Q,z;async function X(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},a=e?e(r):r,o=function(){if(void 0===Q){const t=new Response("");if("body"in t)try{new Response(t.body),Q=!0}catch(t){Q=!1}Q=!1}return Q}()?i.body:await i.blob();return new Response(o,a)}class Y extends H{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.K=!1!==t.fallbackToNetwork,this.plugins.push(Y.copyRedirectedCacheableResponsesPlugin)}async W(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.A(t,e):await this.F(t,e))}async F(t,e){let n;const i=e.params||{};if(!this.K)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,a=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&a&&"no-cors"!==t.mode&&(this.H(),await e.cachePut(t,n.clone()))}return n}async A(t,e){this.H();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}H(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==Y.copyRedirectedCacheableResponsesPlugin&&(n===Y.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(Y.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}Y.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},Y.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await X(t):t};class Z{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.$=new Map,this.G=new Map,this.V=new Map,this.N=new Y({cacheName:f(t),plugins:[...e,new J({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.N}precache(t){this.addToCacheList(t),this.J||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.J=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=G(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.$.has(i)&&this.$.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.$.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.V.has(t)&&this.V.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.V.set(t,n.integrity)}if(this.$.set(i,t),this.G.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return $(t,(async()=>{const e=new V;this.strategy.plugins.push(e);for(const[e,s]of this.$){const n=this.V.get(s),i=this.G.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return $(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.$.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.$}getCachedURLs(){return[...this.$.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.$.get(e.href)}getIntegrityForCacheKey(t){return this.V.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}const tt=()=>(z||(z=new Z),z);class et extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const a=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield a.href,s&&a.pathname.endsWith("/")){const t=new URL(a.href);t.pathname+=s,yield t.href}if(n){const t=new URL(a.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.CacheableResponsePlugin=class{constructor(t){this.cacheWillUpdate=async({response:t})=>this.X.isResponseCacheable(t)?t:null,this.X=new j(t)}},t.ExpirationPlugin=class{constructor(t={}){this.cachedResponseWillBeUsed=async({event:t,request:e,cacheName:s,cachedResponse:n})=>{if(!n)return null;const i=this.Y(n),r=this.Z(s);d(r.expireEntries());const a=r.updateTimestamp(e.url);if(t)try{t.waitUntil(a)}catch(t){}return i?n:null},this.cacheDidUpdate=async({cacheName:t,request:e})=>{const s=this.Z(t);await s.updateTimestamp(e.url),await s.expireEntries()},this.tt=t,this.D=t.maxAgeSeconds,this.et=new Map,t.purgeOnQuotaError&&function(t){p.add(t)}((()=>this.deleteCacheAndMetadata()))}Z(t){if(t===w())throw new s("expire-custom-caches-only");let e=this.et.get(t);return e||(e=new P(t,this.tt),this.et.set(t,e)),e}Y(t){if(!this.D)return!0;const e=this.st(t);if(null===e)return!0;return e>=Date.now()-1e3*this.D}st(t){if(!t.headers.has("date"))return null;const e=t.headers.get("date"),s=new Date(e).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[t,e]of this.et)await self.caches.delete(t),await e.delete();this.et=new Map}},t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.nt(t)),t),this.it=e,this.rt=s}nt({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.rt)if(t.test(s))return!1;return!!this.it.some((t=>t.test(s)))}},t.NetworkFirst=class extends H{constructor(t={}){super(t),this.plugins.some((t=>"cacheWillUpdate"in t))||this.plugins.unshift(W),this.ot=t.networkTimeoutSeconds||0}async W(t,e){const n=[],i=[];let r;if(this.ot){const{id:s,promise:a}=this.ct({request:t,logs:n,handler:e});r=s,i.push(a)}const a=this.ht({timeoutId:r,request:t,logs:n,handler:e});i.push(a);const o=await e.waitUntil((async()=>await e.waitUntil(Promise.race(i))||await a)());if(!o)throw new s("no-response",{url:t.url});return o}ct({request:t,logs:e,handler:s}){let n;return{promise:new Promise((e=>{n=setTimeout((async()=>{e(await s.cacheMatch(t))}),1e3*this.ot)})),id:n}}async ht({timeoutId:t,request:e,logs:s,handler:n}){let i,r;try{r=await n.fetchAndCachePut(e)}catch(t){t instanceof Error&&(i=t)}return t&&clearTimeout(t),!i&&r||(r=await n.cacheMatch(e)),r}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.createHandlerBoundToURL=function(t){return tt().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){tt().precache(t)}(t),function(t){const e=tt();h(new et(e,t))}(e)},t.registerRoute=h}));
diff --git a/main.py b/main.py
new file mode 100644
index 0000000000000000000000000000000000000000..4ea6213a5611883fb2e142c677c1b8282344544e
--- /dev/null
+++ b/main.py
@@ -0,0 +1,37 @@
+from flask import Flask, render_template
+import pipList
+
+app = Flask(__name__, template_folder='dist', static_folder='dist/assets')
+
+# 定义一个路由,当访问根目录时,返回editor.html模板
+@app.route('/')
+def index():
+ return render_template('index.html')
+
+# dist/下的路径全部自动返回
+@app.route('/')
+def static_proxy(path):
+ print(path)
+ return app.send_static_file(path)
+
+# api
+@app.route('/api/')
+def api(api):
+ if api == 'pipList':
+ # 获取pip列表,调用cmd命令,进入project虚拟环境,获取内容,
+ result = pipList.main()
+ """result = subprocess.check_output(['pip', 'freeze']).decode('utf-8')"""
+ # 将内容按行分割制作JSON
+ result = [line.split() for line in result.split('\n')[2:-1]]
+ # 返回JSON
+ print(result)
+ return {'pipList': result}
+ elif api == 'pyVenv':
+ # 新建Python "project"虚拟环境
+ import os
+ os.system('python -m venv project')
+ return {'pyVenv': 'success'}
+
+
+if __name__ == '__main__':
+ app.run(debug=True)
diff --git a/pipList.py b/pipList.py
new file mode 100644
index 0000000000000000000000000000000000000000..d615ac23f805cc21effb9d04479191ce21efd52c
--- /dev/null
+++ b/pipList.py
@@ -0,0 +1,45 @@
+import subprocess
+
+
+# 进入project虚拟环境
+def activate_virtualenv(venv_path):
+ # Windows系统
+ activate_script = f"{venv_path}\\Scripts\\activate"
+
+ # 执行激活虚拟环境的命令
+ subprocess.run(activate_script, shell=True)
+
+
+# 获取pip列表
+def get_pip_list():
+ # 获取pip列表的命令
+ pip_list_command = "pip freeze"
+
+ # 执行命令并获取输出
+ result = subprocess.run(pip_list_command, shell=True, capture_output=True, text=True, encoding="utf-8")
+
+ # 检查命令是否成功执行
+ if result.returncode == 0:
+ return result.stdout
+ else:
+ return result.stderr
+
+
+# 主函数
+def main():
+ # 虚拟环境路径
+ venv_path = "/project"
+
+ # 激活虚拟环境
+ activate_virtualenv(venv_path)
+
+ # 获取pip列表
+ pip_list = get_pip_list()
+
+ # 打印pip列表
+ print(pip_list)
+ return pip_list
+
+
+if __name__ == "__main__":
+ main()
diff --git a/pipVersion.py b/pipVersion.py
new file mode 100644
index 0000000000000000000000000000000000000000..db85e0421519ebab8d1ff2d5fcb177f230420116
--- /dev/null
+++ b/pipVersion.py
@@ -0,0 +1,39 @@
+import requests
+
+
+def get_package_versions(package_name, index_url="https://pypi.org/simple"):
+ """
+ 通过 PyPI JSON API 获取包的版本列表
+ :param package_name: 包名称,例如 'numpy'
+ :param index_url: 镜像源地址,默认为 PyPI 官方源
+ :return: 包版本列表
+ """
+ try:
+ # 构造 JSON API 的 URL
+ api_url = f"{index_url.rstrip('/')}/pypi/{package_name}/json"
+ response = requests.get(api_url)
+ response.raise_for_status() # 检查请求是否成功
+ data = response.json()
+
+ # 提取版本列表
+ versions = list(data["releases"].keys())
+ return versions
+ except requests.RequestException as e:
+ print(f"请求失败:{e}")
+ return []
+ except KeyError:
+ print(f"未找到包 {package_name} 的版本信息。")
+ return []
+
+
+# 示例调用
+package_name = "numpy"
+index_url = "https://pypi.tuna.tsinghua.edu.cn/simple"
+versions = get_package_versions(package_name, index_url)
+
+if versions:
+ print(f"可用的 {package_name} 版本列表:")
+ for version in versions:
+ print(version)
+else:
+ print(f"未找到 {package_name} 的版本信息。")
\ No newline at end of file