asiaint-lowcode 3.1.106 → 3.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +29 -29
- package/dist/lazy/{Card-BnkGooCH.js → Card-DR1HcgFE.js} +23 -23
- package/dist/lazy/{Cascader-DDnKXZFw.js → Cascader-C-z0xNzh.js} +1 -1
- package/dist/lazy/{Checkbox-czM-ZkuP.js → Checkbox-D9xIMmTo.js} +2 -2
- package/dist/lazy/{Collapse-TuSmNEJL.js → Collapse-kscm2pAe.js} +1 -1
- package/dist/lazy/{Component-DzyOQl88.js → Component-B4_ZaJF3.js} +2 -2
- package/dist/lazy/{Component-_5Sjh1nu.js → Component-C1marIH_.js} +1 -1
- package/dist/lazy/{Component-Ckdbglgc.js → Component-Cl_hI97Q.js} +1 -1
- package/dist/lazy/{Component-xtUDj28A.js → Component-CtvAgJpm.js} +2 -2
- package/dist/lazy/{Component-7iUPyf6m.js → Component-DVgYwXEw.js} +2 -2
- package/dist/lazy/{CurdCard-BYzHrepq.js → CurdCard-a0gRmRNn.js} +2 -2
- package/dist/lazy/Custom-BqIPs1fj.js +26 -0
- package/dist/lazy/{DatePicker-CRFvFkIT.js → DatePicker-LptYpiJx.js} +1 -1
- package/dist/lazy/{DragList-BFk2_FmY.js → DragList-CdqC2rk_.js} +13 -13
- package/dist/lazy/{FilterSearch-3_YF-vaq.js → FilterSearch-mwxQ9_nx.js} +2 -2
- package/dist/lazy/{FloatCurd-CuP0MxGk.js → FloatCurd-hB__Iqu6.js} +9 -9
- package/dist/lazy/{FormList-a_HdsBBG.js → FormList-vHBLmuSW.js} +1 -1
- package/dist/lazy/{Grid-CJ_6rGX8.js → Grid-CUqi589_.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DeERrBPp.js → InfiniteScroll-BOVrR-cA.js} +4 -4
- package/dist/lazy/{Inline-B4qlOTl_.js → Inline-CU9RHbF2.js} +3 -3
- package/dist/lazy/{JsonEdit-Xu0CvKkj.js → JsonEdit-DWi6I5Kg.js} +3 -3
- package/dist/lazy/{LogList-gUrCWb_T.js → LogList-n_mKzswV.js} +7 -7
- package/dist/lazy/{ObjGroup-kx0i49ao.js → ObjGroup-DV_BDDmQ.js} +1 -1
- package/dist/lazy/{OfferDetails-BazN0cRP.js → OfferDetails-C5v282wr.js} +11 -11
- package/dist/lazy/{Pagination-qtZ3j7lV.js → Pagination-DG2pBwTO.js} +7 -7
- package/dist/lazy/{Progress-unyrNYS9.js → Progress-CvtjdfSy.js} +15 -15
- package/dist/lazy/{Radio-sUFgShSt.js → Radio-B_gjn4wz.js} +3 -3
- package/dist/lazy/{SearchSelect-CU-fPxxL.js → SearchSelect-Dv_XWzcb.js} +6 -6
- package/dist/lazy/{Select-CUnjp2YK.js → Select-BhhdLA1s.js} +2 -2
- package/dist/lazy/{Table-DOXhgBFn.js → Table-BPFdeRmt.js} +39 -39
- package/dist/lazy/{Tabs-Do3Rmueh.js → Tabs-P1Jhtu2O.js} +13 -13
- package/dist/lazy/{TextArea-Cd_0HR9D.js → TextArea-CHdth6ZF.js} +3 -3
- package/dist/lazy/{Wrapper-wxfNZZS3.js → Wrapper-rXxvOlUS.js} +14 -12
- package/dist/lazy/{index-Drjh5gb-.js → index-BcVK4YJ4.js} +333 -331
- package/dist/lazy/{useSelect-Cn0VNv0F.js → useSelect-B10EzLwT.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Custom-CAIAv5aR.js +0 -26
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(mt,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],A):(mt=typeof globalThis<"u"?globalThis:mt||self,A(mt.AsiaintLowcode={},mt.Vue,mt.ElementPlus))})(this,function(mt,A,St){"use strict";var
|
|
1
|
+
(function(mt,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],A):(mt=typeof globalThis<"u"?globalThis:mt||self,A(mt.AsiaintLowcode={},mt.Vue,mt.ElementPlus))})(this,function(mt,A,St){"use strict";var KG=Object.defineProperty;var TG=(mt,A,St)=>A in mt?KG(mt,A,{enumerable:!0,configurable:!0,writable:!0,value:St}):mt[A]=St;var Bt=(mt,A,St)=>TG(mt,typeof A!="symbol"?A+"":A,St);function Qm(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const fm=Qm(A);var vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Id(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ma={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
5
|
* Released under MIT license <https://lodash.com/license>
|
|
6
6
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/ma.exports,function(n,e){(function(){var t,i="4.17.21",d=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",I=500,x="__lodash_placeholder__",N=1,T=2,O=4,H=1,L=2,v=1,m=2,F=4,k=8,_=16,B=32,p=64,u=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,E=2,Q=3,M=1/0,S=9007199254740991,K=17976931348623157e292,z=NaN,AA=4294967295,eA=AA-1,V=AA>>>1,$=[["ary",u],["bind",v],["bindKey",m],["curry",k],["curryRight",_],["flip",g],["partial",B],["partialRight",p],["rearg",l]],J="[object Arguments]",y="[object Array]",j="[object AsyncFunction]",P="[object Boolean]",q="[object Date]",rA="[object DOMException]",iA="[object Error]",dA="[object Function]",mA="[object GeneratorFunction]",gA="[object Map]",wA="[object Number]",X="[object Null]",lA="[object Object]",cA="[object Promise]",hA="[object Proxy]",U="[object RegExp]",W="[object Set]",tA="[object String]",aA="[object Symbol]",CA="[object Undefined]",SA="[object WeakMap]",zA="[object WeakSet]",jA="[object ArrayBuffer]",Ae="[object DataView]",vA="[object Float32Array]",$A="[object Float64Array]",XA="[object Int8Array]",xA="[object Int16Array]",MA="[object Int32Array]",qA="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ye="[object Uint16Array]",Se="[object Uint32Array]",NA=/\b__p \+= '';/g,UA=/\b(__p \+=) '' \+/g,JA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,de=/&(?:amp|lt|gt|quot|#39);/g,ae=/[&<>"']/g,Ee=RegExp(de.source),ke=RegExp(ae.source),IA=/<%-([\s\S]+?)%>/g,LA=/<%([\s\S]+?)%>/g,TA=/<%=([\s\S]+?)%>/g,re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,xe=RegExp(ue.source),tt=/^\s+/,ct=/\s/,FA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,PA=/,? & /,WA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ZA=/[()=,{}\[\]\/\s]/,Ie=/\\(\\)?/g,ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Me=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,dt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Ln="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",dn=Ln+Xt+Vt,bn="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Qi=An+Jn+en+mi,oi="['’]",Hi="["+nt+"]",go="["+Qi+"]",ri="["+dn+"]",yn="\\d+",Ki="["+bn+"]",Zo="["+Ft+"]",uo="[^"+nt+Qi+yn+bn+Ft+Ei+"]",Gn="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ri+"|"+Gn+")",bs="[^"+nt+"]",Wo="(?:\\ud83c[\\udde6-\\uddff]){2}",jo="[\\ud800-\\udbff][\\udc00-\\udfff]",ai="["+Ei+"]",ys="\\u200d",Ds="(?:"+Zo+"|"+uo+")",vs="(?:"+ai+"|"+uo+")",ks="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",$r=ho+"?",zr="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Wo,jo].join("|")+")"+zr+$r+")*",Jr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zr=zr+$r+sg,cg="(?:"+[Ki,Wo,jo].join("|")+")"+Zr,qo="(?:"+[bs+ri+"?",ri,Wo,jo,Hi].join("|")+")",gg=RegExp(oi,"g"),Ms=RegExp(ri,"g"),Xo=RegExp(Gn+"(?="+Gn+")|"+qo+Zr,"g"),dg=RegExp([ai+"?"+Zo+"+"+ks+"(?="+[go,ai,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ai+Ds,"$"].join("|")+")",ai+"?"+Ds+"+"+ks,ai+"+"+_s,lg,Jr,yn,cg].join("|"),"g"),Ss=RegExp("["+ys+nt+dn+co+"]"),xs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ug=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,at={};at[vA]=at[$A]=at[XA]=at[xA]=at[MA]=at[qA]=at[Ce]=at[ye]=at[Se]=!0,at[J]=at[y]=at[jA]=at[P]=at[Ae]=at[q]=at[iA]=at[dA]=at[gA]=at[wA]=at[lA]=at[U]=at[W]=at[tA]=at[SA]=!1;var gt={};gt[J]=gt[y]=gt[jA]=gt[Ae]=gt[P]=gt[q]=gt[vA]=gt[$A]=gt[XA]=gt[xA]=gt[MA]=gt[gA]=gt[wA]=gt[lA]=gt[U]=gt[W]=gt[tA]=gt[aA]=gt[qA]=gt[Ce]=gt[ye]=gt[Se]=!0,gt[iA]=gt[dA]=gt[SA]=!1;var Wr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Vo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Rt=Vo||pg||Function("return this")(),Pn=e&&!e.nodeType&&e,fi=Pn&&!0&&n&&!n.nodeType&&n,Ls=fi&&fi.exports===Pn,qr=Ls&&Vo.process,tn=function(){try{var kA=fi&&fi.require&&fi.require("util").types;return kA||qr&&qr.binding&&qr.binding("util")}catch{}}(),Xr=tn&&tn.isArrayBuffer,Pt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,OA,KA){switch(KA.length){case 0:return kA.call(OA);case 1:return kA.call(OA,KA[0]);case 2:return kA.call(OA,KA[0],KA[1]);case 3:return kA.call(OA,KA[0],KA[1],KA[2])}return kA.apply(OA,KA)}function Cg(kA,OA,KA,ee){for(var Be=-1,He=kA==null?0:kA.length;++Be<He;){var Ke=kA[Be];OA(ee,Ke,KA(Ke),kA)}return ee}function un(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee&&OA(kA[KA],KA,kA)!==!1;);return kA}function Bg(kA,OA){for(var KA=kA==null?0:kA.length;KA--&&OA(kA[KA],KA,kA)!==!1;);return kA}function Vr(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(!OA(kA[KA],KA,kA))return!1;return!0}function Dn(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];OA(Ke,KA,kA)&&(He[Be++]=Ke)}return He}function Hn(kA,OA){var KA=kA==null?0:kA.length;return!!KA&&Ui(kA,OA,0)>-1}function Ti(kA,OA,KA){for(var ee=-1,Be=kA==null?0:kA.length;++ee<Be;)if(KA(OA,kA[ee]))return!0;return!1}function pt(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=Array(ee);++KA<ee;)Be[KA]=OA(kA[KA],KA,kA);return Be}function Zn(kA,OA){for(var KA=-1,ee=OA.length,Be=kA.length;++KA<ee;)kA[Be+KA]=OA[KA];return kA}function Ar(kA,OA,KA,ee){var Be=-1,He=kA==null?0:kA.length;for(ee&&He&&(KA=kA[++Be]);++Be<He;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ts(kA,OA,KA,ee){var Be=kA==null?0:kA.length;for(ee&&Be&&(KA=kA[--Be]);Be--;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ii(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(OA(kA[KA],KA,kA))return!0;return!1}var mg=ea("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(WA)||[]}function Us(kA,OA,KA){var ee;return KA(kA,function(Be,He,Ke){if(OA(Be,He,Ke))return ee=He,!1}),ee}function er(kA,OA,KA,ee){for(var Be=kA.length,He=KA+(ee?1:-1);ee?He--:++He<Be;)if(OA(kA[He],He,kA))return He;return-1}function Ui(kA,OA,KA){return OA===OA?QA(kA,OA,KA):er(kA,Ys,KA)}function Aa(kA,OA,KA,ee){for(var Be=KA-1,He=kA.length;++Be<He;)if(ee(kA[Be],OA))return Be;return-1}function Ys(kA){return kA!==kA}function Co(kA,OA){var KA=kA==null?0:kA.length;return KA?tr(kA,OA)/KA:z}function ea(kA){return function(OA){return OA==null?t:OA[kA]}}function Bo(kA){return function(OA){return kA==null?t:kA[OA]}}function Os(kA,OA,KA,ee,Be){return Be(kA,function(He,Ke,Oe){KA=ee?(ee=!1,He):OA(KA,He,Ke,Oe)}),KA}function fg(kA,OA){var KA=kA.length;for(kA.sort(OA);KA--;)kA[KA]=kA[KA].value;return kA}function tr(kA,OA){for(var KA,ee=-1,Be=kA.length;++ee<Be;){var He=OA(kA[ee]);He!==t&&(KA=KA===t?He:KA+He)}return KA}function wi(kA,OA){for(var KA=-1,ee=Array(kA);++KA<kA;)ee[KA]=OA(KA);return ee}function si(kA,OA){return pt(OA,function(KA){return[KA,kA[KA]]})}function ta(kA){return kA&&kA.slice(0,HA(kA)+1).replace(tt,"")}function Tt(kA){return function(OA){return kA(OA)}}function na(kA,OA){return pt(OA,function(KA){return kA[KA]})}function mo(kA,OA){return kA.has(OA)}function $s(kA,OA){for(var KA=-1,ee=kA.length;++KA<ee&&Ui(OA,kA[KA],0)>-1;);return KA}function zs(kA,OA){for(var KA=kA.length;KA--&&Ui(OA,kA[KA],0)>-1;);return KA}function Ig(kA,OA){for(var KA=kA.length,ee=0;KA--;)kA[KA]===OA&&++ee;return ee}var wg=Bo(Wr),bg=Bo(Ns);function yg(kA){return"\\"+jr[kA]}function Dg(kA,OA){return kA==null?t:kA[OA]}function Yi(kA){return Ss.test(kA)}function G(kA){return xs.test(kA)}function R(kA){for(var OA,KA=[];!(OA=kA.next()).done;)KA.push(OA.value);return KA}function Z(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee,Be){KA[++OA]=[Be,ee]}),KA}function nA(kA,OA){return function(KA){return kA(OA(KA))}}function sA(kA,OA){for(var KA=-1,ee=kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];(Ke===OA||Ke===x)&&(kA[KA]=x,He[Be++]=KA)}return He}function uA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=ee}),KA}function BA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=[ee,ee]}),KA}function QA(kA,OA,KA){for(var ee=KA-1,Be=kA.length;++ee<Be;)if(kA[ee]===OA)return ee;return-1}function yA(kA,OA,KA){for(var ee=KA+1;ee--;)if(kA[ee]===OA)return ee;return ee}function RA(kA){return Yi(kA)?ge(kA):mg(kA)}function DA(kA){return Yi(kA)?le(kA):Eg(kA)}function HA(kA){for(var OA=kA.length;OA--&&ct.test(kA.charAt(OA)););return OA}var VA=Bo(hg);function ge(kA){for(var OA=Xo.lastIndex=0;Xo.test(kA);)++OA;return OA}function le(kA){return kA.match(Xo)||[]}function he(kA){return kA.match(dg)||[]}var De=function kA(OA){OA=OA==null?Rt:Qe.defaults(Rt.Object(),OA,Qe.pick(Rt,ug));var KA=OA.Array,ee=OA.Date,Be=OA.Error,He=OA.Function,Ke=OA.Math,Oe=OA.Object,on=OA.RegExp,Wn=OA.String,Ut=OA.TypeError,li=KA.prototype,Rx=He.prototype,nr=Oe.prototype,Js=OA["__core-js_shared__"],Zs=Rx.toString,lt=nr.hasOwnProperty,Lx=0,_C=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=nr.toString,Gx=Zs.call(Oe),Px=Rt._,Hx=on("^"+Zs.call(lt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?OA.Buffer:t,Oi=OA.Symbol,qs=OA.Uint8Array,MC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),SC=Oe.create,xC=nr.propertyIsEnumerable,Vs=li.splice,NC=Oi?Oi.isConcatSpreadable:t,ia=Oi?Oi.iterator:t,Eo=Oi?Oi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),Kx=OA.clearTimeout!==Rt.clearTimeout&&OA.clearTimeout,Tx=ee&&ee.now!==Rt.Date.now&&ee.now,Ux=OA.setTimeout!==Rt.setTimeout&&OA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,Yx=js?js.isBuffer:t,FC=OA.isFinite,Ox=li.join,$x=nA(Oe.keys,Oe),Lt=Ke.max,$t=Ke.min,zx=ee.now,Jx=OA.parseInt,RC=Ke.random,Zx=li.reverse,kg=bo(OA,"DataView"),oa=bo(OA,"Map"),_g=bo(OA,"Promise"),ir=bo(OA,"Set"),ra=bo(OA,"WeakMap"),aa=bo(Oe,"create"),nl=ra&&new ra,or={},Wx=yo(kg),jx=yo(oa),qx=yo(_g),Xx=yo(ir),Vx=yo(ra),il=Oi?Oi.prototype:t,sa=il?il.valueOf:t,LC=il?il.toString:t;function EA(c){if(yt(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Kn)return c;if(lt.call(c,"__wrapped__"))return GB(c)}return new Kn(c)}var rr=function(){function c(){}return function(w){if(!It(w))return{};if(SC)return SC(w);c.prototype=w;var Y=new c;return c.prototype=t,Y}}();function ol(){}function Kn(c,w){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!w,this.__index__=0,this.__values__=t}EA.templateSettings={escape:IA,evaluate:LA,interpolate:TA,variable:"",imports:{_:EA}},EA.prototype=ol.prototype,EA.prototype.constructor=EA,Kn.prototype=rr(ol.prototype),Kn.prototype.constructor=Kn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=AA,this.__views__=[]}function A4(){var c=new Xe(this.__wrapped__);return c.__actions__=hn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=hn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=hn(this.__views__),c}function e4(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function t4(){var c=this.__wrapped__.value(),w=this.__dir__,Y=Te(c),oA=w<0,pA=Y?c.length:0,fA=hN(0,pA,this.__views__),_A=fA.start,GA=fA.end,YA=GA-_A,te=oA?GA:_A-1,ne=this.__iteratees__,ce=ne.length,we=0,_e=$t(YA,this.__takeCount__);if(!Y||!oA&&pA==YA&&_e==YA)return rB(c,this.__actions__);var Fe=[];A:for(;YA--&&we<_e;){te+=w;for(var Je=-1,Re=c[te];++Je<ce;){var We=ne[Je],Ve=We.iteratee,_n=We.type,sn=Ve(Re);if(_n==E)Re=sn;else if(!sn){if(_n==r)continue A;break A}}Fe[we++]=Re}return Fe}Xe.prototype=rr(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function n4(){this.__data__=aa?aa(null):{},this.size=0}function i4(c){var w=this.has(c)&&delete this.__data__[c];return this.size-=w?1:0,w}function o4(c){var w=this.__data__;if(aa){var Y=w[c];return Y===D?t:Y}return lt.call(w,c)?w[c]:t}function r4(c){var w=this.__data__;return aa?w[c]!==t:lt.call(w,c)}function a4(c,w){var Y=this.__data__;return this.size+=this.has(c)?0:1,Y[c]=aa&&w===t?D:w,this}Qo.prototype.clear=n4,Qo.prototype.delete=i4,Qo.prototype.get=o4,Qo.prototype.has=r4,Qo.prototype.set=a4;function bi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function s4(){this.__data__=[],this.size=0}function l4(c){var w=this.__data__,Y=rl(w,c);if(Y<0)return!1;var oA=w.length-1;return Y==oA?w.pop():Vs.call(w,Y,1),--this.size,!0}function c4(c){var w=this.__data__,Y=rl(w,c);return Y<0?t:w[Y][1]}function g4(c){return rl(this.__data__,c)>-1}function d4(c,w){var Y=this.__data__,oA=rl(Y,c);return oA<0?(++this.size,Y.push([c,w])):Y[oA][1]=w,this}bi.prototype.clear=s4,bi.prototype.delete=l4,bi.prototype.get=c4,bi.prototype.has=g4,bi.prototype.set=d4;function yi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function u4(){this.size=0,this.__data__={hash:new Qo,map:new(oa||bi),string:new Qo}}function h4(c){var w=ml(this,c).delete(c);return this.size-=w?1:0,w}function p4(c){return ml(this,c).get(c)}function C4(c){return ml(this,c).has(c)}function B4(c,w){var Y=ml(this,c),oA=Y.size;return Y.set(c,w),this.size+=Y.size==oA?0:1,this}yi.prototype.clear=u4,yi.prototype.delete=h4,yi.prototype.get=p4,yi.prototype.has=C4,yi.prototype.set=B4;function fo(c){var w=-1,Y=c==null?0:c.length;for(this.__data__=new yi;++w<Y;)this.add(c[w])}function m4(c){return this.__data__.set(c,D),this}function E4(c){return this.__data__.has(c)}fo.prototype.add=fo.prototype.push=m4,fo.prototype.has=E4;function jn(c){var w=this.__data__=new bi(c);this.size=w.size}function Q4(){this.__data__=new bi,this.size=0}function f4(c){var w=this.__data__,Y=w.delete(c);return this.size=w.size,Y}function I4(c){return this.__data__.get(c)}function w4(c){return this.__data__.has(c)}function b4(c,w){var Y=this.__data__;if(Y instanceof bi){var oA=Y.__data__;if(!oa||oA.length<d-1)return oA.push([c,w]),this.size=++Y.size,this;Y=this.__data__=new yi(oA)}return Y.set(c,w),this.size=Y.size,this}jn.prototype.clear=Q4,jn.prototype.delete=f4,jn.prototype.get=I4,jn.prototype.has=w4,jn.prototype.set=b4;function GC(c,w){var Y=Te(c),oA=!Y&&Do(c),pA=!Y&&!oA&&Wi(c),fA=!Y&&!oA&&!pA&&cr(c),_A=Y||oA||pA||fA,GA=_A?wi(c.length,Wn):[],YA=GA.length;for(var te in c)(w||lt.call(c,te))&&!(_A&&(te=="length"||pA&&(te=="offset"||te=="parent")||fA&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||_i(te,YA)))&&GA.push(te);return GA}function PC(c){var w=c.length;return w?c[Kg(0,w-1)]:t}function y4(c,w){return El(hn(c),Io(w,0,c.length))}function D4(c){return El(hn(c))}function Mg(c,w,Y){(Y!==t&&!qn(c[w],Y)||Y===t&&!(w in c))&&Di(c,w,Y)}function la(c,w,Y){var oA=c[w];(!(lt.call(c,w)&&qn(oA,Y))||Y===t&&!(w in c))&&Di(c,w,Y)}function rl(c,w){for(var Y=c.length;Y--;)if(qn(c[Y][0],w))return Y;return-1}function v4(c,w,Y,oA){return $i(c,function(pA,fA,_A){w(oA,pA,Y(pA),_A)}),oA}function HC(c,w){return c&&gi(w,Ht(w),c)}function k4(c,w){return c&&gi(w,Cn(w),c)}function Di(c,w,Y){w=="__proto__"&&Al?Al(c,w,{configurable:!0,enumerable:!0,value:Y,writable:!0}):c[w]=Y}function Sg(c,w){for(var Y=-1,oA=w.length,pA=KA(oA),fA=c==null;++Y<oA;)pA[Y]=fA?t:gd(c,w[Y]);return pA}function Io(c,w,Y){return c===c&&(Y!==t&&(c=c<=Y?c:Y),w!==t&&(c=c>=w?c:w)),c}function Tn(c,w,Y,oA,pA,fA){var _A,GA=w&N,YA=w&T,te=w&O;if(Y&&(_A=pA?Y(c,oA,pA,fA):Y(c)),_A!==t)return _A;if(!It(c))return c;var ne=Te(c);if(ne){if(_A=CN(c),!GA)return hn(c,_A)}else{var ce=zt(c),we=ce==dA||ce==mA;if(Wi(c))return lB(c,GA);if(ce==lA||ce==J||we&&!pA){if(_A=YA||we?{}:kB(c),!GA)return YA?oN(c,k4(_A,c)):iN(c,HC(_A,c))}else{if(!gt[ce])return pA?c:{};_A=BN(c,ce,GA)}}fA||(fA=new jn);var _e=fA.get(c);if(_e)return _e;fA.set(c,_A),nm(c)?c.forEach(function(Re){_A.add(Tn(Re,w,Y,Re,c,fA))}):em(c)&&c.forEach(function(Re,We){_A.set(We,Tn(Re,w,Y,We,c,fA))});var Fe=te?YA?qg:jg:YA?Cn:Ht,Je=ne?t:Fe(c);return un(Je||c,function(Re,We){Je&&(We=Re,Re=c[We]),la(_A,We,Tn(Re,w,Y,We,c,fA))}),_A}function _4(c){var w=Ht(c);return function(Y){return KC(Y,c,w)}}function KC(c,w,Y){var oA=Y.length;if(c==null)return!oA;for(c=Oe(c);oA--;){var pA=Y[oA],fA=w[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function TC(c,w,Y){if(typeof c!="function")throw new Ut(o);return Ca(function(){c.apply(t,Y)},w)}function ca(c,w,Y,oA){var pA=-1,fA=Hn,_A=!0,GA=c.length,YA=[],te=w.length;if(!GA)return YA;Y&&(w=pt(w,Tt(Y))),oA?(fA=Ti,_A=!1):w.length>=d&&(fA=mo,_A=!1,w=new fo(w));A:for(;++pA<GA;){var ne=c[pA],ce=Y==null?ne:Y(ne);if(ne=oA||ne!==0?ne:0,_A&&ce===ce){for(var we=te;we--;)if(w[we]===ce)continue A;YA.push(ne)}else fA(w,ce,oA)||YA.push(ne)}return YA}var $i=hB(ci),UC=hB(Ng,!0);function M4(c,w){var Y=!0;return $i(c,function(oA,pA,fA){return Y=!!w(oA,pA,fA),Y}),Y}function al(c,w,Y){for(var oA=-1,pA=c.length;++oA<pA;){var fA=c[oA],_A=w(fA);if(_A!=null&&(GA===t?_A===_A&&!kn(_A):Y(_A,GA)))var GA=_A,YA=fA}return YA}function S4(c,w,Y,oA){var pA=c.length;for(Y=$e(Y),Y<0&&(Y=-Y>pA?0:pA+Y),oA=oA===t||oA>pA?pA:$e(oA),oA<0&&(oA+=pA),oA=Y>oA?0:om(oA);Y<oA;)c[Y++]=w;return c}function YC(c,w){var Y=[];return $i(c,function(oA,pA,fA){w(oA,pA,fA)&&Y.push(oA)}),Y}function Yt(c,w,Y,oA,pA){var fA=-1,_A=c.length;for(Y||(Y=EN),pA||(pA=[]);++fA<_A;){var GA=c[fA];w>0&&Y(GA)?w>1?Yt(GA,w-1,Y,oA,pA):Zn(pA,GA):oA||(pA[pA.length]=GA)}return pA}var xg=pB(),OC=pB(!0);function ci(c,w){return c&&xg(c,w,Ht)}function Ng(c,w){return c&&OC(c,w,Ht)}function sl(c,w){return Dn(w,function(Y){return Mi(c[Y])})}function wo(c,w){w=Ji(w,c);for(var Y=0,oA=w.length;c!=null&&Y<oA;)c=c[di(w[Y++])];return Y&&Y==oA?c:t}function $C(c,w,Y){var oA=w(c);return Te(c)?oA:Zn(oA,Y(c))}function rn(c){return c==null?c===t?CA:X:Eo&&Eo in Oe(c)?uN(c):DN(c)}function Fg(c,w){return c>w}function x4(c,w){return c!=null&<.call(c,w)}function N4(c,w){return c!=null&&w in Oe(c)}function F4(c,w,Y){return c>=$t(w,Y)&&c<Lt(w,Y)}function Rg(c,w,Y){for(var oA=Y?Ti:Hn,pA=c[0].length,fA=c.length,_A=fA,GA=KA(fA),YA=1/0,te=[];_A--;){var ne=c[_A];_A&&w&&(ne=pt(ne,Tt(w))),YA=$t(ne.length,YA),GA[_A]=!Y&&(w||pA>=120&&ne.length>=120)?new fo(_A&&ne):t}ne=c[0];var ce=-1,we=GA[0];A:for(;++ce<pA&&te.length<YA;){var _e=ne[ce],Fe=w?w(_e):_e;if(_e=Y||_e!==0?_e:0,!(we?mo(we,Fe):oA(te,Fe,Y))){for(_A=fA;--_A;){var Je=GA[_A];if(!(Je?mo(Je,Fe):oA(c[_A],Fe,Y)))continue A}we&&we.push(Fe),te.push(_e)}}return te}function R4(c,w,Y,oA){return ci(c,function(pA,fA,_A){w(oA,Y(pA),fA,_A)}),oA}function ga(c,w,Y){w=Ji(w,c),c=xB(c,w);var oA=c==null?c:c[di(Yn(w))];return oA==null?t:nn(oA,c,Y)}function zC(c){return yt(c)&&rn(c)==J}function L4(c){return yt(c)&&rn(c)==jA}function G4(c){return yt(c)&&rn(c)==q}function da(c,w,Y,oA,pA){return c===w?!0:c==null||w==null||!yt(c)&&!yt(w)?c!==c&&w!==w:P4(c,w,Y,oA,da,pA)}function P4(c,w,Y,oA,pA,fA){var _A=Te(c),GA=Te(w),YA=_A?y:zt(c),te=GA?y:zt(w);YA=YA==J?lA:YA,te=te==J?lA:te;var ne=YA==lA,ce=te==lA,we=YA==te;if(we&&Wi(c)){if(!Wi(w))return!1;_A=!0,ne=!1}if(we&&!ne)return fA||(fA=new jn),_A||cr(c)?yB(c,w,Y,oA,pA,fA):gN(c,w,YA,Y,oA,pA,fA);if(!(Y&H)){var _e=ne&<.call(c,"__wrapped__"),Fe=ce&<.call(w,"__wrapped__");if(_e||Fe){var Je=_e?c.value():c,Re=Fe?w.value():w;return fA||(fA=new jn),pA(Je,Re,Y,oA,fA)}}return we?(fA||(fA=new jn),dN(c,w,Y,oA,pA,fA)):!1}function H4(c){return yt(c)&&zt(c)==gA}function Lg(c,w,Y,oA){var pA=Y.length,fA=pA,_A=!oA;if(c==null)return!fA;for(c=Oe(c);pA--;){var GA=Y[pA];if(_A&&GA[2]?GA[1]!==c[GA[0]]:!(GA[0]in c))return!1}for(;++pA<fA;){GA=Y[pA];var YA=GA[0],te=c[YA],ne=GA[1];if(_A&&GA[2]){if(te===t&&!(YA in c))return!1}else{var ce=new jn;if(oA)var we=oA(te,ne,YA,c,w,ce);if(!(we===t?da(ne,te,H|L,oA,ce):we))return!1}}return!0}function JC(c){if(!It(c)||fN(c))return!1;var w=Mi(c)?Hx:ze;return w.test(yo(c))}function K4(c){return yt(c)&&rn(c)==U}function T4(c){return yt(c)&&zt(c)==W}function U4(c){return yt(c)&&yl(c.length)&&!!at[rn(c)]}function ZC(c){return typeof c=="function"?c:c==null?Bn:typeof c=="object"?Te(c)?qC(c[0],c[1]):jC(c):Cm(c)}function Gg(c){if(!pa(c))return $x(c);var w=[];for(var Y in Oe(c))lt.call(c,Y)&&Y!="constructor"&&w.push(Y);return w}function Y4(c){if(!It(c))return yN(c);var w=pa(c),Y=[];for(var oA in c)oA=="constructor"&&(w||!lt.call(c,oA))||Y.push(oA);return Y}function Pg(c,w){return c<w}function WC(c,w){var Y=-1,oA=pn(c)?KA(c.length):[];return $i(c,function(pA,fA,_A){oA[++Y]=w(pA,fA,_A)}),oA}function jC(c){var w=Vg(c);return w.length==1&&w[0][2]?MB(w[0][0],w[0][1]):function(Y){return Y===c||Lg(Y,c,w)}}function qC(c,w){return ed(c)&&_B(w)?MB(di(c),w):function(Y){var oA=gd(Y,c);return oA===t&&oA===w?dd(Y,c):da(w,oA,H|L)}}function ll(c,w,Y,oA,pA){c!==w&&xg(w,function(fA,_A){if(pA||(pA=new jn),It(fA))O4(c,w,_A,Y,ll,oA,pA);else{var GA=oA?oA(nd(c,_A),fA,_A+"",c,w,pA):t;GA===t&&(GA=fA),Mg(c,_A,GA)}},Cn)}function O4(c,w,Y,oA,pA,fA,_A){var GA=nd(c,Y),YA=nd(w,Y),te=_A.get(YA);if(te){Mg(c,Y,te);return}var ne=fA?fA(GA,YA,Y+"",c,w,_A):t,ce=ne===t;if(ce){var we=Te(YA),_e=!we&&Wi(YA),Fe=!we&&!_e&&cr(YA);ne=YA,we||_e||Fe?Te(GA)?ne=GA:Dt(GA)?ne=hn(GA):_e?(ce=!1,ne=lB(YA,!0)):Fe?(ce=!1,ne=cB(YA,!0)):ne=[]:Ba(YA)||Do(YA)?(ne=GA,Do(GA)?ne=rm(GA):(!It(GA)||Mi(GA))&&(ne=kB(YA))):ce=!1}ce&&(_A.set(YA,ne),pA(ne,YA,oA,fA,_A),_A.delete(YA)),Mg(c,Y,ne)}function XC(c,w){var Y=c.length;if(Y)return w+=w<0?Y:0,_i(w,Y)?c[w]:t}function VC(c,w,Y){w.length?w=pt(w,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):w=[Bn];var oA=-1;w=pt(w,Tt(Ne()));var pA=WC(c,function(fA,_A,GA){var YA=pt(w,function(te){return te(fA)});return{criteria:YA,index:++oA,value:fA}});return fg(pA,function(fA,_A){return nN(fA,_A,Y)})}function $4(c,w){return AB(c,w,function(Y,oA){return dd(c,oA)})}function AB(c,w,Y){for(var oA=-1,pA=w.length,fA={};++oA<pA;){var _A=w[oA],GA=wo(c,_A);Y(GA,_A)&&ua(fA,Ji(_A,c),GA)}return fA}function z4(c){return function(w){return wo(w,c)}}function Hg(c,w,Y,oA){var pA=oA?Aa:Ui,fA=-1,_A=w.length,GA=c;for(c===w&&(w=hn(w)),Y&&(GA=pt(c,Tt(Y)));++fA<_A;)for(var YA=0,te=w[fA],ne=Y?Y(te):te;(YA=pA(GA,ne,YA,oA))>-1;)GA!==c&&Vs.call(GA,YA,1),Vs.call(c,YA,1);return c}function eB(c,w){for(var Y=c?w.length:0,oA=Y-1;Y--;){var pA=w[Y];if(Y==oA||pA!==fA){var fA=pA;_i(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,w){return c+tl(RC()*(w-c+1))}function J4(c,w,Y,oA){for(var pA=-1,fA=Lt(el((w-c)/(Y||1)),0),_A=KA(fA);fA--;)_A[oA?fA:++pA]=c,c+=Y;return _A}function Tg(c,w){var Y="";if(!c||w<1||w>S)return Y;do w%2&&(Y+=c),w=tl(w/2),w&&(c+=c);while(w);return Y}function Ze(c,w){return id(SB(c,w,Bn),c+"")}function Z4(c){return PC(gr(c))}function W4(c,w){var Y=gr(c);return El(Y,Io(w,0,Y.length))}function ua(c,w,Y,oA){if(!It(c))return c;w=Ji(w,c);for(var pA=-1,fA=w.length,_A=fA-1,GA=c;GA!=null&&++pA<fA;){var YA=di(w[pA]),te=Y;if(YA==="__proto__"||YA==="constructor"||YA==="prototype")return c;if(pA!=_A){var ne=GA[YA];te=oA?oA(ne,YA,GA):t,te===t&&(te=It(ne)?ne:_i(w[pA+1])?[]:{})}la(GA,YA,te),GA=GA[YA]}return c}var tB=nl?function(c,w){return nl.set(c,w),c}:Bn,j4=Al?function(c,w){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hd(w),writable:!0})}:Bn;function q4(c){return El(gr(c))}function Un(c,w,Y){var oA=-1,pA=c.length;w<0&&(w=-w>pA?0:pA+w),Y=Y>pA?pA:Y,Y<0&&(Y+=pA),pA=w>Y?0:Y-w>>>0,w>>>=0;for(var fA=KA(pA);++oA<pA;)fA[oA]=c[oA+w];return fA}function X4(c,w){var Y;return $i(c,function(oA,pA,fA){return Y=w(oA,pA,fA),!Y}),!!Y}function cl(c,w,Y){var oA=0,pA=c==null?oA:c.length;if(typeof w=="number"&&w===w&&pA<=V){for(;oA<pA;){var fA=oA+pA>>>1,_A=c[fA];_A!==null&&!kn(_A)&&(Y?_A<=w:_A<w)?oA=fA+1:pA=fA}return pA}return Ug(c,w,Bn,Y)}function Ug(c,w,Y,oA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;w=Y(w);for(var _A=w!==w,GA=w===null,YA=kn(w),te=w===t;pA<fA;){var ne=tl((pA+fA)/2),ce=Y(c[ne]),we=ce!==t,_e=ce===null,Fe=ce===ce,Je=kn(ce);if(_A)var Re=oA||Fe;else te?Re=Fe&&(oA||we):GA?Re=Fe&&we&&(oA||!_e):YA?Re=Fe&&we&&!_e&&(oA||!Je):_e||Je?Re=!1:Re=oA?ce<=w:ce<w;Re?pA=ne+1:fA=ne}return $t(fA,eA)}function nB(c,w){for(var Y=-1,oA=c.length,pA=0,fA=[];++Y<oA;){var _A=c[Y],GA=w?w(_A):_A;if(!Y||!qn(GA,YA)){var YA=GA;fA[pA++]=_A===0?0:_A}}return fA}function iB(c){return typeof c=="number"?c:kn(c)?z:+c}function vn(c){if(typeof c=="string")return c;if(Te(c))return pt(c,vn)+"";if(kn(c))return LC?LC.call(c):"";var w=c+"";return w=="0"&&1/c==-M?"-0":w}function zi(c,w,Y){var oA=-1,pA=Hn,fA=c.length,_A=!0,GA=[],YA=GA;if(Y)_A=!1,pA=Ti;else if(fA>=d){var te=w?null:lN(c);if(te)return uA(te);_A=!1,pA=mo,YA=new fo}else YA=w?[]:GA;A:for(;++oA<fA;){var ne=c[oA],ce=w?w(ne):ne;if(ne=Y||ne!==0?ne:0,_A&&ce===ce){for(var we=YA.length;we--;)if(YA[we]===ce)continue A;w&&YA.push(ce),GA.push(ne)}else pA(YA,ce,Y)||(YA!==GA&&YA.push(ce),GA.push(ne))}return GA}function Yg(c,w){return w=Ji(w,c),c=xB(c,w),c==null||delete c[di(Yn(w))]}function oB(c,w,Y,oA){return ua(c,w,Y(wo(c,w)),oA)}function gl(c,w,Y,oA){for(var pA=c.length,fA=oA?pA:-1;(oA?fA--:++fA<pA)&&w(c[fA],fA,c););return Y?Un(c,oA?0:fA,oA?fA+1:pA):Un(c,oA?fA+1:0,oA?pA:fA)}function rB(c,w){var Y=c;return Y instanceof Xe&&(Y=Y.value()),Ar(w,function(oA,pA){return pA.func.apply(pA.thisArg,Zn([oA],pA.args))},Y)}function Og(c,w,Y){var oA=c.length;if(oA<2)return oA?zi(c[0]):[];for(var pA=-1,fA=KA(oA);++pA<oA;)for(var _A=c[pA],GA=-1;++GA<oA;)GA!=pA&&(fA[pA]=ca(fA[pA]||_A,c[GA],w,Y));return zi(Yt(fA,1),w,Y)}function aB(c,w,Y){for(var oA=-1,pA=c.length,fA=w.length,_A={};++oA<pA;){var GA=oA<fA?w[oA]:t;Y(_A,c[oA],GA)}return _A}function $g(c){return Dt(c)?c:[]}function zg(c){return typeof c=="function"?c:Bn}function Ji(c,w){return Te(c)?c:ed(c,w)?[c]:LB(st(c))}var V4=Ze;function Zi(c,w,Y){var oA=c.length;return Y=Y===t?oA:Y,!w&&Y>=oA?c:Un(c,w,Y)}var sB=Kx||function(c){return Rt.clearTimeout(c)};function lB(c,w){if(w)return c.slice();var Y=c.length,oA=MC?MC(Y):new c.constructor(Y);return c.copy(oA),oA}function Jg(c){var w=new c.constructor(c.byteLength);return new qs(w).set(new qs(c)),w}function AN(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.byteLength)}function eN(c){var w=new c.constructor(c.source,Me.exec(c));return w.lastIndex=c.lastIndex,w}function tN(c){return sa?Oe(sa.call(c)):{}}function cB(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.length)}function gB(c,w){if(c!==w){var Y=c!==t,oA=c===null,pA=c===c,fA=kn(c),_A=w!==t,GA=w===null,YA=w===w,te=kn(w);if(!GA&&!te&&!fA&&c>w||fA&&_A&&YA&&!GA&&!te||oA&&_A&&YA||!Y&&YA||!pA)return 1;if(!oA&&!fA&&!te&&c<w||te&&Y&&pA&&!oA&&!fA||GA&&Y&&pA||!_A&&pA||!YA)return-1}return 0}function nN(c,w,Y){for(var oA=-1,pA=c.criteria,fA=w.criteria,_A=pA.length,GA=Y.length;++oA<_A;){var YA=gB(pA[oA],fA[oA]);if(YA){if(oA>=GA)return YA;var te=Y[oA];return YA*(te=="desc"?-1:1)}}return c.index-w.index}function dB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=Y.length,GA=-1,YA=w.length,te=Lt(fA-_A,0),ne=KA(YA+te),ce=!oA;++GA<YA;)ne[GA]=w[GA];for(;++pA<_A;)(ce||pA<fA)&&(ne[Y[pA]]=c[pA]);for(;te--;)ne[GA++]=c[pA++];return ne}function uB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=-1,GA=Y.length,YA=-1,te=w.length,ne=Lt(fA-GA,0),ce=KA(ne+te),we=!oA;++pA<ne;)ce[pA]=c[pA];for(var _e=pA;++YA<te;)ce[_e+YA]=w[YA];for(;++_A<GA;)(we||pA<fA)&&(ce[_e+Y[_A]]=c[pA++]);return ce}function hn(c,w){var Y=-1,oA=c.length;for(w||(w=KA(oA));++Y<oA;)w[Y]=c[Y];return w}function gi(c,w,Y,oA){var pA=!Y;Y||(Y={});for(var fA=-1,_A=w.length;++fA<_A;){var GA=w[fA],YA=oA?oA(Y[GA],c[GA],GA,Y,c):t;YA===t&&(YA=c[GA]),pA?Di(Y,GA,YA):la(Y,GA,YA)}return Y}function iN(c,w){return gi(c,Ad(c),w)}function oN(c,w){return gi(c,DB(c),w)}function dl(c,w){return function(Y,oA){var pA=Te(Y)?Cg:v4,fA=w?w():{};return pA(Y,c,Ne(oA,2),fA)}}function ar(c){return Ze(function(w,Y){var oA=-1,pA=Y.length,fA=pA>1?Y[pA-1]:t,_A=pA>2?Y[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(Y[0],Y[1],_A)&&(fA=pA<3?t:fA,pA=1),w=Oe(w);++oA<pA;){var GA=Y[oA];GA&&c(w,GA,oA,fA)}return w})}function hB(c,w){return function(Y,oA){if(Y==null)return Y;if(!pn(Y))return c(Y,oA);for(var pA=Y.length,fA=w?pA:-1,_A=Oe(Y);(w?fA--:++fA<pA)&&oA(_A[fA],fA,_A)!==!1;);return Y}}function pB(c){return function(w,Y,oA){for(var pA=-1,fA=Oe(w),_A=oA(w),GA=_A.length;GA--;){var YA=_A[c?GA:++pA];if(Y(fA[YA],YA,fA)===!1)break}return w}}function rN(c,w,Y){var oA=w&v,pA=ha(c);function fA(){var _A=this&&this!==Rt&&this instanceof fA?pA:c;return _A.apply(oA?Y:this,arguments)}return fA}function CB(c){return function(w){w=st(w);var Y=Yi(w)?DA(w):t,oA=Y?Y[0]:w.charAt(0),pA=Y?Zi(Y,1).join(""):w.slice(1);return oA[c]()+pA}}function sr(c){return function(w){return Ar(hm(um(w).replace(gg,"")),c,"")}}function ha(c){return function(){var w=arguments;switch(w.length){case 0:return new c;case 1:return new c(w[0]);case 2:return new c(w[0],w[1]);case 3:return new c(w[0],w[1],w[2]);case 4:return new c(w[0],w[1],w[2],w[3]);case 5:return new c(w[0],w[1],w[2],w[3],w[4]);case 6:return new c(w[0],w[1],w[2],w[3],w[4],w[5]);case 7:return new c(w[0],w[1],w[2],w[3],w[4],w[5],w[6])}var Y=rr(c.prototype),oA=c.apply(Y,w);return It(oA)?oA:Y}}function aN(c,w,Y){var oA=ha(c);function pA(){for(var fA=arguments.length,_A=KA(fA),GA=fA,YA=lr(pA);GA--;)_A[GA]=arguments[GA];var te=fA<3&&_A[0]!==YA&&_A[fA-1]!==YA?[]:sA(_A,YA);if(fA-=te.length,fA<Y)return fB(c,w,ul,pA.placeholder,t,_A,te,t,t,Y-fA);var ne=this&&this!==Rt&&this instanceof pA?oA:c;return nn(ne,this,_A)}return pA}function BB(c){return function(w,Y,oA){var pA=Oe(w);if(!pn(w)){var fA=Ne(Y,3);w=Ht(w),Y=function(GA){return fA(pA[GA],GA,pA)}}var _A=c(w,Y,oA);return _A>-1?pA[fA?w[_A]:_A]:t}}function mB(c){return ki(function(w){var Y=w.length,oA=Y,pA=Kn.prototype.thru;for(c&&w.reverse();oA--;){var fA=w[oA];if(typeof fA!="function")throw new Ut(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Kn([],!0)}for(oA=_A?oA:Y;++oA<Y;){fA=w[oA];var GA=Bl(fA),YA=GA=="wrapper"?Xg(fA):t;YA&&td(YA[0])&&YA[1]==(u|k|B|l)&&!YA[4].length&&YA[9]==1?_A=_A[Bl(YA[0])].apply(_A,YA[3]):_A=fA.length==1&&td(fA)?_A[GA]():_A.thru(fA)}return function(){var te=arguments,ne=te[0];if(_A&&te.length==1&&Te(ne))return _A.plant(ne).value();for(var ce=0,we=Y?w[ce].apply(this,te):ne;++ce<Y;)we=w[ce].call(this,we);return we}})}function ul(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&u,ce=w&v,we=w&m,_e=w&(k|_),Fe=w&g,Je=we?t:ha(c);function Re(){for(var We=arguments.length,Ve=KA(We),_n=We;_n--;)Ve[_n]=arguments[_n];if(_e)var sn=lr(Re),Mn=Ig(Ve,sn);if(oA&&(Ve=dB(Ve,oA,pA,_e)),fA&&(Ve=uB(Ve,fA,_A,_e)),We-=Mn,_e&&We<te){var vt=sA(Ve,sn);return fB(c,w,ul,Re.placeholder,Y,Ve,vt,GA,YA,te-We)}var Xn=ce?Y:this,xi=we?Xn[c]:c;return We=Ve.length,GA?Ve=vN(Ve,GA):Fe&&We>1&&Ve.reverse(),ne&&YA<We&&(Ve.length=YA),this&&this!==Rt&&this instanceof Re&&(xi=Je||ha(xi)),xi.apply(Xn,Ve)}return Re}function EB(c,w){return function(Y,oA){return R4(Y,c,w(oA),{})}}function hl(c,w){return function(Y,oA){var pA;if(Y===t&&oA===t)return w;if(Y!==t&&(pA=Y),oA!==t){if(pA===t)return oA;typeof Y=="string"||typeof oA=="string"?(Y=vn(Y),oA=vn(oA)):(Y=iB(Y),oA=iB(oA)),pA=c(Y,oA)}return pA}}function Zg(c){return ki(function(w){return w=pt(w,Tt(Ne())),Ze(function(Y){var oA=this;return c(w,function(pA){return nn(pA,oA,Y)})})})}function pl(c,w){w=w===t?" ":vn(w);var Y=w.length;if(Y<2)return Y?Tg(w,c):w;var oA=Tg(w,el(c/RA(w)));return Yi(w)?Zi(DA(oA),0,c).join(""):oA.slice(0,c)}function sN(c,w,Y,oA){var pA=w&v,fA=ha(c);function _A(){for(var GA=-1,YA=arguments.length,te=-1,ne=oA.length,ce=KA(ne+YA),we=this&&this!==Rt&&this instanceof _A?fA:c;++te<ne;)ce[te]=oA[te];for(;YA--;)ce[te++]=arguments[++GA];return nn(we,pA?Y:this,ce)}return _A}function QB(c){return function(w,Y,oA){return oA&&typeof oA!="number"&&an(w,Y,oA)&&(Y=oA=t),w=Si(w),Y===t?(Y=w,w=0):Y=Si(Y),oA=oA===t?w<Y?1:-1:Si(oA),J4(w,Y,oA,c)}}function Cl(c){return function(w,Y){return typeof w=="string"&&typeof Y=="string"||(w=On(w),Y=On(Y)),c(w,Y)}}function fB(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&k,ce=ne?_A:t,we=ne?t:_A,_e=ne?fA:t,Fe=ne?t:fA;w|=ne?B:p,w&=~(ne?p:B),w&F||(w&=~(v|m));var Je=[c,w,pA,_e,ce,Fe,we,GA,YA,te],Re=Y.apply(t,Je);return td(c)&&NB(Re,Je),Re.placeholder=oA,FB(Re,c,w)}function Wg(c){var w=Ke[c];return function(Y,oA){if(Y=On(Y),oA=oA==null?0:$t($e(oA),292),oA&&FC(Y)){var pA=(st(Y)+"e").split("e"),fA=w(pA[0]+"e"+(+pA[1]+oA));return pA=(st(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-oA))}return w(Y)}}var lN=ir&&1/uA(new ir([,-0]))[1]==M?function(c){return new ir(c)}:Bd;function IB(c){return function(w){var Y=zt(w);return Y==gA?Z(w):Y==W?BA(w):si(w,c(w))}}function vi(c,w,Y,oA,pA,fA,_A,GA){var YA=w&m;if(!YA&&typeof c!="function")throw new Ut(o);var te=oA?oA.length:0;if(te||(w&=~(B|p),oA=pA=t),_A=_A===t?_A:Lt($e(_A),0),GA=GA===t?GA:$e(GA),te-=pA?pA.length:0,w&p){var ne=oA,ce=pA;oA=pA=t}var we=YA?t:Xg(c),_e=[c,w,Y,oA,pA,ne,ce,fA,_A,GA];if(we&&bN(_e,we),c=_e[0],w=_e[1],Y=_e[2],oA=_e[3],pA=_e[4],GA=_e[9]=_e[9]===t?YA?0:c.length:Lt(_e[9]-te,0),!GA&&w&(k|_)&&(w&=~(k|_)),!w||w==v)var Fe=rN(c,w,Y);else w==k||w==_?Fe=aN(c,w,GA):(w==B||w==(v|B))&&!pA.length?Fe=sN(c,w,Y,oA):Fe=ul.apply(t,_e);var Je=we?tB:NB;return FB(Je(Fe,_e),c,w)}function wB(c,w,Y,oA){return c===t||qn(c,nr[Y])&&!lt.call(oA,Y)?w:c}function bB(c,w,Y,oA,pA,fA){return It(c)&&It(w)&&(fA.set(w,c),ll(c,w,t,bB,fA),fA.delete(w)),c}function cN(c){return Ba(c)?t:c}function yB(c,w,Y,oA,pA,fA){var _A=Y&H,GA=c.length,YA=w.length;if(GA!=YA&&!(_A&&YA>GA))return!1;var te=fA.get(c),ne=fA.get(w);if(te&&ne)return te==w&&ne==c;var ce=-1,we=!0,_e=Y&L?new fo:t;for(fA.set(c,w),fA.set(w,c);++ce<GA;){var Fe=c[ce],Je=w[ce];if(oA)var Re=_A?oA(Je,Fe,ce,w,c,fA):oA(Fe,Je,ce,c,w,fA);if(Re!==t){if(Re)continue;we=!1;break}if(_e){if(!Ii(w,function(We,Ve){if(!mo(_e,Ve)&&(Fe===We||pA(Fe,We,Y,oA,fA)))return _e.push(Ve)})){we=!1;break}}else if(!(Fe===Je||pA(Fe,Je,Y,oA,fA))){we=!1;break}}return fA.delete(c),fA.delete(w),we}function gN(c,w,Y,oA,pA,fA,_A){switch(Y){case Ae:if(c.byteLength!=w.byteLength||c.byteOffset!=w.byteOffset)return!1;c=c.buffer,w=w.buffer;case jA:return!(c.byteLength!=w.byteLength||!fA(new qs(c),new qs(w)));case P:case q:case wA:return qn(+c,+w);case iA:return c.name==w.name&&c.message==w.message;case U:case tA:return c==w+"";case gA:var GA=Z;case W:var YA=oA&H;if(GA||(GA=uA),c.size!=w.size&&!YA)return!1;var te=_A.get(c);if(te)return te==w;oA|=L,_A.set(c,w);var ne=yB(GA(c),GA(w),oA,pA,fA,_A);return _A.delete(c),ne;case aA:if(sa)return sa.call(c)==sa.call(w)}return!1}function dN(c,w,Y,oA,pA,fA){var _A=Y&H,GA=jg(c),YA=GA.length,te=jg(w),ne=te.length;if(YA!=ne&&!_A)return!1;for(var ce=YA;ce--;){var we=GA[ce];if(!(_A?we in w:lt.call(w,we)))return!1}var _e=fA.get(c),Fe=fA.get(w);if(_e&&Fe)return _e==w&&Fe==c;var Je=!0;fA.set(c,w),fA.set(w,c);for(var Re=_A;++ce<YA;){we=GA[ce];var We=c[we],Ve=w[we];if(oA)var _n=_A?oA(Ve,We,we,w,c,fA):oA(We,Ve,we,c,w,fA);if(!(_n===t?We===Ve||pA(We,Ve,Y,oA,fA):_n)){Je=!1;break}Re||(Re=we=="constructor")}if(Je&&!Re){var sn=c.constructor,Mn=w.constructor;sn!=Mn&&"constructor"in c&&"constructor"in w&&!(typeof sn=="function"&&sn instanceof sn&&typeof Mn=="function"&&Mn instanceof Mn)&&(Je=!1)}return fA.delete(c),fA.delete(w),Je}function ki(c){return id(SB(c,t,KB),c+"")}function jg(c){return $C(c,Ht,Ad)}function qg(c){return $C(c,Cn,DB)}var Xg=nl?function(c){return nl.get(c)}:Bd;function Bl(c){for(var w=c.name+"",Y=or[w],oA=lt.call(or,w)?Y.length:0;oA--;){var pA=Y[oA],fA=pA.func;if(fA==null||fA==c)return pA.name}return w}function lr(c){var w=lt.call(EA,"placeholder")?EA:c;return w.placeholder}function Ne(){var c=EA.iteratee||pd;return c=c===pd?ZC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,w){var Y=c.__data__;return QN(w)?Y[typeof w=="string"?"string":"hash"]:Y.map}function Vg(c){for(var w=Ht(c),Y=w.length;Y--;){var oA=w[Y],pA=c[oA];w[Y]=[oA,pA,_B(pA)]}return w}function bo(c,w){var Y=Dg(c,w);return JC(Y)?Y:t}function uN(c){var w=lt.call(c,Eo),Y=c[Eo];try{c[Eo]=t;var oA=!0}catch{}var pA=Ws.call(c);return oA&&(w?c[Eo]=Y:delete c[Eo]),pA}var Ad=vg?function(c){return c==null?[]:(c=Oe(c),Dn(vg(c),function(w){return xC.call(c,w)}))}:md,DB=vg?function(c){for(var w=[];c;)Zn(w,Ad(c)),c=Xs(c);return w}:md,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=Ae||oa&&zt(new oa)!=gA||_g&&zt(_g.resolve())!=cA||ir&&zt(new ir)!=W||ra&&zt(new ra)!=SA)&&(zt=function(c){var w=rn(c),Y=w==lA?c.constructor:t,oA=Y?yo(Y):"";if(oA)switch(oA){case Wx:return Ae;case jx:return gA;case qx:return cA;case Xx:return W;case Vx:return SA}return w});function hN(c,w,Y){for(var oA=-1,pA=Y.length;++oA<pA;){var fA=Y[oA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":w-=_A;break;case"take":w=$t(w,c+_A);break;case"takeRight":c=Lt(c,w-_A);break}}return{start:c,end:w}}function pN(c){var w=c.match(bA);return w?w[1].split(PA):[]}function vB(c,w,Y){w=Ji(w,c);for(var oA=-1,pA=w.length,fA=!1;++oA<pA;){var _A=di(w[oA]);if(!(fA=c!=null&&Y(c,_A)))break;c=c[_A]}return fA||++oA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&_i(_A,pA)&&(Te(c)||Do(c)))}function CN(c){var w=c.length,Y=new c.constructor(w);return w&&typeof c[0]=="string"&<.call(c,"index")&&(Y.index=c.index,Y.input=c.input),Y}function kB(c){return typeof c.constructor=="function"&&!pa(c)?rr(Xs(c)):{}}function BN(c,w,Y){var oA=c.constructor;switch(w){case jA:return Jg(c);case P:case q:return new oA(+c);case Ae:return AN(c,Y);case vA:case $A:case XA:case xA:case MA:case qA:case Ce:case ye:case Se:return cB(c,Y);case gA:return new oA;case wA:case tA:return new oA(c);case U:return eN(c);case W:return new oA;case aA:return tN(c)}}function mN(c,w){var Y=w.length;if(!Y)return c;var oA=Y-1;return w[oA]=(Y>1?"& ":"")+w[oA],w=w.join(Y>2?", ":" "),c.replace(FA,`{
|
|
8
|
+
*/ma.exports,function(n,e){(function(){var t,i="4.17.21",d=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",I=500,x="__lodash_placeholder__",N=1,T=2,O=4,H=1,L=2,v=1,m=2,F=4,k=8,_=16,B=32,p=64,u=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,E=2,Q=3,M=1/0,S=9007199254740991,K=17976931348623157e292,z=NaN,AA=4294967295,eA=AA-1,V=AA>>>1,$=[["ary",u],["bind",v],["bindKey",m],["curry",k],["curryRight",_],["flip",g],["partial",B],["partialRight",p],["rearg",l]],J="[object Arguments]",y="[object Array]",j="[object AsyncFunction]",P="[object Boolean]",q="[object Date]",rA="[object DOMException]",iA="[object Error]",dA="[object Function]",mA="[object GeneratorFunction]",gA="[object Map]",wA="[object Number]",X="[object Null]",lA="[object Object]",cA="[object Promise]",hA="[object Proxy]",U="[object RegExp]",W="[object Set]",tA="[object String]",aA="[object Symbol]",CA="[object Undefined]",SA="[object WeakMap]",zA="[object WeakSet]",jA="[object ArrayBuffer]",Ae="[object DataView]",vA="[object Float32Array]",$A="[object Float64Array]",XA="[object Int8Array]",xA="[object Int16Array]",MA="[object Int32Array]",qA="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ye="[object Uint16Array]",Se="[object Uint32Array]",NA=/\b__p \+= '';/g,UA=/\b(__p \+=) '' \+/g,JA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,de=/&(?:amp|lt|gt|quot|#39);/g,ae=/[&<>"']/g,Ee=RegExp(de.source),ke=RegExp(ae.source),IA=/<%-([\s\S]+?)%>/g,LA=/<%([\s\S]+?)%>/g,TA=/<%=([\s\S]+?)%>/g,re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,xe=RegExp(ue.source),tt=/^\s+/,ct=/\s/,FA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,PA=/,? & /,WA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ZA=/[()=,{}\[\]\/\s]/,Ie=/\\(\\)?/g,ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Me=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,dt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Ln="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",dn=Ln+Xt+Vt,bn="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Qi=An+Jn+en+mi,oi="['’]",Hi="["+nt+"]",go="["+Qi+"]",ri="["+dn+"]",yn="\\d+",Ki="["+bn+"]",Zo="["+Ft+"]",uo="[^"+nt+Qi+yn+bn+Ft+Ei+"]",Gn="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ri+"|"+Gn+")",bs="[^"+nt+"]",Wo="(?:\\ud83c[\\udde6-\\uddff]){2}",jo="[\\ud800-\\udbff][\\udc00-\\udfff]",ai="["+Ei+"]",ys="\\u200d",Ds="(?:"+Zo+"|"+uo+")",vs="(?:"+ai+"|"+uo+")",ks="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",$r=ho+"?",zr="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Wo,jo].join("|")+")"+zr+$r+")*",Jr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zr=zr+$r+sg,cg="(?:"+[Ki,Wo,jo].join("|")+")"+Zr,qo="(?:"+[bs+ri+"?",ri,Wo,jo,Hi].join("|")+")",gg=RegExp(oi,"g"),Ms=RegExp(ri,"g"),Xo=RegExp(Gn+"(?="+Gn+")|"+qo+Zr,"g"),dg=RegExp([ai+"?"+Zo+"+"+ks+"(?="+[go,ai,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ai+Ds,"$"].join("|")+")",ai+"?"+Ds+"+"+ks,ai+"+"+_s,lg,Jr,yn,cg].join("|"),"g"),Ss=RegExp("["+ys+nt+dn+co+"]"),xs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ug=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,at={};at[vA]=at[$A]=at[XA]=at[xA]=at[MA]=at[qA]=at[Ce]=at[ye]=at[Se]=!0,at[J]=at[y]=at[jA]=at[P]=at[Ae]=at[q]=at[iA]=at[dA]=at[gA]=at[wA]=at[lA]=at[U]=at[W]=at[tA]=at[SA]=!1;var gt={};gt[J]=gt[y]=gt[jA]=gt[Ae]=gt[P]=gt[q]=gt[vA]=gt[$A]=gt[XA]=gt[xA]=gt[MA]=gt[gA]=gt[wA]=gt[lA]=gt[U]=gt[W]=gt[tA]=gt[aA]=gt[qA]=gt[Ce]=gt[ye]=gt[Se]=!0,gt[iA]=gt[dA]=gt[SA]=!1;var Wr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Vo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Rt=Vo||pg||Function("return this")(),Pn=e&&!e.nodeType&&e,fi=Pn&&!0&&n&&!n.nodeType&&n,Ls=fi&&fi.exports===Pn,qr=Ls&&Vo.process,tn=function(){try{var kA=fi&&fi.require&&fi.require("util").types;return kA||qr&&qr.binding&&qr.binding("util")}catch{}}(),Xr=tn&&tn.isArrayBuffer,Pt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,OA,KA){switch(KA.length){case 0:return kA.call(OA);case 1:return kA.call(OA,KA[0]);case 2:return kA.call(OA,KA[0],KA[1]);case 3:return kA.call(OA,KA[0],KA[1],KA[2])}return kA.apply(OA,KA)}function Cg(kA,OA,KA,ee){for(var Be=-1,He=kA==null?0:kA.length;++Be<He;){var Ke=kA[Be];OA(ee,Ke,KA(Ke),kA)}return ee}function un(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee&&OA(kA[KA],KA,kA)!==!1;);return kA}function Bg(kA,OA){for(var KA=kA==null?0:kA.length;KA--&&OA(kA[KA],KA,kA)!==!1;);return kA}function Vr(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(!OA(kA[KA],KA,kA))return!1;return!0}function Dn(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];OA(Ke,KA,kA)&&(He[Be++]=Ke)}return He}function Hn(kA,OA){var KA=kA==null?0:kA.length;return!!KA&&Ui(kA,OA,0)>-1}function Ti(kA,OA,KA){for(var ee=-1,Be=kA==null?0:kA.length;++ee<Be;)if(KA(OA,kA[ee]))return!0;return!1}function pt(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length,Be=Array(ee);++KA<ee;)Be[KA]=OA(kA[KA],KA,kA);return Be}function Zn(kA,OA){for(var KA=-1,ee=OA.length,Be=kA.length;++KA<ee;)kA[Be+KA]=OA[KA];return kA}function Ar(kA,OA,KA,ee){var Be=-1,He=kA==null?0:kA.length;for(ee&&He&&(KA=kA[++Be]);++Be<He;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ts(kA,OA,KA,ee){var Be=kA==null?0:kA.length;for(ee&&Be&&(KA=kA[--Be]);Be--;)KA=OA(KA,kA[Be],Be,kA);return KA}function Ii(kA,OA){for(var KA=-1,ee=kA==null?0:kA.length;++KA<ee;)if(OA(kA[KA],KA,kA))return!0;return!1}var mg=ea("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(WA)||[]}function Us(kA,OA,KA){var ee;return KA(kA,function(Be,He,Ke){if(OA(Be,He,Ke))return ee=He,!1}),ee}function er(kA,OA,KA,ee){for(var Be=kA.length,He=KA+(ee?1:-1);ee?He--:++He<Be;)if(OA(kA[He],He,kA))return He;return-1}function Ui(kA,OA,KA){return OA===OA?QA(kA,OA,KA):er(kA,Ys,KA)}function Aa(kA,OA,KA,ee){for(var Be=KA-1,He=kA.length;++Be<He;)if(ee(kA[Be],OA))return Be;return-1}function Ys(kA){return kA!==kA}function Co(kA,OA){var KA=kA==null?0:kA.length;return KA?tr(kA,OA)/KA:z}function ea(kA){return function(OA){return OA==null?t:OA[kA]}}function Bo(kA){return function(OA){return kA==null?t:kA[OA]}}function Os(kA,OA,KA,ee,Be){return Be(kA,function(He,Ke,Oe){KA=ee?(ee=!1,He):OA(KA,He,Ke,Oe)}),KA}function fg(kA,OA){var KA=kA.length;for(kA.sort(OA);KA--;)kA[KA]=kA[KA].value;return kA}function tr(kA,OA){for(var KA,ee=-1,Be=kA.length;++ee<Be;){var He=OA(kA[ee]);He!==t&&(KA=KA===t?He:KA+He)}return KA}function wi(kA,OA){for(var KA=-1,ee=Array(kA);++KA<kA;)ee[KA]=OA(KA);return ee}function si(kA,OA){return pt(OA,function(KA){return[KA,kA[KA]]})}function ta(kA){return kA&&kA.slice(0,HA(kA)+1).replace(tt,"")}function Tt(kA){return function(OA){return kA(OA)}}function na(kA,OA){return pt(OA,function(KA){return kA[KA]})}function mo(kA,OA){return kA.has(OA)}function $s(kA,OA){for(var KA=-1,ee=kA.length;++KA<ee&&Ui(OA,kA[KA],0)>-1;);return KA}function zs(kA,OA){for(var KA=kA.length;KA--&&Ui(OA,kA[KA],0)>-1;);return KA}function Ig(kA,OA){for(var KA=kA.length,ee=0;KA--;)kA[KA]===OA&&++ee;return ee}var wg=Bo(Wr),bg=Bo(Ns);function yg(kA){return"\\"+jr[kA]}function Dg(kA,OA){return kA==null?t:kA[OA]}function Yi(kA){return Ss.test(kA)}function G(kA){return xs.test(kA)}function R(kA){for(var OA,KA=[];!(OA=kA.next()).done;)KA.push(OA.value);return KA}function Z(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee,Be){KA[++OA]=[Be,ee]}),KA}function nA(kA,OA){return function(KA){return kA(OA(KA))}}function sA(kA,OA){for(var KA=-1,ee=kA.length,Be=0,He=[];++KA<ee;){var Ke=kA[KA];(Ke===OA||Ke===x)&&(kA[KA]=x,He[Be++]=KA)}return He}function uA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=ee}),KA}function BA(kA){var OA=-1,KA=Array(kA.size);return kA.forEach(function(ee){KA[++OA]=[ee,ee]}),KA}function QA(kA,OA,KA){for(var ee=KA-1,Be=kA.length;++ee<Be;)if(kA[ee]===OA)return ee;return-1}function yA(kA,OA,KA){for(var ee=KA+1;ee--;)if(kA[ee]===OA)return ee;return ee}function RA(kA){return Yi(kA)?ge(kA):mg(kA)}function DA(kA){return Yi(kA)?le(kA):Eg(kA)}function HA(kA){for(var OA=kA.length;OA--&&ct.test(kA.charAt(OA)););return OA}var VA=Bo(hg);function ge(kA){for(var OA=Xo.lastIndex=0;Xo.test(kA);)++OA;return OA}function le(kA){return kA.match(Xo)||[]}function he(kA){return kA.match(dg)||[]}var De=function kA(OA){OA=OA==null?Rt:Qe.defaults(Rt.Object(),OA,Qe.pick(Rt,ug));var KA=OA.Array,ee=OA.Date,Be=OA.Error,He=OA.Function,Ke=OA.Math,Oe=OA.Object,on=OA.RegExp,Wn=OA.String,Ut=OA.TypeError,li=KA.prototype,Fx=He.prototype,nr=Oe.prototype,Js=OA["__core-js_shared__"],Zs=Fx.toString,lt=nr.hasOwnProperty,Rx=0,_C=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=nr.toString,Lx=Zs.call(Oe),Gx=Rt._,Px=on("^"+Zs.call(lt).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?OA.Buffer:t,Oi=OA.Symbol,qs=OA.Uint8Array,MC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),SC=Oe.create,xC=nr.propertyIsEnumerable,Vs=li.splice,NC=Oi?Oi.isConcatSpreadable:t,ia=Oi?Oi.iterator:t,Eo=Oi?Oi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),Hx=OA.clearTimeout!==Rt.clearTimeout&&OA.clearTimeout,Kx=ee&&ee.now!==Rt.Date.now&&ee.now,Tx=OA.setTimeout!==Rt.setTimeout&&OA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,Ux=js?js.isBuffer:t,FC=OA.isFinite,Yx=li.join,Ox=nA(Oe.keys,Oe),Lt=Ke.max,$t=Ke.min,$x=ee.now,zx=OA.parseInt,RC=Ke.random,Jx=li.reverse,kg=bo(OA,"DataView"),oa=bo(OA,"Map"),_g=bo(OA,"Promise"),ir=bo(OA,"Set"),ra=bo(OA,"WeakMap"),aa=bo(Oe,"create"),nl=ra&&new ra,or={},Zx=yo(kg),Wx=yo(oa),jx=yo(_g),qx=yo(ir),Xx=yo(ra),il=Oi?Oi.prototype:t,sa=il?il.valueOf:t,LC=il?il.toString:t;function EA(c){if(yt(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Kn)return c;if(lt.call(c,"__wrapped__"))return GB(c)}return new Kn(c)}var rr=function(){function c(){}return function(w){if(!It(w))return{};if(SC)return SC(w);c.prototype=w;var Y=new c;return c.prototype=t,Y}}();function ol(){}function Kn(c,w){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!w,this.__index__=0,this.__values__=t}EA.templateSettings={escape:IA,evaluate:LA,interpolate:TA,variable:"",imports:{_:EA}},EA.prototype=ol.prototype,EA.prototype.constructor=EA,Kn.prototype=rr(ol.prototype),Kn.prototype.constructor=Kn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=AA,this.__views__=[]}function Vx(){var c=new Xe(this.__wrapped__);return c.__actions__=hn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=hn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=hn(this.__views__),c}function A4(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function e4(){var c=this.__wrapped__.value(),w=this.__dir__,Y=Te(c),oA=w<0,pA=Y?c.length:0,fA=uN(0,pA,this.__views__),_A=fA.start,GA=fA.end,YA=GA-_A,te=oA?GA:_A-1,ne=this.__iteratees__,ce=ne.length,we=0,_e=$t(YA,this.__takeCount__);if(!Y||!oA&&pA==YA&&_e==YA)return rB(c,this.__actions__);var Fe=[];A:for(;YA--&&we<_e;){te+=w;for(var Je=-1,Re=c[te];++Je<ce;){var We=ne[Je],Ve=We.iteratee,_n=We.type,sn=Ve(Re);if(_n==E)Re=sn;else if(!sn){if(_n==r)continue A;break A}}Fe[we++]=Re}return Fe}Xe.prototype=rr(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function t4(){this.__data__=aa?aa(null):{},this.size=0}function n4(c){var w=this.has(c)&&delete this.__data__[c];return this.size-=w?1:0,w}function i4(c){var w=this.__data__;if(aa){var Y=w[c];return Y===D?t:Y}return lt.call(w,c)?w[c]:t}function o4(c){var w=this.__data__;return aa?w[c]!==t:lt.call(w,c)}function r4(c,w){var Y=this.__data__;return this.size+=this.has(c)?0:1,Y[c]=aa&&w===t?D:w,this}Qo.prototype.clear=t4,Qo.prototype.delete=n4,Qo.prototype.get=i4,Qo.prototype.has=o4,Qo.prototype.set=r4;function bi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function a4(){this.__data__=[],this.size=0}function s4(c){var w=this.__data__,Y=rl(w,c);if(Y<0)return!1;var oA=w.length-1;return Y==oA?w.pop():Vs.call(w,Y,1),--this.size,!0}function l4(c){var w=this.__data__,Y=rl(w,c);return Y<0?t:w[Y][1]}function c4(c){return rl(this.__data__,c)>-1}function g4(c,w){var Y=this.__data__,oA=rl(Y,c);return oA<0?(++this.size,Y.push([c,w])):Y[oA][1]=w,this}bi.prototype.clear=a4,bi.prototype.delete=s4,bi.prototype.get=l4,bi.prototype.has=c4,bi.prototype.set=g4;function yi(c){var w=-1,Y=c==null?0:c.length;for(this.clear();++w<Y;){var oA=c[w];this.set(oA[0],oA[1])}}function d4(){this.size=0,this.__data__={hash:new Qo,map:new(oa||bi),string:new Qo}}function u4(c){var w=ml(this,c).delete(c);return this.size-=w?1:0,w}function h4(c){return ml(this,c).get(c)}function p4(c){return ml(this,c).has(c)}function C4(c,w){var Y=ml(this,c),oA=Y.size;return Y.set(c,w),this.size+=Y.size==oA?0:1,this}yi.prototype.clear=d4,yi.prototype.delete=u4,yi.prototype.get=h4,yi.prototype.has=p4,yi.prototype.set=C4;function fo(c){var w=-1,Y=c==null?0:c.length;for(this.__data__=new yi;++w<Y;)this.add(c[w])}function B4(c){return this.__data__.set(c,D),this}function m4(c){return this.__data__.has(c)}fo.prototype.add=fo.prototype.push=B4,fo.prototype.has=m4;function jn(c){var w=this.__data__=new bi(c);this.size=w.size}function E4(){this.__data__=new bi,this.size=0}function Q4(c){var w=this.__data__,Y=w.delete(c);return this.size=w.size,Y}function f4(c){return this.__data__.get(c)}function I4(c){return this.__data__.has(c)}function w4(c,w){var Y=this.__data__;if(Y instanceof bi){var oA=Y.__data__;if(!oa||oA.length<d-1)return oA.push([c,w]),this.size=++Y.size,this;Y=this.__data__=new yi(oA)}return Y.set(c,w),this.size=Y.size,this}jn.prototype.clear=E4,jn.prototype.delete=Q4,jn.prototype.get=f4,jn.prototype.has=I4,jn.prototype.set=w4;function GC(c,w){var Y=Te(c),oA=!Y&&Do(c),pA=!Y&&!oA&&Wi(c),fA=!Y&&!oA&&!pA&&cr(c),_A=Y||oA||pA||fA,GA=_A?wi(c.length,Wn):[],YA=GA.length;for(var te in c)(w||lt.call(c,te))&&!(_A&&(te=="length"||pA&&(te=="offset"||te=="parent")||fA&&(te=="buffer"||te=="byteLength"||te=="byteOffset")||_i(te,YA)))&&GA.push(te);return GA}function PC(c){var w=c.length;return w?c[Kg(0,w-1)]:t}function b4(c,w){return El(hn(c),Io(w,0,c.length))}function y4(c){return El(hn(c))}function Mg(c,w,Y){(Y!==t&&!qn(c[w],Y)||Y===t&&!(w in c))&&Di(c,w,Y)}function la(c,w,Y){var oA=c[w];(!(lt.call(c,w)&&qn(oA,Y))||Y===t&&!(w in c))&&Di(c,w,Y)}function rl(c,w){for(var Y=c.length;Y--;)if(qn(c[Y][0],w))return Y;return-1}function D4(c,w,Y,oA){return $i(c,function(pA,fA,_A){w(oA,pA,Y(pA),_A)}),oA}function HC(c,w){return c&&gi(w,Ht(w),c)}function v4(c,w){return c&&gi(w,Cn(w),c)}function Di(c,w,Y){w=="__proto__"&&Al?Al(c,w,{configurable:!0,enumerable:!0,value:Y,writable:!0}):c[w]=Y}function Sg(c,w){for(var Y=-1,oA=w.length,pA=KA(oA),fA=c==null;++Y<oA;)pA[Y]=fA?t:gd(c,w[Y]);return pA}function Io(c,w,Y){return c===c&&(Y!==t&&(c=c<=Y?c:Y),w!==t&&(c=c>=w?c:w)),c}function Tn(c,w,Y,oA,pA,fA){var _A,GA=w&N,YA=w&T,te=w&O;if(Y&&(_A=pA?Y(c,oA,pA,fA):Y(c)),_A!==t)return _A;if(!It(c))return c;var ne=Te(c);if(ne){if(_A=pN(c),!GA)return hn(c,_A)}else{var ce=zt(c),we=ce==dA||ce==mA;if(Wi(c))return lB(c,GA);if(ce==lA||ce==J||we&&!pA){if(_A=YA||we?{}:kB(c),!GA)return YA?iN(c,v4(_A,c)):nN(c,HC(_A,c))}else{if(!gt[ce])return pA?c:{};_A=CN(c,ce,GA)}}fA||(fA=new jn);var _e=fA.get(c);if(_e)return _e;fA.set(c,_A),nm(c)?c.forEach(function(Re){_A.add(Tn(Re,w,Y,Re,c,fA))}):em(c)&&c.forEach(function(Re,We){_A.set(We,Tn(Re,w,Y,We,c,fA))});var Fe=te?YA?qg:jg:YA?Cn:Ht,Je=ne?t:Fe(c);return un(Je||c,function(Re,We){Je&&(We=Re,Re=c[We]),la(_A,We,Tn(Re,w,Y,We,c,fA))}),_A}function k4(c){var w=Ht(c);return function(Y){return KC(Y,c,w)}}function KC(c,w,Y){var oA=Y.length;if(c==null)return!oA;for(c=Oe(c);oA--;){var pA=Y[oA],fA=w[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function TC(c,w,Y){if(typeof c!="function")throw new Ut(o);return Ca(function(){c.apply(t,Y)},w)}function ca(c,w,Y,oA){var pA=-1,fA=Hn,_A=!0,GA=c.length,YA=[],te=w.length;if(!GA)return YA;Y&&(w=pt(w,Tt(Y))),oA?(fA=Ti,_A=!1):w.length>=d&&(fA=mo,_A=!1,w=new fo(w));A:for(;++pA<GA;){var ne=c[pA],ce=Y==null?ne:Y(ne);if(ne=oA||ne!==0?ne:0,_A&&ce===ce){for(var we=te;we--;)if(w[we]===ce)continue A;YA.push(ne)}else fA(w,ce,oA)||YA.push(ne)}return YA}var $i=hB(ci),UC=hB(Ng,!0);function _4(c,w){var Y=!0;return $i(c,function(oA,pA,fA){return Y=!!w(oA,pA,fA),Y}),Y}function al(c,w,Y){for(var oA=-1,pA=c.length;++oA<pA;){var fA=c[oA],_A=w(fA);if(_A!=null&&(GA===t?_A===_A&&!kn(_A):Y(_A,GA)))var GA=_A,YA=fA}return YA}function M4(c,w,Y,oA){var pA=c.length;for(Y=$e(Y),Y<0&&(Y=-Y>pA?0:pA+Y),oA=oA===t||oA>pA?pA:$e(oA),oA<0&&(oA+=pA),oA=Y>oA?0:om(oA);Y<oA;)c[Y++]=w;return c}function YC(c,w){var Y=[];return $i(c,function(oA,pA,fA){w(oA,pA,fA)&&Y.push(oA)}),Y}function Yt(c,w,Y,oA,pA){var fA=-1,_A=c.length;for(Y||(Y=mN),pA||(pA=[]);++fA<_A;){var GA=c[fA];w>0&&Y(GA)?w>1?Yt(GA,w-1,Y,oA,pA):Zn(pA,GA):oA||(pA[pA.length]=GA)}return pA}var xg=pB(),OC=pB(!0);function ci(c,w){return c&&xg(c,w,Ht)}function Ng(c,w){return c&&OC(c,w,Ht)}function sl(c,w){return Dn(w,function(Y){return Mi(c[Y])})}function wo(c,w){w=Ji(w,c);for(var Y=0,oA=w.length;c!=null&&Y<oA;)c=c[di(w[Y++])];return Y&&Y==oA?c:t}function $C(c,w,Y){var oA=w(c);return Te(c)?oA:Zn(oA,Y(c))}function rn(c){return c==null?c===t?CA:X:Eo&&Eo in Oe(c)?dN(c):yN(c)}function Fg(c,w){return c>w}function S4(c,w){return c!=null&<.call(c,w)}function x4(c,w){return c!=null&&w in Oe(c)}function N4(c,w,Y){return c>=$t(w,Y)&&c<Lt(w,Y)}function Rg(c,w,Y){for(var oA=Y?Ti:Hn,pA=c[0].length,fA=c.length,_A=fA,GA=KA(fA),YA=1/0,te=[];_A--;){var ne=c[_A];_A&&w&&(ne=pt(ne,Tt(w))),YA=$t(ne.length,YA),GA[_A]=!Y&&(w||pA>=120&&ne.length>=120)?new fo(_A&&ne):t}ne=c[0];var ce=-1,we=GA[0];A:for(;++ce<pA&&te.length<YA;){var _e=ne[ce],Fe=w?w(_e):_e;if(_e=Y||_e!==0?_e:0,!(we?mo(we,Fe):oA(te,Fe,Y))){for(_A=fA;--_A;){var Je=GA[_A];if(!(Je?mo(Je,Fe):oA(c[_A],Fe,Y)))continue A}we&&we.push(Fe),te.push(_e)}}return te}function F4(c,w,Y,oA){return ci(c,function(pA,fA,_A){w(oA,Y(pA),fA,_A)}),oA}function ga(c,w,Y){w=Ji(w,c),c=xB(c,w);var oA=c==null?c:c[di(Yn(w))];return oA==null?t:nn(oA,c,Y)}function zC(c){return yt(c)&&rn(c)==J}function R4(c){return yt(c)&&rn(c)==jA}function L4(c){return yt(c)&&rn(c)==q}function da(c,w,Y,oA,pA){return c===w?!0:c==null||w==null||!yt(c)&&!yt(w)?c!==c&&w!==w:G4(c,w,Y,oA,da,pA)}function G4(c,w,Y,oA,pA,fA){var _A=Te(c),GA=Te(w),YA=_A?y:zt(c),te=GA?y:zt(w);YA=YA==J?lA:YA,te=te==J?lA:te;var ne=YA==lA,ce=te==lA,we=YA==te;if(we&&Wi(c)){if(!Wi(w))return!1;_A=!0,ne=!1}if(we&&!ne)return fA||(fA=new jn),_A||cr(c)?yB(c,w,Y,oA,pA,fA):cN(c,w,YA,Y,oA,pA,fA);if(!(Y&H)){var _e=ne&<.call(c,"__wrapped__"),Fe=ce&<.call(w,"__wrapped__");if(_e||Fe){var Je=_e?c.value():c,Re=Fe?w.value():w;return fA||(fA=new jn),pA(Je,Re,Y,oA,fA)}}return we?(fA||(fA=new jn),gN(c,w,Y,oA,pA,fA)):!1}function P4(c){return yt(c)&&zt(c)==gA}function Lg(c,w,Y,oA){var pA=Y.length,fA=pA,_A=!oA;if(c==null)return!fA;for(c=Oe(c);pA--;){var GA=Y[pA];if(_A&&GA[2]?GA[1]!==c[GA[0]]:!(GA[0]in c))return!1}for(;++pA<fA;){GA=Y[pA];var YA=GA[0],te=c[YA],ne=GA[1];if(_A&&GA[2]){if(te===t&&!(YA in c))return!1}else{var ce=new jn;if(oA)var we=oA(te,ne,YA,c,w,ce);if(!(we===t?da(ne,te,H|L,oA,ce):we))return!1}}return!0}function JC(c){if(!It(c)||QN(c))return!1;var w=Mi(c)?Px:ze;return w.test(yo(c))}function H4(c){return yt(c)&&rn(c)==U}function K4(c){return yt(c)&&zt(c)==W}function T4(c){return yt(c)&&yl(c.length)&&!!at[rn(c)]}function ZC(c){return typeof c=="function"?c:c==null?Bn:typeof c=="object"?Te(c)?qC(c[0],c[1]):jC(c):Cm(c)}function Gg(c){if(!pa(c))return Ox(c);var w=[];for(var Y in Oe(c))lt.call(c,Y)&&Y!="constructor"&&w.push(Y);return w}function U4(c){if(!It(c))return bN(c);var w=pa(c),Y=[];for(var oA in c)oA=="constructor"&&(w||!lt.call(c,oA))||Y.push(oA);return Y}function Pg(c,w){return c<w}function WC(c,w){var Y=-1,oA=pn(c)?KA(c.length):[];return $i(c,function(pA,fA,_A){oA[++Y]=w(pA,fA,_A)}),oA}function jC(c){var w=Vg(c);return w.length==1&&w[0][2]?MB(w[0][0],w[0][1]):function(Y){return Y===c||Lg(Y,c,w)}}function qC(c,w){return ed(c)&&_B(w)?MB(di(c),w):function(Y){var oA=gd(Y,c);return oA===t&&oA===w?dd(Y,c):da(w,oA,H|L)}}function ll(c,w,Y,oA,pA){c!==w&&xg(w,function(fA,_A){if(pA||(pA=new jn),It(fA))Y4(c,w,_A,Y,ll,oA,pA);else{var GA=oA?oA(nd(c,_A),fA,_A+"",c,w,pA):t;GA===t&&(GA=fA),Mg(c,_A,GA)}},Cn)}function Y4(c,w,Y,oA,pA,fA,_A){var GA=nd(c,Y),YA=nd(w,Y),te=_A.get(YA);if(te){Mg(c,Y,te);return}var ne=fA?fA(GA,YA,Y+"",c,w,_A):t,ce=ne===t;if(ce){var we=Te(YA),_e=!we&&Wi(YA),Fe=!we&&!_e&&cr(YA);ne=YA,we||_e||Fe?Te(GA)?ne=GA:Dt(GA)?ne=hn(GA):_e?(ce=!1,ne=lB(YA,!0)):Fe?(ce=!1,ne=cB(YA,!0)):ne=[]:Ba(YA)||Do(YA)?(ne=GA,Do(GA)?ne=rm(GA):(!It(GA)||Mi(GA))&&(ne=kB(YA))):ce=!1}ce&&(_A.set(YA,ne),pA(ne,YA,oA,fA,_A),_A.delete(YA)),Mg(c,Y,ne)}function XC(c,w){var Y=c.length;if(Y)return w+=w<0?Y:0,_i(w,Y)?c[w]:t}function VC(c,w,Y){w.length?w=pt(w,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):w=[Bn];var oA=-1;w=pt(w,Tt(Ne()));var pA=WC(c,function(fA,_A,GA){var YA=pt(w,function(te){return te(fA)});return{criteria:YA,index:++oA,value:fA}});return fg(pA,function(fA,_A){return tN(fA,_A,Y)})}function O4(c,w){return AB(c,w,function(Y,oA){return dd(c,oA)})}function AB(c,w,Y){for(var oA=-1,pA=w.length,fA={};++oA<pA;){var _A=w[oA],GA=wo(c,_A);Y(GA,_A)&&ua(fA,Ji(_A,c),GA)}return fA}function $4(c){return function(w){return wo(w,c)}}function Hg(c,w,Y,oA){var pA=oA?Aa:Ui,fA=-1,_A=w.length,GA=c;for(c===w&&(w=hn(w)),Y&&(GA=pt(c,Tt(Y)));++fA<_A;)for(var YA=0,te=w[fA],ne=Y?Y(te):te;(YA=pA(GA,ne,YA,oA))>-1;)GA!==c&&Vs.call(GA,YA,1),Vs.call(c,YA,1);return c}function eB(c,w){for(var Y=c?w.length:0,oA=Y-1;Y--;){var pA=w[Y];if(Y==oA||pA!==fA){var fA=pA;_i(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,w){return c+tl(RC()*(w-c+1))}function z4(c,w,Y,oA){for(var pA=-1,fA=Lt(el((w-c)/(Y||1)),0),_A=KA(fA);fA--;)_A[oA?fA:++pA]=c,c+=Y;return _A}function Tg(c,w){var Y="";if(!c||w<1||w>S)return Y;do w%2&&(Y+=c),w=tl(w/2),w&&(c+=c);while(w);return Y}function Ze(c,w){return id(SB(c,w,Bn),c+"")}function J4(c){return PC(gr(c))}function Z4(c,w){var Y=gr(c);return El(Y,Io(w,0,Y.length))}function ua(c,w,Y,oA){if(!It(c))return c;w=Ji(w,c);for(var pA=-1,fA=w.length,_A=fA-1,GA=c;GA!=null&&++pA<fA;){var YA=di(w[pA]),te=Y;if(YA==="__proto__"||YA==="constructor"||YA==="prototype")return c;if(pA!=_A){var ne=GA[YA];te=oA?oA(ne,YA,GA):t,te===t&&(te=It(ne)?ne:_i(w[pA+1])?[]:{})}la(GA,YA,te),GA=GA[YA]}return c}var tB=nl?function(c,w){return nl.set(c,w),c}:Bn,W4=Al?function(c,w){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hd(w),writable:!0})}:Bn;function j4(c){return El(gr(c))}function Un(c,w,Y){var oA=-1,pA=c.length;w<0&&(w=-w>pA?0:pA+w),Y=Y>pA?pA:Y,Y<0&&(Y+=pA),pA=w>Y?0:Y-w>>>0,w>>>=0;for(var fA=KA(pA);++oA<pA;)fA[oA]=c[oA+w];return fA}function q4(c,w){var Y;return $i(c,function(oA,pA,fA){return Y=w(oA,pA,fA),!Y}),!!Y}function cl(c,w,Y){var oA=0,pA=c==null?oA:c.length;if(typeof w=="number"&&w===w&&pA<=V){for(;oA<pA;){var fA=oA+pA>>>1,_A=c[fA];_A!==null&&!kn(_A)&&(Y?_A<=w:_A<w)?oA=fA+1:pA=fA}return pA}return Ug(c,w,Bn,Y)}function Ug(c,w,Y,oA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;w=Y(w);for(var _A=w!==w,GA=w===null,YA=kn(w),te=w===t;pA<fA;){var ne=tl((pA+fA)/2),ce=Y(c[ne]),we=ce!==t,_e=ce===null,Fe=ce===ce,Je=kn(ce);if(_A)var Re=oA||Fe;else te?Re=Fe&&(oA||we):GA?Re=Fe&&we&&(oA||!_e):YA?Re=Fe&&we&&!_e&&(oA||!Je):_e||Je?Re=!1:Re=oA?ce<=w:ce<w;Re?pA=ne+1:fA=ne}return $t(fA,eA)}function nB(c,w){for(var Y=-1,oA=c.length,pA=0,fA=[];++Y<oA;){var _A=c[Y],GA=w?w(_A):_A;if(!Y||!qn(GA,YA)){var YA=GA;fA[pA++]=_A===0?0:_A}}return fA}function iB(c){return typeof c=="number"?c:kn(c)?z:+c}function vn(c){if(typeof c=="string")return c;if(Te(c))return pt(c,vn)+"";if(kn(c))return LC?LC.call(c):"";var w=c+"";return w=="0"&&1/c==-M?"-0":w}function zi(c,w,Y){var oA=-1,pA=Hn,fA=c.length,_A=!0,GA=[],YA=GA;if(Y)_A=!1,pA=Ti;else if(fA>=d){var te=w?null:sN(c);if(te)return uA(te);_A=!1,pA=mo,YA=new fo}else YA=w?[]:GA;A:for(;++oA<fA;){var ne=c[oA],ce=w?w(ne):ne;if(ne=Y||ne!==0?ne:0,_A&&ce===ce){for(var we=YA.length;we--;)if(YA[we]===ce)continue A;w&&YA.push(ce),GA.push(ne)}else pA(YA,ce,Y)||(YA!==GA&&YA.push(ce),GA.push(ne))}return GA}function Yg(c,w){return w=Ji(w,c),c=xB(c,w),c==null||delete c[di(Yn(w))]}function oB(c,w,Y,oA){return ua(c,w,Y(wo(c,w)),oA)}function gl(c,w,Y,oA){for(var pA=c.length,fA=oA?pA:-1;(oA?fA--:++fA<pA)&&w(c[fA],fA,c););return Y?Un(c,oA?0:fA,oA?fA+1:pA):Un(c,oA?fA+1:0,oA?pA:fA)}function rB(c,w){var Y=c;return Y instanceof Xe&&(Y=Y.value()),Ar(w,function(oA,pA){return pA.func.apply(pA.thisArg,Zn([oA],pA.args))},Y)}function Og(c,w,Y){var oA=c.length;if(oA<2)return oA?zi(c[0]):[];for(var pA=-1,fA=KA(oA);++pA<oA;)for(var _A=c[pA],GA=-1;++GA<oA;)GA!=pA&&(fA[pA]=ca(fA[pA]||_A,c[GA],w,Y));return zi(Yt(fA,1),w,Y)}function aB(c,w,Y){for(var oA=-1,pA=c.length,fA=w.length,_A={};++oA<pA;){var GA=oA<fA?w[oA]:t;Y(_A,c[oA],GA)}return _A}function $g(c){return Dt(c)?c:[]}function zg(c){return typeof c=="function"?c:Bn}function Ji(c,w){return Te(c)?c:ed(c,w)?[c]:LB(st(c))}var X4=Ze;function Zi(c,w,Y){var oA=c.length;return Y=Y===t?oA:Y,!w&&Y>=oA?c:Un(c,w,Y)}var sB=Hx||function(c){return Rt.clearTimeout(c)};function lB(c,w){if(w)return c.slice();var Y=c.length,oA=MC?MC(Y):new c.constructor(Y);return c.copy(oA),oA}function Jg(c){var w=new c.constructor(c.byteLength);return new qs(w).set(new qs(c)),w}function V4(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.byteLength)}function AN(c){var w=new c.constructor(c.source,Me.exec(c));return w.lastIndex=c.lastIndex,w}function eN(c){return sa?Oe(sa.call(c)):{}}function cB(c,w){var Y=w?Jg(c.buffer):c.buffer;return new c.constructor(Y,c.byteOffset,c.length)}function gB(c,w){if(c!==w){var Y=c!==t,oA=c===null,pA=c===c,fA=kn(c),_A=w!==t,GA=w===null,YA=w===w,te=kn(w);if(!GA&&!te&&!fA&&c>w||fA&&_A&&YA&&!GA&&!te||oA&&_A&&YA||!Y&&YA||!pA)return 1;if(!oA&&!fA&&!te&&c<w||te&&Y&&pA&&!oA&&!fA||GA&&Y&&pA||!_A&&pA||!YA)return-1}return 0}function tN(c,w,Y){for(var oA=-1,pA=c.criteria,fA=w.criteria,_A=pA.length,GA=Y.length;++oA<_A;){var YA=gB(pA[oA],fA[oA]);if(YA){if(oA>=GA)return YA;var te=Y[oA];return YA*(te=="desc"?-1:1)}}return c.index-w.index}function dB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=Y.length,GA=-1,YA=w.length,te=Lt(fA-_A,0),ne=KA(YA+te),ce=!oA;++GA<YA;)ne[GA]=w[GA];for(;++pA<_A;)(ce||pA<fA)&&(ne[Y[pA]]=c[pA]);for(;te--;)ne[GA++]=c[pA++];return ne}function uB(c,w,Y,oA){for(var pA=-1,fA=c.length,_A=-1,GA=Y.length,YA=-1,te=w.length,ne=Lt(fA-GA,0),ce=KA(ne+te),we=!oA;++pA<ne;)ce[pA]=c[pA];for(var _e=pA;++YA<te;)ce[_e+YA]=w[YA];for(;++_A<GA;)(we||pA<fA)&&(ce[_e+Y[_A]]=c[pA++]);return ce}function hn(c,w){var Y=-1,oA=c.length;for(w||(w=KA(oA));++Y<oA;)w[Y]=c[Y];return w}function gi(c,w,Y,oA){var pA=!Y;Y||(Y={});for(var fA=-1,_A=w.length;++fA<_A;){var GA=w[fA],YA=oA?oA(Y[GA],c[GA],GA,Y,c):t;YA===t&&(YA=c[GA]),pA?Di(Y,GA,YA):la(Y,GA,YA)}return Y}function nN(c,w){return gi(c,Ad(c),w)}function iN(c,w){return gi(c,DB(c),w)}function dl(c,w){return function(Y,oA){var pA=Te(Y)?Cg:D4,fA=w?w():{};return pA(Y,c,Ne(oA,2),fA)}}function ar(c){return Ze(function(w,Y){var oA=-1,pA=Y.length,fA=pA>1?Y[pA-1]:t,_A=pA>2?Y[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(Y[0],Y[1],_A)&&(fA=pA<3?t:fA,pA=1),w=Oe(w);++oA<pA;){var GA=Y[oA];GA&&c(w,GA,oA,fA)}return w})}function hB(c,w){return function(Y,oA){if(Y==null)return Y;if(!pn(Y))return c(Y,oA);for(var pA=Y.length,fA=w?pA:-1,_A=Oe(Y);(w?fA--:++fA<pA)&&oA(_A[fA],fA,_A)!==!1;);return Y}}function pB(c){return function(w,Y,oA){for(var pA=-1,fA=Oe(w),_A=oA(w),GA=_A.length;GA--;){var YA=_A[c?GA:++pA];if(Y(fA[YA],YA,fA)===!1)break}return w}}function oN(c,w,Y){var oA=w&v,pA=ha(c);function fA(){var _A=this&&this!==Rt&&this instanceof fA?pA:c;return _A.apply(oA?Y:this,arguments)}return fA}function CB(c){return function(w){w=st(w);var Y=Yi(w)?DA(w):t,oA=Y?Y[0]:w.charAt(0),pA=Y?Zi(Y,1).join(""):w.slice(1);return oA[c]()+pA}}function sr(c){return function(w){return Ar(hm(um(w).replace(gg,"")),c,"")}}function ha(c){return function(){var w=arguments;switch(w.length){case 0:return new c;case 1:return new c(w[0]);case 2:return new c(w[0],w[1]);case 3:return new c(w[0],w[1],w[2]);case 4:return new c(w[0],w[1],w[2],w[3]);case 5:return new c(w[0],w[1],w[2],w[3],w[4]);case 6:return new c(w[0],w[1],w[2],w[3],w[4],w[5]);case 7:return new c(w[0],w[1],w[2],w[3],w[4],w[5],w[6])}var Y=rr(c.prototype),oA=c.apply(Y,w);return It(oA)?oA:Y}}function rN(c,w,Y){var oA=ha(c);function pA(){for(var fA=arguments.length,_A=KA(fA),GA=fA,YA=lr(pA);GA--;)_A[GA]=arguments[GA];var te=fA<3&&_A[0]!==YA&&_A[fA-1]!==YA?[]:sA(_A,YA);if(fA-=te.length,fA<Y)return fB(c,w,ul,pA.placeholder,t,_A,te,t,t,Y-fA);var ne=this&&this!==Rt&&this instanceof pA?oA:c;return nn(ne,this,_A)}return pA}function BB(c){return function(w,Y,oA){var pA=Oe(w);if(!pn(w)){var fA=Ne(Y,3);w=Ht(w),Y=function(GA){return fA(pA[GA],GA,pA)}}var _A=c(w,Y,oA);return _A>-1?pA[fA?w[_A]:_A]:t}}function mB(c){return ki(function(w){var Y=w.length,oA=Y,pA=Kn.prototype.thru;for(c&&w.reverse();oA--;){var fA=w[oA];if(typeof fA!="function")throw new Ut(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Kn([],!0)}for(oA=_A?oA:Y;++oA<Y;){fA=w[oA];var GA=Bl(fA),YA=GA=="wrapper"?Xg(fA):t;YA&&td(YA[0])&&YA[1]==(u|k|B|l)&&!YA[4].length&&YA[9]==1?_A=_A[Bl(YA[0])].apply(_A,YA[3]):_A=fA.length==1&&td(fA)?_A[GA]():_A.thru(fA)}return function(){var te=arguments,ne=te[0];if(_A&&te.length==1&&Te(ne))return _A.plant(ne).value();for(var ce=0,we=Y?w[ce].apply(this,te):ne;++ce<Y;)we=w[ce].call(this,we);return we}})}function ul(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&u,ce=w&v,we=w&m,_e=w&(k|_),Fe=w&g,Je=we?t:ha(c);function Re(){for(var We=arguments.length,Ve=KA(We),_n=We;_n--;)Ve[_n]=arguments[_n];if(_e)var sn=lr(Re),Mn=Ig(Ve,sn);if(oA&&(Ve=dB(Ve,oA,pA,_e)),fA&&(Ve=uB(Ve,fA,_A,_e)),We-=Mn,_e&&We<te){var vt=sA(Ve,sn);return fB(c,w,ul,Re.placeholder,Y,Ve,vt,GA,YA,te-We)}var Xn=ce?Y:this,xi=we?Xn[c]:c;return We=Ve.length,GA?Ve=DN(Ve,GA):Fe&&We>1&&Ve.reverse(),ne&&YA<We&&(Ve.length=YA),this&&this!==Rt&&this instanceof Re&&(xi=Je||ha(xi)),xi.apply(Xn,Ve)}return Re}function EB(c,w){return function(Y,oA){return F4(Y,c,w(oA),{})}}function hl(c,w){return function(Y,oA){var pA;if(Y===t&&oA===t)return w;if(Y!==t&&(pA=Y),oA!==t){if(pA===t)return oA;typeof Y=="string"||typeof oA=="string"?(Y=vn(Y),oA=vn(oA)):(Y=iB(Y),oA=iB(oA)),pA=c(Y,oA)}return pA}}function Zg(c){return ki(function(w){return w=pt(w,Tt(Ne())),Ze(function(Y){var oA=this;return c(w,function(pA){return nn(pA,oA,Y)})})})}function pl(c,w){w=w===t?" ":vn(w);var Y=w.length;if(Y<2)return Y?Tg(w,c):w;var oA=Tg(w,el(c/RA(w)));return Yi(w)?Zi(DA(oA),0,c).join(""):oA.slice(0,c)}function aN(c,w,Y,oA){var pA=w&v,fA=ha(c);function _A(){for(var GA=-1,YA=arguments.length,te=-1,ne=oA.length,ce=KA(ne+YA),we=this&&this!==Rt&&this instanceof _A?fA:c;++te<ne;)ce[te]=oA[te];for(;YA--;)ce[te++]=arguments[++GA];return nn(we,pA?Y:this,ce)}return _A}function QB(c){return function(w,Y,oA){return oA&&typeof oA!="number"&&an(w,Y,oA)&&(Y=oA=t),w=Si(w),Y===t?(Y=w,w=0):Y=Si(Y),oA=oA===t?w<Y?1:-1:Si(oA),z4(w,Y,oA,c)}}function Cl(c){return function(w,Y){return typeof w=="string"&&typeof Y=="string"||(w=On(w),Y=On(Y)),c(w,Y)}}function fB(c,w,Y,oA,pA,fA,_A,GA,YA,te){var ne=w&k,ce=ne?_A:t,we=ne?t:_A,_e=ne?fA:t,Fe=ne?t:fA;w|=ne?B:p,w&=~(ne?p:B),w&F||(w&=~(v|m));var Je=[c,w,pA,_e,ce,Fe,we,GA,YA,te],Re=Y.apply(t,Je);return td(c)&&NB(Re,Je),Re.placeholder=oA,FB(Re,c,w)}function Wg(c){var w=Ke[c];return function(Y,oA){if(Y=On(Y),oA=oA==null?0:$t($e(oA),292),oA&&FC(Y)){var pA=(st(Y)+"e").split("e"),fA=w(pA[0]+"e"+(+pA[1]+oA));return pA=(st(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-oA))}return w(Y)}}var sN=ir&&1/uA(new ir([,-0]))[1]==M?function(c){return new ir(c)}:Bd;function IB(c){return function(w){var Y=zt(w);return Y==gA?Z(w):Y==W?BA(w):si(w,c(w))}}function vi(c,w,Y,oA,pA,fA,_A,GA){var YA=w&m;if(!YA&&typeof c!="function")throw new Ut(o);var te=oA?oA.length:0;if(te||(w&=~(B|p),oA=pA=t),_A=_A===t?_A:Lt($e(_A),0),GA=GA===t?GA:$e(GA),te-=pA?pA.length:0,w&p){var ne=oA,ce=pA;oA=pA=t}var we=YA?t:Xg(c),_e=[c,w,Y,oA,pA,ne,ce,fA,_A,GA];if(we&&wN(_e,we),c=_e[0],w=_e[1],Y=_e[2],oA=_e[3],pA=_e[4],GA=_e[9]=_e[9]===t?YA?0:c.length:Lt(_e[9]-te,0),!GA&&w&(k|_)&&(w&=~(k|_)),!w||w==v)var Fe=oN(c,w,Y);else w==k||w==_?Fe=rN(c,w,GA):(w==B||w==(v|B))&&!pA.length?Fe=aN(c,w,Y,oA):Fe=ul.apply(t,_e);var Je=we?tB:NB;return FB(Je(Fe,_e),c,w)}function wB(c,w,Y,oA){return c===t||qn(c,nr[Y])&&!lt.call(oA,Y)?w:c}function bB(c,w,Y,oA,pA,fA){return It(c)&&It(w)&&(fA.set(w,c),ll(c,w,t,bB,fA),fA.delete(w)),c}function lN(c){return Ba(c)?t:c}function yB(c,w,Y,oA,pA,fA){var _A=Y&H,GA=c.length,YA=w.length;if(GA!=YA&&!(_A&&YA>GA))return!1;var te=fA.get(c),ne=fA.get(w);if(te&&ne)return te==w&&ne==c;var ce=-1,we=!0,_e=Y&L?new fo:t;for(fA.set(c,w),fA.set(w,c);++ce<GA;){var Fe=c[ce],Je=w[ce];if(oA)var Re=_A?oA(Je,Fe,ce,w,c,fA):oA(Fe,Je,ce,c,w,fA);if(Re!==t){if(Re)continue;we=!1;break}if(_e){if(!Ii(w,function(We,Ve){if(!mo(_e,Ve)&&(Fe===We||pA(Fe,We,Y,oA,fA)))return _e.push(Ve)})){we=!1;break}}else if(!(Fe===Je||pA(Fe,Je,Y,oA,fA))){we=!1;break}}return fA.delete(c),fA.delete(w),we}function cN(c,w,Y,oA,pA,fA,_A){switch(Y){case Ae:if(c.byteLength!=w.byteLength||c.byteOffset!=w.byteOffset)return!1;c=c.buffer,w=w.buffer;case jA:return!(c.byteLength!=w.byteLength||!fA(new qs(c),new qs(w)));case P:case q:case wA:return qn(+c,+w);case iA:return c.name==w.name&&c.message==w.message;case U:case tA:return c==w+"";case gA:var GA=Z;case W:var YA=oA&H;if(GA||(GA=uA),c.size!=w.size&&!YA)return!1;var te=_A.get(c);if(te)return te==w;oA|=L,_A.set(c,w);var ne=yB(GA(c),GA(w),oA,pA,fA,_A);return _A.delete(c),ne;case aA:if(sa)return sa.call(c)==sa.call(w)}return!1}function gN(c,w,Y,oA,pA,fA){var _A=Y&H,GA=jg(c),YA=GA.length,te=jg(w),ne=te.length;if(YA!=ne&&!_A)return!1;for(var ce=YA;ce--;){var we=GA[ce];if(!(_A?we in w:lt.call(w,we)))return!1}var _e=fA.get(c),Fe=fA.get(w);if(_e&&Fe)return _e==w&&Fe==c;var Je=!0;fA.set(c,w),fA.set(w,c);for(var Re=_A;++ce<YA;){we=GA[ce];var We=c[we],Ve=w[we];if(oA)var _n=_A?oA(Ve,We,we,w,c,fA):oA(We,Ve,we,c,w,fA);if(!(_n===t?We===Ve||pA(We,Ve,Y,oA,fA):_n)){Je=!1;break}Re||(Re=we=="constructor")}if(Je&&!Re){var sn=c.constructor,Mn=w.constructor;sn!=Mn&&"constructor"in c&&"constructor"in w&&!(typeof sn=="function"&&sn instanceof sn&&typeof Mn=="function"&&Mn instanceof Mn)&&(Je=!1)}return fA.delete(c),fA.delete(w),Je}function ki(c){return id(SB(c,t,KB),c+"")}function jg(c){return $C(c,Ht,Ad)}function qg(c){return $C(c,Cn,DB)}var Xg=nl?function(c){return nl.get(c)}:Bd;function Bl(c){for(var w=c.name+"",Y=or[w],oA=lt.call(or,w)?Y.length:0;oA--;){var pA=Y[oA],fA=pA.func;if(fA==null||fA==c)return pA.name}return w}function lr(c){var w=lt.call(EA,"placeholder")?EA:c;return w.placeholder}function Ne(){var c=EA.iteratee||pd;return c=c===pd?ZC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,w){var Y=c.__data__;return EN(w)?Y[typeof w=="string"?"string":"hash"]:Y.map}function Vg(c){for(var w=Ht(c),Y=w.length;Y--;){var oA=w[Y],pA=c[oA];w[Y]=[oA,pA,_B(pA)]}return w}function bo(c,w){var Y=Dg(c,w);return JC(Y)?Y:t}function dN(c){var w=lt.call(c,Eo),Y=c[Eo];try{c[Eo]=t;var oA=!0}catch{}var pA=Ws.call(c);return oA&&(w?c[Eo]=Y:delete c[Eo]),pA}var Ad=vg?function(c){return c==null?[]:(c=Oe(c),Dn(vg(c),function(w){return xC.call(c,w)}))}:md,DB=vg?function(c){for(var w=[];c;)Zn(w,Ad(c)),c=Xs(c);return w}:md,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=Ae||oa&&zt(new oa)!=gA||_g&&zt(_g.resolve())!=cA||ir&&zt(new ir)!=W||ra&&zt(new ra)!=SA)&&(zt=function(c){var w=rn(c),Y=w==lA?c.constructor:t,oA=Y?yo(Y):"";if(oA)switch(oA){case Zx:return Ae;case Wx:return gA;case jx:return cA;case qx:return W;case Xx:return SA}return w});function uN(c,w,Y){for(var oA=-1,pA=Y.length;++oA<pA;){var fA=Y[oA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":w-=_A;break;case"take":w=$t(w,c+_A);break;case"takeRight":c=Lt(c,w-_A);break}}return{start:c,end:w}}function hN(c){var w=c.match(bA);return w?w[1].split(PA):[]}function vB(c,w,Y){w=Ji(w,c);for(var oA=-1,pA=w.length,fA=!1;++oA<pA;){var _A=di(w[oA]);if(!(fA=c!=null&&Y(c,_A)))break;c=c[_A]}return fA||++oA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&_i(_A,pA)&&(Te(c)||Do(c)))}function pN(c){var w=c.length,Y=new c.constructor(w);return w&&typeof c[0]=="string"&<.call(c,"index")&&(Y.index=c.index,Y.input=c.input),Y}function kB(c){return typeof c.constructor=="function"&&!pa(c)?rr(Xs(c)):{}}function CN(c,w,Y){var oA=c.constructor;switch(w){case jA:return Jg(c);case P:case q:return new oA(+c);case Ae:return V4(c,Y);case vA:case $A:case XA:case xA:case MA:case qA:case Ce:case ye:case Se:return cB(c,Y);case gA:return new oA;case wA:case tA:return new oA(c);case U:return AN(c);case W:return new oA;case aA:return eN(c)}}function BN(c,w){var Y=w.length;if(!Y)return c;var oA=Y-1;return w[oA]=(Y>1?"& ":"")+w[oA],w=w.join(Y>2?", ":" "),c.replace(FA,`{
|
|
9
9
|
/* [wrapped with `+w+`] */
|
|
10
|
-
`)}function EN(c){return Te(c)||Do(c)||!!(NC&&c&&c[NC])}function _i(c,w){var Y=typeof c;return w=w??S,!!w&&(Y=="number"||Y!="symbol"&&dt.test(c))&&c>-1&&c%1==0&&c<w}function an(c,w,Y){if(!It(Y))return!1;var oA=typeof w;return(oA=="number"?pn(Y)&&_i(w,Y.length):oA=="string"&&w in Y)?qn(Y[w],c):!1}function ed(c,w){if(Te(c))return!1;var Y=typeof c;return Y=="number"||Y=="symbol"||Y=="boolean"||c==null||kn(c)?!0:be.test(c)||!re.test(c)||w!=null&&c in Oe(w)}function QN(c){var w=typeof c;return w=="string"||w=="number"||w=="symbol"||w=="boolean"?c!=="__proto__":c===null}function td(c){var w=Bl(c),Y=EA[w];if(typeof Y!="function"||!(w in Xe.prototype))return!1;if(c===Y)return!0;var oA=Xg(Y);return!!oA&&c===oA[0]}function fN(c){return!!_C&&_C in c}var IN=Js?Mi:Ed;function pa(c){var w=c&&c.constructor,Y=typeof w=="function"&&w.prototype||nr;return c===Y}function _B(c){return c===c&&!It(c)}function MB(c,w){return function(Y){return Y==null?!1:Y[c]===w&&(w!==t||c in Oe(Y))}}function wN(c){var w=wl(c,function(oA){return Y.size===I&&Y.clear(),oA}),Y=w.cache;return w}function bN(c,w){var Y=c[1],oA=w[1],pA=Y|oA,fA=pA<(v|m|u),_A=oA==u&&Y==k||oA==u&&Y==l&&c[7].length<=w[8]||oA==(u|l)&&w[7].length<=w[8]&&Y==k;if(!(fA||_A))return c;oA&v&&(c[2]=w[2],pA|=Y&v?0:F);var GA=w[3];if(GA){var YA=c[3];c[3]=YA?dB(YA,GA,w[4]):GA,c[4]=YA?sA(c[3],x):w[4]}return GA=w[5],GA&&(YA=c[5],c[5]=YA?uB(YA,GA,w[6]):GA,c[6]=YA?sA(c[5],x):w[6]),GA=w[7],GA&&(c[7]=GA),oA&u&&(c[8]=c[8]==null?w[8]:$t(c[8],w[8])),c[9]==null&&(c[9]=w[9]),c[0]=w[0],c[1]=pA,c}function yN(c){var w=[];if(c!=null)for(var Y in Oe(c))w.push(Y);return w}function DN(c){return Ws.call(c)}function SB(c,w,Y){return w=Lt(w===t?c.length-1:w,0),function(){for(var oA=arguments,pA=-1,fA=Lt(oA.length-w,0),_A=KA(fA);++pA<fA;)_A[pA]=oA[w+pA];pA=-1;for(var GA=KA(w+1);++pA<w;)GA[pA]=oA[pA];return GA[w]=Y(_A),nn(c,this,GA)}}function xB(c,w){return w.length<2?c:wo(c,Un(w,0,-1))}function vN(c,w){for(var Y=c.length,oA=$t(w.length,Y),pA=hn(c);oA--;){var fA=w[oA];c[oA]=_i(fA,Y)?pA[fA]:t}return c}function nd(c,w){if(!(w==="constructor"&&typeof c[w]=="function")&&w!="__proto__")return c[w]}var NB=RB(tB),Ca=Ux||function(c,w){return Rt.setTimeout(c,w)},id=RB(j4);function FB(c,w,Y){var oA=w+"";return id(c,mN(oA,kN(pN(oA),Y)))}function RB(c){var w=0,Y=0;return function(){var oA=zx(),pA=a-(oA-Y);if(Y=oA,pA>0){if(++w>=C)return arguments[0]}else w=0;return c.apply(t,arguments)}}function El(c,w){var Y=-1,oA=c.length,pA=oA-1;for(w=w===t?oA:w;++Y<w;){var fA=Kg(Y,pA),_A=c[fA];c[fA]=c[Y],c[Y]=_A}return c.length=w,c}var LB=wN(function(c){var w=[];return c.charCodeAt(0)===46&&w.push(""),c.replace(se,function(Y,oA,pA,fA){w.push(pA?fA.replace(Ie,"$1"):oA||Y)}),w});function di(c){if(typeof c=="string"||kn(c))return c;var w=c+"";return w=="0"&&1/c==-M?"-0":w}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function kN(c,w){return un($,function(Y){var oA="_."+Y[0];w&Y[1]&&!Hn(c,oA)&&c.push(oA)}),c.sort()}function GB(c){if(c instanceof Xe)return c.clone();var w=new Kn(c.__wrapped__,c.__chain__);return w.__actions__=hn(c.__actions__),w.__index__=c.__index__,w.__values__=c.__values__,w}function _N(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=Lt($e(w),0);var oA=c==null?0:c.length;if(!oA||w<1)return[];for(var pA=0,fA=0,_A=KA(el(oA/w));pA<oA;)_A[fA++]=Un(c,pA,pA+=w);return _A}function MN(c){for(var w=-1,Y=c==null?0:c.length,oA=0,pA=[];++w<Y;){var fA=c[w];fA&&(pA[oA++]=fA)}return pA}function SN(){var c=arguments.length;if(!c)return[];for(var w=KA(c-1),Y=arguments[0],oA=c;oA--;)w[oA-1]=arguments[oA];return Zn(Te(Y)?hn(Y):[Y],Yt(w,1))}var xN=Ze(function(c,w){return Dt(c)?ca(c,Yt(w,1,Dt,!0)):[]}),NN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),Ne(Y,2)):[]}),FN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),t,Y):[]});function RN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),Un(c,w<0?0:w,oA)):[]}function LN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,0,w<0?0:w)):[]}function GN(c,w){return c&&c.length?gl(c,Ne(w,3),!0,!0):[]}function PN(c,w){return c&&c.length?gl(c,Ne(w,3),!0):[]}function HN(c,w,Y,oA){var pA=c==null?0:c.length;return pA?(Y&&typeof Y!="number"&&an(c,w,Y)&&(Y=0,oA=pA),S4(c,w,Y,oA)):[]}function PB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),er(c,Ne(w,3),pA)}function HB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA-1;return Y!==t&&(pA=$e(Y),pA=Y<0?Lt(oA+pA,0):$t(pA,oA-1)),er(c,Ne(w,3),pA,!0)}function KB(c){var w=c==null?0:c.length;return w?Yt(c,1):[]}function KN(c){var w=c==null?0:c.length;return w?Yt(c,M):[]}function TN(c,w){var Y=c==null?0:c.length;return Y?(w=w===t?1:$e(w),Yt(c,w)):[]}function UN(c){for(var w=-1,Y=c==null?0:c.length,oA={};++w<Y;){var pA=c[w];oA[pA[0]]=pA[1]}return oA}function TB(c){return c&&c.length?c[0]:t}function YN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),Ui(c,w,pA)}function ON(c){var w=c==null?0:c.length;return w?Un(c,0,-1):[]}var $N=Ze(function(c){var w=pt(c,$g);return w.length&&w[0]===c[0]?Rg(w):[]}),zN=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w===Yn(Y)?w=t:Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,Ne(w,2)):[]}),JN=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w=typeof w=="function"?w:t,w&&Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,t,w):[]});function ZN(c,w){return c==null?"":Ox.call(c,w)}function Yn(c){var w=c==null?0:c.length;return w?c[w-1]:t}function WN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA;return Y!==t&&(pA=$e(Y),pA=pA<0?Lt(oA+pA,0):$t(pA,oA-1)),w===w?yA(c,w,pA):er(c,Ys,pA,!0)}function jN(c,w){return c&&c.length?XC(c,$e(w)):t}var qN=Ze(UB);function UB(c,w){return c&&c.length&&w&&w.length?Hg(c,w):c}function XN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,Ne(Y,2)):c}function VN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,t,Y):c}var AF=ki(function(c,w){var Y=c==null?0:c.length,oA=Sg(c,w);return eB(c,pt(w,function(pA){return _i(pA,Y)?+pA:pA}).sort(gB)),oA});function eF(c,w){var Y=[];if(!(c&&c.length))return Y;var oA=-1,pA=[],fA=c.length;for(w=Ne(w,3);++oA<fA;){var _A=c[oA];w(_A,oA,c)&&(Y.push(_A),pA.push(oA))}return eB(c,pA),Y}function od(c){return c==null?c:Zx.call(c)}function tF(c,w,Y){var oA=c==null?0:c.length;return oA?(Y&&typeof Y!="number"&&an(c,w,Y)?(w=0,Y=oA):(w=w==null?0:$e(w),Y=Y===t?oA:$e(Y)),Un(c,w,Y)):[]}function nF(c,w){return cl(c,w)}function iF(c,w,Y){return Ug(c,w,Ne(Y,2))}function oF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w);if(oA<Y&&qn(c[oA],w))return oA}return-1}function rF(c,w){return cl(c,w,!0)}function aF(c,w,Y){return Ug(c,w,Ne(Y,2),!0)}function sF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w,!0)-1;if(qn(c[oA],w))return oA}return-1}function lF(c){return c&&c.length?nB(c):[]}function cF(c,w){return c&&c.length?nB(c,Ne(w,2)):[]}function gF(c){var w=c==null?0:c.length;return w?Un(c,1,w):[]}function dF(c,w,Y){return c&&c.length?(w=Y||w===t?1:$e(w),Un(c,0,w<0?0:w)):[]}function uF(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,w<0?0:w,oA)):[]}function hF(c,w){return c&&c.length?gl(c,Ne(w,3),!1,!0):[]}function pF(c,w){return c&&c.length?gl(c,Ne(w,3)):[]}var CF=Ze(function(c){return zi(Yt(c,1,Dt,!0))}),BF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),zi(Yt(c,1,Dt,!0),Ne(w,2))}),mF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,zi(Yt(c,1,Dt,!0),t,w)});function EF(c){return c&&c.length?zi(c):[]}function QF(c,w){return c&&c.length?zi(c,Ne(w,2)):[]}function fF(c,w){return w=typeof w=="function"?w:t,c&&c.length?zi(c,t,w):[]}function rd(c){if(!(c&&c.length))return[];var w=0;return c=Dn(c,function(Y){if(Dt(Y))return w=Lt(Y.length,w),!0}),wi(w,function(Y){return pt(c,ea(Y))})}function YB(c,w){if(!(c&&c.length))return[];var Y=rd(c);return w==null?Y:pt(Y,function(oA){return nn(w,t,oA)})}var IF=Ze(function(c,w){return Dt(c)?ca(c,w):[]}),wF=Ze(function(c){return Og(Dn(c,Dt))}),bF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),Og(Dn(c,Dt),Ne(w,2))}),yF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,Og(Dn(c,Dt),t,w)}),DF=Ze(rd);function vF(c,w){return aB(c||[],w||[],la)}function kF(c,w){return aB(c||[],w||[],ua)}var _F=Ze(function(c){var w=c.length,Y=w>1?c[w-1]:t;return Y=typeof Y=="function"?(c.pop(),Y):t,YB(c,Y)});function OB(c){var w=EA(c);return w.__chain__=!0,w}function MF(c,w){return w(c),c}function Ql(c,w){return w(c)}var SF=ki(function(c){var w=c.length,Y=w?c[0]:0,oA=this.__wrapped__,pA=function(fA){return Sg(fA,c)};return w>1||this.__actions__.length||!(oA instanceof Xe)||!_i(Y)?this.thru(pA):(oA=oA.slice(Y,+Y+(w?1:0)),oA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Kn(oA,this.__chain__).thru(function(fA){return w&&!fA.length&&fA.push(t),fA}))});function xF(){return OB(this)}function NF(){return new Kn(this.value(),this.__chain__)}function FF(){this.__values__===t&&(this.__values__=im(this.value()));var c=this.__index__>=this.__values__.length,w=c?t:this.__values__[this.__index__++];return{done:c,value:w}}function RF(){return this}function LF(c){for(var w,Y=this;Y instanceof ol;){var oA=GB(Y);oA.__index__=0,oA.__values__=t,w?pA.__wrapped__=oA:w=oA;var pA=oA;Y=Y.__wrapped__}return pA.__wrapped__=c,w}function GF(){var c=this.__wrapped__;if(c instanceof Xe){var w=c;return this.__actions__.length&&(w=new Xe(this)),w=w.reverse(),w.__actions__.push({func:Ql,args:[od],thisArg:t}),new Kn(w,this.__chain__)}return this.thru(od)}function PF(){return rB(this.__wrapped__,this.__actions__)}var HF=dl(function(c,w,Y){lt.call(c,Y)?++c[Y]:Di(c,Y,1)});function KF(c,w,Y){var oA=Te(c)?Vr:M4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}function TF(c,w){var Y=Te(c)?Dn:YC;return Y(c,Ne(w,3))}var UF=BB(PB),YF=BB(HB);function OF(c,w){return Yt(fl(c,w),1)}function $F(c,w){return Yt(fl(c,w),M)}function zF(c,w,Y){return Y=Y===t?1:$e(Y),Yt(fl(c,w),Y)}function $B(c,w){var Y=Te(c)?un:$i;return Y(c,Ne(w,3))}function zB(c,w){var Y=Te(c)?Bg:UC;return Y(c,Ne(w,3))}var JF=dl(function(c,w,Y){lt.call(c,Y)?c[Y].push(w):Di(c,Y,[w])});function ZF(c,w,Y,oA){c=pn(c)?c:gr(c),Y=Y&&!oA?$e(Y):0;var pA=c.length;return Y<0&&(Y=Lt(pA+Y,0)),Dl(c)?Y<=pA&&c.indexOf(w,Y)>-1:!!pA&&Ui(c,w,Y)>-1}var WF=Ze(function(c,w,Y){var oA=-1,pA=typeof w=="function",fA=pn(c)?KA(c.length):[];return $i(c,function(_A){fA[++oA]=pA?nn(w,_A,Y):ga(_A,w,Y)}),fA}),jF=dl(function(c,w,Y){Di(c,Y,w)});function fl(c,w){var Y=Te(c)?pt:WC;return Y(c,Ne(w,3))}function qF(c,w,Y,oA){return c==null?[]:(Te(w)||(w=w==null?[]:[w]),Y=oA?t:Y,Te(Y)||(Y=Y==null?[]:[Y]),VC(c,w,Y))}var XF=dl(function(c,w,Y){c[Y?0:1].push(w)},function(){return[[],[]]});function VF(c,w,Y){var oA=Te(c)?Ar:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,$i)}function AR(c,w,Y){var oA=Te(c)?Ts:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,UC)}function eR(c,w){var Y=Te(c)?Dn:YC;return Y(c,bl(Ne(w,3)))}function tR(c){var w=Te(c)?PC:Z4;return w(c)}function nR(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=$e(w);var oA=Te(c)?y4:W4;return oA(c,w)}function iR(c){var w=Te(c)?D4:q4;return w(c)}function oR(c){if(c==null)return 0;if(pn(c))return Dl(c)?RA(c):c.length;var w=zt(c);return w==gA||w==W?c.size:Gg(c).length}function rR(c,w,Y){var oA=Te(c)?Ii:X4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}var aR=Ze(function(c,w){if(c==null)return[];var Y=w.length;return Y>1&&an(c,w[0],w[1])?w=[]:Y>2&&an(w[0],w[1],w[2])&&(w=[w[0]]),VC(c,Yt(w,1),[])}),Il=Tx||function(){return Rt.Date.now()};function sR(c,w){if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){if(--c<1)return w.apply(this,arguments)}}function JB(c,w,Y){return w=Y?t:w,w=c&&w==null?c.length:w,vi(c,u,t,t,t,t,w)}function ZB(c,w){var Y;if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){return--c>0&&(Y=w.apply(this,arguments)),c<=1&&(w=t),Y}}var ad=Ze(function(c,w,Y){var oA=v;if(Y.length){var pA=sA(Y,lr(ad));oA|=B}return vi(c,oA,w,Y,pA)}),WB=Ze(function(c,w,Y){var oA=v|m;if(Y.length){var pA=sA(Y,lr(WB));oA|=B}return vi(w,oA,c,Y,pA)});function jB(c,w,Y){w=Y?t:w;var oA=vi(c,k,t,t,t,t,t,w);return oA.placeholder=jB.placeholder,oA}function qB(c,w,Y){w=Y?t:w;var oA=vi(c,_,t,t,t,t,t,w);return oA.placeholder=qB.placeholder,oA}function XB(c,w,Y){var oA,pA,fA,_A,GA,YA,te=0,ne=!1,ce=!1,we=!0;if(typeof c!="function")throw new Ut(o);w=On(w)||0,It(Y)&&(ne=!!Y.leading,ce="maxWait"in Y,fA=ce?Lt(On(Y.maxWait)||0,w):fA,we="trailing"in Y?!!Y.trailing:we);function _e(vt){var Xn=oA,xi=pA;return oA=pA=t,te=vt,_A=c.apply(xi,Xn),_A}function Fe(vt){return te=vt,GA=Ca(We,w),ne?_e(vt):_A}function Je(vt){var Xn=vt-YA,xi=vt-te,Bm=w-Xn;return ce?$t(Bm,fA-xi):Bm}function Re(vt){var Xn=vt-YA,xi=vt-te;return YA===t||Xn>=w||Xn<0||ce&&xi>=fA}function We(){var vt=Il();if(Re(vt))return Ve(vt);GA=Ca(We,Je(vt))}function Ve(vt){return GA=t,we&&oA?_e(vt):(oA=pA=t,_A)}function _n(){GA!==t&&sB(GA),te=0,oA=YA=pA=GA=t}function sn(){return GA===t?_A:Ve(Il())}function Mn(){var vt=Il(),Xn=Re(vt);if(oA=arguments,pA=this,YA=vt,Xn){if(GA===t)return Fe(YA);if(ce)return sB(GA),GA=Ca(We,w),_e(YA)}return GA===t&&(GA=Ca(We,w)),_A}return Mn.cancel=_n,Mn.flush=sn,Mn}var lR=Ze(function(c,w){return TC(c,1,w)}),cR=Ze(function(c,w,Y){return TC(c,On(w)||0,Y)});function gR(c){return vi(c,g)}function wl(c,w){if(typeof c!="function"||w!=null&&typeof w!="function")throw new Ut(o);var Y=function(){var oA=arguments,pA=w?w.apply(this,oA):oA[0],fA=Y.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,oA);return Y.cache=fA.set(pA,_A)||fA,_A};return Y.cache=new(wl.Cache||yi),Y}wl.Cache=yi;function bl(c){if(typeof c!="function")throw new Ut(o);return function(){var w=arguments;switch(w.length){case 0:return!c.call(this);case 1:return!c.call(this,w[0]);case 2:return!c.call(this,w[0],w[1]);case 3:return!c.call(this,w[0],w[1],w[2])}return!c.apply(this,w)}}function dR(c){return ZB(2,c)}var uR=V4(function(c,w){w=w.length==1&&Te(w[0])?pt(w[0],Tt(Ne())):pt(Yt(w,1),Tt(Ne()));var Y=w.length;return Ze(function(oA){for(var pA=-1,fA=$t(oA.length,Y);++pA<fA;)oA[pA]=w[pA].call(this,oA[pA]);return nn(c,this,oA)})}),sd=Ze(function(c,w){var Y=sA(w,lr(sd));return vi(c,B,t,w,Y)}),VB=Ze(function(c,w){var Y=sA(w,lr(VB));return vi(c,p,t,w,Y)}),hR=ki(function(c,w){return vi(c,l,t,t,t,w)});function pR(c,w){if(typeof c!="function")throw new Ut(o);return w=w===t?w:$e(w),Ze(c,w)}function CR(c,w){if(typeof c!="function")throw new Ut(o);return w=w==null?0:Lt($e(w),0),Ze(function(Y){var oA=Y[w],pA=Zi(Y,0,w);return oA&&Zn(pA,oA),nn(c,this,pA)})}function BR(c,w,Y){var oA=!0,pA=!0;if(typeof c!="function")throw new Ut(o);return It(Y)&&(oA="leading"in Y?!!Y.leading:oA,pA="trailing"in Y?!!Y.trailing:pA),XB(c,w,{leading:oA,maxWait:w,trailing:pA})}function mR(c){return JB(c,1)}function ER(c,w){return sd(zg(w),c)}function QR(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function fR(c){return Tn(c,O)}function IR(c,w){return w=typeof w=="function"?w:t,Tn(c,O,w)}function wR(c){return Tn(c,N|O)}function bR(c,w){return w=typeof w=="function"?w:t,Tn(c,N|O,w)}function yR(c,w){return w==null||KC(c,w,Ht(w))}function qn(c,w){return c===w||c!==c&&w!==w}var DR=Cl(Fg),vR=Cl(function(c,w){return c>=w}),Do=zC(function(){return arguments}())?zC:function(c){return yt(c)&<.call(c,"callee")&&!xC.call(c,"callee")},Te=KA.isArray,kR=Xr?Tt(Xr):L4;function pn(c){return c!=null&&yl(c.length)&&!Mi(c)}function Dt(c){return yt(c)&&pn(c)}function _R(c){return c===!0||c===!1||yt(c)&&rn(c)==P}var Wi=Yx||Ed,MR=Pt?Tt(Pt):G4;function SR(c){return yt(c)&&c.nodeType===1&&!Ba(c)}function xR(c){if(c==null)return!0;if(pn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Wi(c)||cr(c)||Do(c)))return!c.length;var w=zt(c);if(w==gA||w==W)return!c.size;if(pa(c))return!Gg(c).length;for(var Y in c)if(lt.call(c,Y))return!1;return!0}function NR(c,w){return da(c,w)}function FR(c,w,Y){Y=typeof Y=="function"?Y:t;var oA=Y?Y(c,w):t;return oA===t?da(c,w,t,Y):!!oA}function ld(c){if(!yt(c))return!1;var w=rn(c);return w==iA||w==rA||typeof c.message=="string"&&typeof c.name=="string"&&!Ba(c)}function RR(c){return typeof c=="number"&&FC(c)}function Mi(c){if(!It(c))return!1;var w=rn(c);return w==dA||w==mA||w==j||w==hA}function Am(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=S}function It(c){var w=typeof c;return c!=null&&(w=="object"||w=="function")}function yt(c){return c!=null&&typeof c=="object"}var em=Gs?Tt(Gs):H4;function LR(c,w){return c===w||Lg(c,w,Vg(w))}function GR(c,w,Y){return Y=typeof Y=="function"?Y:t,Lg(c,w,Vg(w),Y)}function PR(c){return tm(c)&&c!=+c}function HR(c){if(IN(c))throw new Be(f);return JC(c)}function KR(c){return c===null}function TR(c){return c==null}function tm(c){return typeof c=="number"||yt(c)&&rn(c)==wA}function Ba(c){if(!yt(c)||rn(c)!=lA)return!1;var w=Xs(c);if(w===null)return!0;var Y=lt.call(w,"constructor")&&w.constructor;return typeof Y=="function"&&Y instanceof Y&&Zs.call(Y)==Gx}var cd=Ps?Tt(Ps):K4;function UR(c){return Am(c)&&c>=-S&&c<=S}var nm=Hs?Tt(Hs):T4;function Dl(c){return typeof c=="string"||!Te(c)&&yt(c)&&rn(c)==tA}function kn(c){return typeof c=="symbol"||yt(c)&&rn(c)==aA}var cr=Ks?Tt(Ks):U4;function YR(c){return c===t}function OR(c){return yt(c)&&zt(c)==SA}function $R(c){return yt(c)&&rn(c)==zA}var zR=Cl(Pg),JR=Cl(function(c,w){return c<=w});function im(c){if(!c)return[];if(pn(c))return Dl(c)?DA(c):hn(c);if(ia&&c[ia])return R(c[ia]());var w=zt(c),Y=w==gA?Z:w==W?uA:gr;return Y(c)}function Si(c){if(!c)return c===0?c:0;if(c=On(c),c===M||c===-M){var w=c<0?-1:1;return w*K}return c===c?c:0}function $e(c){var w=Si(c),Y=w%1;return w===w?Y?w-Y:w:0}function om(c){return c?Io($e(c),0,AA):0}function On(c){if(typeof c=="number")return c;if(kn(c))return z;if(It(c)){var w=typeof c.valueOf=="function"?c.valueOf():c;c=It(w)?w+"":w}if(typeof c!="string")return c===0?c:+c;c=ta(c);var Y=Ct.test(c);return Y||At.test(c)?Rs(c.slice(2),Y?2:8):qe.test(c)?z:+c}function rm(c){return gi(c,Cn(c))}function ZR(c){return c?Io($e(c),-S,S):c===0?c:0}function st(c){return c==null?"":vn(c)}var WR=ar(function(c,w){if(pa(w)||pn(w)){gi(w,Ht(w),c);return}for(var Y in w)lt.call(w,Y)&&la(c,Y,w[Y])}),am=ar(function(c,w){gi(w,Cn(w),c)}),vl=ar(function(c,w,Y,oA){gi(w,Cn(w),c,oA)}),jR=ar(function(c,w,Y,oA){gi(w,Ht(w),c,oA)}),qR=ki(Sg);function XR(c,w){var Y=rr(c);return w==null?Y:HC(Y,w)}var VR=Ze(function(c,w){c=Oe(c);var Y=-1,oA=w.length,pA=oA>2?w[2]:t;for(pA&&an(w[0],w[1],pA)&&(oA=1);++Y<oA;)for(var fA=w[Y],_A=Cn(fA),GA=-1,YA=_A.length;++GA<YA;){var te=_A[GA],ne=c[te];(ne===t||qn(ne,nr[te])&&!lt.call(c,te))&&(c[te]=fA[te])}return c}),AL=Ze(function(c){return c.push(t,bB),nn(sm,t,c)});function eL(c,w){return Us(c,Ne(w,3),ci)}function tL(c,w){return Us(c,Ne(w,3),Ng)}function nL(c,w){return c==null?c:xg(c,Ne(w,3),Cn)}function iL(c,w){return c==null?c:OC(c,Ne(w,3),Cn)}function oL(c,w){return c&&ci(c,Ne(w,3))}function rL(c,w){return c&&Ng(c,Ne(w,3))}function aL(c){return c==null?[]:sl(c,Ht(c))}function sL(c){return c==null?[]:sl(c,Cn(c))}function gd(c,w,Y){var oA=c==null?t:wo(c,w);return oA===t?Y:oA}function lL(c,w){return c!=null&&vB(c,w,x4)}function dd(c,w){return c!=null&&vB(c,w,N4)}var cL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),c[w]=Y},hd(Bn)),gL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),lt.call(c,w)?c[w].push(Y):c[w]=[Y]},Ne),dL=Ze(ga);function Ht(c){return pn(c)?GC(c):Gg(c)}function Cn(c){return pn(c)?GC(c,!0):Y4(c)}function uL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,w(oA,pA,fA),oA)}),Y}function hL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,pA,w(oA,pA,fA))}),Y}var pL=ar(function(c,w,Y){ll(c,w,Y)}),sm=ar(function(c,w,Y,oA){ll(c,w,Y,oA)}),CL=ki(function(c,w){var Y={};if(c==null)return Y;var oA=!1;w=pt(w,function(fA){return fA=Ji(fA,c),oA||(oA=fA.length>1),fA}),gi(c,qg(c),Y),oA&&(Y=Tn(Y,N|T|O,cN));for(var pA=w.length;pA--;)Yg(Y,w[pA]);return Y});function BL(c,w){return lm(c,bl(Ne(w)))}var mL=ki(function(c,w){return c==null?{}:$4(c,w)});function lm(c,w){if(c==null)return{};var Y=pt(qg(c),function(oA){return[oA]});return w=Ne(w),AB(c,Y,function(oA,pA){return w(oA,pA[0])})}function EL(c,w,Y){w=Ji(w,c);var oA=-1,pA=w.length;for(pA||(pA=1,c=t);++oA<pA;){var fA=c==null?t:c[di(w[oA])];fA===t&&(oA=pA,fA=Y),c=Mi(fA)?fA.call(c):fA}return c}function QL(c,w,Y){return c==null?c:ua(c,w,Y)}function fL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:ua(c,w,Y,oA)}var cm=IB(Ht),gm=IB(Cn);function IL(c,w,Y){var oA=Te(c),pA=oA||Wi(c)||cr(c);if(w=Ne(w,4),Y==null){var fA=c&&c.constructor;pA?Y=oA?new fA:[]:It(c)?Y=Mi(fA)?rr(Xs(c)):{}:Y={}}return(pA?un:ci)(c,function(_A,GA,YA){return w(Y,_A,GA,YA)}),Y}function wL(c,w){return c==null?!0:Yg(c,w)}function bL(c,w,Y){return c==null?c:oB(c,w,zg(Y))}function yL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:oB(c,w,zg(Y),oA)}function gr(c){return c==null?[]:na(c,Ht(c))}function DL(c){return c==null?[]:na(c,Cn(c))}function vL(c,w,Y){return Y===t&&(Y=w,w=t),Y!==t&&(Y=On(Y),Y=Y===Y?Y:0),w!==t&&(w=On(w),w=w===w?w:0),Io(On(c),w,Y)}function kL(c,w,Y){return w=Si(w),Y===t?(Y=w,w=0):Y=Si(Y),c=On(c),F4(c,w,Y)}function _L(c,w,Y){if(Y&&typeof Y!="boolean"&&an(c,w,Y)&&(w=Y=t),Y===t&&(typeof w=="boolean"?(Y=w,w=t):typeof c=="boolean"&&(Y=c,c=t)),c===t&&w===t?(c=0,w=1):(c=Si(c),w===t?(w=c,c=0):w=Si(w)),c>w){var oA=c;c=w,w=oA}if(Y||c%1||w%1){var pA=RC();return $t(c+pA*(w-c+Fs("1e-"+((pA+"").length-1))),w)}return Kg(c,w)}var ML=sr(function(c,w,Y){return w=w.toLowerCase(),c+(Y?dm(w):w)});function dm(c){return ud(st(c).toLowerCase())}function um(c){return c=st(c),c&&c.replace(Pe,wg).replace(Ms,"")}function SL(c,w,Y){c=st(c),w=vn(w);var oA=c.length;Y=Y===t?oA:Io($e(Y),0,oA);var pA=Y;return Y-=w.length,Y>=0&&c.slice(Y,pA)==w}function xL(c){return c=st(c),c&&ke.test(c)?c.replace(ae,bg):c}function NL(c){return c=st(c),c&&xe.test(c)?c.replace(ue,"\\$&"):c}var FL=sr(function(c,w,Y){return c+(Y?"-":"")+w.toLowerCase()}),RL=sr(function(c,w,Y){return c+(Y?" ":"")+w.toLowerCase()}),LL=CB("toLowerCase");function GL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;if(!w||oA>=w)return c;var pA=(w-oA)/2;return pl(tl(pA),Y)+c+pl(el(pA),Y)}function PL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?c+pl(w-oA,Y):c}function HL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?pl(w-oA,Y)+c:c}function KL(c,w,Y){return Y||w==null?w=0:w&&(w=+w),Jx(st(c).replace(tt,""),w||0)}function TL(c,w,Y){return(Y?an(c,w,Y):w===t)?w=1:w=$e(w),Tg(st(c),w)}function UL(){var c=arguments,w=st(c[0]);return c.length<3?w:w.replace(c[1],c[2])}var YL=sr(function(c,w,Y){return c+(Y?"_":"")+w.toLowerCase()});function OL(c,w,Y){return Y&&typeof Y!="number"&&an(c,w,Y)&&(w=Y=t),Y=Y===t?AA:Y>>>0,Y?(c=st(c),c&&(typeof w=="string"||w!=null&&!cd(w))&&(w=vn(w),!w&&Yi(c))?Zi(DA(c),0,Y):c.split(w,Y)):[]}var $L=sr(function(c,w,Y){return c+(Y?" ":"")+ud(w)});function zL(c,w,Y){return c=st(c),Y=Y==null?0:Io($e(Y),0,c.length),w=vn(w),c.slice(Y,Y+w.length)==w}function JL(c,w,Y){var oA=EA.templateSettings;Y&&an(c,w,Y)&&(w=t),c=st(c),w=vl({},w,oA,wB);var pA=vl({},w.imports,oA.imports,wB),fA=Ht(pA),_A=na(pA,fA),GA,YA,te=0,ne=w.interpolate||ot,ce="__p += '",we=on((w.escape||ot).source+"|"+ne.source+"|"+(ne===TA?ie:ot).source+"|"+(w.evaluate||ot).source+"|$","g"),_e="//# sourceURL="+(lt.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
10
|
+
`)}function mN(c){return Te(c)||Do(c)||!!(NC&&c&&c[NC])}function _i(c,w){var Y=typeof c;return w=w??S,!!w&&(Y=="number"||Y!="symbol"&&dt.test(c))&&c>-1&&c%1==0&&c<w}function an(c,w,Y){if(!It(Y))return!1;var oA=typeof w;return(oA=="number"?pn(Y)&&_i(w,Y.length):oA=="string"&&w in Y)?qn(Y[w],c):!1}function ed(c,w){if(Te(c))return!1;var Y=typeof c;return Y=="number"||Y=="symbol"||Y=="boolean"||c==null||kn(c)?!0:be.test(c)||!re.test(c)||w!=null&&c in Oe(w)}function EN(c){var w=typeof c;return w=="string"||w=="number"||w=="symbol"||w=="boolean"?c!=="__proto__":c===null}function td(c){var w=Bl(c),Y=EA[w];if(typeof Y!="function"||!(w in Xe.prototype))return!1;if(c===Y)return!0;var oA=Xg(Y);return!!oA&&c===oA[0]}function QN(c){return!!_C&&_C in c}var fN=Js?Mi:Ed;function pa(c){var w=c&&c.constructor,Y=typeof w=="function"&&w.prototype||nr;return c===Y}function _B(c){return c===c&&!It(c)}function MB(c,w){return function(Y){return Y==null?!1:Y[c]===w&&(w!==t||c in Oe(Y))}}function IN(c){var w=wl(c,function(oA){return Y.size===I&&Y.clear(),oA}),Y=w.cache;return w}function wN(c,w){var Y=c[1],oA=w[1],pA=Y|oA,fA=pA<(v|m|u),_A=oA==u&&Y==k||oA==u&&Y==l&&c[7].length<=w[8]||oA==(u|l)&&w[7].length<=w[8]&&Y==k;if(!(fA||_A))return c;oA&v&&(c[2]=w[2],pA|=Y&v?0:F);var GA=w[3];if(GA){var YA=c[3];c[3]=YA?dB(YA,GA,w[4]):GA,c[4]=YA?sA(c[3],x):w[4]}return GA=w[5],GA&&(YA=c[5],c[5]=YA?uB(YA,GA,w[6]):GA,c[6]=YA?sA(c[5],x):w[6]),GA=w[7],GA&&(c[7]=GA),oA&u&&(c[8]=c[8]==null?w[8]:$t(c[8],w[8])),c[9]==null&&(c[9]=w[9]),c[0]=w[0],c[1]=pA,c}function bN(c){var w=[];if(c!=null)for(var Y in Oe(c))w.push(Y);return w}function yN(c){return Ws.call(c)}function SB(c,w,Y){return w=Lt(w===t?c.length-1:w,0),function(){for(var oA=arguments,pA=-1,fA=Lt(oA.length-w,0),_A=KA(fA);++pA<fA;)_A[pA]=oA[w+pA];pA=-1;for(var GA=KA(w+1);++pA<w;)GA[pA]=oA[pA];return GA[w]=Y(_A),nn(c,this,GA)}}function xB(c,w){return w.length<2?c:wo(c,Un(w,0,-1))}function DN(c,w){for(var Y=c.length,oA=$t(w.length,Y),pA=hn(c);oA--;){var fA=w[oA];c[oA]=_i(fA,Y)?pA[fA]:t}return c}function nd(c,w){if(!(w==="constructor"&&typeof c[w]=="function")&&w!="__proto__")return c[w]}var NB=RB(tB),Ca=Tx||function(c,w){return Rt.setTimeout(c,w)},id=RB(W4);function FB(c,w,Y){var oA=w+"";return id(c,BN(oA,vN(hN(oA),Y)))}function RB(c){var w=0,Y=0;return function(){var oA=$x(),pA=a-(oA-Y);if(Y=oA,pA>0){if(++w>=C)return arguments[0]}else w=0;return c.apply(t,arguments)}}function El(c,w){var Y=-1,oA=c.length,pA=oA-1;for(w=w===t?oA:w;++Y<w;){var fA=Kg(Y,pA),_A=c[fA];c[fA]=c[Y],c[Y]=_A}return c.length=w,c}var LB=IN(function(c){var w=[];return c.charCodeAt(0)===46&&w.push(""),c.replace(se,function(Y,oA,pA,fA){w.push(pA?fA.replace(Ie,"$1"):oA||Y)}),w});function di(c){if(typeof c=="string"||kn(c))return c;var w=c+"";return w=="0"&&1/c==-M?"-0":w}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function vN(c,w){return un($,function(Y){var oA="_."+Y[0];w&Y[1]&&!Hn(c,oA)&&c.push(oA)}),c.sort()}function GB(c){if(c instanceof Xe)return c.clone();var w=new Kn(c.__wrapped__,c.__chain__);return w.__actions__=hn(c.__actions__),w.__index__=c.__index__,w.__values__=c.__values__,w}function kN(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=Lt($e(w),0);var oA=c==null?0:c.length;if(!oA||w<1)return[];for(var pA=0,fA=0,_A=KA(el(oA/w));pA<oA;)_A[fA++]=Un(c,pA,pA+=w);return _A}function _N(c){for(var w=-1,Y=c==null?0:c.length,oA=0,pA=[];++w<Y;){var fA=c[w];fA&&(pA[oA++]=fA)}return pA}function MN(){var c=arguments.length;if(!c)return[];for(var w=KA(c-1),Y=arguments[0],oA=c;oA--;)w[oA-1]=arguments[oA];return Zn(Te(Y)?hn(Y):[Y],Yt(w,1))}var SN=Ze(function(c,w){return Dt(c)?ca(c,Yt(w,1,Dt,!0)):[]}),xN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),Ne(Y,2)):[]}),NN=Ze(function(c,w){var Y=Yn(w);return Dt(Y)&&(Y=t),Dt(c)?ca(c,Yt(w,1,Dt,!0),t,Y):[]});function FN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),Un(c,w<0?0:w,oA)):[]}function RN(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,0,w<0?0:w)):[]}function LN(c,w){return c&&c.length?gl(c,Ne(w,3),!0,!0):[]}function GN(c,w){return c&&c.length?gl(c,Ne(w,3),!0):[]}function PN(c,w,Y,oA){var pA=c==null?0:c.length;return pA?(Y&&typeof Y!="number"&&an(c,w,Y)&&(Y=0,oA=pA),M4(c,w,Y,oA)):[]}function PB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),er(c,Ne(w,3),pA)}function HB(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA-1;return Y!==t&&(pA=$e(Y),pA=Y<0?Lt(oA+pA,0):$t(pA,oA-1)),er(c,Ne(w,3),pA,!0)}function KB(c){var w=c==null?0:c.length;return w?Yt(c,1):[]}function HN(c){var w=c==null?0:c.length;return w?Yt(c,M):[]}function KN(c,w){var Y=c==null?0:c.length;return Y?(w=w===t?1:$e(w),Yt(c,w)):[]}function TN(c){for(var w=-1,Y=c==null?0:c.length,oA={};++w<Y;){var pA=c[w];oA[pA[0]]=pA[1]}return oA}function TB(c){return c&&c.length?c[0]:t}function UN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=Y==null?0:$e(Y);return pA<0&&(pA=Lt(oA+pA,0)),Ui(c,w,pA)}function YN(c){var w=c==null?0:c.length;return w?Un(c,0,-1):[]}var ON=Ze(function(c){var w=pt(c,$g);return w.length&&w[0]===c[0]?Rg(w):[]}),$N=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w===Yn(Y)?w=t:Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,Ne(w,2)):[]}),zN=Ze(function(c){var w=Yn(c),Y=pt(c,$g);return w=typeof w=="function"?w:t,w&&Y.pop(),Y.length&&Y[0]===c[0]?Rg(Y,t,w):[]});function JN(c,w){return c==null?"":Yx.call(c,w)}function Yn(c){var w=c==null?0:c.length;return w?c[w-1]:t}function ZN(c,w,Y){var oA=c==null?0:c.length;if(!oA)return-1;var pA=oA;return Y!==t&&(pA=$e(Y),pA=pA<0?Lt(oA+pA,0):$t(pA,oA-1)),w===w?yA(c,w,pA):er(c,Ys,pA,!0)}function WN(c,w){return c&&c.length?XC(c,$e(w)):t}var jN=Ze(UB);function UB(c,w){return c&&c.length&&w&&w.length?Hg(c,w):c}function qN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,Ne(Y,2)):c}function XN(c,w,Y){return c&&c.length&&w&&w.length?Hg(c,w,t,Y):c}var VN=ki(function(c,w){var Y=c==null?0:c.length,oA=Sg(c,w);return eB(c,pt(w,function(pA){return _i(pA,Y)?+pA:pA}).sort(gB)),oA});function AF(c,w){var Y=[];if(!(c&&c.length))return Y;var oA=-1,pA=[],fA=c.length;for(w=Ne(w,3);++oA<fA;){var _A=c[oA];w(_A,oA,c)&&(Y.push(_A),pA.push(oA))}return eB(c,pA),Y}function od(c){return c==null?c:Jx.call(c)}function eF(c,w,Y){var oA=c==null?0:c.length;return oA?(Y&&typeof Y!="number"&&an(c,w,Y)?(w=0,Y=oA):(w=w==null?0:$e(w),Y=Y===t?oA:$e(Y)),Un(c,w,Y)):[]}function tF(c,w){return cl(c,w)}function nF(c,w,Y){return Ug(c,w,Ne(Y,2))}function iF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w);if(oA<Y&&qn(c[oA],w))return oA}return-1}function oF(c,w){return cl(c,w,!0)}function rF(c,w,Y){return Ug(c,w,Ne(Y,2),!0)}function aF(c,w){var Y=c==null?0:c.length;if(Y){var oA=cl(c,w,!0)-1;if(qn(c[oA],w))return oA}return-1}function sF(c){return c&&c.length?nB(c):[]}function lF(c,w){return c&&c.length?nB(c,Ne(w,2)):[]}function cF(c){var w=c==null?0:c.length;return w?Un(c,1,w):[]}function gF(c,w,Y){return c&&c.length?(w=Y||w===t?1:$e(w),Un(c,0,w<0?0:w)):[]}function dF(c,w,Y){var oA=c==null?0:c.length;return oA?(w=Y||w===t?1:$e(w),w=oA-w,Un(c,w<0?0:w,oA)):[]}function uF(c,w){return c&&c.length?gl(c,Ne(w,3),!1,!0):[]}function hF(c,w){return c&&c.length?gl(c,Ne(w,3)):[]}var pF=Ze(function(c){return zi(Yt(c,1,Dt,!0))}),CF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),zi(Yt(c,1,Dt,!0),Ne(w,2))}),BF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,zi(Yt(c,1,Dt,!0),t,w)});function mF(c){return c&&c.length?zi(c):[]}function EF(c,w){return c&&c.length?zi(c,Ne(w,2)):[]}function QF(c,w){return w=typeof w=="function"?w:t,c&&c.length?zi(c,t,w):[]}function rd(c){if(!(c&&c.length))return[];var w=0;return c=Dn(c,function(Y){if(Dt(Y))return w=Lt(Y.length,w),!0}),wi(w,function(Y){return pt(c,ea(Y))})}function YB(c,w){if(!(c&&c.length))return[];var Y=rd(c);return w==null?Y:pt(Y,function(oA){return nn(w,t,oA)})}var fF=Ze(function(c,w){return Dt(c)?ca(c,w):[]}),IF=Ze(function(c){return Og(Dn(c,Dt))}),wF=Ze(function(c){var w=Yn(c);return Dt(w)&&(w=t),Og(Dn(c,Dt),Ne(w,2))}),bF=Ze(function(c){var w=Yn(c);return w=typeof w=="function"?w:t,Og(Dn(c,Dt),t,w)}),yF=Ze(rd);function DF(c,w){return aB(c||[],w||[],la)}function vF(c,w){return aB(c||[],w||[],ua)}var kF=Ze(function(c){var w=c.length,Y=w>1?c[w-1]:t;return Y=typeof Y=="function"?(c.pop(),Y):t,YB(c,Y)});function OB(c){var w=EA(c);return w.__chain__=!0,w}function _F(c,w){return w(c),c}function Ql(c,w){return w(c)}var MF=ki(function(c){var w=c.length,Y=w?c[0]:0,oA=this.__wrapped__,pA=function(fA){return Sg(fA,c)};return w>1||this.__actions__.length||!(oA instanceof Xe)||!_i(Y)?this.thru(pA):(oA=oA.slice(Y,+Y+(w?1:0)),oA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Kn(oA,this.__chain__).thru(function(fA){return w&&!fA.length&&fA.push(t),fA}))});function SF(){return OB(this)}function xF(){return new Kn(this.value(),this.__chain__)}function NF(){this.__values__===t&&(this.__values__=im(this.value()));var c=this.__index__>=this.__values__.length,w=c?t:this.__values__[this.__index__++];return{done:c,value:w}}function FF(){return this}function RF(c){for(var w,Y=this;Y instanceof ol;){var oA=GB(Y);oA.__index__=0,oA.__values__=t,w?pA.__wrapped__=oA:w=oA;var pA=oA;Y=Y.__wrapped__}return pA.__wrapped__=c,w}function LF(){var c=this.__wrapped__;if(c instanceof Xe){var w=c;return this.__actions__.length&&(w=new Xe(this)),w=w.reverse(),w.__actions__.push({func:Ql,args:[od],thisArg:t}),new Kn(w,this.__chain__)}return this.thru(od)}function GF(){return rB(this.__wrapped__,this.__actions__)}var PF=dl(function(c,w,Y){lt.call(c,Y)?++c[Y]:Di(c,Y,1)});function HF(c,w,Y){var oA=Te(c)?Vr:_4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}function KF(c,w){var Y=Te(c)?Dn:YC;return Y(c,Ne(w,3))}var TF=BB(PB),UF=BB(HB);function YF(c,w){return Yt(fl(c,w),1)}function OF(c,w){return Yt(fl(c,w),M)}function $F(c,w,Y){return Y=Y===t?1:$e(Y),Yt(fl(c,w),Y)}function $B(c,w){var Y=Te(c)?un:$i;return Y(c,Ne(w,3))}function zB(c,w){var Y=Te(c)?Bg:UC;return Y(c,Ne(w,3))}var zF=dl(function(c,w,Y){lt.call(c,Y)?c[Y].push(w):Di(c,Y,[w])});function JF(c,w,Y,oA){c=pn(c)?c:gr(c),Y=Y&&!oA?$e(Y):0;var pA=c.length;return Y<0&&(Y=Lt(pA+Y,0)),Dl(c)?Y<=pA&&c.indexOf(w,Y)>-1:!!pA&&Ui(c,w,Y)>-1}var ZF=Ze(function(c,w,Y){var oA=-1,pA=typeof w=="function",fA=pn(c)?KA(c.length):[];return $i(c,function(_A){fA[++oA]=pA?nn(w,_A,Y):ga(_A,w,Y)}),fA}),WF=dl(function(c,w,Y){Di(c,Y,w)});function fl(c,w){var Y=Te(c)?pt:WC;return Y(c,Ne(w,3))}function jF(c,w,Y,oA){return c==null?[]:(Te(w)||(w=w==null?[]:[w]),Y=oA?t:Y,Te(Y)||(Y=Y==null?[]:[Y]),VC(c,w,Y))}var qF=dl(function(c,w,Y){c[Y?0:1].push(w)},function(){return[[],[]]});function XF(c,w,Y){var oA=Te(c)?Ar:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,$i)}function VF(c,w,Y){var oA=Te(c)?Ts:Os,pA=arguments.length<3;return oA(c,Ne(w,4),Y,pA,UC)}function AR(c,w){var Y=Te(c)?Dn:YC;return Y(c,bl(Ne(w,3)))}function eR(c){var w=Te(c)?PC:J4;return w(c)}function tR(c,w,Y){(Y?an(c,w,Y):w===t)?w=1:w=$e(w);var oA=Te(c)?b4:Z4;return oA(c,w)}function nR(c){var w=Te(c)?y4:j4;return w(c)}function iR(c){if(c==null)return 0;if(pn(c))return Dl(c)?RA(c):c.length;var w=zt(c);return w==gA||w==W?c.size:Gg(c).length}function oR(c,w,Y){var oA=Te(c)?Ii:q4;return Y&&an(c,w,Y)&&(w=t),oA(c,Ne(w,3))}var rR=Ze(function(c,w){if(c==null)return[];var Y=w.length;return Y>1&&an(c,w[0],w[1])?w=[]:Y>2&&an(w[0],w[1],w[2])&&(w=[w[0]]),VC(c,Yt(w,1),[])}),Il=Kx||function(){return Rt.Date.now()};function aR(c,w){if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){if(--c<1)return w.apply(this,arguments)}}function JB(c,w,Y){return w=Y?t:w,w=c&&w==null?c.length:w,vi(c,u,t,t,t,t,w)}function ZB(c,w){var Y;if(typeof w!="function")throw new Ut(o);return c=$e(c),function(){return--c>0&&(Y=w.apply(this,arguments)),c<=1&&(w=t),Y}}var ad=Ze(function(c,w,Y){var oA=v;if(Y.length){var pA=sA(Y,lr(ad));oA|=B}return vi(c,oA,w,Y,pA)}),WB=Ze(function(c,w,Y){var oA=v|m;if(Y.length){var pA=sA(Y,lr(WB));oA|=B}return vi(w,oA,c,Y,pA)});function jB(c,w,Y){w=Y?t:w;var oA=vi(c,k,t,t,t,t,t,w);return oA.placeholder=jB.placeholder,oA}function qB(c,w,Y){w=Y?t:w;var oA=vi(c,_,t,t,t,t,t,w);return oA.placeholder=qB.placeholder,oA}function XB(c,w,Y){var oA,pA,fA,_A,GA,YA,te=0,ne=!1,ce=!1,we=!0;if(typeof c!="function")throw new Ut(o);w=On(w)||0,It(Y)&&(ne=!!Y.leading,ce="maxWait"in Y,fA=ce?Lt(On(Y.maxWait)||0,w):fA,we="trailing"in Y?!!Y.trailing:we);function _e(vt){var Xn=oA,xi=pA;return oA=pA=t,te=vt,_A=c.apply(xi,Xn),_A}function Fe(vt){return te=vt,GA=Ca(We,w),ne?_e(vt):_A}function Je(vt){var Xn=vt-YA,xi=vt-te,Bm=w-Xn;return ce?$t(Bm,fA-xi):Bm}function Re(vt){var Xn=vt-YA,xi=vt-te;return YA===t||Xn>=w||Xn<0||ce&&xi>=fA}function We(){var vt=Il();if(Re(vt))return Ve(vt);GA=Ca(We,Je(vt))}function Ve(vt){return GA=t,we&&oA?_e(vt):(oA=pA=t,_A)}function _n(){GA!==t&&sB(GA),te=0,oA=YA=pA=GA=t}function sn(){return GA===t?_A:Ve(Il())}function Mn(){var vt=Il(),Xn=Re(vt);if(oA=arguments,pA=this,YA=vt,Xn){if(GA===t)return Fe(YA);if(ce)return sB(GA),GA=Ca(We,w),_e(YA)}return GA===t&&(GA=Ca(We,w)),_A}return Mn.cancel=_n,Mn.flush=sn,Mn}var sR=Ze(function(c,w){return TC(c,1,w)}),lR=Ze(function(c,w,Y){return TC(c,On(w)||0,Y)});function cR(c){return vi(c,g)}function wl(c,w){if(typeof c!="function"||w!=null&&typeof w!="function")throw new Ut(o);var Y=function(){var oA=arguments,pA=w?w.apply(this,oA):oA[0],fA=Y.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,oA);return Y.cache=fA.set(pA,_A)||fA,_A};return Y.cache=new(wl.Cache||yi),Y}wl.Cache=yi;function bl(c){if(typeof c!="function")throw new Ut(o);return function(){var w=arguments;switch(w.length){case 0:return!c.call(this);case 1:return!c.call(this,w[0]);case 2:return!c.call(this,w[0],w[1]);case 3:return!c.call(this,w[0],w[1],w[2])}return!c.apply(this,w)}}function gR(c){return ZB(2,c)}var dR=X4(function(c,w){w=w.length==1&&Te(w[0])?pt(w[0],Tt(Ne())):pt(Yt(w,1),Tt(Ne()));var Y=w.length;return Ze(function(oA){for(var pA=-1,fA=$t(oA.length,Y);++pA<fA;)oA[pA]=w[pA].call(this,oA[pA]);return nn(c,this,oA)})}),sd=Ze(function(c,w){var Y=sA(w,lr(sd));return vi(c,B,t,w,Y)}),VB=Ze(function(c,w){var Y=sA(w,lr(VB));return vi(c,p,t,w,Y)}),uR=ki(function(c,w){return vi(c,l,t,t,t,w)});function hR(c,w){if(typeof c!="function")throw new Ut(o);return w=w===t?w:$e(w),Ze(c,w)}function pR(c,w){if(typeof c!="function")throw new Ut(o);return w=w==null?0:Lt($e(w),0),Ze(function(Y){var oA=Y[w],pA=Zi(Y,0,w);return oA&&Zn(pA,oA),nn(c,this,pA)})}function CR(c,w,Y){var oA=!0,pA=!0;if(typeof c!="function")throw new Ut(o);return It(Y)&&(oA="leading"in Y?!!Y.leading:oA,pA="trailing"in Y?!!Y.trailing:pA),XB(c,w,{leading:oA,maxWait:w,trailing:pA})}function BR(c){return JB(c,1)}function mR(c,w){return sd(zg(w),c)}function ER(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function QR(c){return Tn(c,O)}function fR(c,w){return w=typeof w=="function"?w:t,Tn(c,O,w)}function IR(c){return Tn(c,N|O)}function wR(c,w){return w=typeof w=="function"?w:t,Tn(c,N|O,w)}function bR(c,w){return w==null||KC(c,w,Ht(w))}function qn(c,w){return c===w||c!==c&&w!==w}var yR=Cl(Fg),DR=Cl(function(c,w){return c>=w}),Do=zC(function(){return arguments}())?zC:function(c){return yt(c)&<.call(c,"callee")&&!xC.call(c,"callee")},Te=KA.isArray,vR=Xr?Tt(Xr):R4;function pn(c){return c!=null&&yl(c.length)&&!Mi(c)}function Dt(c){return yt(c)&&pn(c)}function kR(c){return c===!0||c===!1||yt(c)&&rn(c)==P}var Wi=Ux||Ed,_R=Pt?Tt(Pt):L4;function MR(c){return yt(c)&&c.nodeType===1&&!Ba(c)}function SR(c){if(c==null)return!0;if(pn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Wi(c)||cr(c)||Do(c)))return!c.length;var w=zt(c);if(w==gA||w==W)return!c.size;if(pa(c))return!Gg(c).length;for(var Y in c)if(lt.call(c,Y))return!1;return!0}function xR(c,w){return da(c,w)}function NR(c,w,Y){Y=typeof Y=="function"?Y:t;var oA=Y?Y(c,w):t;return oA===t?da(c,w,t,Y):!!oA}function ld(c){if(!yt(c))return!1;var w=rn(c);return w==iA||w==rA||typeof c.message=="string"&&typeof c.name=="string"&&!Ba(c)}function FR(c){return typeof c=="number"&&FC(c)}function Mi(c){if(!It(c))return!1;var w=rn(c);return w==dA||w==mA||w==j||w==hA}function Am(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=S}function It(c){var w=typeof c;return c!=null&&(w=="object"||w=="function")}function yt(c){return c!=null&&typeof c=="object"}var em=Gs?Tt(Gs):P4;function RR(c,w){return c===w||Lg(c,w,Vg(w))}function LR(c,w,Y){return Y=typeof Y=="function"?Y:t,Lg(c,w,Vg(w),Y)}function GR(c){return tm(c)&&c!=+c}function PR(c){if(fN(c))throw new Be(f);return JC(c)}function HR(c){return c===null}function KR(c){return c==null}function tm(c){return typeof c=="number"||yt(c)&&rn(c)==wA}function Ba(c){if(!yt(c)||rn(c)!=lA)return!1;var w=Xs(c);if(w===null)return!0;var Y=lt.call(w,"constructor")&&w.constructor;return typeof Y=="function"&&Y instanceof Y&&Zs.call(Y)==Lx}var cd=Ps?Tt(Ps):H4;function TR(c){return Am(c)&&c>=-S&&c<=S}var nm=Hs?Tt(Hs):K4;function Dl(c){return typeof c=="string"||!Te(c)&&yt(c)&&rn(c)==tA}function kn(c){return typeof c=="symbol"||yt(c)&&rn(c)==aA}var cr=Ks?Tt(Ks):T4;function UR(c){return c===t}function YR(c){return yt(c)&&zt(c)==SA}function OR(c){return yt(c)&&rn(c)==zA}var $R=Cl(Pg),zR=Cl(function(c,w){return c<=w});function im(c){if(!c)return[];if(pn(c))return Dl(c)?DA(c):hn(c);if(ia&&c[ia])return R(c[ia]());var w=zt(c),Y=w==gA?Z:w==W?uA:gr;return Y(c)}function Si(c){if(!c)return c===0?c:0;if(c=On(c),c===M||c===-M){var w=c<0?-1:1;return w*K}return c===c?c:0}function $e(c){var w=Si(c),Y=w%1;return w===w?Y?w-Y:w:0}function om(c){return c?Io($e(c),0,AA):0}function On(c){if(typeof c=="number")return c;if(kn(c))return z;if(It(c)){var w=typeof c.valueOf=="function"?c.valueOf():c;c=It(w)?w+"":w}if(typeof c!="string")return c===0?c:+c;c=ta(c);var Y=Ct.test(c);return Y||At.test(c)?Rs(c.slice(2),Y?2:8):qe.test(c)?z:+c}function rm(c){return gi(c,Cn(c))}function JR(c){return c?Io($e(c),-S,S):c===0?c:0}function st(c){return c==null?"":vn(c)}var ZR=ar(function(c,w){if(pa(w)||pn(w)){gi(w,Ht(w),c);return}for(var Y in w)lt.call(w,Y)&&la(c,Y,w[Y])}),am=ar(function(c,w){gi(w,Cn(w),c)}),vl=ar(function(c,w,Y,oA){gi(w,Cn(w),c,oA)}),WR=ar(function(c,w,Y,oA){gi(w,Ht(w),c,oA)}),jR=ki(Sg);function qR(c,w){var Y=rr(c);return w==null?Y:HC(Y,w)}var XR=Ze(function(c,w){c=Oe(c);var Y=-1,oA=w.length,pA=oA>2?w[2]:t;for(pA&&an(w[0],w[1],pA)&&(oA=1);++Y<oA;)for(var fA=w[Y],_A=Cn(fA),GA=-1,YA=_A.length;++GA<YA;){var te=_A[GA],ne=c[te];(ne===t||qn(ne,nr[te])&&!lt.call(c,te))&&(c[te]=fA[te])}return c}),VR=Ze(function(c){return c.push(t,bB),nn(sm,t,c)});function AL(c,w){return Us(c,Ne(w,3),ci)}function eL(c,w){return Us(c,Ne(w,3),Ng)}function tL(c,w){return c==null?c:xg(c,Ne(w,3),Cn)}function nL(c,w){return c==null?c:OC(c,Ne(w,3),Cn)}function iL(c,w){return c&&ci(c,Ne(w,3))}function oL(c,w){return c&&Ng(c,Ne(w,3))}function rL(c){return c==null?[]:sl(c,Ht(c))}function aL(c){return c==null?[]:sl(c,Cn(c))}function gd(c,w,Y){var oA=c==null?t:wo(c,w);return oA===t?Y:oA}function sL(c,w){return c!=null&&vB(c,w,S4)}function dd(c,w){return c!=null&&vB(c,w,x4)}var lL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),c[w]=Y},hd(Bn)),cL=EB(function(c,w,Y){w!=null&&typeof w.toString!="function"&&(w=Ws.call(w)),lt.call(c,w)?c[w].push(Y):c[w]=[Y]},Ne),gL=Ze(ga);function Ht(c){return pn(c)?GC(c):Gg(c)}function Cn(c){return pn(c)?GC(c,!0):U4(c)}function dL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,w(oA,pA,fA),oA)}),Y}function uL(c,w){var Y={};return w=Ne(w,3),ci(c,function(oA,pA,fA){Di(Y,pA,w(oA,pA,fA))}),Y}var hL=ar(function(c,w,Y){ll(c,w,Y)}),sm=ar(function(c,w,Y,oA){ll(c,w,Y,oA)}),pL=ki(function(c,w){var Y={};if(c==null)return Y;var oA=!1;w=pt(w,function(fA){return fA=Ji(fA,c),oA||(oA=fA.length>1),fA}),gi(c,qg(c),Y),oA&&(Y=Tn(Y,N|T|O,lN));for(var pA=w.length;pA--;)Yg(Y,w[pA]);return Y});function CL(c,w){return lm(c,bl(Ne(w)))}var BL=ki(function(c,w){return c==null?{}:O4(c,w)});function lm(c,w){if(c==null)return{};var Y=pt(qg(c),function(oA){return[oA]});return w=Ne(w),AB(c,Y,function(oA,pA){return w(oA,pA[0])})}function mL(c,w,Y){w=Ji(w,c);var oA=-1,pA=w.length;for(pA||(pA=1,c=t);++oA<pA;){var fA=c==null?t:c[di(w[oA])];fA===t&&(oA=pA,fA=Y),c=Mi(fA)?fA.call(c):fA}return c}function EL(c,w,Y){return c==null?c:ua(c,w,Y)}function QL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:ua(c,w,Y,oA)}var cm=IB(Ht),gm=IB(Cn);function fL(c,w,Y){var oA=Te(c),pA=oA||Wi(c)||cr(c);if(w=Ne(w,4),Y==null){var fA=c&&c.constructor;pA?Y=oA?new fA:[]:It(c)?Y=Mi(fA)?rr(Xs(c)):{}:Y={}}return(pA?un:ci)(c,function(_A,GA,YA){return w(Y,_A,GA,YA)}),Y}function IL(c,w){return c==null?!0:Yg(c,w)}function wL(c,w,Y){return c==null?c:oB(c,w,zg(Y))}function bL(c,w,Y,oA){return oA=typeof oA=="function"?oA:t,c==null?c:oB(c,w,zg(Y),oA)}function gr(c){return c==null?[]:na(c,Ht(c))}function yL(c){return c==null?[]:na(c,Cn(c))}function DL(c,w,Y){return Y===t&&(Y=w,w=t),Y!==t&&(Y=On(Y),Y=Y===Y?Y:0),w!==t&&(w=On(w),w=w===w?w:0),Io(On(c),w,Y)}function vL(c,w,Y){return w=Si(w),Y===t?(Y=w,w=0):Y=Si(Y),c=On(c),N4(c,w,Y)}function kL(c,w,Y){if(Y&&typeof Y!="boolean"&&an(c,w,Y)&&(w=Y=t),Y===t&&(typeof w=="boolean"?(Y=w,w=t):typeof c=="boolean"&&(Y=c,c=t)),c===t&&w===t?(c=0,w=1):(c=Si(c),w===t?(w=c,c=0):w=Si(w)),c>w){var oA=c;c=w,w=oA}if(Y||c%1||w%1){var pA=RC();return $t(c+pA*(w-c+Fs("1e-"+((pA+"").length-1))),w)}return Kg(c,w)}var _L=sr(function(c,w,Y){return w=w.toLowerCase(),c+(Y?dm(w):w)});function dm(c){return ud(st(c).toLowerCase())}function um(c){return c=st(c),c&&c.replace(Pe,wg).replace(Ms,"")}function ML(c,w,Y){c=st(c),w=vn(w);var oA=c.length;Y=Y===t?oA:Io($e(Y),0,oA);var pA=Y;return Y-=w.length,Y>=0&&c.slice(Y,pA)==w}function SL(c){return c=st(c),c&&ke.test(c)?c.replace(ae,bg):c}function xL(c){return c=st(c),c&&xe.test(c)?c.replace(ue,"\\$&"):c}var NL=sr(function(c,w,Y){return c+(Y?"-":"")+w.toLowerCase()}),FL=sr(function(c,w,Y){return c+(Y?" ":"")+w.toLowerCase()}),RL=CB("toLowerCase");function LL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;if(!w||oA>=w)return c;var pA=(w-oA)/2;return pl(tl(pA),Y)+c+pl(el(pA),Y)}function GL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?c+pl(w-oA,Y):c}function PL(c,w,Y){c=st(c),w=$e(w);var oA=w?RA(c):0;return w&&oA<w?pl(w-oA,Y)+c:c}function HL(c,w,Y){return Y||w==null?w=0:w&&(w=+w),zx(st(c).replace(tt,""),w||0)}function KL(c,w,Y){return(Y?an(c,w,Y):w===t)?w=1:w=$e(w),Tg(st(c),w)}function TL(){var c=arguments,w=st(c[0]);return c.length<3?w:w.replace(c[1],c[2])}var UL=sr(function(c,w,Y){return c+(Y?"_":"")+w.toLowerCase()});function YL(c,w,Y){return Y&&typeof Y!="number"&&an(c,w,Y)&&(w=Y=t),Y=Y===t?AA:Y>>>0,Y?(c=st(c),c&&(typeof w=="string"||w!=null&&!cd(w))&&(w=vn(w),!w&&Yi(c))?Zi(DA(c),0,Y):c.split(w,Y)):[]}var OL=sr(function(c,w,Y){return c+(Y?" ":"")+ud(w)});function $L(c,w,Y){return c=st(c),Y=Y==null?0:Io($e(Y),0,c.length),w=vn(w),c.slice(Y,Y+w.length)==w}function zL(c,w,Y){var oA=EA.templateSettings;Y&&an(c,w,Y)&&(w=t),c=st(c),w=vl({},w,oA,wB);var pA=vl({},w.imports,oA.imports,wB),fA=Ht(pA),_A=na(pA,fA),GA,YA,te=0,ne=w.interpolate||ot,ce="__p += '",we=on((w.escape||ot).source+"|"+ne.source+"|"+(ne===TA?ie:ot).source+"|"+(w.evaluate||ot).source+"|$","g"),_e="//# sourceURL="+(lt.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
11
11
|
`;c.replace(we,function(Re,We,Ve,_n,sn,Mn){return Ve||(Ve=_n),ce+=c.slice(te,Mn).replace(ft,yg),We&&(GA=!0,ce+=`' +
|
|
12
12
|
__e(`+We+`) +
|
|
13
13
|
'`),sn&&(YA=!0,ce+=`';
|
|
@@ -24,7 +24,7 @@ __p += '`),Ve&&(ce+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+ce+`return __p
|
|
27
|
-
}`;var Je=pm(function(){return He(fA,_e+"return "+ce).apply(t,_A)});if(Je.source=ce,ld(Je))throw Je;return Je}function ZL(c){return st(c).toLowerCase()}function WL(c){return st(c).toUpperCase()}function jL(c,w,Y){if(c=st(c),c&&(Y||w===t))return ta(c);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=DA(w),fA=$s(oA,pA),_A=zs(oA,pA)+1;return Zi(oA,fA,_A).join("")}function qL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.slice(0,HA(c)+1);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=zs(oA,DA(w))+1;return Zi(oA,0,pA).join("")}function XL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.replace(tt,"");if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=$s(oA,DA(w));return Zi(oA,pA).join("")}function VL(c,w){var Y=s,oA=h;if(It(w)){var pA="separator"in w?w.separator:pA;Y="length"in w?$e(w.length):Y,oA="omission"in w?vn(w.omission):oA}c=st(c);var fA=c.length;if(Yi(c)){var _A=DA(c);fA=_A.length}if(Y>=fA)return c;var GA=Y-RA(oA);if(GA<1)return oA;var YA=_A?Zi(_A,0,GA).join(""):c.slice(0,GA);if(pA===t)return YA+oA;if(_A&&(GA+=YA.length-GA),cd(pA)){if(c.slice(GA).search(pA)){var te,ne=YA;for(pA.global||(pA=on(pA.source,st(Me.exec(pA))+"g")),pA.lastIndex=0;te=pA.exec(ne);)var ce=te.index;YA=YA.slice(0,ce===t?GA:ce)}}else if(c.indexOf(vn(pA),GA)!=GA){var we=YA.lastIndexOf(pA);we>-1&&(YA=YA.slice(0,we))}return YA+oA}function AG(c){return c=st(c),c&&Ee.test(c)?c.replace(de,VA):c}var eG=sr(function(c,w,Y){return c+(Y?" ":"")+w.toUpperCase()}),ud=CB("toUpperCase");function hm(c,w,Y){return c=st(c),w=Y?t:w,w===t?G(c)?he(c):Qg(c):c.match(w)||[]}var pm=Ze(function(c,w){try{return nn(c,t,w)}catch(Y){return ld(Y)?Y:new Be(Y)}}),tG=ki(function(c,w){return un(w,function(Y){Y=di(Y),Di(c,Y,ad(c[Y],c))}),c});function nG(c){var w=c==null?0:c.length,Y=Ne();return c=w?pt(c,function(oA){if(typeof oA[1]!="function")throw new Ut(o);return[Y(oA[0]),oA[1]]}):[],Ze(function(oA){for(var pA=-1;++pA<w;){var fA=c[pA];if(nn(fA[0],this,oA))return nn(fA[1],this,oA)}})}function iG(c){return _4(Tn(c,N))}function hd(c){return function(){return c}}function oG(c,w){return c==null||c!==c?w:c}var rG=mB(),aG=mB(!0);function Bn(c){return c}function pd(c){return ZC(typeof c=="function"?c:Tn(c,N))}function sG(c){return jC(Tn(c,N))}function lG(c,w){return qC(c,Tn(w,N))}var cG=Ze(function(c,w){return function(Y){return ga(Y,c,w)}}),gG=Ze(function(c,w){return function(Y){return ga(c,Y,w)}});function Cd(c,w,Y){var oA=Ht(w),pA=sl(w,oA);Y==null&&!(It(w)&&(pA.length||!oA.length))&&(Y=w,w=c,c=this,pA=sl(w,Ht(w)));var fA=!(It(Y)&&"chain"in Y)||!!Y.chain,_A=Mi(c);return un(pA,function(GA){var YA=w[GA];c[GA]=YA,_A&&(c.prototype[GA]=function(){var te=this.__chain__;if(fA||te){var ne=c(this.__wrapped__),ce=ne.__actions__=hn(this.__actions__);return ce.push({func:YA,args:arguments,thisArg:c}),ne.__chain__=te,ne}return YA.apply(c,Zn([this.value()],arguments))})}),c}function dG(){return Rt._===this&&(Rt._=Px),this}function Bd(){}function uG(c){return c=$e(c),Ze(function(w){return XC(w,c)})}var hG=Zg(pt),pG=Zg(Vr),CG=Zg(Ii);function Cm(c){return ed(c)?ea(di(c)):z4(c)}function BG(c){return function(w){return c==null?t:wo(c,w)}}var mG=QB(),EG=QB(!0);function md(){return[]}function Ed(){return!1}function QG(){return{}}function fG(){return""}function IG(){return!0}function wG(c,w){if(c=$e(c),c<1||c>S)return[];var Y=AA,oA=$t(c,AA);w=Ne(w),c-=AA;for(var pA=wi(oA,w);++Y<c;)w(Y);return pA}function bG(c){return Te(c)?pt(c,di):kn(c)?[c]:hn(LB(st(c)))}function yG(c){var w=++Lx;return st(c)+w}var DG=hl(function(c,w){return c+w},0),vG=Wg("ceil"),kG=hl(function(c,w){return c/w},1),_G=Wg("floor");function MG(c){return c&&c.length?al(c,Bn,Fg):t}function SG(c,w){return c&&c.length?al(c,Ne(w,2),Fg):t}function xG(c){return Co(c,Bn)}function NG(c,w){return Co(c,Ne(w,2))}function FG(c){return c&&c.length?al(c,Bn,Pg):t}function RG(c,w){return c&&c.length?al(c,Ne(w,2),Pg):t}var LG=hl(function(c,w){return c*w},1),GG=Wg("round"),PG=hl(function(c,w){return c-w},0);function HG(c){return c&&c.length?tr(c,Bn):0}function KG(c,w){return c&&c.length?tr(c,Ne(w,2)):0}return EA.after=sR,EA.ary=JB,EA.assign=WR,EA.assignIn=am,EA.assignInWith=vl,EA.assignWith=jR,EA.at=qR,EA.before=ZB,EA.bind=ad,EA.bindAll=tG,EA.bindKey=WB,EA.castArray=QR,EA.chain=OB,EA.chunk=_N,EA.compact=MN,EA.concat=SN,EA.cond=nG,EA.conforms=iG,EA.constant=hd,EA.countBy=HF,EA.create=XR,EA.curry=jB,EA.curryRight=qB,EA.debounce=XB,EA.defaults=VR,EA.defaultsDeep=AL,EA.defer=lR,EA.delay=cR,EA.difference=xN,EA.differenceBy=NN,EA.differenceWith=FN,EA.drop=RN,EA.dropRight=LN,EA.dropRightWhile=GN,EA.dropWhile=PN,EA.fill=HN,EA.filter=TF,EA.flatMap=OF,EA.flatMapDeep=$F,EA.flatMapDepth=zF,EA.flatten=KB,EA.flattenDeep=KN,EA.flattenDepth=TN,EA.flip=gR,EA.flow=rG,EA.flowRight=aG,EA.fromPairs=UN,EA.functions=aL,EA.functionsIn=sL,EA.groupBy=JF,EA.initial=ON,EA.intersection=$N,EA.intersectionBy=zN,EA.intersectionWith=JN,EA.invert=cL,EA.invertBy=gL,EA.invokeMap=WF,EA.iteratee=pd,EA.keyBy=jF,EA.keys=Ht,EA.keysIn=Cn,EA.map=fl,EA.mapKeys=uL,EA.mapValues=hL,EA.matches=sG,EA.matchesProperty=lG,EA.memoize=wl,EA.merge=pL,EA.mergeWith=sm,EA.method=cG,EA.methodOf=gG,EA.mixin=Cd,EA.negate=bl,EA.nthArg=uG,EA.omit=CL,EA.omitBy=BL,EA.once=dR,EA.orderBy=qF,EA.over=hG,EA.overArgs=uR,EA.overEvery=pG,EA.overSome=CG,EA.partial=sd,EA.partialRight=VB,EA.partition=XF,EA.pick=mL,EA.pickBy=lm,EA.property=Cm,EA.propertyOf=BG,EA.pull=qN,EA.pullAll=UB,EA.pullAllBy=XN,EA.pullAllWith=VN,EA.pullAt=AF,EA.range=mG,EA.rangeRight=EG,EA.rearg=hR,EA.reject=eR,EA.remove=eF,EA.rest=pR,EA.reverse=od,EA.sampleSize=nR,EA.set=QL,EA.setWith=fL,EA.shuffle=iR,EA.slice=tF,EA.sortBy=aR,EA.sortedUniq=lF,EA.sortedUniqBy=cF,EA.split=OL,EA.spread=CR,EA.tail=gF,EA.take=dF,EA.takeRight=uF,EA.takeRightWhile=hF,EA.takeWhile=pF,EA.tap=MF,EA.throttle=BR,EA.thru=Ql,EA.toArray=im,EA.toPairs=cm,EA.toPairsIn=gm,EA.toPath=bG,EA.toPlainObject=rm,EA.transform=IL,EA.unary=mR,EA.union=CF,EA.unionBy=BF,EA.unionWith=mF,EA.uniq=EF,EA.uniqBy=QF,EA.uniqWith=fF,EA.unset=wL,EA.unzip=rd,EA.unzipWith=YB,EA.update=bL,EA.updateWith=yL,EA.values=gr,EA.valuesIn=DL,EA.without=IF,EA.words=hm,EA.wrap=ER,EA.xor=wF,EA.xorBy=bF,EA.xorWith=yF,EA.zip=DF,EA.zipObject=vF,EA.zipObjectDeep=kF,EA.zipWith=_F,EA.entries=cm,EA.entriesIn=gm,EA.extend=am,EA.extendWith=vl,Cd(EA,EA),EA.add=DG,EA.attempt=pm,EA.camelCase=ML,EA.capitalize=dm,EA.ceil=vG,EA.clamp=vL,EA.clone=fR,EA.cloneDeep=wR,EA.cloneDeepWith=bR,EA.cloneWith=IR,EA.conformsTo=yR,EA.deburr=um,EA.defaultTo=oG,EA.divide=kG,EA.endsWith=SL,EA.eq=qn,EA.escape=xL,EA.escapeRegExp=NL,EA.every=KF,EA.find=UF,EA.findIndex=PB,EA.findKey=eL,EA.findLast=YF,EA.findLastIndex=HB,EA.findLastKey=tL,EA.floor=_G,EA.forEach=$B,EA.forEachRight=zB,EA.forIn=nL,EA.forInRight=iL,EA.forOwn=oL,EA.forOwnRight=rL,EA.get=gd,EA.gt=DR,EA.gte=vR,EA.has=lL,EA.hasIn=dd,EA.head=TB,EA.identity=Bn,EA.includes=ZF,EA.indexOf=YN,EA.inRange=kL,EA.invoke=dL,EA.isArguments=Do,EA.isArray=Te,EA.isArrayBuffer=kR,EA.isArrayLike=pn,EA.isArrayLikeObject=Dt,EA.isBoolean=_R,EA.isBuffer=Wi,EA.isDate=MR,EA.isElement=SR,EA.isEmpty=xR,EA.isEqual=NR,EA.isEqualWith=FR,EA.isError=ld,EA.isFinite=RR,EA.isFunction=Mi,EA.isInteger=Am,EA.isLength=yl,EA.isMap=em,EA.isMatch=LR,EA.isMatchWith=GR,EA.isNaN=PR,EA.isNative=HR,EA.isNil=TR,EA.isNull=KR,EA.isNumber=tm,EA.isObject=It,EA.isObjectLike=yt,EA.isPlainObject=Ba,EA.isRegExp=cd,EA.isSafeInteger=UR,EA.isSet=nm,EA.isString=Dl,EA.isSymbol=kn,EA.isTypedArray=cr,EA.isUndefined=YR,EA.isWeakMap=OR,EA.isWeakSet=$R,EA.join=ZN,EA.kebabCase=FL,EA.last=Yn,EA.lastIndexOf=WN,EA.lowerCase=RL,EA.lowerFirst=LL,EA.lt=zR,EA.lte=JR,EA.max=MG,EA.maxBy=SG,EA.mean=xG,EA.meanBy=NG,EA.min=FG,EA.minBy=RG,EA.stubArray=md,EA.stubFalse=Ed,EA.stubObject=QG,EA.stubString=fG,EA.stubTrue=IG,EA.multiply=LG,EA.nth=jN,EA.noConflict=dG,EA.noop=Bd,EA.now=Il,EA.pad=GL,EA.padEnd=PL,EA.padStart=HL,EA.parseInt=KL,EA.random=_L,EA.reduce=VF,EA.reduceRight=AR,EA.repeat=TL,EA.replace=UL,EA.result=EL,EA.round=GG,EA.runInContext=kA,EA.sample=tR,EA.size=oR,EA.snakeCase=YL,EA.some=rR,EA.sortedIndex=nF,EA.sortedIndexBy=iF,EA.sortedIndexOf=oF,EA.sortedLastIndex=rF,EA.sortedLastIndexBy=aF,EA.sortedLastIndexOf=sF,EA.startCase=$L,EA.startsWith=zL,EA.subtract=PG,EA.sum=HG,EA.sumBy=KG,EA.template=JL,EA.times=wG,EA.toFinite=Si,EA.toInteger=$e,EA.toLength=om,EA.toLower=ZL,EA.toNumber=On,EA.toSafeInteger=ZR,EA.toString=st,EA.toUpper=WL,EA.trim=jL,EA.trimEnd=qL,EA.trimStart=XL,EA.truncate=VL,EA.unescape=AG,EA.uniqueId=yG,EA.upperCase=eG,EA.upperFirst=ud,EA.each=$B,EA.eachRight=zB,EA.first=TB,Cd(EA,function(){var c={};return ci(EA,function(w,Y){lt.call(EA.prototype,Y)||(c[Y]=w)}),c}(),{chain:!1}),EA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){EA[c].placeholder=EA}),un(["drop","take"],function(c,w){Xe.prototype[c]=function(Y){Y=Y===t?1:Lt($e(Y),0);var oA=this.__filtered__&&!w?new Xe(this):this.clone();return oA.__filtered__?oA.__takeCount__=$t(Y,oA.__takeCount__):oA.__views__.push({size:$t(Y,AA),type:c+(oA.__dir__<0?"Right":"")}),oA},Xe.prototype[c+"Right"]=function(Y){return this.reverse()[c](Y).reverse()}}),un(["filter","map","takeWhile"],function(c,w){var Y=w+1,oA=Y==r||Y==Q;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Ne(pA,3),type:Y}),fA.__filtered__=fA.__filtered__||oA,fA}}),un(["head","last"],function(c,w){var Y="take"+(w?"Right":"");Xe.prototype[c]=function(){return this[Y](1).value()[0]}}),un(["initial","tail"],function(c,w){var Y="drop"+(w?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[Y](1)}}),Xe.prototype.compact=function(){return this.filter(Bn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,w){return typeof c=="function"?new Xe(this):this.map(function(Y){return ga(Y,c,w)})}),Xe.prototype.reject=function(c){return this.filter(bl(Ne(c)))},Xe.prototype.slice=function(c,w){c=$e(c);var Y=this;return Y.__filtered__&&(c>0||w<0)?new Xe(Y):(c<0?Y=Y.takeRight(-c):c&&(Y=Y.drop(c)),w!==t&&(w=$e(w),Y=w<0?Y.dropRight(-w):Y.take(w-c)),Y)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(AA)},ci(Xe.prototype,function(c,w){var Y=/^(?:filter|find|map|reject)|While$/.test(w),oA=/^(?:head|last)$/.test(w),pA=EA[oA?"take"+(w=="last"?"Right":""):w],fA=oA||/^find/.test(w);pA&&(EA.prototype[w]=function(){var _A=this.__wrapped__,GA=oA?[1]:arguments,YA=_A instanceof Xe,te=GA[0],ne=YA||Te(_A),ce=function(We){var Ve=pA.apply(EA,Zn([We],GA));return oA&&we?Ve[0]:Ve};ne&&Y&&typeof te=="function"&&te.length!=1&&(YA=ne=!1);var we=this.__chain__,_e=!!this.__actions__.length,Fe=fA&&!we,Je=YA&&!_e;if(!fA&&ne){_A=Je?_A:new Xe(this);var Re=c.apply(_A,GA);return Re.__actions__.push({func:Ql,args:[ce],thisArg:t}),new Kn(Re,we)}return Fe&&Je?c.apply(this,GA):(Re=this.thru(ce),Fe?oA?Re.value()[0]:Re.value():Re)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var w=li[c],Y=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",oA=/^(?:pop|shift)$/.test(c);EA.prototype[c]=function(){var pA=arguments;if(oA&&!this.__chain__){var fA=this.value();return w.apply(Te(fA)?fA:[],pA)}return this[Y](function(_A){return w.apply(Te(_A)?_A:[],pA)})}}),ci(Xe.prototype,function(c,w){var Y=EA[w];if(Y){var oA=Y.name+"";lt.call(or,oA)||(or[oA]=[]),or[oA].push({name:w,func:Y})}}),or[ul(t,m).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=A4,Xe.prototype.reverse=e4,Xe.prototype.value=t4,EA.prototype.at=SF,EA.prototype.chain=xF,EA.prototype.commit=NF,EA.prototype.next=FF,EA.prototype.plant=LF,EA.prototype.reverse=GF,EA.prototype.toJSON=EA.prototype.valueOf=EA.prototype.value=PF,EA.prototype.first=EA.prototype.head,ia&&(EA.prototype[ia]=RF),EA},Qe=De();fi?((fi.exports=Qe)._=Qe,Pn._=Qe):Rt._=Qe}).call(vo)}(ma,ma.exports);var ut=ma.exports;const Im=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},kt=(n,e)=>ut.isString(n)?Im(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:kt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>kt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),d=e.split(".");function f(o,b,D){if(b.length===1){o[b[0]]=D;return}const I=b[0],x=b[1];o[I]||(isNaN(Number(x))?o[I]={}:o[I]=[]),f(o[I],b.slice(1),D)}return f(i,d,t),i},Ea=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const d of t)if(i&&typeof i=="object"&&d in i)i=i[d];else return;return i},Ni=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const d=Math.floor(Math.random()*e.length);t+=e.charAt(d)}return t};function wm(n){return/[.*+?^${}()|[\]\\]/.test(n)}function bm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wd=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wd(i.children,e)}:i),ln=(n,e)=>{var t,i,d,f,o,b,D,I,x,N,T;for(const O of n){if(O.name===e)return O;if((t=O.props)!=null&&t.btns&&Array.isArray((i=O.props)==null?void 0:i.btns)||(d=O.props)!=null&&d.rowBtns&&Array.isArray((f=O.props)==null?void 0:f.rowBtns)){const H=O.props.btns||O.props.rowBtns;for(const L of H){if(L.name===e||L.key===e)return L;if(L.component==="Popover"){if(Array.isArray(L.children)&&L.children.length>0){const v=ln(L.children,e);if(v)return v}if(Array.isArray((o=L==null?void 0:L.props)==null?void 0:o.children)&&((b=L==null?void 0:L.props)==null?void 0:b.children.length)>0){const v=ln(L.props.children,e);if(v)return v}}}}if(O.component==="Popover"){if(Array.isArray(O.children)&&O.children.length>0){const H=ln(O.children,e);if(H)return H}if(Array.isArray((D=O==null?void 0:O.props)==null?void 0:D.children)&&((I=O==null?void 0:O.props)==null?void 0:I.children.length)>0){const H=ln(O.props.children,e);if(H)return H}}if((x=O.props)!=null&&x.formSlots&&Array.isArray((N=O.props)==null?void 0:N.formSlots)){const H=ln((T=O.props)==null?void 0:T.formSlots,e);if(H)return H}if(O.children&&O.children.length>0){const H=ln(O.children,e);if(H)return H}}return null};/**
|
|
27
|
+
}`;var Je=pm(function(){return He(fA,_e+"return "+ce).apply(t,_A)});if(Je.source=ce,ld(Je))throw Je;return Je}function JL(c){return st(c).toLowerCase()}function ZL(c){return st(c).toUpperCase()}function WL(c,w,Y){if(c=st(c),c&&(Y||w===t))return ta(c);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=DA(w),fA=$s(oA,pA),_A=zs(oA,pA)+1;return Zi(oA,fA,_A).join("")}function jL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.slice(0,HA(c)+1);if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=zs(oA,DA(w))+1;return Zi(oA,0,pA).join("")}function qL(c,w,Y){if(c=st(c),c&&(Y||w===t))return c.replace(tt,"");if(!c||!(w=vn(w)))return c;var oA=DA(c),pA=$s(oA,DA(w));return Zi(oA,pA).join("")}function XL(c,w){var Y=s,oA=h;if(It(w)){var pA="separator"in w?w.separator:pA;Y="length"in w?$e(w.length):Y,oA="omission"in w?vn(w.omission):oA}c=st(c);var fA=c.length;if(Yi(c)){var _A=DA(c);fA=_A.length}if(Y>=fA)return c;var GA=Y-RA(oA);if(GA<1)return oA;var YA=_A?Zi(_A,0,GA).join(""):c.slice(0,GA);if(pA===t)return YA+oA;if(_A&&(GA+=YA.length-GA),cd(pA)){if(c.slice(GA).search(pA)){var te,ne=YA;for(pA.global||(pA=on(pA.source,st(Me.exec(pA))+"g")),pA.lastIndex=0;te=pA.exec(ne);)var ce=te.index;YA=YA.slice(0,ce===t?GA:ce)}}else if(c.indexOf(vn(pA),GA)!=GA){var we=YA.lastIndexOf(pA);we>-1&&(YA=YA.slice(0,we))}return YA+oA}function VL(c){return c=st(c),c&&Ee.test(c)?c.replace(de,VA):c}var AG=sr(function(c,w,Y){return c+(Y?" ":"")+w.toUpperCase()}),ud=CB("toUpperCase");function hm(c,w,Y){return c=st(c),w=Y?t:w,w===t?G(c)?he(c):Qg(c):c.match(w)||[]}var pm=Ze(function(c,w){try{return nn(c,t,w)}catch(Y){return ld(Y)?Y:new Be(Y)}}),eG=ki(function(c,w){return un(w,function(Y){Y=di(Y),Di(c,Y,ad(c[Y],c))}),c});function tG(c){var w=c==null?0:c.length,Y=Ne();return c=w?pt(c,function(oA){if(typeof oA[1]!="function")throw new Ut(o);return[Y(oA[0]),oA[1]]}):[],Ze(function(oA){for(var pA=-1;++pA<w;){var fA=c[pA];if(nn(fA[0],this,oA))return nn(fA[1],this,oA)}})}function nG(c){return k4(Tn(c,N))}function hd(c){return function(){return c}}function iG(c,w){return c==null||c!==c?w:c}var oG=mB(),rG=mB(!0);function Bn(c){return c}function pd(c){return ZC(typeof c=="function"?c:Tn(c,N))}function aG(c){return jC(Tn(c,N))}function sG(c,w){return qC(c,Tn(w,N))}var lG=Ze(function(c,w){return function(Y){return ga(Y,c,w)}}),cG=Ze(function(c,w){return function(Y){return ga(c,Y,w)}});function Cd(c,w,Y){var oA=Ht(w),pA=sl(w,oA);Y==null&&!(It(w)&&(pA.length||!oA.length))&&(Y=w,w=c,c=this,pA=sl(w,Ht(w)));var fA=!(It(Y)&&"chain"in Y)||!!Y.chain,_A=Mi(c);return un(pA,function(GA){var YA=w[GA];c[GA]=YA,_A&&(c.prototype[GA]=function(){var te=this.__chain__;if(fA||te){var ne=c(this.__wrapped__),ce=ne.__actions__=hn(this.__actions__);return ce.push({func:YA,args:arguments,thisArg:c}),ne.__chain__=te,ne}return YA.apply(c,Zn([this.value()],arguments))})}),c}function gG(){return Rt._===this&&(Rt._=Gx),this}function Bd(){}function dG(c){return c=$e(c),Ze(function(w){return XC(w,c)})}var uG=Zg(pt),hG=Zg(Vr),pG=Zg(Ii);function Cm(c){return ed(c)?ea(di(c)):$4(c)}function CG(c){return function(w){return c==null?t:wo(c,w)}}var BG=QB(),mG=QB(!0);function md(){return[]}function Ed(){return!1}function EG(){return{}}function QG(){return""}function fG(){return!0}function IG(c,w){if(c=$e(c),c<1||c>S)return[];var Y=AA,oA=$t(c,AA);w=Ne(w),c-=AA;for(var pA=wi(oA,w);++Y<c;)w(Y);return pA}function wG(c){return Te(c)?pt(c,di):kn(c)?[c]:hn(LB(st(c)))}function bG(c){var w=++Rx;return st(c)+w}var yG=hl(function(c,w){return c+w},0),DG=Wg("ceil"),vG=hl(function(c,w){return c/w},1),kG=Wg("floor");function _G(c){return c&&c.length?al(c,Bn,Fg):t}function MG(c,w){return c&&c.length?al(c,Ne(w,2),Fg):t}function SG(c){return Co(c,Bn)}function xG(c,w){return Co(c,Ne(w,2))}function NG(c){return c&&c.length?al(c,Bn,Pg):t}function FG(c,w){return c&&c.length?al(c,Ne(w,2),Pg):t}var RG=hl(function(c,w){return c*w},1),LG=Wg("round"),GG=hl(function(c,w){return c-w},0);function PG(c){return c&&c.length?tr(c,Bn):0}function HG(c,w){return c&&c.length?tr(c,Ne(w,2)):0}return EA.after=aR,EA.ary=JB,EA.assign=ZR,EA.assignIn=am,EA.assignInWith=vl,EA.assignWith=WR,EA.at=jR,EA.before=ZB,EA.bind=ad,EA.bindAll=eG,EA.bindKey=WB,EA.castArray=ER,EA.chain=OB,EA.chunk=kN,EA.compact=_N,EA.concat=MN,EA.cond=tG,EA.conforms=nG,EA.constant=hd,EA.countBy=PF,EA.create=qR,EA.curry=jB,EA.curryRight=qB,EA.debounce=XB,EA.defaults=XR,EA.defaultsDeep=VR,EA.defer=sR,EA.delay=lR,EA.difference=SN,EA.differenceBy=xN,EA.differenceWith=NN,EA.drop=FN,EA.dropRight=RN,EA.dropRightWhile=LN,EA.dropWhile=GN,EA.fill=PN,EA.filter=KF,EA.flatMap=YF,EA.flatMapDeep=OF,EA.flatMapDepth=$F,EA.flatten=KB,EA.flattenDeep=HN,EA.flattenDepth=KN,EA.flip=cR,EA.flow=oG,EA.flowRight=rG,EA.fromPairs=TN,EA.functions=rL,EA.functionsIn=aL,EA.groupBy=zF,EA.initial=YN,EA.intersection=ON,EA.intersectionBy=$N,EA.intersectionWith=zN,EA.invert=lL,EA.invertBy=cL,EA.invokeMap=ZF,EA.iteratee=pd,EA.keyBy=WF,EA.keys=Ht,EA.keysIn=Cn,EA.map=fl,EA.mapKeys=dL,EA.mapValues=uL,EA.matches=aG,EA.matchesProperty=sG,EA.memoize=wl,EA.merge=hL,EA.mergeWith=sm,EA.method=lG,EA.methodOf=cG,EA.mixin=Cd,EA.negate=bl,EA.nthArg=dG,EA.omit=pL,EA.omitBy=CL,EA.once=gR,EA.orderBy=jF,EA.over=uG,EA.overArgs=dR,EA.overEvery=hG,EA.overSome=pG,EA.partial=sd,EA.partialRight=VB,EA.partition=qF,EA.pick=BL,EA.pickBy=lm,EA.property=Cm,EA.propertyOf=CG,EA.pull=jN,EA.pullAll=UB,EA.pullAllBy=qN,EA.pullAllWith=XN,EA.pullAt=VN,EA.range=BG,EA.rangeRight=mG,EA.rearg=uR,EA.reject=AR,EA.remove=AF,EA.rest=hR,EA.reverse=od,EA.sampleSize=tR,EA.set=EL,EA.setWith=QL,EA.shuffle=nR,EA.slice=eF,EA.sortBy=rR,EA.sortedUniq=sF,EA.sortedUniqBy=lF,EA.split=YL,EA.spread=pR,EA.tail=cF,EA.take=gF,EA.takeRight=dF,EA.takeRightWhile=uF,EA.takeWhile=hF,EA.tap=_F,EA.throttle=CR,EA.thru=Ql,EA.toArray=im,EA.toPairs=cm,EA.toPairsIn=gm,EA.toPath=wG,EA.toPlainObject=rm,EA.transform=fL,EA.unary=BR,EA.union=pF,EA.unionBy=CF,EA.unionWith=BF,EA.uniq=mF,EA.uniqBy=EF,EA.uniqWith=QF,EA.unset=IL,EA.unzip=rd,EA.unzipWith=YB,EA.update=wL,EA.updateWith=bL,EA.values=gr,EA.valuesIn=yL,EA.without=fF,EA.words=hm,EA.wrap=mR,EA.xor=IF,EA.xorBy=wF,EA.xorWith=bF,EA.zip=yF,EA.zipObject=DF,EA.zipObjectDeep=vF,EA.zipWith=kF,EA.entries=cm,EA.entriesIn=gm,EA.extend=am,EA.extendWith=vl,Cd(EA,EA),EA.add=yG,EA.attempt=pm,EA.camelCase=_L,EA.capitalize=dm,EA.ceil=DG,EA.clamp=DL,EA.clone=QR,EA.cloneDeep=IR,EA.cloneDeepWith=wR,EA.cloneWith=fR,EA.conformsTo=bR,EA.deburr=um,EA.defaultTo=iG,EA.divide=vG,EA.endsWith=ML,EA.eq=qn,EA.escape=SL,EA.escapeRegExp=xL,EA.every=HF,EA.find=TF,EA.findIndex=PB,EA.findKey=AL,EA.findLast=UF,EA.findLastIndex=HB,EA.findLastKey=eL,EA.floor=kG,EA.forEach=$B,EA.forEachRight=zB,EA.forIn=tL,EA.forInRight=nL,EA.forOwn=iL,EA.forOwnRight=oL,EA.get=gd,EA.gt=yR,EA.gte=DR,EA.has=sL,EA.hasIn=dd,EA.head=TB,EA.identity=Bn,EA.includes=JF,EA.indexOf=UN,EA.inRange=vL,EA.invoke=gL,EA.isArguments=Do,EA.isArray=Te,EA.isArrayBuffer=vR,EA.isArrayLike=pn,EA.isArrayLikeObject=Dt,EA.isBoolean=kR,EA.isBuffer=Wi,EA.isDate=_R,EA.isElement=MR,EA.isEmpty=SR,EA.isEqual=xR,EA.isEqualWith=NR,EA.isError=ld,EA.isFinite=FR,EA.isFunction=Mi,EA.isInteger=Am,EA.isLength=yl,EA.isMap=em,EA.isMatch=RR,EA.isMatchWith=LR,EA.isNaN=GR,EA.isNative=PR,EA.isNil=KR,EA.isNull=HR,EA.isNumber=tm,EA.isObject=It,EA.isObjectLike=yt,EA.isPlainObject=Ba,EA.isRegExp=cd,EA.isSafeInteger=TR,EA.isSet=nm,EA.isString=Dl,EA.isSymbol=kn,EA.isTypedArray=cr,EA.isUndefined=UR,EA.isWeakMap=YR,EA.isWeakSet=OR,EA.join=JN,EA.kebabCase=NL,EA.last=Yn,EA.lastIndexOf=ZN,EA.lowerCase=FL,EA.lowerFirst=RL,EA.lt=$R,EA.lte=zR,EA.max=_G,EA.maxBy=MG,EA.mean=SG,EA.meanBy=xG,EA.min=NG,EA.minBy=FG,EA.stubArray=md,EA.stubFalse=Ed,EA.stubObject=EG,EA.stubString=QG,EA.stubTrue=fG,EA.multiply=RG,EA.nth=WN,EA.noConflict=gG,EA.noop=Bd,EA.now=Il,EA.pad=LL,EA.padEnd=GL,EA.padStart=PL,EA.parseInt=HL,EA.random=kL,EA.reduce=XF,EA.reduceRight=VF,EA.repeat=KL,EA.replace=TL,EA.result=mL,EA.round=LG,EA.runInContext=kA,EA.sample=eR,EA.size=iR,EA.snakeCase=UL,EA.some=oR,EA.sortedIndex=tF,EA.sortedIndexBy=nF,EA.sortedIndexOf=iF,EA.sortedLastIndex=oF,EA.sortedLastIndexBy=rF,EA.sortedLastIndexOf=aF,EA.startCase=OL,EA.startsWith=$L,EA.subtract=GG,EA.sum=PG,EA.sumBy=HG,EA.template=zL,EA.times=IG,EA.toFinite=Si,EA.toInteger=$e,EA.toLength=om,EA.toLower=JL,EA.toNumber=On,EA.toSafeInteger=JR,EA.toString=st,EA.toUpper=ZL,EA.trim=WL,EA.trimEnd=jL,EA.trimStart=qL,EA.truncate=XL,EA.unescape=VL,EA.uniqueId=bG,EA.upperCase=AG,EA.upperFirst=ud,EA.each=$B,EA.eachRight=zB,EA.first=TB,Cd(EA,function(){var c={};return ci(EA,function(w,Y){lt.call(EA.prototype,Y)||(c[Y]=w)}),c}(),{chain:!1}),EA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){EA[c].placeholder=EA}),un(["drop","take"],function(c,w){Xe.prototype[c]=function(Y){Y=Y===t?1:Lt($e(Y),0);var oA=this.__filtered__&&!w?new Xe(this):this.clone();return oA.__filtered__?oA.__takeCount__=$t(Y,oA.__takeCount__):oA.__views__.push({size:$t(Y,AA),type:c+(oA.__dir__<0?"Right":"")}),oA},Xe.prototype[c+"Right"]=function(Y){return this.reverse()[c](Y).reverse()}}),un(["filter","map","takeWhile"],function(c,w){var Y=w+1,oA=Y==r||Y==Q;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Ne(pA,3),type:Y}),fA.__filtered__=fA.__filtered__||oA,fA}}),un(["head","last"],function(c,w){var Y="take"+(w?"Right":"");Xe.prototype[c]=function(){return this[Y](1).value()[0]}}),un(["initial","tail"],function(c,w){var Y="drop"+(w?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[Y](1)}}),Xe.prototype.compact=function(){return this.filter(Bn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,w){return typeof c=="function"?new Xe(this):this.map(function(Y){return ga(Y,c,w)})}),Xe.prototype.reject=function(c){return this.filter(bl(Ne(c)))},Xe.prototype.slice=function(c,w){c=$e(c);var Y=this;return Y.__filtered__&&(c>0||w<0)?new Xe(Y):(c<0?Y=Y.takeRight(-c):c&&(Y=Y.drop(c)),w!==t&&(w=$e(w),Y=w<0?Y.dropRight(-w):Y.take(w-c)),Y)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(AA)},ci(Xe.prototype,function(c,w){var Y=/^(?:filter|find|map|reject)|While$/.test(w),oA=/^(?:head|last)$/.test(w),pA=EA[oA?"take"+(w=="last"?"Right":""):w],fA=oA||/^find/.test(w);pA&&(EA.prototype[w]=function(){var _A=this.__wrapped__,GA=oA?[1]:arguments,YA=_A instanceof Xe,te=GA[0],ne=YA||Te(_A),ce=function(We){var Ve=pA.apply(EA,Zn([We],GA));return oA&&we?Ve[0]:Ve};ne&&Y&&typeof te=="function"&&te.length!=1&&(YA=ne=!1);var we=this.__chain__,_e=!!this.__actions__.length,Fe=fA&&!we,Je=YA&&!_e;if(!fA&&ne){_A=Je?_A:new Xe(this);var Re=c.apply(_A,GA);return Re.__actions__.push({func:Ql,args:[ce],thisArg:t}),new Kn(Re,we)}return Fe&&Je?c.apply(this,GA):(Re=this.thru(ce),Fe?oA?Re.value()[0]:Re.value():Re)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var w=li[c],Y=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",oA=/^(?:pop|shift)$/.test(c);EA.prototype[c]=function(){var pA=arguments;if(oA&&!this.__chain__){var fA=this.value();return w.apply(Te(fA)?fA:[],pA)}return this[Y](function(_A){return w.apply(Te(_A)?_A:[],pA)})}}),ci(Xe.prototype,function(c,w){var Y=EA[w];if(Y){var oA=Y.name+"";lt.call(or,oA)||(or[oA]=[]),or[oA].push({name:w,func:Y})}}),or[ul(t,m).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=Vx,Xe.prototype.reverse=A4,Xe.prototype.value=e4,EA.prototype.at=MF,EA.prototype.chain=SF,EA.prototype.commit=xF,EA.prototype.next=NF,EA.prototype.plant=RF,EA.prototype.reverse=LF,EA.prototype.toJSON=EA.prototype.valueOf=EA.prototype.value=GF,EA.prototype.first=EA.prototype.head,ia&&(EA.prototype[ia]=FF),EA},Qe=De();fi?((fi.exports=Qe)._=Qe,Pn._=Qe):Rt._=Qe}).call(vo)}(ma,ma.exports);var ut=ma.exports;const Im=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},kt=(n,e)=>ut.isString(n)?Im(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:kt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>kt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),d=e.split(".");function f(o,b,D){if(b.length===1){o[b[0]]=D;return}const I=b[0],x=b[1];o[I]||(isNaN(Number(x))?o[I]={}:o[I]=[]),f(o[I],b.slice(1),D)}return f(i,d,t),i},Ea=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const d of t)if(i&&typeof i=="object"&&d in i)i=i[d];else return;return i},Ni=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const d=Math.floor(Math.random()*e.length);t+=e.charAt(d)}return t};function wm(n){return/[.*+?^${}()|[\]\\]/.test(n)}function bm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wd=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wd(i.children,e)}:i),ln=(n,e)=>{var t,i,d,f,o,b,D,I,x,N,T;for(const O of n){if(O.name===e)return O;if((t=O.props)!=null&&t.btns&&Array.isArray((i=O.props)==null?void 0:i.btns)||(d=O.props)!=null&&d.rowBtns&&Array.isArray((f=O.props)==null?void 0:f.rowBtns)){const H=O.props.btns||O.props.rowBtns;for(const L of H){if(L.name===e||L.key===e)return L;if(L.component==="Popover"){if(Array.isArray(L.children)&&L.children.length>0){const v=ln(L.children,e);if(v)return v}if(Array.isArray((o=L==null?void 0:L.props)==null?void 0:o.children)&&((b=L==null?void 0:L.props)==null?void 0:b.children.length)>0){const v=ln(L.props.children,e);if(v)return v}}}}if(O.component==="Popover"){if(Array.isArray(O.children)&&O.children.length>0){const H=ln(O.children,e);if(H)return H}if(Array.isArray((D=O==null?void 0:O.props)==null?void 0:D.children)&&((I=O==null?void 0:O.props)==null?void 0:I.children.length)>0){const H=ln(O.props.children,e);if(H)return H}}if((x=O.props)!=null&&x.formSlots&&Array.isArray((N=O.props)==null?void 0:N.formSlots)){const H=ln((T=O.props)==null?void 0:T.formSlots,e);if(H)return H}if(O.children&&O.children.length>0){const H=ln(O.children,e);if(H)return H}}return null};/**
|
|
28
28
|
* @vue/shared v3.5.13
|
|
29
29
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
30
|
* @license MIT
|
|
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
|
|
|
77
77
|
`+g)}u&&(_?_=u+_+`
|
|
78
78
|
`+l:_=u+l),v.print_newline(!1),_&&(m.text=_,m.whitespace_before="",m.newlines=0,v.add_raw_token(m),v.print_newline(!0))}},T.prototype._handle_tag_open=function(v,m,F,k,_){var B=this._get_tag_open_token(m);if((F.is_unformatted||F.is_content_unformatted)&&!F.is_empty_element&&m.type===i.TAG_OPEN&&!B.is_start_tag?(v.add_raw_token(m),B.start_tag_token=this._tag_stack.try_pop(B.tag_name)):(v.traverse_whitespace(m),this._set_tag_position(v,m,B,F,k),B.is_inline_element||v.set_wrap_point(),v.print_token(m)),B.is_start_tag&&this._is_wrap_attributes_force){var p=0,u;do u=_.peek(p),u.type===i.ATTRIBUTE&&(B.attr_count+=1),p+=1;while(u.type!==i.EOF&&u.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(B.alignment_size=m.text.length+1),!B.tag_complete&&!B.is_unformatted&&(v.alignment_size=B.alignment_size),B};var O=function(v,m){if(this.parent=v||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!m)this.tag_complete=!0;else{var F;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(F=m.text.match(/^<([^\s>]*)/),this.tag_check=F?F[1]:""):(F=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=F?F[1]:"",(m.text.startsWith("{{#>")||m.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&m.next!==null?this.tag_check=m.next.text.split(" ")[0]:this.tag_check=m.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),m.type===i.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||m.closed&&m.closed.text==="/>";var k=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(k=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(k)))}};T.prototype._get_tag_open_token=function(v){var m=new O(this._tag_stack.get_parser_token(),v);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||I(m.tag_check,this._options.void_elements),m.is_empty_element=m.tag_complete||m.is_start_tag&&m.is_end_tag,m.is_unformatted=!m.tag_complete&&I(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&I(m.tag_check,this._options.content_unformatted),m.is_inline_element=I(m.tag_name,this._options.inline)||this._options.inline_custom_elements&&m.tag_name.includes("-")||m.tag_start_char==="{",m},T.prototype._set_tag_position=function(v,m,F,k,_){if(F.is_empty_element||(F.is_end_tag?F.start_tag_token=this._tag_stack.try_pop(F.tag_name):(this._do_optional_end_element(F)&&(F.is_inline_element||v.print_newline(!1)),this._tag_stack.record_tag(F),(F.tag_name==="script"||F.tag_name==="style")&&!(F.is_unformatted||F.is_content_unformatted)&&(F.custom_beautifier_name=D(F.tag_check,m)))),I(F.tag_check,this._options.extra_liners)&&(v.print_newline(!1),v._output.just_added_blankline()||v.print_newline(!0)),F.is_empty_element){if(F.tag_start_char==="{"&&F.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),F.indent_content=!0;var B=v.current_line_has_match(/{{#if/);B||v.print_newline(!1)}F.tag_name==="!--"&&_.type===i.TAG_CLOSE&&k.is_end_tag&&F.text.indexOf(`
|
|
79
79
|
`)===-1||(F.is_inline_element||F.is_unformatted||v.print_newline(!1),this._calcluate_parent_multiline(v,F))}else if(F.is_end_tag){var p=!1;p=F.start_tag_token&&F.start_tag_token.multiline_content,p=p||!F.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(_.type===i.TAG_CLOSE&&F.start_tag_token===k)&&_.type!=="TK_CONTENT",(F.is_content_unformatted||F.is_unformatted)&&(p=!1),p&&v.print_newline(!1)}else F.indent_content=!F.custom_beautifier_name,F.tag_start_char==="<"&&(F.tag_name==="html"?F.indent_content=this._options.indent_inner_html:F.tag_name==="head"?F.indent_content=this._options.indent_head_inner_html:F.tag_name==="body"&&(F.indent_content=this._options.indent_body_inner_html)),!(F.is_inline_element||F.is_unformatted)&&(_.type!=="TK_CONTENT"||F.is_content_unformatted)&&v.print_newline(!1),this._calcluate_parent_multiline(v,F)},T.prototype._calcluate_parent_multiline=function(v,m){m.parent&&v._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var H=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],L=["a","audio","del","ins","map","noscript","video"];return T.prototype._do_optional_end_element=function(v){var m=null;if(!(v.is_empty_element||!v.is_start_tag||!v.parent)){if(v.tag_name==="body")m=m||this._tag_stack.try_pop("head");else if(v.tag_name==="li")m=m||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(v.tag_name==="dd"||v.tag_name==="dt")m=m||this._tag_stack.try_pop("dt",["dl"]),m=m||this._tag_stack.try_pop("dd",["dl"]);else if(v.parent.tag_name==="p"&&H.indexOf(v.tag_name)!==-1){var F=v.parent.parent;(!F||L.indexOf(F.tag_name)===-1)&&(m=m||this._tag_stack.try_pop("p"))}else v.tag_name==="rp"||v.tag_name==="rt"?(m=m||this._tag_stack.try_pop("rt",["ruby","rtc"]),m=m||this._tag_stack.try_pop("rp",["ruby","rtc"])):v.tag_name==="optgroup"?m=m||this._tag_stack.try_pop("optgroup",["select"]):v.tag_name==="option"?m=m||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):v.tag_name==="colgroup"?m=m||this._tag_stack.try_pop("caption",["table"]):v.tag_name==="thead"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"])):v.tag_name==="tbody"||v.tag_name==="tfoot"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("thead",["table"]),m=m||this._tag_stack.try_pop("tbody",["table"])):v.tag_name==="tr"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(v.tag_name==="th"||v.tag_name==="td")&&(m=m||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),m=m||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return v.parent=this._tag_stack.get_parser_token(),m}},Ac.Beautifier=T,Ac}var _u;function _E(){if(_u)return Sa.exports;_u=1;var n=kE().Beautifier,e=yu().Options;function t(i,d,f,o){var b=new n(i,d,f,o);return b.beautify()}return Sa.exports=t,Sa.exports.defaultOptions=function(){return new e},Sa.exports}var Mu;function ME(){if(Mu)return pr;Mu=1;var n=yE(),e=vE(),t=_E();function i(d,f,o,b){return o=o||n,b=b||e,t(d,f,o,b)}return i.defaultOptions=t.defaultOptions,pr.js=n,pr.css=e,pr.html=i,pr}(function(n){function e(t,i,d){var f=function(o,b){return t.js_beautify(o,b)};return f.js=t.js_beautify,f.css=i.css_beautify,f.html=d.html_beautify,f.js_beautify=t.js_beautify,f.css_beautify=i.css_beautify,f.html_beautify=d.html_beautify,f}(function(t){var i=ME();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=e(i,i,i)})(n)})(Au);var SE=Au.exports,xE=fE(SE),Su=function(){function n(e){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],d=t.attributes().disabled!==void 0,f=ur(t.element)&&i.includes(t.element.tagName);return d&&f},this.wrapperElement=e}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(ur);if(t.length===0)return[];var i=Pd([],t.filter(function(d){return d.matches(e)}));return t.forEach(function(d){i.push.apply(i,Array.from(d.querySelectorAll(e)))}),i},n.prototype.find=function(e){if(typeof e=="object"&&"ref"in e){var t=this.getCurrentComponent();if(!t)return Fi("DOMWrapper");var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?hr(i):Fi("DOMWrapper")}var d=this.findAll(e);return d.length>0?d[0]:Fi("DOMWrapper")},n.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return Fi("VueWrapper");if(typeof e=="object"&&"ref"in e){var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?Ll(null,i):Fi("VueWrapper")}if(qd(t.vnode,e)&&this.element.contains(t.vnode.el))return Ll(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var d=this.findAllComponents(e)[0];return d??Fi("VueWrapper")},n.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var i=BE(t.subTree,e);return i.map(function(d){return d.proxy?Ll(null,d.proxy):hr(d.vnode.el)})},n.prototype.html=function(e){var t=this.getRootNodes().map(function(i){return QE(i)});return e!=null&&e.raw?t.join(""):t.map(function(i){return xE.html(i,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
|
|
80
|
-
`)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,f=i;d<f.length;d++){var o=f[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(qm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){if(t&&t.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(i=lE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),NE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&AE(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(f){return i.element.contains(f.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(f){if(i=this.element,d=this.attributes().type,d==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,f=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&f==="checkbox")return this.setChecked(t);if(d==="INPUT"&&f==="radio")return this.setChecked(t);if(d==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var D=o.options[b];D.selected=t.includes(D.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(Su);Vd(So.DOMWrapper,function(n){return new NE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var d=n.children.flat();return d.flatMap(function(f){return Na(f)}).filter(Vm)}}return[]}var qi={};function FE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var RE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},LE=function(n){var e=n.$.uid;delete qi[e]};function GE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,f){return i in e?Reflect.set(e,i,d,f):Reflect.set(t,i,d,f)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var PE=function(n){Gd(e,n);function e(t,i,d){var f=n.call(this,i==null?void 0:i.$el)||this;return f.cleanUpCallbacks=[],f.__app=t,f.rootVM=i==null?void 0:i.$root,eE(i)?f.componentVM=GE(i,i.$.setupState):f.componentVM=i,f.__setProps=d,f.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(f),f}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var f=d[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var O=[],H=0;H<arguments.length;H++)O[H]=arguments[H];RE(t.$,N,O)};f.addEventListener(N,T),b.cleanUpCallbacks.push(function(){f.removeEventListener(N,T)})},b=this,D=0,I=Object.keys(Ud);D<I.length;D++){var x=I[D];o(x)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return FE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");LE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(Su);Vd(So.VueWrapper,function(n,e,t){return new PE(n,e,t)});var HE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return HE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(f){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Vn=Symbol(),xu=Symbol(),Nu=Symbol(),Fu={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},Fa=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],KE=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],TE="vfc",je=(n="")=>`${TE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const f={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(f.children=Lu(i.children)),i.label&&!((d=f.label)!=null&&d.includes("copy"))&&(f.label=f.label+" copy"),t.push(f)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),Et=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(xu,n)},UE=()=>{const{fetchOptionsFn:n}=A.inject(Vn);return n},Br=n=>{const e=Et(),t=UE(),i=A.ref([]),d=A.ref(!1);let f=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const x=++f;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(x!==f)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter(L=>Array.isArray(n.filters)?!n.filters.includes(L[n.valueKey||"value"]):!0)),n.name){const L=ln(e.schema.items,n.name);L&&L.props&&(L.props.options=i.value)}const O=e.formValues[n.name],H=i.value.findIndex(L=>L[n.valueKey||"value"]===O)!==-1;if(n.refreshFlag&&i.value.length>0&&!H){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const L=ln(e.schema.items,n.name);L&&L.props&&(L.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:x,options:N=[]}=n;x==="static"&&(i.value=N),x==="remote"&&o()}),A.watch(()=>n.apiParams,(x,N)=>{ut.isEqual(x,N)||(i.value=[],o())}),A.watch(()=>n.options,(x=[])=>{n.mode==="static"&&(i.value=x)}),A.watch(()=>n.mode,x=>{x==="static"&&(i.value=n.options||[]),x==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:D}=n;if(b==="remote"&&Array.isArray(D))for(const x of D)A.watch(()=>e.formValues[x],(N,T)=>{o()});return{selectChange:x=>{const{valueKey:N="value",multiple:T,name:O}=n;let H={};T&&Array.isArray(x)?H=i.value.filter(L=>x.includes(L[N])):H=i.value.find(L=>L[N]===x)||{},e.selectData&&O&&e.updateSelectData(O,H)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Vn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Ai(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},YE={},OE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function $E(n,e){return A.openBlock(),A.createElementBlock("svg",OE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const zE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YE,[["render",$E]])},Symbol.toStringTag,{value:"Module"})),JE={},ZE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function WE(n,e){return A.openBlock(),A.createElementBlock("svg",ZE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const jE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JE,[["render",WE]])},Symbol.toStringTag,{value:"Module"})),qE={},XE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function VE(n,e){return A.openBlock(),A.createElementBlock("svg",XE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const AQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qE,[["render",VE]])},Symbol.toStringTag,{value:"Module"})),eQ={},tQ={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function nQ(n,e){return A.openBlock(),A.createElementBlock("svg",tQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const iQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eQ,[["render",nQ]])},Symbol.toStringTag,{value:"Module"})),oQ={},rQ={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function aQ(n,e){return A.openBlock(),A.createElementBlock("svg",rQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const sQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oQ,[["render",aQ]])},Symbol.toStringTag,{value:"Module"})),lQ={},cQ={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function gQ(n,e){return A.openBlock(),A.createElementBlock("svg",cQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const dQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},hQ={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function pQ(n,e){return A.openBlock(),A.createElementBlock("svg",hQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const CQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uQ,[["render",pQ]])},Symbol.toStringTag,{value:"Module"})),BQ={},mQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function EQ(n,e){return A.openBlock(),A.createElementBlock("svg",mQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const QQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BQ,[["render",EQ]])},Symbol.toStringTag,{value:"Module"})),fQ={},IQ={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function wQ(n,e){return A.openBlock(),A.createElementBlock("svg",IQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const bQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fQ,[["render",wQ]])},Symbol.toStringTag,{value:"Module"})),yQ={},DQ={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function vQ(n,e){return A.openBlock(),A.createElementBlock("svg",DQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const kQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yQ,[["render",vQ]])},Symbol.toStringTag,{value:"Module"})),_Q={},MQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function SQ(n,e){return A.openBlock(),A.createElementBlock("svg",MQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const xQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_Q,[["render",SQ]])},Symbol.toStringTag,{value:"Module"})),NQ={},FQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function RQ(n,e){return A.openBlock(),A.createElementBlock("svg",FQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const LQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NQ,[["render",RQ]])},Symbol.toStringTag,{value:"Module"})),GQ={},PQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function HQ(n,e){return A.openBlock(),A.createElementBlock("svg",PQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const KQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),TQ={},UQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function YQ(n,e){return A.openBlock(),A.createElementBlock("svg",UQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const OQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),$Q={},zQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function JQ(n,e){return A.openBlock(),A.createElementBlock("svg",zQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe($Q,[["render",JQ]])},Symbol.toStringTag,{value:"Module"})),WQ={},jQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function qQ(n,e){return A.openBlock(),A.createElementBlock("svg",jQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const XQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WQ,[["render",qQ]])},Symbol.toStringTag,{value:"Module"})),VQ={},Af={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VQ,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},ff={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function If(n,e){return A.openBlock(),A.createElementBlock("svg",ff,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",If]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const Sf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),xf={},Nf={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function AI(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const eI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",AI]])},Symbol.toStringTag,{value:"Module"})),tI={},nI={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function iI(n,e){return A.openBlock(),A.createElementBlock("svg",nI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const oI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tI,[["render",iI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function sI(n,e){return A.openBlock(),A.createElementBlock("svg",aI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const lI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),cI={},gI={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function dI(n,e){return A.openBlock(),A.createElementBlock("svg",gI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const uI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),hI={},pI={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function CI(n,e){return A.openBlock(),A.createElementBlock("svg",pI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),mI={},EI={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function QI(n,e){return A.openBlock(),A.createElementBlock("svg",EI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},wI={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function bI(n,e){return A.openBlock(),A.createElementBlock("svg",wI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),DI={},vI={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function kI(n,e){return A.openBlock(),A.createElementBlock("svg",vI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const _I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(DI,[["render",kI]])},Symbol.toStringTag,{value:"Module"})),MI={},SI={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function xI(n,e){return A.openBlock(),A.createElementBlock("svg",SI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(MI,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),FI={},RI={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function LI(n,e){return A.openBlock(),A.createElementBlock("svg",RI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(FI,[["render",LI]])},Symbol.toStringTag,{value:"Module"})),PI={},HI={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function KI(n,e){return A.openBlock(),A.createElementBlock("svg",HI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(PI,[["render",KI]])},Symbol.toStringTag,{value:"Module"})),UI={},YI={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function OI(n,e){return A.openBlock(),A.createElementBlock("svg",YI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(UI,[["render",OI]])},Symbol.toStringTag,{value:"Module"})),zI={},JI={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function ZI(n,e){return A.openBlock(),A.createElementBlock("svg",JI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const WI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zI,[["render",ZI]])},Symbol.toStringTag,{value:"Module"})),jI={},qI={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function XI(n,e){return A.openBlock(),A.createElementBlock("svg",qI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jI,[["render",XI]])},Symbol.toStringTag,{value:"Module"})),Aw={},ew={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function tw(n,e){return A.openBlock(),A.createElementBlock("svg",ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Aw,[["render",tw]])},Symbol.toStringTag,{value:"Module"})),iw={},ow={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function rw(n,e){return A.openBlock(),A.createElementBlock("svg",ow,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const aw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(iw,[["render",rw]])},Symbol.toStringTag,{value:"Module"})),sw={},lw={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function cw(n,e){return A.openBlock(),A.createElementBlock("svg",lw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sw,[["render",cw]])},Symbol.toStringTag,{value:"Module"})),dw={},uw={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function hw(n,e){return A.openBlock(),A.createElementBlock("svg",uw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const pw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(dw,[["render",hw]])},Symbol.toStringTag,{value:"Module"})),Cw={},Bw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function mw(n,e){return A.openBlock(),A.createElementBlock("svg",Bw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cw,[["render",mw]])},Symbol.toStringTag,{value:"Module"})),Qw={},fw={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function Iw(n,e){return A.openBlock(),A.createElementBlock("svg",fw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qw,[["render",Iw]])},Symbol.toStringTag,{value:"Module"})),bw={},yw={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function Dw(n,e){return A.openBlock(),A.createElementBlock("svg",yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bw,[["render",Dw]])},Symbol.toStringTag,{value:"Module"})),kw={},_w={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function Mw(n,e){return A.openBlock(),A.createElementBlock("svg",_w,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const Sw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kw,[["render",Mw]])},Symbol.toStringTag,{value:"Module"})),xw={},Nw={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function Fw(n,e){return A.openBlock(),A.createElementBlock("svg",Nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Rw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xw,[["render",Fw]])},Symbol.toStringTag,{value:"Module"})),Lw={},Gw={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function Pw(n,e){return A.openBlock(),A.createElementBlock("svg",Gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Hw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lw,[["render",Pw]])},Symbol.toStringTag,{value:"Module"})),Kw={},Tw={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Uw(n,e){return A.openBlock(),A.createElementBlock("svg",Tw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kw,[["render",Uw]])},Symbol.toStringTag,{value:"Module"})),Ow={},$w={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function zw(n,e){return A.openBlock(),A.createElementBlock("svg",$w,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const Jw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Ow,[["render",zw]])},Symbol.toStringTag,{value:"Module"})),Zw={},Ww={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function jw(n,e){return A.openBlock(),A.createElementBlock("svg",Ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const qw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zw,[["render",jw]])},Symbol.toStringTag,{value:"Module"})),Xw={},Vw={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function A0(n,e){return A.openBlock(),A.createElementBlock("svg",Vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const e0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xw,[["render",A0]])},Symbol.toStringTag,{value:"Module"})),t0={},n0={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function i0(n,e){return A.openBlock(),A.createElementBlock("svg",n0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const o0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(t0,[["render",i0]])},Symbol.toStringTag,{value:"Module"})),r0={},a0={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function s0(n,e){return A.openBlock(),A.createElementBlock("svg",a0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const l0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(r0,[["render",s0]])},Symbol.toStringTag,{value:"Module"})),c0={},g0={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function d0(n,e){return A.openBlock(),A.createElementBlock("svg",g0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const u0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(c0,[["render",d0]])},Symbol.toStringTag,{value:"Module"})),fe=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":zE,"./icons/alert.vue":jE,"./icons/barChart.vue":AQ,"./icons/button.vue":iQ,"./icons/card.vue":sQ,"./icons/cascader.vue":dQ,"./icons/checkbox.vue":CQ,"./icons/clear.vue":QQ,"./icons/collapse.vue":bQ,"./icons/colorPicker.vue":kQ,"./icons/copy.vue":xQ,"./icons/custom.vue":LQ,"./icons/datePicker.vue":KQ,"./icons/delete.vue":OQ,"./icons/design.vue":ZQ,"./icons/divider.vue":XQ,"./icons/document.vue":tf,"./icons/dropdown.vue":af,"./icons/esign.vue":gf,"./icons/eye.vue":pf,"./icons/formList.vue":Ef,"./icons/github.vue":wf,"./icons/grid.vue":vf,"./icons/help.vue":Sf,"./icons/hidden.vue":Rf,"./icons/icon.vue":Hf,"./icons/inline.vue":Yf,"./icons/input.vue":Jf,"./icons/inputNumber.vue":qf,"./icons/itemGroup.vue":eI,"./icons/jsonEdit.vue":oI,"./icons/library.vue":lI,"./icons/markdown.vue":uI,"./icons/move.vue":BI,"./icons/password.vue":fI,"./icons/pieChart.vue":yI,"./icons/radio.vue":_I,"./icons/rate.vue":NI,"./icons/reduce.vue":GI,"./icons/rich.vue":TI,"./icons/save.vue":$I,"./icons/script.vue":WI,"./icons/search.vue":VI,"./icons/searchSelect.vue":nw,"./icons/select.vue":aw,"./icons/slider.vue":gw,"./icons/switch.vue":pw,"./icons/tableEmpty.vue":Ew,"./icons/tabs.vue":ww,"./icons/tag.vue":vw,"./icons/text.vue":Sw,"./icons/textarea.vue":Rw,"./icons/title.vue":Hw,"./icons/transfer.vue":Yw,"./icons/trash.vue":Jw,"./icons/tree.vue":qw,"./icons/upload.vue":e0,"./icons/uploadImage.vue":o0,"./icons/verifyCode.vue":l0,"./icons/vue.vue":u0})).reduce((i,[d,f])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=f.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),h0={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},p0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function C0(){return 2147483648}function B0(){return typeof performance<"u"?performance.now():Date.now()}const m0=(n,e)=>n+(e-n%e)%e;async function E0(n){let e,t;const i={};function d(O){t=O,i.HEAPU8=new Uint8Array(O),i.HEAPU32=new Uint32Array(O)}function f(O,H,L){i.HEAPU8.copyWithin(O,H,H+L)}function o(O){try{return e.grow(O-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(O){const H=i.HEAPU8.length;O=O>>>0;const L=C0();if(O>L)return!1;for(let v=1;v<=4;v*=2){let m=H*(1+.2/v);m=Math.min(m,O+100663296);const F=Math.min(L,m0(Math.max(O,m),65536));if(o(F))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function I(O,H,L=1024){const v=H+L;let m=H;for(;O[m]&&!(m>=v);)++m;if(m-H>16&&O.buffer&&D)return D.decode(O.subarray(H,m));let F="";for(;H<m;){let k=O[H++];if(!(k&128)){F+=String.fromCharCode(k);continue}const _=O[H++]&63;if((k&224)===192){F+=String.fromCharCode((k&31)<<6|_);continue}const B=O[H++]&63;if((k&240)===224?k=(k&15)<<12|_<<6|B:k=(k&7)<<18|_<<12|B<<6|O[H++]&63,k<65536)F+=String.fromCharCode(k);else{const p=k-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function x(O,H){return O?I(i.HEAPU8,O,H):""}const N={emscripten_get_now:B0,emscripten_memcpy_big:f,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const H=await n({env:N,wasi_snapshot_preview1:N});e=H.memory,d(e.buffer),Object.assign(i,H),i.UTF8ToString=x}return await T(),i}let Gt=null;function Q0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,f=d?new Uint32Array(t+1):null;d&&(f[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let I=0;I<t;I++){const x=e.charCodeAt(I);let N=x,T=!1;if(x>=55296&&x<=56319&&I+1<t){const O=e.charCodeAt(I+1);O>=56320&&O<=57343&&(N=(x-55296<<10)+65536|O-56320,T=!0)}d&&(f[I]=D,T&&(f[I+1]=D),N<=127?o[D+0]=I:N<=2047?(o[D+0]=I,o[D+1]=I):N<=65535?(o[D+0]=I,o[D+1]=I,o[D+2]=I):(o[D+0]=I,o[D+1]=I,o[D+2]=I,o[D+3]=I)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&I++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=f,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const f=e.charCodeAt(i);let o=f,b=!1;if(f>=55296&&f<=56319&&i+1<d){const D=e.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(f-55296<<10)+65536|D-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class f0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=e.length;b<D;b++){const I=new Ra(e[b]);t[b]=I.createString(Gt),i[b]=I.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const f=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,f/4);const o=Gt.createOnigScanner(d,f,e.length);for(let b=0,D=e.length;b<D;b++)Gt.ofree(t[b]);Gt.ofree(f),Gt.ofree(d),o===0&&Q0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const f=this._findNextMatchSync(e,t,!1,d);return e.dispose(),f}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const f=this._onigBinding,o=f.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=f.HEAPU32;let D=o/4;const I=b[D++],x=b[D++],N=[];for(let T=0;T<x;T++){const O=e.convertUtf8OffsetToUtf16(b[D++]),H=e.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:O,end:H,length:H-O}}return{index:I,captureIndices:N}}}function I0(n){return typeof n.instantiator=="function"}function w0(n){return typeof n.default=="function"}function b0(n){return typeof n.data<"u"}function y0(n){return typeof Response<"u"&&n instanceof Response}function D0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function v0(n){if(Ga)return Ga;async function e(){Gt=await E0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),I0(i)?i=await i.instantiator(t):w0(i)?i=await i.default(t):(b0(i)&&(i=i.data),y0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await k0(i)(t):i=await _0(i)(t):D0(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function k0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function _0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let M0;function S0(){return M0}async function x0(n){return n&&await v0(n),{createScanner(e){return new f0(e)},createString(e){return new La(e)}}}function N0(n){return rc(n)}function rc(n){return Array.isArray(n)?F0(n):typeof n=="object"?R0(n):n}function F0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function R0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,f,o)=>{let b=t[parseInt(d||f,10)];if(b){let D=e.substring(b.start,b.end);for(;D[0]===".";)D=D.substring(1);switch(o){case"downcase":return D.toLowerCase();case"upcase":return D.toUpperCase();default:return D}}else return i})}};function Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let f=Tu(n[d],e[d]);if(f!==0)return f}return 0}return t-i}function Yu(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(P0(n),e)}static createFromParsedTheme(n,e){return K0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>L0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function L0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!G0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function G0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function P0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,f=e.length;d<f;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,O=N.length;T<O;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let I=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(I=o.settings.foreground);let x=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(x=o.settings.background);for(let N=0,T=b.length;N<T;N++){let H=b[N].trim().split(" "),L=H[H.length-1],v=null;H.length>1&&(v=H.slice(0,H.length-1),v.reverse()),t[i++]=new H0(L,v,d,D,I,x)}}return t}var H0=class{constructor(n,e,t,i,d,f){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=f}},hi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(hi||{});function K0(n,e){n.sort((D,I)=>{let x=Tu(D.scope,I.scope);return x!==0||(x=Uu(D.parentScopes,I.parentScopes),x!==0)?x:D.index-I.index});let t=0,i="#000000",d="#ffffff";for(;n.length>=1&&n[0].scope==="";){let D=n.shift();D.fontStyle!==-1&&(t=D.fontStyle),D.foreground!==null&&(i=D.foreground),D.background!==null&&(d=D.background)}let f=new T0(e),o=new zu(t,f.getId(i),f.getId(d)),b=new Y0(new lc(0,null,-1,0,0),[]);for(let D=0,I=n.length;D<I;D++){let x=n[D];b.insert(0,x.scope,x.parentScopes,x.fontStyle,f.getId(x.foreground),f.getId(x.background))}return new Ha(f,o,b)}var T0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},U0=Object.freeze([]),lc=class mm{constructor(e,t,i,d,f){this.scopeDepth=e,this.parentScopes=t||U0,this.fontStyle=i,this.foreground=d,this.background=f}clone(){return new mm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},Y0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const f=t.parentScopes[d].length-e.parentScopes[i].length;if(f!==0)return f;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,f;if(i===-1?(d=e,f=""):(d=e.substring(0,i),f=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(f)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,f,o){if(t===""){this._doInsertHere(e,i,d,f,o);return}let b=t.indexOf("."),D,I;b===-1?(D=t,I=""):(D=t.substring(0,b),I=t.substring(b+1));let x;this._children.hasOwnProperty(D)?x=this._children[D]:(x=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[D]=x),x.insert(e+1,I,i,d,f,o)}_doInsertHere(e,t,i,d,f){if(t===null){this._mainRule.acceptOverwrite(e,i,d,f);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Uu(D.parentScopes,t)===0){D.acceptOverwrite(e,i,d,f);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),f===0&&(f=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,f))}},No=class $n{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=$n.getLanguageId(e),i=$n.getTokenType(e),d=$n.getFontStyle(e),f=$n.getForeground(e),o=$n.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:f,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,f,o,b){let D=$n.getLanguageId(e),I=$n.getTokenType(e),x=$n.containsBalancedBrackets(e)?1:0,N=$n.getFontStyle(e),T=$n.getForeground(e),O=$n.getBackground(e);return t!==0&&(D=t),i!==8&&(I=i),d!==null&&(x=d?1:0),f!==-1&&(N=f),o!==0&&(T=o),b!==0&&(O=b),(D<<0|I<<8|x<<10|N<<11|T<<15|O<<24)>>>0}};function rP(n){return n}function aP(n){return n}function Ka(n,e){const t=[],i=O0(n);let d=i.next();for(;d!==null;){let D=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let I=o();if(t.push({matcher:I,priority:D}),d!==",")break;d=i.next()}return t;function f(){if(d==="-"){d=i.next();const D=f();return I=>!!D&&!D(I)}if(d==="("){d=i.next();const D=b();return d===")"&&(d=i.next()),D}if(Ju(d)){const D=[];do D.push(d),d=i.next();while(Ju(d));return I=>e(D,I)}return null}function o(){const D=[];let I=f();for(;I;)D.push(I),I=f();return x=>D.every(N=>N(x))}function b(){const D=[];let I=o();for(;I&&(D.push(I),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");I=o()}return x=>D.some(N=>N(x))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function O0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},$0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},z0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},J0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new z0;for(const t of n)Z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const f=t.lookup(e);n instanceof mr?Ta({baseGrammar:f,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:f,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const f=i.include;if(!f)continue;const o=Wu(f);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const D={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,D,t):Ta(D,t)}else o.kind===4?t.add(new $0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var W0=class{constructor(){this.kind=0}},j0=class{constructor(){this.kind=1}},q0=class{constructor(n){this.ruleName=n,this.kind=2}},X0=class{constructor(n){this.scopeName=n,this.kind=3}},V0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new W0;if(n==="$self")return new j0;const e=n.indexOf("#");if(e===-1)return new X0(n);if(e===0)return new q0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new V0(t,i)}}var Ab=/\\(\d+)/,ju=/\\(\d+)/g,eb=-1,qu=-2;function sP(n){return n}function lP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},tb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},nb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,f,o,b,D,I){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this._end=new Qr(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,f,o,b,D){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this.whileCaptures=b,this._while=new Qr(o,qu),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=D.patterns,this.hasMissingPatterns=D.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,f){return e.registerRule(o=>new tb(t,o,i,d,f))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new nb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let f=e.patterns;return typeof f>"u"&&e.include&&(f=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(f,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let f=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>f&&(f=b)}for(let o=0;o<=f;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;e[o].patterns&&(D=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,D)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let f=0,o=e.length;f<o;f++){const b=e[f];let D=-1;if(b.include){const I=Wu(b.include);switch(I.kind){case 0:case 1:D=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let x=i[I.ruleName];x&&(D=Jt.getCompiledRuleId(x,t,i));break;case 3:case 4:const N=I.scopeName,T=I.kind===4?I.ruleName:null,O=t.getExternalGrammar(N,i);if(O)if(T){let H=O.repository[T];H&&(D=Jt.getCompiledRuleId(H,t,O.repository))}else D=Jt.getCompiledRuleId(O.repository.$self,t,O.repository);break}}else D=Jt.getCompiledRuleId(b,t,i);if(D!==-1){const I=t.getRule(D);let x=!1;if((I instanceof Xu||I instanceof gc||I instanceof Ya)&&I.hasMissingPatterns&&I.patterns.length===0&&(x=!0),x)continue;d.push(D)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Em{constructor(e,t){if(e){const i=e.length;let d=0,f=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const I=e.charAt(b+1);I==="z"?(f.push(e.substring(d,b)),f.push("$(?!\\n)(?<!\\n)"),d=b+2):(I==="A"||I==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(f.push(e.substring(d,i)),this.source=f.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Ab.test(this.source)}clone(){return new Em(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,f)=>Ou(i[parseInt(f,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],f,o,b,D;for(f=0,o=this.source.length;f<o;f++)b=this.source.charAt(f),e[f]=b,t[f]=b,i[f]=b,d[f]=b,b==="\\"&&f+1<o&&(D=this.source.charAt(f+1),D==="A"?(e[f+1]="",t[f+1]="",i[f+1]="A",d[f+1]="A"):D==="G"?(e[f+1]="",t[f+1]="G",i[f+1]="",d[f+1]="G"):(e[f+1]=D,t[f+1]=D,i[f+1]=D,d[f+1]=D),f++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},fr=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
80
|
+
`)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,f=i;d<f.length;d++){var o=f[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(qm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){if(t&&t.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(i=lE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),NE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&AE(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(f){return i.element.contains(f.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(f){if(i=this.element,d=this.attributes().type,d==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,f=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&f==="checkbox")return this.setChecked(t);if(d==="INPUT"&&f==="radio")return this.setChecked(t);if(d==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var D=o.options[b];D.selected=t.includes(D.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(Su);Vd(So.DOMWrapper,function(n){return new NE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var d=n.children.flat();return d.flatMap(function(f){return Na(f)}).filter(Vm)}}return[]}var qi={};function FE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var RE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},LE=function(n){var e=n.$.uid;delete qi[e]};function GE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,f){return i in e?Reflect.set(e,i,d,f):Reflect.set(t,i,d,f)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var PE=function(n){Gd(e,n);function e(t,i,d){var f=n.call(this,i==null?void 0:i.$el)||this;return f.cleanUpCallbacks=[],f.__app=t,f.rootVM=i==null?void 0:i.$root,eE(i)?f.componentVM=GE(i,i.$.setupState):f.componentVM=i,f.__setProps=d,f.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(f),f}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var f=d[0],o=function(N){if(i.includes(N))return"continue";var T=function(){for(var O=[],H=0;H<arguments.length;H++)O[H]=arguments[H];RE(t.$,N,O)};f.addEventListener(N,T),b.cleanUpCallbacks.push(function(){f.removeEventListener(N,T)})},b=this,D=0,I=Object.keys(Ud);D<I.length;D++){var x=I[D];o(x)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return FE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");LE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(Su);Vd(So.VueWrapper,function(n,e,t){return new PE(n,e,t)});var HE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return HE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(f){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Vn=Symbol(),xu=Symbol(),Nu=Symbol(),Fu={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},Fa=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],KE=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],TE="vfc",je=(n="")=>`${TE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const f={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(f.children=Lu(i.children)),i.label&&!((d=f.label)!=null&&d.includes("copy"))&&(f.label=f.label+" copy"),t.push(f)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),Et=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(xu,n)},UE=()=>{const{fetchOptionsFn:n}=A.inject(Vn);return n},Br=n=>{const e=Et(),t=UE(),i=A.ref([]),d=A.ref(!1);let f=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const x=++f;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(x!==f)return;const T=n.defaultOptions||[];if(i.value=[...T,...N],n.filters&&(i.value=i.value.filter(L=>Array.isArray(n.filters)?!n.filters.includes(L[n.valueKey||"value"]):!0)),n.name){const L=ln(e.schema.items,n.name);L&&L.props&&(L.props.options=i.value)}const O=e.formValues[n.name],H=i.value.findIndex(L=>L[n.valueKey||"value"]===O)!==-1;if(n.refreshFlag&&i.value.length>0&&!H){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const L=ln(e.schema.items,n.name);L&&L.props&&(L.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:x,options:N=[]}=n;x==="static"&&(i.value=N),x==="remote"&&o()}),A.watch(()=>n.apiParams,(x,N)=>{ut.isEqual(x,N)||(i.value=[],o())}),A.watch(()=>n.options,(x=[])=>{n.mode==="static"&&(i.value=x)}),A.watch(()=>n.mode,x=>{x==="static"&&(i.value=n.options||[]),x==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:D}=n;if(b==="remote"&&Array.isArray(D))for(const x of D)A.watch(()=>e.formValues[x],(N,T)=>{o()});return{selectChange:x=>{const{valueKey:N="value",multiple:T,name:O}=n;let H={};T&&Array.isArray(x)?H=i.value.filter(L=>x.includes(L[N])):H=i.value.find(L=>L[N]===x)||{},e.selectData&&O&&e.updateSelectData(O,H)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Vn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Ai(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},YE={},OE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function $E(n,e){return A.openBlock(),A.createElementBlock("svg",OE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const zE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YE,[["render",$E]])},Symbol.toStringTag,{value:"Module"})),JE={},ZE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function WE(n,e){return A.openBlock(),A.createElementBlock("svg",ZE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const jE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JE,[["render",WE]])},Symbol.toStringTag,{value:"Module"})),qE={},XE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function VE(n,e){return A.openBlock(),A.createElementBlock("svg",XE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const AQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qE,[["render",VE]])},Symbol.toStringTag,{value:"Module"})),eQ={},tQ={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function nQ(n,e){return A.openBlock(),A.createElementBlock("svg",tQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const iQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eQ,[["render",nQ]])},Symbol.toStringTag,{value:"Module"})),oQ={},rQ={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function aQ(n,e){return A.openBlock(),A.createElementBlock("svg",rQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const sQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oQ,[["render",aQ]])},Symbol.toStringTag,{value:"Module"})),lQ={},cQ={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function gQ(n,e){return A.openBlock(),A.createElementBlock("svg",cQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const dQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lQ,[["render",gQ]])},Symbol.toStringTag,{value:"Module"})),uQ={},hQ={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function pQ(n,e){return A.openBlock(),A.createElementBlock("svg",hQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const CQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uQ,[["render",pQ]])},Symbol.toStringTag,{value:"Module"})),BQ={},mQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function EQ(n,e){return A.openBlock(),A.createElementBlock("svg",mQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const QQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BQ,[["render",EQ]])},Symbol.toStringTag,{value:"Module"})),fQ={},IQ={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function wQ(n,e){return A.openBlock(),A.createElementBlock("svg",IQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const bQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fQ,[["render",wQ]])},Symbol.toStringTag,{value:"Module"})),yQ={},DQ={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function vQ(n,e){return A.openBlock(),A.createElementBlock("svg",DQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const kQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yQ,[["render",vQ]])},Symbol.toStringTag,{value:"Module"})),_Q={},MQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function SQ(n,e){return A.openBlock(),A.createElementBlock("svg",MQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const xQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_Q,[["render",SQ]])},Symbol.toStringTag,{value:"Module"})),NQ={},FQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function RQ(n,e){return A.openBlock(),A.createElementBlock("svg",FQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const LQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NQ,[["render",RQ]])},Symbol.toStringTag,{value:"Module"})),GQ={},PQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function HQ(n,e){return A.openBlock(),A.createElementBlock("svg",PQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const KQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GQ,[["render",HQ]])},Symbol.toStringTag,{value:"Module"})),TQ={},UQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function YQ(n,e){return A.openBlock(),A.createElementBlock("svg",UQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const OQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TQ,[["render",YQ]])},Symbol.toStringTag,{value:"Module"})),$Q={},zQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function JQ(n,e){return A.openBlock(),A.createElementBlock("svg",zQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const ZQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe($Q,[["render",JQ]])},Symbol.toStringTag,{value:"Module"})),WQ={},jQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function qQ(n,e){return A.openBlock(),A.createElementBlock("svg",jQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const XQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WQ,[["render",qQ]])},Symbol.toStringTag,{value:"Module"})),VQ={},Af={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VQ,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},ff={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function If(n,e){return A.openBlock(),A.createElementBlock("svg",ff,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",If]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const Sf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),xf={},Nf={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function AI(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const eI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",AI]])},Symbol.toStringTag,{value:"Module"})),tI={},nI={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function iI(n,e){return A.openBlock(),A.createElementBlock("svg",nI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const oI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tI,[["render",iI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function sI(n,e){return A.openBlock(),A.createElementBlock("svg",aI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const lI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rI,[["render",sI]])},Symbol.toStringTag,{value:"Module"})),cI={},gI={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function dI(n,e){return A.openBlock(),A.createElementBlock("svg",gI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const uI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),hI={},pI={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function CI(n,e){return A.openBlock(),A.createElementBlock("svg",pI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const BI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),mI={},EI={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function QI(n,e){return A.openBlock(),A.createElementBlock("svg",EI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mI,[["render",QI]])},Symbol.toStringTag,{value:"Module"})),II={},wI={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function bI(n,e){return A.openBlock(),A.createElementBlock("svg",wI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),DI={},vI={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function kI(n,e){return A.openBlock(),A.createElementBlock("svg",vI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const _I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(DI,[["render",kI]])},Symbol.toStringTag,{value:"Module"})),MI={},SI={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function xI(n,e){return A.openBlock(),A.createElementBlock("svg",SI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(MI,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),FI={},RI={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function LI(n,e){return A.openBlock(),A.createElementBlock("svg",RI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(FI,[["render",LI]])},Symbol.toStringTag,{value:"Module"})),PI={},HI={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function KI(n,e){return A.openBlock(),A.createElementBlock("svg",HI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(PI,[["render",KI]])},Symbol.toStringTag,{value:"Module"})),UI={},YI={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function OI(n,e){return A.openBlock(),A.createElementBlock("svg",YI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:oe(UI,[["render",OI]])},Symbol.toStringTag,{value:"Module"})),zI={},JI={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function ZI(n,e){return A.openBlock(),A.createElementBlock("svg",JI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const WI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zI,[["render",ZI]])},Symbol.toStringTag,{value:"Module"})),jI={},qI={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function XI(n,e){return A.openBlock(),A.createElementBlock("svg",qI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jI,[["render",XI]])},Symbol.toStringTag,{value:"Module"})),Aw={},ew={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function tw(n,e){return A.openBlock(),A.createElementBlock("svg",ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Aw,[["render",tw]])},Symbol.toStringTag,{value:"Module"})),iw={},ow={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function rw(n,e){return A.openBlock(),A.createElementBlock("svg",ow,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const aw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(iw,[["render",rw]])},Symbol.toStringTag,{value:"Module"})),sw={},lw={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function cw(n,e){return A.openBlock(),A.createElementBlock("svg",lw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sw,[["render",cw]])},Symbol.toStringTag,{value:"Module"})),dw={},uw={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function hw(n,e){return A.openBlock(),A.createElementBlock("svg",uw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const pw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(dw,[["render",hw]])},Symbol.toStringTag,{value:"Module"})),Cw={},Bw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function mw(n,e){return A.openBlock(),A.createElementBlock("svg",Bw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cw,[["render",mw]])},Symbol.toStringTag,{value:"Module"})),Qw={},fw={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function Iw(n,e){return A.openBlock(),A.createElementBlock("svg",fw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qw,[["render",Iw]])},Symbol.toStringTag,{value:"Module"})),bw={},yw={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function Dw(n,e){return A.openBlock(),A.createElementBlock("svg",yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bw,[["render",Dw]])},Symbol.toStringTag,{value:"Module"})),kw={},_w={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function Mw(n,e){return A.openBlock(),A.createElementBlock("svg",_w,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const Sw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kw,[["render",Mw]])},Symbol.toStringTag,{value:"Module"})),xw={},Nw={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function Fw(n,e){return A.openBlock(),A.createElementBlock("svg",Nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Rw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xw,[["render",Fw]])},Symbol.toStringTag,{value:"Module"})),Lw={},Gw={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function Pw(n,e){return A.openBlock(),A.createElementBlock("svg",Gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Hw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lw,[["render",Pw]])},Symbol.toStringTag,{value:"Module"})),Kw={},Tw={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Uw(n,e){return A.openBlock(),A.createElementBlock("svg",Tw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kw,[["render",Uw]])},Symbol.toStringTag,{value:"Module"})),Ow={},$w={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function zw(n,e){return A.openBlock(),A.createElementBlock("svg",$w,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const Jw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Ow,[["render",zw]])},Symbol.toStringTag,{value:"Module"})),Zw={},Ww={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function jw(n,e){return A.openBlock(),A.createElementBlock("svg",Ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const qw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zw,[["render",jw]])},Symbol.toStringTag,{value:"Module"})),Xw={},Vw={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function A0(n,e){return A.openBlock(),A.createElementBlock("svg",Vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const e0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xw,[["render",A0]])},Symbol.toStringTag,{value:"Module"})),t0={},n0={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function i0(n,e){return A.openBlock(),A.createElementBlock("svg",n0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const o0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(t0,[["render",i0]])},Symbol.toStringTag,{value:"Module"})),r0={},a0={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function s0(n,e){return A.openBlock(),A.createElementBlock("svg",a0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const l0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(r0,[["render",s0]])},Symbol.toStringTag,{value:"Module"})),c0={},g0={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function d0(n,e){return A.openBlock(),A.createElementBlock("svg",g0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const u0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(c0,[["render",d0]])},Symbol.toStringTag,{value:"Module"})),fe=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":zE,"./icons/alert.vue":jE,"./icons/barChart.vue":AQ,"./icons/button.vue":iQ,"./icons/card.vue":sQ,"./icons/cascader.vue":dQ,"./icons/checkbox.vue":CQ,"./icons/clear.vue":QQ,"./icons/collapse.vue":bQ,"./icons/colorPicker.vue":kQ,"./icons/copy.vue":xQ,"./icons/custom.vue":LQ,"./icons/datePicker.vue":KQ,"./icons/delete.vue":OQ,"./icons/design.vue":ZQ,"./icons/divider.vue":XQ,"./icons/document.vue":tf,"./icons/dropdown.vue":af,"./icons/esign.vue":gf,"./icons/eye.vue":pf,"./icons/formList.vue":Ef,"./icons/github.vue":wf,"./icons/grid.vue":vf,"./icons/help.vue":Sf,"./icons/hidden.vue":Rf,"./icons/icon.vue":Hf,"./icons/inline.vue":Yf,"./icons/input.vue":Jf,"./icons/inputNumber.vue":qf,"./icons/itemGroup.vue":eI,"./icons/jsonEdit.vue":oI,"./icons/library.vue":lI,"./icons/markdown.vue":uI,"./icons/move.vue":BI,"./icons/password.vue":fI,"./icons/pieChart.vue":yI,"./icons/radio.vue":_I,"./icons/rate.vue":NI,"./icons/reduce.vue":GI,"./icons/rich.vue":TI,"./icons/save.vue":$I,"./icons/script.vue":WI,"./icons/search.vue":VI,"./icons/searchSelect.vue":nw,"./icons/select.vue":aw,"./icons/slider.vue":gw,"./icons/switch.vue":pw,"./icons/tableEmpty.vue":Ew,"./icons/tabs.vue":ww,"./icons/tag.vue":vw,"./icons/text.vue":Sw,"./icons/textarea.vue":Rw,"./icons/title.vue":Hw,"./icons/transfer.vue":Yw,"./icons/trash.vue":Jw,"./icons/tree.vue":qw,"./icons/upload.vue":e0,"./icons/uploadImage.vue":o0,"./icons/verifyCode.vue":l0,"./icons/vue.vue":u0})).reduce((i,[d,f])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=f.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),h0={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},p0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function C0(){return 2147483648}function B0(){return typeof performance<"u"?performance.now():Date.now()}const m0=(n,e)=>n+(e-n%e)%e;async function E0(n){let e,t;const i={};function d(O){t=O,i.HEAPU8=new Uint8Array(O),i.HEAPU32=new Uint32Array(O)}function f(O,H,L){i.HEAPU8.copyWithin(O,H,H+L)}function o(O){try{return e.grow(O-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(O){const H=i.HEAPU8.length;O=O>>>0;const L=C0();if(O>L)return!1;for(let v=1;v<=4;v*=2){let m=H*(1+.2/v);m=Math.min(m,O+100663296);const F=Math.min(L,m0(Math.max(O,m),65536));if(o(F))return!0}return!1}const D=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function I(O,H,L=1024){const v=H+L;let m=H;for(;O[m]&&!(m>=v);)++m;if(m-H>16&&O.buffer&&D)return D.decode(O.subarray(H,m));let F="";for(;H<m;){let k=O[H++];if(!(k&128)){F+=String.fromCharCode(k);continue}const _=O[H++]&63;if((k&224)===192){F+=String.fromCharCode((k&31)<<6|_);continue}const B=O[H++]&63;if((k&240)===224?k=(k&15)<<12|_<<6|B:k=(k&7)<<18|_<<12|B<<6|O[H++]&63,k<65536)F+=String.fromCharCode(k);else{const p=k-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function x(O,H){return O?I(i.HEAPU8,O,H):""}const N={emscripten_get_now:B0,emscripten_memcpy_big:f,emscripten_resize_heap:b,fd_write:()=>0};async function T(){const H=await n({env:N,wasi_snapshot_preview1:N});e=H.memory,d(e.buffer),Object.assign(i,H),i.UTF8ToString=x}return await T(),i}let Gt=null;function Q0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,f=d?new Uint32Array(t+1):null;d&&(f[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let D=0;for(let I=0;I<t;I++){const x=e.charCodeAt(I);let N=x,T=!1;if(x>=55296&&x<=56319&&I+1<t){const O=e.charCodeAt(I+1);O>=56320&&O<=57343&&(N=(x-55296<<10)+65536|O-56320,T=!0)}d&&(f[I]=D,T&&(f[I+1]=D),N<=127?o[D+0]=I:N<=2047?(o[D+0]=I,o[D+1]=I):N<=65535?(o[D+0]=I,o[D+1]=I,o[D+2]=I):(o[D+0]=I,o[D+1]=I,o[D+2]=I,o[D+3]=I)),N<=127?b[D++]=N:N<=2047?(b[D++]=192|(N&1984)>>>6,b[D++]=128|(N&63)>>>0):N<=65535?(b[D++]=224|(N&61440)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0):(b[D++]=240|(N&1835008)>>>18,b[D++]=128|(N&258048)>>>12,b[D++]=128|(N&4032)>>>6,b[D++]=128|(N&63)>>>0),T&&I++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=f,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const f=e.charCodeAt(i);let o=f,b=!1;if(f>=55296&&f<=56319&&i+1<d){const D=e.charCodeAt(i+1);D>=56320&&D<=57343&&(o=(f-55296<<10)+65536|D-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class f0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,D=e.length;b<D;b++){const I=new Ra(e[b]);t[b]=I.createString(Gt),i[b]=I.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const f=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,f/4);const o=Gt.createOnigScanner(d,f,e.length);for(let b=0,D=e.length;b<D;b++)Gt.ofree(t[b]);Gt.ofree(f),Gt.ofree(d),o===0&&Q0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const f=this._findNextMatchSync(e,t,!1,d);return e.dispose(),f}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const f=this._onigBinding,o=f.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=f.HEAPU32;let D=o/4;const I=b[D++],x=b[D++],N=[];for(let T=0;T<x;T++){const O=e.convertUtf8OffsetToUtf16(b[D++]),H=e.convertUtf8OffsetToUtf16(b[D++]);N[T]={start:O,end:H,length:H-O}}return{index:I,captureIndices:N}}}function I0(n){return typeof n.instantiator=="function"}function w0(n){return typeof n.default=="function"}function b0(n){return typeof n.data<"u"}function y0(n){return typeof Response<"u"&&n instanceof Response}function D0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function v0(n){if(Ga)return Ga;async function e(){Gt=await E0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),I0(i)?i=await i.instantiator(t):w0(i)?i=await i.default(t):(b0(i)&&(i=i.data),y0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await k0(i)(t):i=await _0(i)(t):D0(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function k0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function _0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let M0;function S0(){return M0}async function x0(n){return n&&await v0(n),{createScanner(e){return new f0(e)},createString(e){return new La(e)}}}function N0(n){return rc(n)}function rc(n){return Array.isArray(n)?F0(n):typeof n=="object"?R0(n):n}function F0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function R0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,f,o)=>{let b=t[parseInt(d||f,10)];if(b){let D=e.substring(b.start,b.end);for(;D[0]===".";)D=D.substring(1);switch(o){case"downcase":return D.toLowerCase();case"upcase":return D.toUpperCase();default:return D}}else return i})}};function Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let f=Tu(n[d],e[d]);if(f!==0)return f}return 0}return t-i}function Yu(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(P0(n),e)}static createFromParsedTheme(n,e){return K0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>L0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function L0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!G0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function G0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function P0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,f=e.length;d<f;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let D=-1;if(typeof o.settings.fontStyle=="string"){D=0;let N=o.settings.fontStyle.split(" ");for(let T=0,O=N.length;T<O;T++)switch(N[T]){case"italic":D=D|1;break;case"bold":D=D|2;break;case"underline":D=D|4;break;case"strikethrough":D=D|8;break}}let I=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(I=o.settings.foreground);let x=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(x=o.settings.background);for(let N=0,T=b.length;N<T;N++){let H=b[N].trim().split(" "),L=H[H.length-1],v=null;H.length>1&&(v=H.slice(0,H.length-1),v.reverse()),t[i++]=new H0(L,v,d,D,I,x)}}return t}var H0=class{constructor(n,e,t,i,d,f){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=f}},hi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(hi||{});function K0(n,e){n.sort((D,I)=>{let x=Tu(D.scope,I.scope);return x!==0||(x=Uu(D.parentScopes,I.parentScopes),x!==0)?x:D.index-I.index});let t=0,i="#000000",d="#ffffff";for(;n.length>=1&&n[0].scope==="";){let D=n.shift();D.fontStyle!==-1&&(t=D.fontStyle),D.foreground!==null&&(i=D.foreground),D.background!==null&&(d=D.background)}let f=new T0(e),o=new zu(t,f.getId(i),f.getId(d)),b=new Y0(new lc(0,null,-1,0,0),[]);for(let D=0,I=n.length;D<I;D++){let x=n[D];b.insert(0,x.scope,x.parentScopes,x.fontStyle,f.getId(x.foreground),f.getId(x.background))}return new Ha(f,o,b)}var T0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},U0=Object.freeze([]),lc=class mm{constructor(e,t,i,d,f){this.scopeDepth=e,this.parentScopes=t||U0,this.fontStyle=i,this.foreground=d,this.background=f}clone(){return new mm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},Y0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const f=t.parentScopes[d].length-e.parentScopes[i].length;if(f!==0)return f;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,f;if(i===-1?(d=e,f=""):(d=e.substring(0,i),f=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(f)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,f,o){if(t===""){this._doInsertHere(e,i,d,f,o);return}let b=t.indexOf("."),D,I;b===-1?(D=t,I=""):(D=t.substring(0,b),I=t.substring(b+1));let x;this._children.hasOwnProperty(D)?x=this._children[D]:(x=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[D]=x),x.insert(e+1,I,i,d,f,o)}_doInsertHere(e,t,i,d,f){if(t===null){this._mainRule.acceptOverwrite(e,i,d,f);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let D=this._rulesWithParentScopes[o];if(Uu(D.parentScopes,t)===0){D.acceptOverwrite(e,i,d,f);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),f===0&&(f=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,f))}},No=class $n{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=$n.getLanguageId(e),i=$n.getTokenType(e),d=$n.getFontStyle(e),f=$n.getForeground(e),o=$n.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:f,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,f,o,b){let D=$n.getLanguageId(e),I=$n.getTokenType(e),x=$n.containsBalancedBrackets(e)?1:0,N=$n.getFontStyle(e),T=$n.getForeground(e),O=$n.getBackground(e);return t!==0&&(D=t),i!==8&&(I=i),d!==null&&(x=d?1:0),f!==-1&&(N=f),o!==0&&(T=o),b!==0&&(O=b),(D<<0|I<<8|x<<10|N<<11|T<<15|O<<24)>>>0}};function oP(n){return n}function rP(n){return n}function Ka(n,e){const t=[],i=O0(n);let d=i.next();for(;d!==null;){let D=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":D=1;break;case"L":D=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let I=o();if(t.push({matcher:I,priority:D}),d!==",")break;d=i.next()}return t;function f(){if(d==="-"){d=i.next();const D=f();return I=>!!D&&!D(I)}if(d==="("){d=i.next();const D=b();return d===")"&&(d=i.next()),D}if(Ju(d)){const D=[];do D.push(d),d=i.next();while(Ju(d));return I=>e(D,I)}return null}function o(){const D=[];let I=f();for(;I;)D.push(I),I=f();return x=>D.every(N=>N(x))}function b(){const D=[];let I=o();for(;I&&(D.push(I),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");I=o()}return x=>D.some(N=>N(x))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function O0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},$0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},z0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},J0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new z0;for(const t of n)Z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const f=t.lookup(e);n instanceof mr?Ta({baseGrammar:f,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:f,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const f=i.include;if(!f)continue;const o=Wu(f);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const D={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,D,t):Ta(D,t)}else o.kind===4?t.add(new $0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var W0=class{constructor(){this.kind=0}},j0=class{constructor(){this.kind=1}},q0=class{constructor(n){this.ruleName=n,this.kind=2}},X0=class{constructor(n){this.scopeName=n,this.kind=3}},V0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new W0;if(n==="$self")return new j0;const e=n.indexOf("#");if(e===-1)return new X0(n);if(e===0)return new q0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new V0(t,i)}}var Ab=/\\(\d+)/,ju=/\\(\d+)/g,eb=-1,qu=-2;function aP(n){return n}function sP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},tb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},nb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,f,o,b,D,I){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this._end=new Qr(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=D||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,f,o,b,D){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=f,this.whileCaptures=b,this._while=new Qr(o,qu),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=D.patterns,this.hasMissingPatterns=D.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new fr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,f){return e.registerRule(o=>new tb(t,o,i,d,f))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new nb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let f=e.patterns;return typeof f>"u"&&e.include&&(f=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(f,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let f=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>f&&(f=b)}for(let o=0;o<=f;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let D=0;e[o].patterns&&(D=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,D)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let f=0,o=e.length;f<o;f++){const b=e[f];let D=-1;if(b.include){const I=Wu(b.include);switch(I.kind){case 0:case 1:D=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let x=i[I.ruleName];x&&(D=Jt.getCompiledRuleId(x,t,i));break;case 3:case 4:const N=I.scopeName,T=I.kind===4?I.ruleName:null,O=t.getExternalGrammar(N,i);if(O)if(T){let H=O.repository[T];H&&(D=Jt.getCompiledRuleId(H,t,O.repository))}else D=Jt.getCompiledRuleId(O.repository.$self,t,O.repository);break}}else D=Jt.getCompiledRuleId(b,t,i);if(D!==-1){const I=t.getRule(D);let x=!1;if((I instanceof Xu||I instanceof gc||I instanceof Ya)&&I.hasMissingPatterns&&I.patterns.length===0&&(x=!0),x)continue;d.push(D)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Em{constructor(e,t){if(e){const i=e.length;let d=0,f=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const I=e.charAt(b+1);I==="z"?(f.push(e.substring(d,b)),f.push("$(?!\\n)(?<!\\n)"),d=b+2):(I==="A"||I==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(f.push(e.substring(d,i)),this.source=f.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Ab.test(this.source)}clone(){return new Em(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,f)=>Ou(i[parseInt(f,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],f,o,b,D;for(f=0,o=this.source.length;f<o;f++)b=this.source.charAt(f),e[f]=b,t[f]=b,i[f]=b,d[f]=b,b==="\\"&&f+1<o&&(D=this.source.charAt(f+1),D==="A"?(e[f+1]="",t[f+1]="",i[f+1]="A",d[f+1]="A"):D==="G"?(e[f+1]="",t[f+1]="G",i[f+1]="",d[f+1]="G"):(e[f+1]=D,t[f+1]=D,i[f+1]=D,d[f+1]=D),f++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},fr=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
81
81
|
`)}findNextMatchSync(n,e,t){const i=this.scanner.findNextMatchSync(n,e,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},dc=class{constructor(n,e){this.languageId=n,this.tokenType=e}},uc=class fd{constructor(e,t){this._getBasicScopeAttributes=new $u(i=>{const d=this._scopeToLanguage(i),f=this._toStandardTokenType(i);return new dc(d,f)}),this._defaultAttributes=new dc(e,8),this._embeddedLanguagesMatcher=new ob(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?fd._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(fd.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};uc._NULL_SCOPE_METADATA=new dc(0,0),uc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var ib=uc,ob=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,i])=>Ou(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var eh=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function th(n,e,t,i,d,f,o,b){const D=e.content.length;let I=!1,x=-1;if(o){const O=rb(n,e,t,i,d,f);d=O.stack,i=O.linePos,t=O.isFirstLine,x=O.anchorPosition}const N=Date.now();for(;!I;){if(b!==0&&Date.now()-N>b)return new eh(d,!0);T()}return new eh(d,!1);function T(){const O=ab(n,e,t,i,d,x);if(!O){f.produce(d,D),I=!0;return}const H=O.captureIndices,L=O.matchedRuleId,v=H&&H.length>0?H[0].end>i:!1;if(L===eb){const m=d.getRule(n);f.produce(d,H[0].start),d=d.withContentNameScopesList(d.nameScopesList),Ir(n,e,t,d,f,m.endCaptures,H),f.produce(d,H[0].end);const F=d;if(d=d.parent,x=F.getAnchorPos(),!v&&F.getEnterPos()===i){d=F,f.produce(d,D),I=!0;return}}else{const m=n.getRule(L);f.produce(d,H[0].start);const F=d,k=m.getName(e.content,H),_=d.contentNameScopesList.pushAttributed(k,n);if(d=d.push(L,i,x,H[0].end===D,null,_,_),m instanceof gc){const B=m;Ir(n,e,t,d,f,B.beginCaptures,H),f.produce(d,H[0].end),x=H[0].end;const p=B.getContentName(e.content,H),u=_.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.endHasBackReferences&&(d=d.withEndRule(B.getEndWithResolvedBackReferences(e.content,H))),!v&&F.hasSameRuleAs(d)){d=d.pop(),f.produce(d,D),I=!0;return}}else if(m instanceof Ya){const B=m;Ir(n,e,t,d,f,B.beginCaptures,H),f.produce(d,H[0].end),x=H[0].end;const p=B.getContentName(e.content,H),u=_.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.whileHasBackReferences&&(d=d.withEndRule(B.getWhileWithResolvedBackReferences(e.content,H))),!v&&F.hasSameRuleAs(d)){d=d.pop(),f.produce(d,D),I=!0;return}}else if(Ir(n,e,t,d,f,m.captures,H),f.produce(d,H[0].end),d=d.pop(),!v){d=d.safePop(),f.produce(d,D),I=!0;return}}H[0].end>i&&(i=H[0].end,t=!1)}}function rb(n,e,t,i,d,f){let o=d.beginRuleCapturedEOL?0:-1;const b=[];for(let D=d;D;D=D.pop()){const I=D.getRule(n);I instanceof Ya&&b.push({rule:I,stack:D})}for(let D=b.pop();D;D=b.pop()){const{ruleScanner:I,findOptions:x}=cb(D.rule,n,D.stack.endRule,t,i===o),N=I.findNextMatchSync(e,i,x);if(N){if(N.ruleId!==qu){d=D.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(f.produce(D.stack,N.captureIndices[0].start),Ir(n,e,t,D.stack,f,D.rule.whileCaptures,N.captureIndices),f.produce(D.stack,N.captureIndices[0].end),o=N.captureIndices[0].end,N.captureIndices[0].end>i&&(i=N.captureIndices[0].end,t=!1))}else{d=D.stack.pop();break}}return{stack:d,linePos:i,anchorPosition:o,isFirstLine:t}}function ab(n,e,t,i,d,f){const o=sb(n,e,t,i,d,f),b=n.getInjections();if(b.length===0)return o;const D=lb(b,n,e,t,i,d,f);if(!D)return o;if(!o)return D;const I=o.captureIndices[0].start,x=D.captureIndices[0].start;return x<I||D.priorityMatch&&x===I?D:o}function sb(n,e,t,i,d,f){const o=d.getRule(n),{ruleScanner:b,findOptions:D}=nh(o,n,d.endRule,t,i===f),I=b.findNextMatchSync(e,i,D);return I?{captureIndices:I.captureIndices,matchedRuleId:I.ruleId}:null}function lb(n,e,t,i,d,f,o){let b=Number.MAX_VALUE,D=null,I,x=0;const N=f.contentNameScopesList.getScopeNames();for(let T=0,O=n.length;T<O;T++){const H=n[T];if(!H.matcher(N))continue;const L=e.getRule(H.ruleId),{ruleScanner:v,findOptions:m}=nh(L,e,null,i,d===o),F=v.findNextMatchSync(t,d,m);if(!F)continue;const k=F.captureIndices[0].start;if(!(k>=b)&&(b=k,D=F.captureIndices,I=F.ruleId,x=H.priority,b===d))break}return D?{priorityMatch:x===-1,captureIndices:D,matchedRuleId:I}:null}function nh(n,e,t,i,d){return{ruleScanner:n.compileAG(e,t,i,d),findOptions:0}}function cb(n,e,t,i,d){return{ruleScanner:n.compileWhileAG(e,t,i,d),findOptions:0}}function Ir(n,e,t,i,d,f,o){if(f.length===0)return;const b=e.content,D=Math.min(f.length,o.length),I=[],x=o[0].end;for(let N=0;N<D;N++){const T=f[N];if(T===null)continue;const O=o[N];if(O.length===0)continue;if(O.start>x)break;for(;I.length>0&&I[I.length-1].endPos<=O.start;)d.produceFromScopes(I[I.length-1].scopes,I[I.length-1].endPos),I.pop();if(I.length>0?d.produceFromScopes(I[I.length-1].scopes,O.start):d.produce(i,O.start),T.retokenizeCapturedWithRuleId){const L=T.getName(b,o),v=i.contentNameScopesList.pushAttributed(L,n),m=T.getContentName(b,o),F=v.pushAttributed(m,n),k=i.push(T.retokenizeCapturedWithRuleId,O.start,-1,!1,null,v,F),_=n.createOnigString(b.substring(0,O.end));th(n,_,t&&O.start===0,O.start,k,d,!1,0),Zu(_);continue}const H=T.getName(b,o);if(H!==null){const v=(I.length>0?I[I.length-1].scopes:i.contentNameScopesList).pushAttributed(H,n);I.push(new gb(v,O.end))}}for(;I.length>0;)d.produceFromScopes(I[I.length-1].scopes,I[I.length-1].endPos),I.pop()}var gb=class{constructor(n,e){this.scopes=n,this.endPos=e}};function db(n,e,t,i,d,f,o,b){return new hb(n,e,t,i,d,f,o,b)}function ih(n,e,t,i,d){const f=Ka(e,Oa),o=Vu.getCompiledRuleId(t,i,d.repository);for(const b of f)n.push({debugSelector:e,matcher:b.matcher,ruleId:o,grammar:d,priority:b.priority})}function Oa(n,e){if(e.length<n.length)return!1;let t=0;return n.every(i=>{for(let d=t;d<e.length;d++)if(ub(e[d],i))return t=d+1,!0;return!1})}function ub(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var hb=class{constructor(n,e,t,i,d,f,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=f,this._onigLib=b,this._basicScopeAttributesProvider=new ib(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=oh(e,null),this._injections=null,this._tokenTypeMatchers=[],d)for(const D of Object.keys(d)){const I=Ka(D,Oa);for(const x of I)this._tokenTypeMatchers.push({matcher:x.matcher,type:d[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:d=>d===this._rootScopeName?this._grammar:this.getExternalGrammar(d),injections:d=>this._grammarRepository.injections(d)},e=[],t=this._rootScopeName,i=n.lookup(t);if(i){const d=i.injections;if(d)for(let o in d)ih(e,o,d[o],this,i);const f=this._grammarRepository.injections(t);f&&f.forEach(o=>{const b=this.getExternalGrammar(o);if(b){const D=b.injectionSelector;D&&ih(e,D,b,this,b)}})}return e.sort((d,f)=>d.priority-f.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=oh(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const i=this._tokenize(n,e,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,e,t=0){const i=this._tokenize(n,e,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,e,t,i){this._rootId===-1&&(this._rootId=Vu.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let d;if(!e||e===pc.NULL){d=!0;const I=this._basicScopeAttributesProvider.getDefaultAttributes(),x=this.themeProvider.getDefaults(),N=No.set(0,I.languageId,I.tokenType,null,x.fontStyle,x.foregroundId,x.backgroundId),T=this.getRule(this._rootId).getName(null,null);let O;T?O=wr.createRootAndLookUpScopeName(T,N,this):O=wr.createRoot("unknown",N),e=new pc(null,this._rootId,-1,-1,!1,null,O,O)}else d=!1,e.reset();n=n+`
|
|
82
82
|
`;const f=this.createOnigString(n),o=f.content.length,b=new Cb(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),D=th(this,f,d,0,e,b,!0,i);return Zu(f),{lineLength:o,lineTokens:b,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}};function oh(n,e){return n=N0(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var wr=class ui{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,d=(e==null?void 0:e.scopePath)??null;for(const f of t)d=sc.push(d,f.scopeNames),i=new ui(i,d,f.encodedTokenAttributes);return i}static createRoot(e,t){return new ui(null,new sc(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const d=i.getMetadataForScope(e),f=new sc(null,e),o=i.themeProvider.themeMatch(f),b=ui.mergeAttributes(t,d,o);return new ui(null,f,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return ui.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,i){let d=-1,f=0,o=0;return i!==null&&(d=i.fontStyle,f=i.foregroundId,o=i.backgroundId),No.set(e,t.languageId,t.tokenType,null,d,f,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return ui._pushAttributed(this,e,t);const i=e.split(/ /g);let d=this;for(const f of i)d=ui._pushAttributed(d,f,t);return d}static _pushAttributed(e,t,i){const d=i.getMetadataForScope(t),f=e.scopePath.push(t),o=i.themeProvider.themeMatch(f),b=ui.mergeAttributes(e.tokenAttributes,d,o);return new ui(e,f,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var d;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((d=i.parent)==null?void 0:d.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},hc=class dr{constructor(e,t,i,d,f,o,b,D){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=f,this.endRule=o,this.nameScopesList=b,this.contentNameScopesList=D,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=d}equals(e){return e===null?!1:dr._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?wr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){dr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,d,f,o,b){return new dr(this,e,t,i,d,f,o,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var i,d;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(d=this.contentNameScopesList)==null?void 0:d.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new dr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=wr.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new dr(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,wr.fromExtension(i,t.contentNameScopesList))}};hc.NULL=new hc(null,0,0,0,!1,null,null,null);var pc=hc,pb=class{constructor(n,e){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ka(t,Oa).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ka(t,Oa).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},Cb=class{constructor(n,e,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let d=(n==null?void 0:n.tokenAttributes)??0,f=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(f=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(o)&&(d=No.set(d,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(f=this.balancedBracketSelectors.match(o))}if(f&&(d=No.set(d,0,8,f,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===d){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(d),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,d=this._binaryTokens.length;i<d;i++)t[i]=this._binaryTokens[i];return t}},Bb=class{constructor(n,e){this._onigLib=e,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,i,d){if(!this._grammars.has(n)){let f=this._rawGrammars.get(n);if(!f)return null;this._grammars.set(n,db(n,f,e,t,i,d,this,this._onigLib))}return this._grammars.get(n)}},mb=class{constructor(e){this._options=e,this._syncRegistry=new Bb(Ha.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Ha.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new pb(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,d,f){const o=new J0(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,d,f)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,d=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,d)}_grammarForScopeName(e,t=0,i=null,d=null,f=null){return this._syncRegistry.grammarForScopeName(e,t,i,d,f)}},Cc=pc.NULL;const Eb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class br{constructor(e,t,i){this.property=e,this.normal=t,i&&(this.space=i)}}br.prototype.property={},br.prototype.normal={},br.prototype.space=null;function rh(n,e){const t={},i={};let d=-1;for(;++d<n.length;)Object.assign(t,n[d].property),Object.assign(i,n[d].normal);return new br(t,i,e)}function Bc(n){return n.toLowerCase()}class Sn{constructor(e,t){this.property=e,this.attribute=t}}Sn.prototype.space=null,Sn.prototype.boolean=!1,Sn.prototype.booleanish=!1,Sn.prototype.overloadedBoolean=!1,Sn.prototype.number=!1,Sn.prototype.commaSeparated=!1,Sn.prototype.spaceSeparated=!1,Sn.prototype.commaOrSpaceSeparated=!1,Sn.prototype.mustUseProperty=!1,Sn.prototype.defined=!1;let Qb=0;const Ue=Vi(),_t=Vi(),ah=Vi(),pe=Vi(),ht=Vi(),Fo=Vi(),mn=Vi();function Vi(){return 2**++Qb}const mc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:_t,commaOrSpaceSeparated:mn,commaSeparated:Fo,number:pe,overloadedBoolean:ah,spaceSeparated:ht},Symbol.toStringTag,{value:"Module"})),Ec=Object.keys(mc);class Qc extends Sn{constructor(e,t,i,d){let f=-1;if(super(e,t),sh(this,"space",d),typeof i=="number")for(;++f<Ec.length;){const o=Ec[f];sh(this,Ec[f],(i&mc[o])===mc[o])}}}Qc.prototype.defined=!0;function sh(n,e,t){t&&(n[e]=t)}const fb={}.hasOwnProperty;function Ro(n){const e={},t={};let i;for(i in n.properties)if(fb.call(n.properties,i)){const d=n.properties[i],f=new Qc(i,n.transform(n.attributes||{},i),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(f.mustUseProperty=!0),e[i]=f,t[Bc(i)]=i,t[Bc(f.attribute)]=i}return new br(e,t,n.space)}const lh=Ro({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ch=Ro({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gh(n,e){return e in n?n[e]:e}function dh(n,e){return gh(n,e.toLowerCase())}const uh=Ro({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),hh=Ro({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_t,ariaAutoComplete:null,ariaBusy:_t,ariaChecked:_t,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:ht,ariaCurrent:null,ariaDescribedBy:ht,ariaDetails:null,ariaDisabled:_t,ariaDropEffect:ht,ariaErrorMessage:null,ariaExpanded:_t,ariaFlowTo:ht,ariaGrabbed:_t,ariaHasPopup:null,ariaHidden:_t,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ht,ariaLevel:pe,ariaLive:null,ariaModal:_t,ariaMultiLine:_t,ariaMultiSelectable:_t,ariaOrientation:null,ariaOwns:ht,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:_t,ariaReadOnly:_t,ariaRelevant:null,ariaRequired:_t,ariaRoleDescription:ht,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:_t,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),Ib=Ro({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:ht,accessKey:ht,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:ht,autoFocus:Ue,autoPlay:Ue,blocking:ht,capture:null,charSet:null,checked:Ue,cite:null,className:ht,cols:pe,colSpan:null,content:null,contentEditable:_t,controls:Ue,controlsList:ht,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:ah,draggable:_t,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:ht,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:ht,httpEquiv:ht,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:ht,itemRef:ht,itemScope:Ue,itemType:ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ue,optimum:pe,pattern:null,ping:ht,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:ht,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:ht,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:_t,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:_t,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ht,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:_t,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:pe,security:null,unselectable:null}}),wb=Ro({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:gh,properties:{about:mn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fo,g2:Fo,glyphName:Fo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:mn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mn,rev:mn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mn,requiredFeatures:mn,requiredFonts:mn,requiredFormats:mn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:mn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bb=/^data[-\w.:]+$/i,ph=/-[a-z]/g,yb=/[A-Z]/g;function Db(n,e){const t=Bc(e);let i=e,d=Sn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&bb.test(e)){if(e.charAt(4)==="-"){const f=e.slice(5).replace(ph,kb);i="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=e.slice(4);if(!ph.test(f)){let o=f.replace(yb,vb);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}d=Qc}return new d(i,e)}function vb(n){return"-"+n.toLowerCase()}function kb(n){return n.charAt(1).toUpperCase()}const _b=rh([ch,lh,uh,hh,Ib],"html"),Ch=rh([ch,lh,uh,hh,wb],"svg"),Bh={}.hasOwnProperty;function Mb(n,e){const t=e||{};function i(d,...f){let o=i.invalid;const b=i.handlers;if(d&&Bh.call(d,n)){const D=String(d[n]);o=Bh.call(b,D)?b[D]:i.unknown}if(o)return o.call(this,d,...f)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const Sb=/["&'<>`]/g,xb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nb=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Fb=/[|\\{}()[\]^$+*?.]/g,mh=new WeakMap;function Rb(n,e){if(n=n.replace(e.subset?Lb(e.subset):Sb,i),e.subset||e.escapeOnly)return n;return n.replace(xb,t).replace(Nb,i);function t(d,f,o){return e.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,o.charCodeAt(f+2),e)}function i(d,f,o){return e.format(d.charCodeAt(0),o.charCodeAt(f+1),e)}}function Lb(n){let e=mh.get(n);return e||(e=Gb(n),mh.set(n,e)),e}function Gb(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(Fb,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const Pb=/[\dA-Fa-f]/;function Hb(n,e,t){const i="&#x"+n.toString(16).toUpperCase();return t&&e&&!Pb.test(String.fromCharCode(e))?i:i+";"}const Kb=/\d/;function Tb(n,e,t){const i="&#"+String(n);return t&&e&&!Kb.test(String.fromCharCode(e))?i:i+";"}const Ub=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],fc={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Yb=["cent","copy","divide","gt","lt","not","para","times"],Eh={}.hasOwnProperty,Ic={};let $a;for($a in fc)Eh.call(fc,$a)&&(Ic[fc[$a]]=$a);const Ob=/[^\dA-Za-z]/;function $b(n,e,t,i){const d=String.fromCharCode(n);if(Eh.call(Ic,d)){const f=Ic[d],o="&"+f;return t&&Ub.includes(f)&&!Yb.includes(f)&&(!i||e&&e!==61&&Ob.test(String.fromCharCode(e)))?o:o+";"}return""}function zb(n,e,t){let i=Hb(n,e,t.omitOptionalSemicolons),d;if((t.useNamedReferences||t.useShortestReferences)&&(d=$b(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!d)&&t.useShortestReferences){const f=Tb(n,e,t.omitOptionalSemicolons);f.length<i.length&&(i=f)}return d&&(!t.useShortestReferences||d.length<i.length)?d:i}function Lo(n,e){return Rb(n,Object.assign({format:zb},e))}const Jb=/^>|^->|<!--|-->|--!>|<!-$/g,Zb=[">"],Wb=["<",">"];function jb(n,e,t,i){return i.settings.bogusComments?"<?"+Lo(n.value,Object.assign({},i.settings.characterReferences,{subset:Zb}))+">":"<!--"+n.value.replace(Jb,d)+"-->";function d(f){return Lo(f,Object.assign({},i.settings.characterReferences,{subset:Wb}))}}function qb(n,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Qh(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let i=0,d=t.indexOf(e);for(;d!==-1;)i++,d=t.indexOf(e,d+e.length);return i}function Xb(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function Vb(n){return n.join(" ").trim()}const Ay=/[ \t\n\f\r]/g;function wc(n){return typeof n=="object"?n.type==="text"?fh(n.value):!1:fh(n)}function fh(n){return n.replace(Ay,"")===""}const xt=wh(1),Ih=wh(-1),ey=[];function wh(n){return e;function e(t,i,d){const f=t?t.children:ey;let o=(i||0)+n,b=f[o];if(!d)for(;b&&wc(b);)o+=n,b=f[o];return b}}const ty={}.hasOwnProperty;function bh(n){return e;function e(t,i,d){return ty.call(n,t.tagName)&&n[t.tagName](t,i,d)}}const bc=bh({body:iy,caption:yc,colgroup:yc,dd:sy,dt:ay,head:yc,html:ny,li:ry,optgroup:ly,option:cy,p:oy,rp:yh,rt:yh,tbody:dy,td:Dh,tfoot:uy,th:Dh,thead:gy,tr:hy});function yc(n,e,t){const i=xt(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&wc(i.value.charAt(0)))}function ny(n,e,t){const i=xt(t,e);return!i||i.type!=="comment"}function iy(n,e,t){const i=xt(t,e);return!i||i.type!=="comment"}function oy(n,e,t){const i=xt(t,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function ry(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&i.tagName==="li"}function ay(n,e,t){const i=xt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function sy(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function yh(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function ly(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function cy(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function gy(n,e,t){const i=xt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function dy(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function uy(n,e,t){return!xt(t,e)}function hy(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function Dh(n,e,t){const i=xt(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const py=bh({body:my,colgroup:Ey,head:By,html:Cy,tbody:Qy});function Cy(n){const e=xt(n,-1);return!e||e.type!=="comment"}function By(n){const e=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function my(n){const e=xt(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&wc(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Ey(n,e,t){const i=Ih(t,e),d=xt(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function Qy(n,e,t){const i=Ih(t,e),d=xt(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const za={name:[[`
|
|
83
83
|
\f\r &/=>`.split(""),`
|
|
@@ -93,27 +93,27 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
|
|
|
93
93
|
* @author RubaXa <trash@rubaxa.org>
|
|
94
94
|
* @author owenm <owen23355@gmail.com>
|
|
95
95
|
* @license MIT
|
|
96
|
-
*/function Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function ei(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){TD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function TD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function UD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,f;for(f=0;f<i.length;f++)d=i[f],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function YD(n,e){if(n==null)return{};var t=UD(n,e),i,d;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);for(d=0;d<f.length;d++)i=f[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var OD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),$D=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function zD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ti(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=zD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,f=i.length;if(t)for(;d<f;d++)t(i[d],d);return i}return[]}function ni(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var f,o,b,D,I,x,N;if(n!==window&&n.parentNode&&n!==ni()?(f=n.getBoundingClientRect(),o=f.top,b=f.left,D=f.bottom,I=f.right,x=f.height,N=f.width):(o=0,b=0,D=window.innerHeight,I=window.innerWidth,x=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var T=d.getBoundingClientRect();o-=T.top+parseInt(Le(d,"border-top-width")),b-=T.left+parseInt(Le(d,"border-left-width")),D=o+f.height,I=b+f.width;break}while(d=d.parentNode);if(i&&n!==window){var O=Po(d||n),H=O&&O.a,L=O&&O.d;O&&(o/=L,b/=H,N/=H,x/=L,D=o+x,I=b+N)}return{top:o,left:b,bottom:D,right:I,width:N,height:x}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var f=Nt(i)[t],o=void 0;if(o=d>=f,!o)return i;if(i===ni())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,f=0,o=n.children;f<o.length;){if(o[f].style.display!=="none"&&o[f]!==Ge.ghost&&(i||o[f]!==Ge.dragged)&&ti(o[f],t.draggable,n,!1)){if(d===e)return o[f];d++}f++}return null}function Sc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function xn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ni();if(n)do{var d=Po(n),f=d.a,o=d.d;e+=n.scrollLeft*f,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function JD(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ni();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ni();if(i||e)return t;i=!0}}while(t=t.parentNode);return ni()}function ZD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function xc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var Sr;function ep(n,e){return function(){if(!Sr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Sr=setTimeout(function(){Sr=void 0},e)}}}function WD(){clearTimeout(Sr),Sr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function jD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var f=ei({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(f.top-=o.f,f.left-=o.e)}d.fromRect=f}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(JD(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var f=!1,o=0;n.forEach(function(b){var D=0,I=b.target,x=I.fromRect,N=Nt(I),T=I.prevFromRect,O=I.prevToRect,H=b.rect,L=Po(I,!0);L&&(N.top-=L.f,N.left-=L.e),I.toRect=N,I.thisAnimationDuration&&xc(T,N)&&!xc(x,N)&&(H.top-N.top)/(H.left-N.left)===(x.top-N.top)/(x.left-N.left)&&(D=XD(H,T,O,d.options)),xc(N,x)||(I.prevFromRect=x,I.prevToRect=N,D||(D=d.options.animation),d.animate(I,H,N,D)),D&&(f=!0,o=Math.max(o,D),clearTimeout(I.animationResetTimer),I.animationResetTimer=setTimeout(function(){I.animationTime=0,I.prevFromRect=null,I.fromRect=null,I.prevToRect=null,I.thisAnimationDuration=null},D),I.thisAnimationDuration=D)}),clearTimeout(e),f?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,f,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),D=b&&b.a,I=b&&b.d,x=(d.left-f.left)/(D||1),N=(d.top-f.top)/(I||1);i.animatingX=!!x,i.animatingY=!!N,Le(i,"transform","translate3d("+x+"px,"+N+"px,0)"),this.forRepaintDummy=qD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function qD(n){return n.offsetWidth}function XD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},xr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var f=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][f]&&t[o.pluginName][f](ei({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](ei({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var D=b.pluginName;if(!(!e.options[D]&&!b.initializeByDefault)){var I=new b(e,t,e.options);I.sortable=e,I.options=e.options,e[D]=I,pi(i,I.defaults)}});for(var f in e.options)if(e.options.hasOwnProperty(f)){var o=this.modifyOption(e,f,e.options[f]);typeof o<"u"&&(e.options[f]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(f){e[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(d=f.optionListeners[t].call(e[f.pluginName],i))}),d}};function VD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,f=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,I=n.newIndex,x=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,O=n.putSortable,H=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var L,v=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?L=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(L=document.createEvent("Event"),L.initEvent(i,!0,!0)),L.to=o||t,L.from=b||t,L.item=d||t,L.clone=f,L.oldIndex=D,L.newIndex=I,L.oldDraggableIndex=x,L.newDraggableIndex=N,L.originalEvent=T,L.pullMode=O?O.lastPutMode:void 0;var F=ei(ei({},H),xr.getEventProperties(i,e));for(var k in F)L[k]=F[k];t&&t.dispatchEvent(L),v[m]&&v[m].call(e,L)}}var Av=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,f=YD(i,Av);xr.pluginEvent.bind(Ge)(e,t,ei({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Qt,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},f))};function Wt(n){VD(ei({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Qt,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi},n))}var me,wt,Ye,Qt,no,ns,bt,Li,To,fn,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,zn,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",ev=cs&&!$D&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),f=Ho(e,0,t),o=Ho(e,1,t),b=f&&Le(f),D=o&&Le(o),I=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(f).width,x=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Nt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(f&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return f&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||I>=d&&i[rp]==="none"||o&&i[rp]==="none"&&I+x>d)?"vertical":"horizontal"},tv=function(e,t,i){var d=i?e.left:e.top,f=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,D=i?t.right:t.bottom,I=i?t.width:t.height;return d===b||f===D||d+o/2===b+I/2},nv=function(e,t){var i;return rs.some(function(d){var f=d[Qn].options.emptyInsertThreshold;if(!(!f||Sc(d))){var o=Nt(d),b=e>=o.left-f&&e<=o.right+f,D=t>=o.top-f&&t<=o.bottom+f;if(b&&D)return i=d}}),i},lp=function(e){function t(f,o){return function(b,D,I,x){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(f==null&&(o||N))return!0;if(f==null||f===!1)return!1;if(o&&f==="clone")return f;if(typeof f=="function")return t(f(b,D,I,x),o)(b,D,I,x);var T=(o?b:D).options.group.name;return f===!0||typeof f=="string"&&f===T||f.join&&f.indexOf(T)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=nv(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},iv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:ev,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,jD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,f=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,D=(b||e).target,I=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||D,x=d.filter;if(dv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!I.isContentEditable&&!(!this.nativeDraggable&&Mr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=ti(D,d.draggable,i,!1),!(D&&D.animated)&&ns!==D)){if(To=xn(D),Nr=xn(D,d.draggable),typeof x=="function"){if(x.call(this,e,D,this)){Wt({sortable:t,rootEl:I,name:"filter",targetEl:D,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),f&&e.cancelable&&e.preventDefault();return}}else if(x&&(x=x.split(",").some(function(N){if(N=ti(I,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),x)){f&&e.cancelable&&e.preventDefault();return}d.handle&&!ti(I,d.handle,i,!1)||this._prepareDragStart(e,b,D)}}},_prepareDragStart:function(e,t,i){var d=this,f=d.el,o=d.options,b=f.ownerDocument,D;if(i&&!me&&i.parentNode===f){var I=Nt(i);if(Qt=f,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-I.left,op=io.clientY-I.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",D=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(x){Xh(me,x.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Pc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Qt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Qt&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",iv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(zn){this._lastX=zn.clientX,this._lastY=zn.clientY,cp();for(var e=document.elementFromPoint(zn.clientX,zn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(zn.clientX,zn.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:zn.clientX,clientY:zn.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,f=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,I=gs&&Ot&&Ap(Ot),x=(f.clientX-io.clientX+d.x)/(b||1)+(I?I[0]-Lc[0]:0)/(b||1),N=(f.clientY-io.clientY+d.y)/(D||1)+(I?I[1]-Lc[1]:0)/(D||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=x-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:x,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",T),Le(Ye,"mozTransform",T),Le(Ye,"msTransform",T),Le(Ye,"transform",T),Fc=x,Rc=N,zn=f}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Qt,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ni()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ni(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,f=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Qt.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,f.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",f.setData&&f.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,f,o,b=this.options,D=b.group,I=Ge.active,x=is===D,N=b.sort,T=Kt||I,O,H=this,L=!1;if(Gc)return;function v(S,K){cn(S,H,ei({evt:e,isOwner:x,axis:O?"vertical":"horizontal",revert:o,dragRect:d,targetRect:f,canSort:N,fromSortable:T,target:i,completed:F,onMove:function(AA,eA){return ds(Qt,t,me,d,AA,Nt(AA),e,eA)},changed:k},K))}function m(){v("dragOverAnimationCapture"),H.captureAnimationState(),H!==T&&T.captureAnimationState()}function F(S){return v("dragOverCompleted",{insertion:S}),S&&(x?I._hideClone():I._showClone(H),H!==T&&(En(me,Kt?Kt.options.ghostClass:I.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==H&&H!==Ge.active?Kt=H:H===Ge.active&&Kt&&(Kt=null),T===H&&(H._ignoreWhileAnimating=i),H.animateAll(function(){v("dragOverAnimationComplete"),H._ignoreWhileAnimating=null}),H!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!S&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),L=!0}function k(){fn=xn(me),Gi=xn(me,b.draggable),Wt({sortable:H,name:"change",toEl:t,newIndex:fn,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ti(i,b.draggable,t,!0),v("dragOver"),Ge.eventCanceled)return L;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||H._ignoreWhileAnimating===i)return F(!1);if(os=!1,I&&!b.disabled&&(x?N||(o=wt!==Qt):Kt===this||(this.lastPutMode=is.checkPull(this,I,me,e))&&D.checkPut(this,I,me,e))){if(O=this._getDirection(e,i)==="vertical",d=Nt(me),v("dragOverValid"),Ge.eventCanceled)return L;if(o)return wt=Qt,m(),this._hideClone(),v("revert"),Ge.eventCanceled||(no?Qt.insertBefore(me,no):Qt.appendChild(me)),F(!0);var _=Sc(t,b.draggable);if(!_||sv(e,O,this)&&!_.animated){if(_===me)return F(!1);if(_&&t===e.target&&(i=_),i&&(f=Nt(i)),ds(Qt,t,me,d,i,f,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,k(),F(!0)}else if(_&&av(e,O,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,f=Nt(i),ds(Qt,t,me,d,i,f,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,k(),F(!0)}else if(i.parentNode===t){f=Nt(i);var p=0,u,l=me.parentNode!==t,g=!tv(me.animated&&me.toRect||d,i.animated&&i.toRect||f,O),s=O?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=f[s],Lr=!1,as=!g&&b.invertSwap||l),p=lv(e,i,f,O,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Qt,t,me,d,i,f,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(rv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[s])),k(),F(!0)}if(t.contains(me))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(fn=xn(me),Gi=xn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,fn=xn(me),Gi=xn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Qt===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qt!==wt?(fn>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):fn!==To&&fn>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((fn==null||fn===-1)&&(fn=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Qt=me=wt=Ye=no=bt=ns=Li=io=zn=Fr=fn=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),ov(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,f=i.length,o=this.options;d<f;d++)t=i[d],ti(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||gv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(f,o){var b=d.children[o];ti(b,this.options.draggable,d,!1)&&(i[f]=b)},this),t&&this.captureAnimationState(),e.forEach(function(f){i[f]&&(d.removeChild(i[f]),d.appendChild(i[f]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ti(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=xr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Qt&&!this.options.group.revertClone?Qt.insertBefore(bt,me):no?Qt.insertBefore(bt,no):Qt.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function ov(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,f,o,b){var D,I=n[Qn],x=I.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=e,D.from=n,D.dragged=t,D.draggedRect=i,D.related=d||e,D.relatedRect=f||Nt(e),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),x&&(N=x.call(I,D,o)),N}function Pc(n){n.draggable=!1}function rv(){Gc=!1}function av(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function sv(n,e,t){var i=Nt(Sc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+d}function lv(n,e,t,i,d,f,o,b){var D=i?n.clientY:n.clientX,I=i?t.height:t.width,x=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&ss<I*d){if(!Lr&&(Rr===1?D>x+I*f/2:D<N-I*f/2)&&(Lr=!0),Lr)T=!0;else if(Rr===1?D<x+ss:D>N-ss)return-Rr}else if(D>x+I*(1-d)/2&&D<N-I*(1-d)/2)return cv(e)}return T=T||o,T&&(D<x+I*f/2||D>N-I*f/2)?D>x+I/2?1:-1:0}function cv(n){return xn(me)<xn(n)?1:-1}function gv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function dv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ti(e,t,e,!1)},extend:ZD,throttle:ep,closest:ti,toggleClass:En,clone:np,index:xn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=ei(ei({},Ge.utils),i.utils)),xr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=OD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function uv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),ps(),WD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,f=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(f,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var D=Ri(b,!0);Tc&&(!Pr||f!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var I=Ri(document.elementFromPoint(f,o),!0);I!==D&&(D=I,ps()),Oc(t,d.options,I,i)},10),Uc=f,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ni()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,f=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,D=ni(),I=!1,x;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,x=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,T=Gr;do{var O=T,H=Nt(O),L=H.top,v=H.bottom,m=H.left,F=H.right,k=H.width,_=H.height,B=void 0,p=void 0,u=O.scrollWidth,l=O.scrollHeight,g=Le(O),s=O.scrollLeft,h=O.scrollTop;O===D?(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&s+k<u)-(Math.abs(m-d)<=o&&!!s),a=p&&(Math.abs(v-f)<=o&&h+_<l)-(Math.abs(L-f)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==O)&&(Mt[N].el=O,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(I=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof x=="function"&&x.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&T!==D&&(T=Ri(T,!1)));Tc=I}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,f=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,D=e.unhideGhostForTarget;if(t){var I=i||f;b();var x=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(x.clientX,x.clientY);D(),I&&!I.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new uv),Ge.mount(zc,$c);var hv=Object.defineProperty,pv=Object.defineProperties,Cv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,Bv=Object.prototype.hasOwnProperty,mv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?hv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))Bv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))mv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>pv(n,Cv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Ev(){return typeof window<"u"?window.console:global.console}const Qv=Ev();function fv(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Iv=/-(\w)/g,wv=fv(n=>n.replace(Iv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],bv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function yv(n){return bv.indexOf(n)!==-1}const Dv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function vv(n){return Dv.includes(n)}function kv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function _v({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function Mv({$attrs:n,callBackBuilder:e}){const t=fp(Ip(n));Object.entries(e).forEach(([d,f])=>{Zc[d].forEach(o=>{t[`on${o}`]=f(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function Ip(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[wv(e),t]).filter(([e,t])=>!yv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},Sv=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class xv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:f}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=f}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:f}=this;return e(i,t,f?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{Sv(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,f=t.children,o=f.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const D=wp(i[0]),I=[...f].findIndex(x=>x===D);return e<I?0:d}}function Nv(n,e){const t=n[e];return t?t():[]}function Fv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,f]=["header","footer"].map(D=>Nv(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,I)=>o({element:D,index:I}).map(x=>(x.key=t(D),x.props=Cs(Pi({},x.props||{}),{"data-draggable":!0}),x)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:f,default:b}}function Rv(n){const e=kv(n),t=!vv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Lv({$slots:n,tag:e,realList:t,getKey:i}){const d=Fv({$slots:n,realList:t,getKey:i}),f=Rv(e);return new xv({nodes:d,root:f,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Gv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Pv={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Hv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Pv,emits:Hv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:f}=this,o=Lv({$slots:n,tag:t,realList:d,getKey:f});this.componentStructure=o;const b=_v({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Qv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=Mv({$attrs:n,callBackBuilder:{manageAndEmit:f=>Gv.call(this,f),emit:f=>yp.bind(this,f),manage:f=>Dp.call(this,f)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&Ip(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const f=t.getUnderlyingVm(e)||{};return Pi(Pi({},f),d)}return d},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Wc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),f=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:f}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Kv=["xlink:href"],ve=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!e.color&&!e.customStyle)return;const i={color:e.color,...e.customStyle};return typeof e.size=="number"&&(i.width=e.size+"px",i.height=e.size+"px"),i});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Kv)],6))}}),[["__scopeId","data-v-e1f08abe"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{},disabled:{type:Boolean},popperClass:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,f=async()=>{var I,x;const D=(x=(I=d.reference)==null?void 0:I.props)==null?void 0:x.onClick;if(D&&e)try{await e[D](t,d)}catch(N){console.error(N+`
|
|
96
|
+
*/function Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function ei(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){TD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function TD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function UD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,f;for(f=0;f<i.length;f++)d=i[f],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function YD(n,e){if(n==null)return{};var t=UD(n,e),i,d;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);for(d=0;d<f.length;d++)i=f[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var OD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),$D=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function zD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ti(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=zD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,f=i.length;if(t)for(;d<f;d++)t(i[d],d);return i}return[]}function ni(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var f,o,b,D,I,x,N;if(n!==window&&n.parentNode&&n!==ni()?(f=n.getBoundingClientRect(),o=f.top,b=f.left,D=f.bottom,I=f.right,x=f.height,N=f.width):(o=0,b=0,D=window.innerHeight,I=window.innerWidth,x=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var T=d.getBoundingClientRect();o-=T.top+parseInt(Le(d,"border-top-width")),b-=T.left+parseInt(Le(d,"border-left-width")),D=o+f.height,I=b+f.width;break}while(d=d.parentNode);if(i&&n!==window){var O=Po(d||n),H=O&&O.a,L=O&&O.d;O&&(o/=L,b/=H,N/=H,x/=L,D=o+x,I=b+N)}return{top:o,left:b,bottom:D,right:I,width:N,height:x}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var f=Nt(i)[t],o=void 0;if(o=d>=f,!o)return i;if(i===ni())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,f=0,o=n.children;f<o.length;){if(o[f].style.display!=="none"&&o[f]!==Ge.ghost&&(i||o[f]!==Ge.dragged)&&ti(o[f],t.draggable,n,!1)){if(d===e)return o[f];d++}f++}return null}function Sc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function xn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ni();if(n)do{var d=Po(n),f=d.a,o=d.d;e+=n.scrollLeft*f,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function JD(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ni();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ni();if(i||e)return t;i=!0}}while(t=t.parentNode);return ni()}function ZD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function xc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var Sr;function ep(n,e){return function(){if(!Sr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Sr=setTimeout(function(){Sr=void 0},e)}}}function WD(){clearTimeout(Sr),Sr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function jD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var f=ei({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(f.top-=o.f,f.left-=o.e)}d.fromRect=f}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(JD(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var f=!1,o=0;n.forEach(function(b){var D=0,I=b.target,x=I.fromRect,N=Nt(I),T=I.prevFromRect,O=I.prevToRect,H=b.rect,L=Po(I,!0);L&&(N.top-=L.f,N.left-=L.e),I.toRect=N,I.thisAnimationDuration&&xc(T,N)&&!xc(x,N)&&(H.top-N.top)/(H.left-N.left)===(x.top-N.top)/(x.left-N.left)&&(D=XD(H,T,O,d.options)),xc(N,x)||(I.prevFromRect=x,I.prevToRect=N,D||(D=d.options.animation),d.animate(I,H,N,D)),D&&(f=!0,o=Math.max(o,D),clearTimeout(I.animationResetTimer),I.animationResetTimer=setTimeout(function(){I.animationTime=0,I.prevFromRect=null,I.fromRect=null,I.prevToRect=null,I.thisAnimationDuration=null},D),I.thisAnimationDuration=D)}),clearTimeout(e),f?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,f,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),D=b&&b.a,I=b&&b.d,x=(d.left-f.left)/(D||1),N=(d.top-f.top)/(I||1);i.animatingX=!!x,i.animatingY=!!N,Le(i,"transform","translate3d("+x+"px,"+N+"px,0)"),this.forRepaintDummy=qD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function qD(n){return n.offsetWidth}function XD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},xr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var f=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][f]&&t[o.pluginName][f](ei({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](ei({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var D=b.pluginName;if(!(!e.options[D]&&!b.initializeByDefault)){var I=new b(e,t,e.options);I.sortable=e,I.options=e.options,e[D]=I,pi(i,I.defaults)}});for(var f in e.options)if(e.options.hasOwnProperty(f)){var o=this.modifyOption(e,f,e.options[f]);typeof o<"u"&&(e.options[f]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(f){e[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(d=f.optionListeners[t].call(e[f.pluginName],i))}),d}};function VD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,f=n.cloneEl,o=n.toEl,b=n.fromEl,D=n.oldIndex,I=n.newIndex,x=n.oldDraggableIndex,N=n.newDraggableIndex,T=n.originalEvent,O=n.putSortable,H=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var L,v=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?L=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(L=document.createEvent("Event"),L.initEvent(i,!0,!0)),L.to=o||t,L.from=b||t,L.item=d||t,L.clone=f,L.oldIndex=D,L.newIndex=I,L.oldDraggableIndex=x,L.newDraggableIndex=N,L.originalEvent=T,L.pullMode=O?O.lastPutMode:void 0;var F=ei(ei({},H),xr.getEventProperties(i,e));for(var k in F)L[k]=F[k];t&&t.dispatchEvent(L),v[m]&&v[m].call(e,L)}}var Av=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,f=YD(i,Av);xr.pluginEvent.bind(Ge)(e,t,ei({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Qt,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},f))};function Wt(n){VD(ei({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Qt,oldIndex:To,oldDraggableIndex:Nr,newIndex:fn,newDraggableIndex:Gi},n))}var me,wt,Ye,Qt,no,ns,bt,Li,To,fn,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,zn,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",ev=cs&&!$D&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),f=Ho(e,0,t),o=Ho(e,1,t),b=f&&Le(f),D=o&&Le(o),I=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(f).width,x=D&&parseInt(D.marginLeft)+parseInt(D.marginRight)+Nt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(f&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(D.clear==="both"||D.clear===N)?"vertical":"horizontal"}return f&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||I>=d&&i[rp]==="none"||o&&i[rp]==="none"&&I+x>d)?"vertical":"horizontal"},tv=function(e,t,i){var d=i?e.left:e.top,f=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,D=i?t.right:t.bottom,I=i?t.width:t.height;return d===b||f===D||d+o/2===b+I/2},nv=function(e,t){var i;return rs.some(function(d){var f=d[Qn].options.emptyInsertThreshold;if(!(!f||Sc(d))){var o=Nt(d),b=e>=o.left-f&&e<=o.right+f,D=t>=o.top-f&&t<=o.bottom+f;if(b&&D)return i=d}}),i},lp=function(e){function t(f,o){return function(b,D,I,x){var N=b.options.group.name&&D.options.group.name&&b.options.group.name===D.options.group.name;if(f==null&&(o||N))return!0;if(f==null||f===!1)return!1;if(o&&f==="clone")return f;if(typeof f=="function")return t(f(b,D,I,x),o)(b,D,I,x);var T=(o?b:D).options.group.name;return f===!0||typeof f=="string"&&f===T||f.join&&f.indexOf(T)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=nv(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},iv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:ev,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,jD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,f=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,D=(b||e).target,I=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||D,x=d.filter;if(dv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!I.isContentEditable&&!(!this.nativeDraggable&&Mr&&D&&D.tagName.toUpperCase()==="SELECT")&&(D=ti(D,d.draggable,i,!1),!(D&&D.animated)&&ns!==D)){if(To=xn(D),Nr=xn(D,d.draggable),typeof x=="function"){if(x.call(this,e,D,this)){Wt({sortable:t,rootEl:I,name:"filter",targetEl:D,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),f&&e.cancelable&&e.preventDefault();return}}else if(x&&(x=x.split(",").some(function(N){if(N=ti(I,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:D,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),x)){f&&e.cancelable&&e.preventDefault();return}d.handle&&!ti(I,d.handle,i,!1)||this._prepareDragStart(e,b,D)}}},_prepareDragStart:function(e,t,i){var d=this,f=d.el,o=d.options,b=f.ownerDocument,D;if(i&&!me&&i.parentNode===f){var I=Nt(i);if(Qt=f,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-I.left,op=io.clientY-I.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",D=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(x){Xh(me,x.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(D,o.delay)}else D()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Pc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Qt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Qt&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",iv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(zn){this._lastX=zn.clientX,this._lastY=zn.clientY,cp();for(var e=document.elementFromPoint(zn.clientX,zn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(zn.clientX,zn.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:zn.clientX,clientY:zn.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,f=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,D=Ye&&o&&o.d,I=gs&&Ot&&Ap(Ot),x=(f.clientX-io.clientX+d.x)/(b||1)+(I?I[0]-Lc[0]:0)/(b||1),N=(f.clientY-io.clientY+d.y)/(D||1)+(I?I[1]-Lc[1]:0)/(D||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=x-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:x,f:N};var T="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",T),Le(Ye,"mozTransform",T),Le(Ye,"msTransform",T),Le(Ye,"transform",T),Fc=x,Rc=N,zn=f}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Qt,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ni()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ni(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,f=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Qt.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,f.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",f.setData&&f.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,f,o,b=this.options,D=b.group,I=Ge.active,x=is===D,N=b.sort,T=Kt||I,O,H=this,L=!1;if(Gc)return;function v(S,K){cn(S,H,ei({evt:e,isOwner:x,axis:O?"vertical":"horizontal",revert:o,dragRect:d,targetRect:f,canSort:N,fromSortable:T,target:i,completed:F,onMove:function(AA,eA){return ds(Qt,t,me,d,AA,Nt(AA),e,eA)},changed:k},K))}function m(){v("dragOverAnimationCapture"),H.captureAnimationState(),H!==T&&T.captureAnimationState()}function F(S){return v("dragOverCompleted",{insertion:S}),S&&(x?I._hideClone():I._showClone(H),H!==T&&(En(me,Kt?Kt.options.ghostClass:I.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==H&&H!==Ge.active?Kt=H:H===Ge.active&&Kt&&(Kt=null),T===H&&(H._ignoreWhileAnimating=i),H.animateAll(function(){v("dragOverAnimationComplete"),H._ignoreWhileAnimating=null}),H!==T&&(T.animateAll(),T._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!S&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),L=!0}function k(){fn=xn(me),Gi=xn(me,b.draggable),Wt({sortable:H,name:"change",toEl:t,newIndex:fn,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ti(i,b.draggable,t,!0),v("dragOver"),Ge.eventCanceled)return L;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||H._ignoreWhileAnimating===i)return F(!1);if(os=!1,I&&!b.disabled&&(x?N||(o=wt!==Qt):Kt===this||(this.lastPutMode=is.checkPull(this,I,me,e))&&D.checkPut(this,I,me,e))){if(O=this._getDirection(e,i)==="vertical",d=Nt(me),v("dragOverValid"),Ge.eventCanceled)return L;if(o)return wt=Qt,m(),this._hideClone(),v("revert"),Ge.eventCanceled||(no?Qt.insertBefore(me,no):Qt.appendChild(me)),F(!0);var _=Sc(t,b.draggable);if(!_||sv(e,O,this)&&!_.animated){if(_===me)return F(!1);if(_&&t===e.target&&(i=_),i&&(f=Nt(i)),ds(Qt,t,me,d,i,f,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,k(),F(!0)}else if(_&&av(e,O,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,f=Nt(i),ds(Qt,t,me,d,i,f,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,k(),F(!0)}else if(i.parentNode===t){f=Nt(i);var p=0,u,l=me.parentNode!==t,g=!tv(me.animated&&me.toRect||d,i.animated&&i.toRect||f,O),s=O?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=f[s],Lr=!1,as=!g&&b.invertSwap||l),p=lv(e,i,f,O,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Qt,t,me,d,i,f,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(rv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[s])),k(),F(!0)}if(t.contains(me))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(fn=xn(me),Gi=xn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,fn=xn(me),Gi=xn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Qt===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Qt!==wt?(fn>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Qt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):fn!==To&&fn>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((fn==null||fn===-1)&&(fn=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Qt=me=wt=Ye=no=bt=ns=Li=io=zn=Fr=fn=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),ov(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,f=i.length,o=this.options;d<f;d++)t=i[d],ti(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||gv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(f,o){var b=d.children[o];ti(b,this.options.draggable,d,!1)&&(i[f]=b)},this),t&&this.captureAnimationState(),e.forEach(function(f){i[f]&&(d.removeChild(i[f]),d.appendChild(i[f]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ti(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=xr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Qt&&!this.options.group.revertClone?Qt.insertBefore(bt,me):no?Qt.insertBefore(bt,no):Qt.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function ov(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,f,o,b){var D,I=n[Qn],x=I.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?D=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(D=document.createEvent("Event"),D.initEvent("move",!0,!0)),D.to=e,D.from=n,D.dragged=t,D.draggedRect=i,D.related=d||e,D.relatedRect=f||Nt(e),D.willInsertAfter=b,D.originalEvent=o,n.dispatchEvent(D),x&&(N=x.call(I,D,o)),N}function Pc(n){n.draggable=!1}function rv(){Gc=!1}function av(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function sv(n,e,t){var i=Nt(Sc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+d}function lv(n,e,t,i,d,f,o,b){var D=i?n.clientY:n.clientX,I=i?t.height:t.width,x=i?t.top:t.left,N=i?t.bottom:t.right,T=!1;if(!o){if(b&&ss<I*d){if(!Lr&&(Rr===1?D>x+I*f/2:D<N-I*f/2)&&(Lr=!0),Lr)T=!0;else if(Rr===1?D<x+ss:D>N-ss)return-Rr}else if(D>x+I*(1-d)/2&&D<N-I*(1-d)/2)return cv(e)}return T=T||o,T&&(D<x+I*f/2||D>N-I*f/2)?D>x+I/2?1:-1:0}function cv(n){return xn(me)<xn(n)?1:-1}function gv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function dv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ti(e,t,e,!1)},extend:ZD,throttle:ep,closest:ti,toggleClass:En,clone:np,index:xn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=ei(ei({},Ge.utils),i.utils)),xr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=OD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function uv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),ps(),WD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,f=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(f,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var D=Ri(b,!0);Tc&&(!Pr||f!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var I=Ri(document.elementFromPoint(f,o),!0);I!==D&&(D=I,ps()),Oc(t,d.options,I,i)},10),Uc=f,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ni()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,f=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,D=ni(),I=!1,x;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,x=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,T=Gr;do{var O=T,H=Nt(O),L=H.top,v=H.bottom,m=H.left,F=H.right,k=H.width,_=H.height,B=void 0,p=void 0,u=O.scrollWidth,l=O.scrollHeight,g=Le(O),s=O.scrollLeft,h=O.scrollTop;O===D?(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=_<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&s+k<u)-(Math.abs(m-d)<=o&&!!s),a=p&&(Math.abs(v-f)<=o&&h+_<l)-(Math.abs(L-f)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==O)&&(Mt[N].el=O,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(I=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof x=="function"&&x.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&T!==D&&(T=Ri(T,!1)));Tc=I}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,f=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,D=e.unhideGhostForTarget;if(t){var I=i||f;b();var x=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(x.clientX,x.clientY);D(),I&&!I.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new uv),Ge.mount(zc,$c);var hv=Object.defineProperty,pv=Object.defineProperties,Cv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,Bv=Object.prototype.hasOwnProperty,mv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?hv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))Bv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))mv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>pv(n,Cv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Ev(){return typeof window<"u"?window.console:global.console}const Qv=Ev();function fv(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Iv=/-(\w)/g,wv=fv(n=>n.replace(Iv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],bv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function yv(n){return bv.indexOf(n)!==-1}const Dv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function vv(n){return Dv.includes(n)}function kv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function _v({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function Mv({$attrs:n,callBackBuilder:e}){const t=fp(Ip(n));Object.entries(e).forEach(([d,f])=>{Zc[d].forEach(o=>{t[`on${o}`]=f(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function Ip(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[wv(e),t]).filter(([e,t])=>!yv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},Sv=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class xv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:f}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=f}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:f}=this;return e(i,t,f?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{Sv(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,f=t.children,o=f.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const D=wp(i[0]),I=[...f].findIndex(x=>x===D);return e<I?0:d}}function Nv(n,e){const t=n[e];return t?t():[]}function Fv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,f]=["header","footer"].map(D=>Nv(n,D)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((D,I)=>o({element:D,index:I}).map(x=>(x.key=t(D),x.props=Cs(Pi({},x.props||{}),{"data-draggable":!0}),x)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:f,default:b}}function Rv(n){const e=kv(n),t=!vv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Lv({$slots:n,tag:e,realList:t,getKey:i}){const d=Fv({$slots:n,realList:t,getKey:i}),f=Rv(e);return new xv({nodes:d,root:f,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Gv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Pv={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Hv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Pv,emits:Hv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:f}=this,o=Lv({$slots:n,tag:t,realList:d,getKey:f});this.componentStructure=o;const b=_v({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Qv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=Mv({$attrs:n,callBackBuilder:{manageAndEmit:f=>Gv.call(this,f),emit:f=>yp.bind(this,f),manage:f=>Dp.call(this,f)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&Ip(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const f=t.getUnderlyingVm(e)||{};return Pi(Pi({},f),d)}return d},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Wc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),f=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:f}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Kv=["xlink:href"],ve=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!e.color&&!e.customStyle)return;const i={color:e.color,...e.customStyle};return typeof e.size=="number"&&(i.width=e.size+"px",i.height=e.size+"px"),i});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Kv)],6))}}),[["__scopeId","data-v-1304c83f"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{},disabled:{type:Boolean},popperClass:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,f=async()=>{var I,x;const D=(x=(I=d.reference)==null?void 0:I.props)==null?void 0:x.onClick;if(D&&e)try{await e[D](t,d)}catch(N){console.error(N+`
|
|
97
97
|
onClick: ${D}`)}},o=async()=>{const D=d.onShow;if(D&&e)try{await e[D](t,d)}catch(I){console.error(I+`
|
|
98
98
|
onShow: ${D}`)}},b=async()=>{if(d.beforeEnter&&e)try{await e[d.beforeEnter](t)}catch(D){console.error(D+`
|
|
99
|
-
onClick: ${d.beforeEnter}`)}};return(D,I)=>{const x=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:D.offset,"popper-class":d.noPadding?"no-padding":d.popperClass||"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},disabled:d.disabled,onShow:o},{reference:A.withCtx(()=>{var T,O,H,L,v;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:I[0]||(I[0]=m=>i.value=!0),onMouseleave:I[1]||(I[1]=m=>i.value=!1)},[((T=d.reference)==null?void 0:T.component)==="Icon"?(A.openBlock(),A.createBlock(x,{key:0,content:(H=(O=d.reference)==null?void 0:O.props)==null?void 0:H.tooltip,disabled:!((v=(L=d.reference)==null?void 0:L.props)!=null&&v.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,k,_;return[A.createVNode(ve,{name:(F=(m=d.reference)==null?void 0:m.props)==null?void 0:F.name,color:i.value&&d.hoverColor?d.hoverColor:(_=(k=d.reference)==null?void 0:k.props)==null?void 0:_.color,class:"btn-icon cursor-pointer",size:d.size||"normal",onClick:f},null,8,["name","color","size"])]}),_:1},8,["content","disabled"])):d.reference?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:[d.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[D.children?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:D.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","offset","popper-class","title","placement","disabled"])}}}),[["__scopeId","data-v-
|
|
100
|
-
onClick: ${v}`)}};return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const v=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(v),o.value=e.initialValue}}),A.watch(o,(v,m)=>{const F=e.change,k=ut.isEqual(v,m);if(!F||k)return;let _=ut.cloneDeep(t.formValues);F.forEach(({target:B,value:p,condition:u})=>{if(u!==!1){if(B.includes(".*.")){const l=B.split(".*."),g=l.pop(),s=l.join("."),h=Ea(t.formValues,s);ut.isArray(h)&&(_=ko(_,s,h.map(C=>({...C,[g]:p}))));return}_=ko(_,B,p)}}),t.updateFormValues(_)},{immediate:!0}),(v,m)=>{var p;const F=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),_=A.resolveComponent("el-button"),B=A.resolveComponent("el-form-item");return A.unref(t).design||!v.hidden&&(!v.nullFieldHidden||o.value||o.value===0)?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[D.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:0},I.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":m[0]||(m[0]=u=>N.value=u)}),null,16,["gridlayout"])):D.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1},I.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.normalizeProps(A.mergeProps({key:2},I.value)),null,16)):(A.openBlock(),A.createBlock(B,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${v.component}-${v.name}`,{readMode:((p=e.props)==null?void 0:p.read)||A.unref(t).schema.read,hideLabel:v.hideLabel,wFullLabel:v.wFullLabel}]),style:A.normalizeStyle(v.style),key:v.name,prop:v.name,"label-width":v.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),v.label&&`${v.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(T(v.label)),5),v.labelSuffixText?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle([v.labelSuffixStyle,{"margin-left":"4px"}])},A.toDisplayString(v.labelSuffixText),5)):A.createCommentVNode("",!0),v.help?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(F,{effect:"dark",content:v.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),v.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[v.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(v.labelSuffix.props,A.unref(t).context))),null,16)):v.labelSuffix.component==="Icon"?(A.openBlock(),A.createBlock(F,{key:1,effect:"dark",content:v.labelSuffix.props.tooltip,placement:"right",disabled:!v.labelSuffix.props.tooltip},{default:A.withCtx(()=>[A.createVNode(ve,{name:v.labelSuffix.props.name,color:v.labelSuffix.props.color,onClick:m[1]||(m[1]=u=>L(v.labelSuffix.props.onClick)),style:{width:"14px",height:"14px",cursor:"pointer"}},null,8,["name","color"])]),_:1},8,["content","disabled"])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!v.hideLabel]])]),default:A.withCtx(()=>[v.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":m[3]||(m[3]=u=>d.visible=u),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({size:A.unref(t).schema.size},I.value,{disabled:A.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[2]||(m[2]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(_,{type:"primary",plain:"",onClick:f},{default:A.withCtx(()=>m[5]||(m[5]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(I.value,A.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[4]||(m[4]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-70b6ca6f"]]),Tv={key:0,class:"actions-lt"},Uv={class:"canvas-move",size:"small",type:"primary"},Yv={key:1,class:"hidden-ico"},Ov={key:2,class:"actions-rb"},$v=["onClick"],zv={key:3,class:"layout-title"},Jv=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Fn(),d=Jo()[e.data.component],f=A.computed(()=>{var T;return{[je("canvas-item")]:!0,active:e.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:I.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},I=A.ref(!1),x=()=>{I.value=!I.value},N=[{icon:"copy",handle:T=>{const O=Gu(t.list,T.designKey);t.updateList(O)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const O=wd(t.list,H=>H.designKey!==T.designKey);t.updateList(O)}}];return(T,O)=>{var H,L;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(f.value),onClick:O[0]||(O[0]=A.withModifiers(v=>D(T.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[T.data.designKey===((H=A.unref(t).current)==null?void 0:H.designKey)?(A.openBlock(),A.createElementBlock("div",Tv,[A.createElementVNode("div",Uv,[A.createVNode(A.unref(fe),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[A.createVNode(A.unref(fe),{name:"select"})])])):A.createCommentVNode("",!0),T.data.hidden?(A.openBlock(),A.createElementBlock("div",Yv,[A.createVNode(A.unref(fe),{name:"hidden"})])):A.createCommentVNode("",!0),T.data.designKey===((L=A.unref(t).current)==null?void 0:L.designKey)?(A.openBlock(),A.createElementBlock("ul",Ov,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:v,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>m(T.data),["stop"]),key:v,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(fe),{name:v},null,8,["name"])],12,$v)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",zv,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Fn(),i=d=>{const f=d.item._underlying_vm_;t.updateCurrent(tc(t.list,f.designKey)),t.hoverKey=f.designKey,t.rightTab="attr",t.handleEmit("add",f)};return(d,f)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(fe),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Jv,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Zv=typeof window<"u";var _p;Zv&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Wv=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Wv)));function jv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function Sp(n,e=16){if(typeof n!="function")return Mp;const t=(...f)=>{n(...f)};if(e<=0)return xp(t);let i=0,d;return function(...f){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...f)):d=setTimeout(()=>{i=Date.now(),t(...f)},Math.max(0,e-b))}}function qv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return xp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function xp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function Xv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(Xv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Vv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=A1(n[t]);return e}function A1(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),f=Array(n.length);for(let o=0,b=d.length;o<b;o++){let D=d[o];D.static||(D=e1(i,D,e,t),i.push(D)),f[n.findIndex(I=>I.i===D.i)]=D,D.moved=!1}return f}function e1(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const f=i[e.i].y;for(;e.y>f&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function t1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const f=n[i];if(f.x+f.w>e.cols&&(f.x=e.cols-f.w),f.x<0&&(f.x=0,f.w=e.cols),!f.static)t.push(f);else for(;Kr(t,f);)f.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,f=!1){if(e.static)return n;const o=e.x,b=e.y,D=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let I=Tp(n);D&&(I=I.reverse());const x=Pp(I,e);if(f&&x.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,T=x.length;N<T;N++){const O=x[N];O.moved||e.y>O.y&&e.y-O.y>O.h/4||(O.static?n=Kp(n,O,e,d):n=Kp(n,e,O,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function n1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function o1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function r1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function a1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,f=n.length;d<f;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function s1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return l1(n)}function l1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,f=n.clientY+t.scrollTop-i.top;return{x:d,y:f}}function Yp(n,e,t,i){return c1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function c1(n){return typeof n=="number"&&!Number.isNaN(n)}function g1(n,e){const t=$p(n);let i=t[0];for(let d=1,f=t.length;d<f;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function d1(n,e,t,i,d,f,o){if(e[i])return qc(e[i]);let b=n;const D=$p(t),I=D.slice(D.indexOf(i));for(let x=0,N=I.length;x<N;x++){const T=I[x];if(e[T]){b=e[T];break}}return b=qc(b||[]),Oo(t1(b,{cols:f}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let u1="auto";function h1(){return typeof document<"u"}function zp(){return h1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):u1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(G,R){var Z=Object.keys(G);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(G);R&&(nA=nA.filter(function(sA){return Object.getOwnPropertyDescriptor(G,sA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(G){for(var R=1;R<arguments.length;R++){var Z=arguments[R]!=null?arguments[R]:{};R%2?t(Object(Z),!0).forEach(function(nA){D(G,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(G,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return G}function d(G){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(G)}function f(G,R){if(!(G instanceof R))throw new TypeError("Cannot call a class as a function")}function o(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(G,L(nA.key),nA)}}function b(G,R,Z){return R&&o(G.prototype,R),Object.defineProperty(G,"prototype",{writable:!1}),G}function D(G,R,Z){return(R=L(R))in G?Object.defineProperty(G,R,{value:Z,enumerable:!0,configurable:!0,writable:!0}):G[R]=Z,G}function I(G,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(R&&R.prototype,{constructor:{value:G,writable:!0,configurable:!0}}),Object.defineProperty(G,"prototype",{writable:!1}),R&&N(G,R)}function x(G){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},x(G)}function N(G,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(G,R)}function T(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function O(G){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=x(G);if(R){var sA=x(this).constructor;Z=Reflect.construct(nA,arguments,sA)}else Z=nA.apply(this,arguments);return function(uA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(uA)}(this,Z)}}function H(){return H=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(G,R,Z){var nA=function(uA,BA){for(;!Object.prototype.hasOwnProperty.call(uA,BA)&&(uA=x(uA))!==null;);return uA}(G,R);if(nA){var sA=Object.getOwnPropertyDescriptor(nA,R);return sA.get?sA.get.call(arguments.length<3?G:Z):sA.value}},H.apply(this,arguments)}function L(G){var R=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var sA=Z[Symbol.toPrimitive];if(sA!==void 0){var uA=sA.call(Z,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(G,"string");return typeof R=="symbol"?R:R+""}var v=function(G){return!(!G||!G.Window)&&G instanceof G.Window},m=void 0,F=void 0;function k(G){m=G;var R=G.document.createTextNode("");R.ownerDocument!==G.document&&typeof G.wrap=="function"&&G.wrap(R)===R&&(G=G.wrap(G)),F=G}function _(G){return v(G)?G:(G.ownerDocument||G).defaultView||F.window}typeof window<"u"&&window&&k(window);var B=function(G){return!!G&&d(G)==="object"},p=function(G){return typeof G=="function"},u={window:function(G){return G===F||v(G)},docFrag:function(G){return B(G)&&G.nodeType===11},object:B,func:p,number:function(G){return typeof G=="number"},bool:function(G){return typeof G=="boolean"},string:function(G){return typeof G=="string"},element:function(G){if(!G||d(G)!=="object")return!1;var R=_(G)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?G instanceof Element||G instanceof R.Element:G.nodeType===1&&typeof G.nodeName=="string"},plainObject:function(G){return B(G)&&!!G.constructor&&/function Object\b/.test(G.constructor.toString())},array:function(G){return B(G)&&G.length!==void 0&&p(G.splice)}};function l(G){var R=G.interaction;if(R.prepared.name==="drag"){var Z=R.prepared.axis;Z==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):Z==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var sA=nA==="x"?"y":"x";R.page[sA]=Z.coords.start.page[sA],R.client[sA]=Z.coords.start.client[sA],R.delta[sA]=0}}}var s={id:"actions/drag",install:function(G){var R=G.actions,Z=G.Interactable,nA=G.defaults;Z.prototype.draggable=s.draggable,R.map.drag=s,R.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(G){var R=G.interaction,Z=G.interactable,nA=G.buttons,sA=Z.options.drag;if(sA&&sA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&Z.options.drag.mouseButtons))return G.action={name:"drag",axis:sA.lockAxis==="start"?sA.startAxis:sA.lockAxis},!1}},draggable:function(G){return u.object(G)?(this.options.drag.enabled=G.enabled!==!1,this.setPerAction("drag",G),this.setOnEvents("drag",G),/^(xy|x|y|start)$/.test(G.lockAxis)&&(this.options.drag.lockAxis=G.lockAxis),/^(xy|x|y)$/.test(G.startAxis)&&(this.options.drag.startAxis=G.startAxis),this):u.bool(G)?(this.options.drag.enabled=G,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(G){return G.search("drag")===0}},h=s,C={init:function(G){var R=G;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,E={init:function(G){var R=r.Element,Z=G.navigator||{};E.supportsTouch="ontouchstart"in G||u.func(G.DocumentTouch)&&r.document instanceof G.DocumentTouch,E.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(Z.platform),E.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),E.isIe9=/MSIE 9/.test(Z.userAgent),E.isOperaMobile=Z.appName==="Opera"&&E.supportsTouch&&/Presto/.test(Z.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===G.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,E.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Q=E;function M(G,R){if(G.contains)return G.contains(R);for(;R;){if(R===G)return!0;R=R.parentNode}return!1}function S(G,R){for(;u.element(G);){if(z(G,R))return G;G=K(G)}return null}function K(G){var R=G.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(G,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),G[Q.prefixedMatchesSelector](R)}var AA=function(G){return G.parentNode||G.host};function eA(G,R){for(var Z,nA=[],sA=G;(Z=AA(sA))&&sA!==R&&Z!==sA.ownerDocument;)nA.unshift(sA),sA=Z;return nA}function V(G,R,Z){for(;u.element(G);){if(z(G,R))return!0;if((G=K(G))===Z)return z(G,R)}return!1}function $(G){return G.correspondingUseElement||G}function J(G){var R=G instanceof r.SVGElement?G.getBoundingClientRect():G.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function y(G){var R,Z=J(G);if(!Q.isIOS7&&Z){var nA={x:(R=(R=_(G))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function j(G){for(var R=[];G;)R.push(G),G=K(G);return R}function P(G){return!!u.string(G)&&(r.document.querySelector(G),!0)}function q(G,R){for(var Z in R)G[Z]=R[Z];return G}function rA(G,R,Z){return G==="parent"?K(Z):G==="self"?R.getRect(Z):S(Z,G)}function iA(G,R,Z,nA){var sA=G;return u.string(sA)?sA=rA(sA,R,Z):u.func(sA)&&(sA=sA.apply(void 0,nA)),u.element(sA)&&(sA=y(sA)),sA}function dA(G){return G&&{x:"x"in G?G.x:G.left,y:"y"in G?G.y:G.top}}function mA(G){return!G||"x"in G&&"y"in G||((G=q({},G)).x=G.left||0,G.y=G.top||0,G.width=G.width||(G.right||0)-G.x,G.height=G.height||(G.bottom||0)-G.y),G}function gA(G,R,Z){G.left&&(R.left+=Z.x),G.right&&(R.right+=Z.x),G.top&&(R.top+=Z.y),G.bottom&&(R.bottom+=Z.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(G,R,Z){var nA=Z&&G.options[Z];return dA(iA(nA&&nA.origin||G.options.origin,G,R,[G&&R]))||{x:0,y:0}}function X(G,R){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(G)&&G.search(" ")!==-1&&(G=lA(G)),u.array(G))return G.forEach(function(yA){return X(yA,R,Z,nA)}),nA;if(u.object(G)&&(R=G,G=""),u.func(R)&&Z(G))nA[G]=nA[G]||[],nA[G].push(R);else if(u.array(R))for(var sA=0,uA=R;sA<uA.length;sA++){var BA=uA[sA];X(G,BA,Z,nA)}else if(u.object(R))for(var QA in R)X(lA(QA).map(function(yA){return"".concat(G).concat(yA)}),R[QA],Z,nA);return nA}function lA(G){return G.trim().split(/ +/)}var cA=function(G,R){return Math.sqrt(G*G+R*R)},hA=["webkit","moz"];function U(G,R){G.__set||(G.__set={});var Z=function(sA){if(hA.some(function(uA){return sA.indexOf(uA)===0}))return 1;typeof G[sA]!="function"&&sA!=="__set"&&Object.defineProperty(G,sA,{get:function(){return sA in G.__set?G.__set[sA]:G.__set[sA]=R[sA]},set:function(uA){G.__set[sA]=uA},configurable:!0})};for(var nA in R)Z(nA);return G}function W(G,R){G.page=G.page||{},G.page.x=R.page.x,G.page.y=R.page.y,G.client=G.client||{},G.client.x=R.client.x,G.client.y=R.client.y,G.timeStamp=R.timeStamp}function tA(G){G.page.x=0,G.page.y=0,G.client.x=0,G.client.y=0}function aA(G){return G instanceof r.Event||G instanceof r.Touch}function CA(G,R,Z){return G=G||"page",(Z=Z||{}).x=R[G+"X"],Z.y=R[G+"Y"],Z}function SA(G,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(G)?(CA("screen",G,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",G,R),R}function zA(G){return u.number(G.pointerId)?G.pointerId:G.identifier}function jA(G,R,Z){var nA=R.length>1?vA(R):R[0];SA(nA,G.page),function(sA,uA){uA=uA||{},Q.isOperaMobile&&aA(sA)?CA("screen",sA,uA):CA("client",sA,uA)}(nA,G.client),G.timeStamp=Z}function Ae(G){var R=[];return u.array(G)?(R[0]=G[0],R[1]=G[1]):G.type==="touchend"?G.touches.length===1?(R[0]=G.touches[0],R[1]=G.changedTouches[0]):G.touches.length===0&&(R[0]=G.changedTouches[0],R[1]=G.changedTouches[1]):(R[0]=G.touches[0],R[1]=G.touches[1]),R}function vA(G){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<G.length;Z++){var nA=G[Z];for(var sA in R)R[sA]+=nA[sA]}for(var uA in R)R[uA]/=G.length;return R}function $A(G){if(!G.length)return null;var R=Ae(G),Z=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),sA=Math.max(R[0].pageX,R[1].pageX),uA=Math.max(R[0].pageY,R[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:sA,bottom:uA,width:sA-Z,height:uA-nA}}function XA(G,R){var Z=R+"X",nA=R+"Y",sA=Ae(G),uA=sA[0][Z]-sA[1][Z],BA=sA[0][nA]-sA[1][nA];return cA(uA,BA)}function xA(G,R){var Z=R+"X",nA=R+"Y",sA=Ae(G),uA=sA[1][Z]-sA[0][Z],BA=sA[1][nA]-sA[0][nA];return 180*Math.atan2(BA,uA)/Math.PI}function MA(G){return u.string(G.pointerType)?G.pointerType:u.number(G.pointerType)?[void 0,void 0,"touch","pen","mouse"][G.pointerType]:/touch/.test(G.type||"")||G instanceof r.Touch?"touch":"mouse"}function qA(G){var R=u.func(G.composedPath)?G.composedPath():G.path;return[$(R?R[0]:G.target),$(G.currentTarget)]}var Ce=function(){function G(R){f(this,G),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(G,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),G}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];G.push(nA)}return G},Se=function(G){return ye([],G)},NA=function(G,R){for(var Z=0;Z<G.length;Z++)if(R(G[Z],Z,G))return Z;return-1},UA=function(G,R){return G[NA(G,R)]},JA=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA){var BA;f(this,Z),(BA=R.call(this,sA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=uA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=uA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=sA,BA.relatedTarget=sA.target,BA.draggable=sA.interactable,BA.timeStamp=sA.timeStamp,BA}return b(Z,[{key:"reject",value:function(){var nA=this,sA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&sA.cur.dropzone===this.dropzone&&sA.cur.element===this.target)if(sA.prev.dropzone=this.dropzone,sA.prev.element=this.target,sA.rejected=!0,sA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=sA.activeDrops,BA=NA(uA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});sA.activeDrops.splice(BA,1);var QA=new Z(sA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new Z(sA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(G,R){for(var Z=0,nA=G.slice();Z<nA.length;Z++){var sA=nA[Z],uA=sA.dropzone,BA=sA.element;R.dropzone=uA,R.target=BA,uA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(G,R){for(var Z=function(uA,BA){for(var QA=[],yA=0,RA=uA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(G,R),nA=0;nA<Z.length;nA++){var sA=Z[nA];sA.rect=sA.dropzone.getRect(sA.element)}return Z}function Ee(G,R,Z){for(var nA=G.dropState,sA=G.interactable,uA=G.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,Z,sA,uA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var De,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[De];if(ee&&KA!==De)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Wn=0;on[Wn]&&on[Wn]===OA[Wn];)Wn++;var Ut=[on[Wn-1],on[Wn],OA[Wn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){De=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(_(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(_(kA).getComputedStyle(kA).zIndex,10)||0)&&(De=KA);else De=KA}else De=KA}return De}(BA);return nA.activeDrops[le]||null}function ke(G,R,Z){var nA=G.dropState,sA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(sA.activate=new JA(nA,Z,"dropactivate"),sA.activate.target=null,sA.activate.dropzone=null),Z.type==="dragend"&&(sA.deactivate=new JA(nA,Z,"dropdeactivate"),sA.deactivate.target=null,sA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(sA.leave=new JA(nA,Z,"dragleave"),Z.dragLeave=sA.leave.target=nA.prev.element,Z.prevDropzone=sA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(sA.enter=new JA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(sA.drop=new JA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(sA.move=new JA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),sA}function IA(G,R){var Z=G.dropState,nA=Z.activeDrops,sA=Z.cur,uA=Z.prev;R.leave&&uA.dropzone.fire(R.leave),R.enter&&sA.dropzone.fire(R.enter),R.move&&sA.dropzone.fire(R.move),R.drop&&sA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),Z.prev.dropzone=sA.dropzone,Z.prev.element=sA.element}function LA(G,R){var Z=G.interaction,nA=G.iEvent,sA=G.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=Z.dropState;R.dynamicDrop&&(uA.activeDrops=ae(R,Z.element));var BA=nA,QA=Ee(Z,BA,sA);uA.rejected=uA.rejected&&!!QA&&QA.dropzone===uA.cur.dropzone&&QA.element===uA.cur.element,uA.cur.dropzone=QA&&QA.dropzone,uA.cur.element=QA&&QA.element,uA.events=ke(Z,0,BA)}}var TA={id:"actions/drop",install:function(G){var R=G.actions,Z=G.interactStatic,nA=G.Interactable,sA=G.defaults;G.usePlugin(h),nA.prototype.dropzone=function(uA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=X(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,De,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(De)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,De,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=SA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,De,le,he)),kA}(this,uA,BA,QA,yA,RA,DA)},Z.dynamicDrop=function(uA){return u.bool(uA)?(G.dynamicDrop=uA,Z):G.dynamicDrop},q(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",G.dynamicDrop=!1,sA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(G){var R=G.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(G,R){var Z=G.interaction,nA=(G.event,G.iEvent);if(Z.prepared.name==="drag"){var sA=Z.dropState;sA.activeDrops=[],sA.events={},sA.activeDrops=ae(R,Z.element),sA.events=ke(Z,0,nA),sA.events.activate&&(de(sA.activeDrops,sA.events.activate),R.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(G,R){var Z=G.interaction,nA=G.iEvent;if(Z.prepared.name==="drag"){var sA=Z.dropState;IA(Z,sA.events),R.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),sA.events={}}},"interactions:action-end":function(G,R){if(G.interaction.prepared.name==="drag"){var Z=G.interaction,nA=G.iEvent;LA(G,R),IA(Z,Z.dropState.events),R.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(G){var R=G.interaction;if(R.prepared.name==="drag"){var Z=R.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:IA,filterEventType:function(G){return G.search("drag")===0||G.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(G){var R=G.interaction,Z=G.iEvent,nA=G.phase;if(R.prepared.name==="gesture"){var sA=R.pointers.map(function(RA){return RA.pointer}),uA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(Z.touches=[sA[0],sA[1]],uA)Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=1,Z.ds=0,Z.angle=xA(sA,QA),Z.da=0,R.gesture.startDistance=Z.distance,R.gesture.startAngle=Z.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;Z.distance=yA.distance,Z.box=yA.box,Z.scale=yA.scale,Z.ds=0,Z.angle=yA.angle,Z.da=0}else Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=Z.distance/R.gesture.startDistance,Z.angle=xA(sA,QA),Z.ds=Z.scale-R.gesture.scale,Z.da=Z.angle-R.gesture.angle;R.gesture.distance=Z.distance,R.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(R.gesture.scale=Z.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(G){var R=G.actions,Z=G.Interactable,nA=G.defaults;Z.prototype.gesturable=function(sA){return u.object(sA)?(this.options.gesture.enabled=sA.enabled!==!1,this.setPerAction("gesture",sA),this.setOnEvents("gesture",sA),this):u.bool(sA)?(this.options.gesture.enabled=sA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(G){G.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(G){if(!(G.interaction.pointers.length<2)){var R=G.interactable.options.gesture;if(R&&R.enabled)return G.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(G){return G.search("gesture")===0}},ue=se;function xe(G,R,Z,nA,sA,uA,BA){if(!R)return!1;if(R===!0){var QA=u.number(uA.width)?uA.width:uA.right-uA.left,yA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(BA=Math.min(BA,Math.abs((G==="left"||G==="right"?QA:yA)/2)),QA<0&&(G==="left"?G="right":G==="right"&&(G="left")),yA<0&&(G==="top"?G="bottom":G==="bottom"&&(G="top")),G==="left"){var RA=QA>=0?uA.left:uA.right;return Z.x<RA+BA}if(G==="top"){var DA=yA>=0?uA.top:uA.bottom;return Z.y<DA+BA}if(G==="right")return Z.x>(QA>=0?uA.right:uA.left)-BA;if(G==="bottom")return Z.y>(yA>=0?uA.bottom:uA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:V(nA,R,sA))}function tt(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=R;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(G){var R=G.actions,Z=G.browser,nA=G.Interactable,sA=G.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,uA,G)},R.map.resize=bA,R.methodDict.resize="resizable",sA.actions.resize=bA.defaults},listeners:{"interactions:new":function(G){G.interaction.resizeAxes="xy"},"interactions:action-start":function(G){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,uA=nA.rect;nA._rects={start:q({},uA),corrected:q({},uA),previous:q({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},sA.edges=nA.prepared.edges,sA.rect=nA._rects.corrected,sA.deltaRect=nA._rects.delta}})(G),tt(G)},"interactions:action-move":function(G){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,uA=nA.interactable.options.resize.invert,BA=uA==="reposition"||uA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(q(VA,DA),BA){if(q(DA,QA),uA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];sA.edges=nA.prepared.edges,sA.rect=DA,sA.deltaRect=HA}})(G),tt(G)},"interactions:action-end":function(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=R;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(G){var R=G.interaction,Z=G.interactable,nA=G.element,sA=G.rect,uA=G.buttons;if(sA){var BA=q({},R.coords.cur.page),QA=Z.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||uA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=xe(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,sA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(G.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>sA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>sA.bottom-bA.defaultMargin;(DA||HA)&&(G.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!G.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(G){var R=G.edges,Z=G.axis,nA=G.name,sA=bA.cursors,uA=null;if(Z)uA=sA[nA+Z];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}uA=sA[BA]}return uA},filterEventType:function(G){return G.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(G){G.usePlugin(ue),G.usePlugin(PA),G.usePlugin(h),G.usePlugin(re)}},ZA=0,Ie={request:function(G){return ct(G)},cancel:function(G){return FA(G)},init:function(G){if(ct=G.requestAnimationFrame,FA=G.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],Z=0;Z<R.length;Z++){var nA=R[Z];ct=G["".concat(nA,"RequestAnimationFrame")],FA=G["".concat(nA,"CancelAnimationFrame")]||G["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(G),FA=FA&&FA.bind(G),ct||(ct=function(sA){var uA=Date.now(),BA=Math.max(0,16-(uA-ZA)),QA=G.setTimeout(function(){sA(uA+BA)},BA);return ZA=uA+BA,QA},FA=function(sA){return clearTimeout(sA)})}},ie={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(G){ie.isScrolling=!0,Ie.cancel(ie.i),G.autoScroll=ie,ie.interaction=G,ie.prevTime=ie.now(),ie.i=Ie.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),Ie.cancel(ie.i)},scroll:function(){var G=ie.interaction,R=G.interactable,Z=G.element,nA=G.prepared.name,sA=R.options[nA].autoScroll,uA=Me(sA.container,R,Z),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=sA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(uA);u.window(uA)?uA.scrollBy(RA.x,RA.y):uA&&(uA.scrollLeft+=RA.x,uA.scrollTop+=RA.y);var HA=qe(uA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:Z,interactable:R,delta:VA,interaction:G,container:uA})}ie.prevTime=BA}ie.isScrolling&&(Ie.cancel(ie.i),ie.i=Ie.request(ie.scroll))},check:function(G,R){var Z;return(Z=G.options[R].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(G){var R=G.interaction,Z=G.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,sA,uA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=Z.clientX<ie.margin,nA=Z.clientY<ie.margin,sA=Z.clientX>HA.innerWidth-ie.margin,uA=Z.clientY>HA.innerHeight-ie.margin;else{var VA=J(HA);BA=Z.clientX<VA.left+ie.margin,nA=Z.clientY<VA.top+ie.margin,sA=Z.clientX>VA.right-ie.margin,uA=Z.clientY>VA.bottom-ie.margin}ie.x=sA?1:BA?-1:0,ie.y=uA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(G,R,Z){return(u.string(G)?rA(G,R,Z):G)||_(Z)}function qe(G){return u.window(G)&&(G=window.document.body),{x:G.scrollLeft,y:G.scrollTop}}var Ct={id:"auto-scroll",install:function(G){var R=G.defaults,Z=G.actions;G.autoScroll=ie,ie.now=function(){return G.now()},Z.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(G){G.interaction.autoScroll=null},"interactions:destroy":function(G){G.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(G){return ie.onInteractionMove(G)}}},ze=Ct;function At(G,R){var Z=!1;return function(){return Z||(F.console.warn(R),Z=!0),G.apply(this,arguments)}}function dt(G,R){return G.name=R.name,G.axis=R.axis,G.edges=R.edges,G}function Pe(G){return u.bool(G)?(this.options.styleCursor=G,this):G===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(G){return u.func(G)?(this.options.actionChecker=G,this):G===null?(delete this.options.actionChecker,this):this.options.actionChecker}var ft={id:"auto-start/interactableMethods",install:function(G){var R=G.Interactable;R.prototype.getAction=function(Z,nA,sA,uA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,sA,uA,G);return this.options.actionChecker?this.options.actionChecker(Z,nA,BA,this,uA,sA):BA},R.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(G,R,Z,nA,sA){return R.testIgnoreAllow(R.options[G.name],Z,nA)&&R.options[G.name].enabled&&dn(R,Z,G,sA)?G:null}function Ln(G,R,Z,nA,sA,uA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=sA[QA],HA=RA.getAction(R,Z,G,DA);if(HA){var VA=nt(HA,RA,DA,uA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(G,R,Z,nA,sA){var uA=[],BA=[],QA=nA;function yA(DA){uA.push(DA),BA.push(QA)}for(;u.element(QA);){uA=[],BA=[],sA.interactables.forEachMatch(QA,yA);var RA=Ln(G,R,Z,uA,BA,nA,sA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=K(QA)}return{action:null,interactable:null,element:null}}function Vt(G,R,Z){var nA=R.action,sA=R.interactable,uA=R.element;nA=nA||{name:null},G.interactable=sA,G.element=uA,dt(G.prepared,nA),G.rect=sA&&nA.name?sA.getRect(uA):null,An(G,Z),Z.fire("autoStart:prepared",{interaction:G})}function dn(G,R,Z,nA){var sA=G.options,uA=sA[Z.name].max,BA=sA[Z.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(uA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===G&&((RA+=le===Z.name?1:0)>=uA||ge.element===R&&(DA++,le===Z.name&&DA>=BA))))return!1}return QA>0}function bn(G,R){return u.number(G)?(R.autoStart.maxInteractions=G,this):R.autoStart.maxInteractions}function Ft(G,R,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==G&&(nA.style.cursor=""),G.ownerDocument.documentElement.style.cursor=R,G.style.cursor=R,Z.autoStart.cursorElement=R?G:null}function An(G,R){var Z=G.interactable,nA=G.element,sA=G.prepared;if(G.pointerType==="mouse"&&Z&&Z.options.styleCursor){var uA="";if(sA.name){var BA=Z.options[sA.name].cursorChecker;uA=u.func(BA)?BA(sA,Z,nA,G._interacting):R.actions.map[sA.name].getCursor(sA)}Ft(G.element,uA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var Jn={id:"auto-start/base",before:["actions"],install:function(G){var R=G.interactStatic,Z=G.defaults;G.usePlugin(ft),Z.base.actionChecker=null,Z.base.styleCursor=!0,q(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,G)},G.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget;Z.interacting()||Vt(Z,Xt(Z,nA,sA,uA,R),R)},"interactions:move":function(G,R){(function(Z,nA){var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerType!=="mouse"||sA.pointerIsDown||sA.interacting()||Vt(sA,Xt(sA,uA,BA,QA,nA),nA)})(G,R),function(Z,nA){var sA=Z.interaction;if(sA.pointerIsDown&&!sA.interacting()&&sA.pointerWasMoved&&sA.prepared.name){nA.fire("autoStart:before-start",Z);var uA=sA.interactable,BA=sA.prepared.name;BA&&uA&&(uA.options[BA].manualStart||!dn(uA,sA.element,sA.prepared,nA)?sA.stop():(sA.start(sA.prepared,uA,sA.element),An(sA,nA)))}}(G,R)},"interactions:stop":function(G,R){var Z=G.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&Ft(Z.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=Jn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(G,R){var Z=G.interaction,nA=G.eventTarget,sA=G.dx,uA=G.dy;if(Z.prepared.name==="drag"){var BA=Math.abs(sA),QA=Math.abs(uA),yA=Z.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(Z.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){Z.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==Z.interactable){var he=Z.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var De=le.getAction(Z.downPointer,Z.downEvent,Z,HA);if(De&&De.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(De,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){Z.prepared.name="drag",Z.interactable=ge,Z.element=HA;break}HA=K(HA)}}}}}};function Ei(G){var R=G.prepared&&G.prepared.name;if(!R)return null;var Z=G.interactable.options;return Z[R].hold||Z[R].delay}var co={id:"auto-start/hold",install:function(G){var R=G.defaults;G.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(G){G.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(G){var R=G.interaction,Z=Ei(R);Z>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},Z))},"interactions:move":function(G){var R=G.interaction,Z=G.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!Z&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(G){var R=G.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(G){G.usePlugin(en),G.usePlugin(Qi),G.usePlugin(mi)}},Hi=function(G){return/^(always|never|auto)$/.test(G)?(this.options.preventDefault=G,this):u.bool(G)?(this.options.preventDefault=G?"always":"never",this):this.options.preventDefault};function go(G){var R=G.interaction,Z=G.event;R.interactable&&R.interactable.checkAndPreventDefault(Z)}var ri={id:"core/interactablePreventDefault",install:function(G){var R=G.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(Z){return function(nA,sA,uA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(sA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var QA=_(uA.target).document,yA=sA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&z(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,G,Z)},G.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,sA=G.interactions.list;nA<sA.length;nA++){var uA=sA[nA];if(uA.element&&(uA.element===Z.target||M(uA.element,Z.target)))return void uA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(G,R){return G["interactions:".concat(R)]=go,G},{})};function yn(G,R){if(R.phaselessTypes[G])return!0;for(var Z in R.map)if(G.indexOf(Z)===0&&G.substr(Z.length)in R.phases)return!0;return!1}function Ki(G){var R={};for(var Z in G){var nA=G[Z];u.plainObject(nA)?R[Z]=Ki(nA):u.array(nA)?R[Z]=Se(nA):R[Z]=nA}return R}var Zo=function(){function G(R){f(this,G),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(G,[{key:"start",value:function(R,Z){var nA,sA,uA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=q({},BA.edges),this.edges=q({},this.startEdges),this.startOffset=(nA=BA.rect,sA=Z,nA?{left:sA.x-nA.left,top:sA.y-nA.top,right:nA.right-sA.x,bottom:nA.bottom-sA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:uA,pageCoords:Z,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var Z=this.interaction;return R.interaction=Z,R.interactable=Z.interactable,R.element=Z.element,R.rect||(R.rect=Z.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var Z=0,nA=this.states;Z<nA.length;Z++){var sA=nA[Z];sA.methods.start&&(R.state=sA,sA.methods.start(R))}}},{key:"setAll",value:function(R){var Z=R.phase,nA=R.preEnd,sA=R.skipModifiers,uA=R.rect,BA=R.edges;R.coords=q({},R.pageCoords),R.rect=q({},uA),R.edges=q({},BA);for(var QA=sA?this.states.slice(sA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=q({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,Z)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}q(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-uA.left,yA.rectDelta.right=R.rect.right-uA.right,yA.rectDelta.top=R.rect.top-uA.top,yA.rectDelta.bottom=R.rect.bottom-uA.bottom;var he=this.result.coords,De=this.result.rect;if(he&&De){var Qe=yA.rect.left!==De.left||yA.rect.right!==De.right||yA.rect.top!==De.top||yA.rect.bottom!==De.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var Z=this.interaction,nA=R.phase,sA=Z.coords.cur,uA=Z.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&q(this.startDelta,BA.delta);for(var RA=0,DA=[[uA,QA],[sA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||Z.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var Z=this.interaction,nA=R.phase,sA=R.preEnd,uA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:sA,phase:nA,pageCoords:R.modifiedCoords||Z.coords.cur.page}));if(this.result=BA,!BA.changed&&(!uA||uA<this.states.length)&&Z.interacting())return!1;if(R.modifiedCoords){var QA=Z.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var Z=R.interaction,nA=R.event,sA=this.states;if(sA&&sA.length){for(var uA=!1,BA=0;BA<sA.length;BA++){var QA=sA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;uA=uA||!uA&&this.shouldDo(yA,!0,R.phase,!0)}uA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var Z=R.interaction;if(this.states&&this.states.length){var nA=q({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},R);this.fillArg(nA);for(var sA=0,uA=this.states;sA<uA.length;sA++){var BA=uA[sA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var Z=0;Z<R.length;Z++){var nA=R[Z],sA=nA.options,uA=nA.methods,BA=nA.name;this.states.push({options:sA,methods:uA,index:Z,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var Z=R.interaction,nA=Z.coords,sA=Z.rect,uA=Z.modification;if(uA.result){for(var BA=uA.startDelta,QA=uA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}sA.left-=RA.left,sA.right-=RA.right,sA.top-=RA.top,sA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,Z,nA,sA){return!(!R||R.enabled===!1||sA&&!R.endOnly||R.endOnly&&!Z||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(Z){return Ki(Z)}),this.result=uo(q({},R.result.coords),q({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),G}();function uo(G,R){return{rect:R,coords:G,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Gn(G,R){var Z=G.defaults,nA={start:G.start,set:G.set,beforeEnd:G.beforeEnd,stop:G.stop},sA=function(uA){var BA=uA||{};for(var QA in BA.enabled=BA.enabled!==!1,Z)QA in BA||(BA[QA]=Z[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(sA._defaults=Z,sA._methods=nA),sA}function ho(G){var R=G.iEvent,Z=G.interaction.modification.result;Z&&(R.modifiers=Z.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(G){G.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(G){var R=G.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(G){var R=G.interaction,Z=G.interaction.modification;Z.start(G,R.coords.start.page),R.edges=Z.edges,Z.applyToInteraction(G)},"interactions:before-action-move":function(G){var R=G.interaction,Z=R.modification,nA=Z.setAndApply(G);return R.edges=Z.edges,nA},"interactions:before-action-end":function(G){var R=G.interaction,Z=R.modification,nA=Z.beforeEnd(G);return R.edges=Z.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:after-action-move":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:stop":function(G){return G.interaction.modification.stop(G)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA,BA,QA,yA,RA){var DA;f(this,Z),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,uA),le=BA==="start",he=BA==="end",De=le?T(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=q({},Qe.page),DA.client=q({},Qe.client),DA.rect=q({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=sA.ctrlKey,DA.altKey=sA.altKey,DA.shiftKey=sA.shiftKey,DA.metaKey=sA.metaKey,DA.button=sA.button,DA.buttons=sA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||uA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:De.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-De[VA].x,y:DA[VA].y-De[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=q({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var sA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;sA<0&&(sA+=360);var uA=112.5<=sA&&sA<247.5,BA=202.5<=sA&&sA<337.5;return{up:BA,down:!BA&&22.5<=sA&&sA<157.5,left:uA,right:!uA&&(292.5<=sA||sA<67.5),angle:sA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(G){this.page.x=G}},pageY:{get:function(){return this.page.y},set:function(G){this.page.y=G}},clientX:{get:function(){return this.client.x},set:function(G){this.client.x=G}},clientY:{get:function(){return this.client.y},set:function(G){this.client.y=G}},dx:{get:function(){return this.delta.x},set:function(G){this.delta.x=G}},dy:{get:function(){return this.delta.y},set:function(G){this.delta.y=G}},velocityX:{get:function(){return this.velocity.x},set:function(G){this.velocity.x=G}},velocityY:{get:function(){return this.velocity.y},set:function(G){this.velocity.y=G}}});var ys=b(function G(R,Z,nA,sA,uA){f(this,G),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=Z,this.event=nA,this.downTime=sA,this.downTarget=uA}),Ds=function(G){return G.interactable="",G.element="",G.prepared="",G.pointerIsDown="",G.pointerWasMoved="",G._proxy="",G}({}),vs=function(G){return G.start="",G.move="",G.end="",G.stop="",G.interacting="",G}({}),ks=0,_s=function(){function G(R){var Z=this,nA=R.pointerType,sA=R.scopeFire;f(this,G),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=sA,this.pointerType=nA;var uA=this;this._proxy={};var BA=function(DA){Object.defineProperty(Z._proxy,DA,{get:function(){return uA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(Z._proxy,DA,{value:function(){return uA[DA].apply(uA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(G,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,Z,nA){var sA=this.updatePointer(R,Z,nA,!0),uA=this.pointers[sA];this._scopeFire("interactions:down",{pointer:R,event:Z,eventTarget:nA,pointerIndex:sA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(R,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!Z.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?q({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(R,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,Z,nA,!1);var sA,uA,BA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(sA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(sA,uA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:Z,type:"move",eventTarget:nA,dx:sA,dy:uA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&W(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=q({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,Z,nA,sA){var uA=this.getPointerIndex(R);uA===-1&&(uA=this.updatePointer(R,Z,nA,!1));var BA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:uA,pointerInfo:this.pointers[uA],event:Z,eventTarget:nA,type:BA,curEventTarget:sA,interaction:this}),this.simulation||this.end(Z),this.removePointer(R,Z)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var Z;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var Z=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,Z,nA,sA){var uA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return sA=sA!==!1&&(sA||/(down|start)$/i.test(Z.type)),DA?DA.pointer=R:(DA=new ys(yA,R,Z,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),uA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,uA.page.x=QA.page.x-BA.page.x,uA.page.y=QA.page.y-BA.page.y,uA.client.x=QA.client.x-BA.client.x,uA.client.y=QA.client.y-BA.client.y,uA.timeStamp=QA.timeStamp-BA.timeStamp,sA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,U(this.downPointer,R),this.interacting()||(W(this.coords.start,this.coords.cur),W(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(R,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:Z,eventTarget:nA,down:sA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,Z){var nA=this.getPointerIndex(R);if(nA!==-1){var sA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:sA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,Z,nA){this._latestPointer.pointer=R,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,Z,nA,sA){return new ai(this,R,this.prepared.name,Z,this.element,nA,sA)}},{key:"_fireEvent",value:function(R){var Z;(Z=this.interactable)==null||Z.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var Z=R.event,nA=R.phase,sA=R.preEnd,uA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(Z,nA,sA,uA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),G}();function $r(G){zr(G.interaction)}function zr(G){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(G))return!1;var R=G.offset.pending;return Jr(G.coords.cur,R),Jr(G.coords.delta,R),gA(G.edges,G.rect,R),R.x=0,R.y=0,!0}function sg(G){var R=G.x,Z=G.y;this.offset.pending.x+=R,this.offset.pending.y+=Z,this.offset.total.x+=R,this.offset.total.y+=Z}function Jr(G,R){var Z=G.page,nA=G.client,sA=R.x,uA=R.y;Z.x+=sA,Z.y+=uA,nA.x+=sA,nA.y+=uA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(G){G.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(G){G.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(G){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(G.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(G){var R=G.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(G){var R=G.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function G(R){f(this,G),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=R}return b(G,[{key:"start",value:function(R){var Z=this.interaction,nA=qo(Z);if(!nA||!nA.enabled)return!1;var sA=Z.coords.velocity.client,uA=cA(sA.x,sA.y),BA=this.modification||(this.modification=new Zo(Z));if(BA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:R,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,Z=this.interaction.coords.velocity.client,nA=qo(this.interaction),sA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/sA;this.targetOffset={x:(Z.x-uA)/sA,y:(Z.y-uA)/sA},this.te=uA,this.lambda_v0=sA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var Z=this;this.timeout=Ie.request(function(){Z.active&&R()})}},{key:"inertiaTick",value:function(){var R,Z,nA,sA,uA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,Z=0,nA=this.targetOffset.x,sA=this.targetOffset.y,uA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,uA),y:Ms(QA,Z,sA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,Z=this.interaction,nA=Z._now()-this.t0,sA=qo(Z).smoothEndDuration;if(nA<sA){var uA={x:Xo(nA,0,this.targetOffset.x,sA),y:Xo(nA,0,this.targetOffset.y,sA)},BA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,Z.offsetBy(BA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var Z=R.pointer,nA=R.event,sA=R.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(Z,nA,sA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),W(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,Ie.cancel(this.timeout)}}]),G}();function qo(G){var R=G.interactable,Z=G.prepared;return R&&R.options&&Z.name&&R.options[Z.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(G){var R=G.defaults;G.usePlugin(Zr),G.usePlugin(Wo),G.actions.phases.inertiastart=!0,G.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(G){var R=G.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(G){var R=G.interaction,Z=G.event;return(!R._interacting||R.simulation||!R.inertia.start(Z))&&null},"interactions:down":function(G){var R=G.interaction,Z=G.eventTarget,nA=R.inertia;if(nA.active)for(var sA=Z;u.element(sA);){if(sA===R.element){nA.resume(G);break}sA=K(sA)}},"interactions:stop":function(G){var R=G.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(G){var R=G.interaction.modification;R.stop(G),R.start(G,G.interaction.coords.cur.page),R.applyToInteraction(G)},"interactions:before-action-inertiastart":function(G){return G.interaction.modification.setAndApply(G)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:after-action-resume":function(G){return G.interaction.modification.restoreInteractionCoords(G)}}};function Ms(G,R,Z,nA){var sA=1-G;return sA*sA*R+2*sA*G*Z+G*G*nA}function Xo(G,R,Z,nA){return-Z*(G/=nA)*(G-2)+R}var dg=gg;function Ss(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];if(G.immediatePropagationStopped)break;nA(G)}}var xs=function(){function G(R){f(this,G),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=q({},R||{})}return b(G,[{key:"fire",value:function(R){var Z,nA=this.global;(Z=this.types[R.type])&&Ss(R,Z),!R.propagationStopped&&nA&&(Z=nA[R.type])&&Ss(R,Z)}},{key:"on",value:function(R,Z){var nA=X(R,Z);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,Z){var nA=X(R,Z);for(R in nA){var sA=this.types[R];if(sA&&sA.length)for(var uA=0,BA=nA[R];uA<BA.length;uA++){var QA=BA[uA],yA=sA.indexOf(QA);yA!==-1&&sA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),G}(),ug=function(){function G(R){f(this,G),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,U(this,R)}return b(G,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),G}();function po(G){return u.object(G)?{capture:!!G.capture,passive:!!G.passive}:{capture:!!G,passive:!1}}function at(G,R){return G===R||(typeof G=="boolean"?!!R.capture===G&&!R.passive:!!G.capture==!!R.capture&&!!G.passive==!!R.passive)}var gt={id:"events",install:function(G){var R,Z=[],nA={},sA=[],uA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var De=0;De<sA.length;De++){var Qe=sA[De];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,De=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,De)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:sA,targets:Z,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(Z,function(De){return De.eventTarget===DA});he||(he={eventTarget:DA,events:{}},Z.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(De){return De.func===VA&&at(De.options,le)})||(DA.addEventListener(HA,VA,uA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(Z,function(He){return He.eventTarget===DA}),he=Z[le];if(he&&he.events)if(HA!=="all"){var De=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,uA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],De=!0);break}}}De&&!Object.keys(he.events).length&&Z.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],De=he;u.element(De);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(De,OA)&&M(KA,he)&&M(KA,De)){var ee=kA.listeners;ge.currentTarget=De;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}De=K(De)}}function RA(DA){return yA(DA,!0)}return(R=G.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),G.events=uA,uA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(G){for(var R=0,Z=Wr.methodOrder;R<Z.length;R++){var nA=Z[R],sA=Wr[nA](G);if(sA)return sA}return null},simulationResume:function(G){var R=G.pointerType,Z=G.eventType,nA=G.eventTarget,sA=G.scope;if(!/down|start/i.test(Z))return null;for(var uA=0,BA=sA.interactions.list;uA<BA.length;uA++){var QA=BA[uA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=K(yA)}}return null},mouseOrPen:function(G){var R,Z=G.pointerId,nA=G.pointerType,sA=G.eventType,uA=G.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=uA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,Z))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=uA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(sA)&&HA.simulation))return HA}return null},hasPointer:function(G){for(var R=G.pointerId,Z=0,nA=G.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(Ns(sA,R))return sA}return null},idle:function(G){for(var R=G.pointerType,Z=0,nA=G.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(sA.pointers.length===1){var uA=sA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(sA.pointers.length>=2)continue;if(!sA.interacting()&&R===sA.pointerType)return sA}return null}};function Ns(G,R){return G.pointers.some(function(Z){return Z.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(G,R){return function(Z){var nA=R.interactions.list,sA=MA(Z),uA=qA(Z),BA=uA[0],QA=uA[1],yA=[];if(/^touch/.test(Z.type)){R.prevTouchTime=R.now();for(var RA=0,DA=Z.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:sA,eventType:Z.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(Z.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||Z.timeStamp===0}if(!le){var De={pointer:Z,pointerId:zA(Z),pointerType:sA,eventType:Z.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(De);yA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][G](KA,Z,ee,Be)}}}function Rs(G){var R=G.pointerType,Z=G.scope,nA={interaction:hg.search(G),searchDetails:G};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:R})}function Vo(G,R){var Z=G.doc,nA=G.scope,sA=G.options,uA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!sA.events&&(sA.events={passive:!1}),BA.delegatedEvents)QA(Z,yA,BA.delegateListener),QA(Z,yA,BA.delegateUseCapture,!0);for(var RA=sA&&sA.events,DA=0;DA<uA.length;DA++){var HA=uA[DA];QA(Z,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(G){for(var R={},Z=0;Z<jr.length;Z++){var nA=jr[Z];R[nA]=Fs(nA,G)}var sA,uA=Q.pEventTypes;function BA(){for(var QA=0,yA=G.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];G.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(sA=r.PointerEvent?[{type:uA.down,listener:BA},{type:uA.down,listener:R.pointerDown},{type:uA.move,listener:R.pointerMove},{type:uA.up,listener:R.pointerUp},{type:uA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=G.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),G.prevTouchTime=0,G.Interaction=function(QA){I(RA,QA);var yA=O(RA);function RA(){return f(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return G.interactions.pointerMoveTolerance},set:function(DA){G.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return G.now()}}]),RA}(_s),G.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return G.fire(RA,DA)};var yA=new G.Interaction(QA);return G.interactions.list.push(yA),yA},listeners:R,docEvents:sA,pointerMoveTolerance:1},G.usePlugin(ri)},listeners:{"scope:add-document":function(G){return Vo(G,"add")},"scope:remove-document":function(G){return Vo(G,"remove")},"interactable:unset":function(G,R){for(var Z=G.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var sA=R.interactions.list[nA];sA.interactable===Z&&(sA.stop(),R.fire("interactions:destroy",{interaction:sA}),sA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Pn=function(G){return G[G.On=0]="On",G[G.Off=1]="Off",G}(Pn||{}),fi=function(){function G(R,Z,nA,sA){f(this,G),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new xs,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=R,this._context=Z.context||nA,this._win=_(P(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=sA,this.set(Z)}return b(G,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,Z){return u.func(Z.onstart)&&this.on("".concat(R,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(R,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(R,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(R,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,Z,nA){var sA,uA=this,BA=(sA=this._actions.map[R])==null?void 0:sA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,uA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Pn.Off,R,Z,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Pn.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,Z){var nA=this._defaults;for(var sA in Z){var uA=sA,BA=this.options[R],QA=Z[uA];uA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[uA]=Se(QA):u.plainObject(QA)?(BA[uA]=q(BA[uA]||{},Ki(QA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(BA[uA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[uA])?BA[uA].enabled=QA:BA[uA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),y(R)}},{key:"rectChecker",value:function(R){var Z=this;return u.func(R)?(this.getRect=function(nA){var sA=q({},R.apply(Z,nA));return"width"in sA||(sA.width=sA.right-sA.left,sA.height=sA.bottom-sA.top),sA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,Z){if(P(Z)||u.object(Z)){for(var nA in this.options[R]=Z,this._actions.map)this.options[nA][R]=Z;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,Z,nA){return!this.testIgnore(R.ignoreFrom,Z,nA)&&this.testAllow(R.allowFrom,Z,nA)}},{key:"testAllow",value:function(R,Z,nA){return!R||!!u.element(nA)&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,Z,nA){return!(!R||!u.element(nA))&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,Z,nA,sA,uA){u.object(Z)&&!u.array(Z)&&(sA=nA,nA=null);var BA=X(Z,nA,uA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Pn.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Pn.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,sA):this._scopeEvents[R===Pn.On?"add":"remove"](this.target,QA,DA,sA)}}return this}},{key:"on",value:function(R,Z,nA){return this._onOff(Pn.On,R,Z,nA)}},{key:"off",value:function(R,Z,nA){return this._onOff(Pn.Off,R,Z,nA)}},{key:"set",value:function(R){var Z=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(Z.base),this._actions.methodDict){var sA=nA,uA=this._actions.methodDict[sA];this.options[sA]={},this.setPerAction(sA,q(q({},Z.perAction),Z.actions[sA])),this[uA](R[sA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[R],nA=Z.length-1;nA>=0;nA--){var sA=Z[nA],uA=sA.selector,BA=sA.context,QA=sA.listeners;uA===this.target&&BA===this._context&&Z.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),G}(),Ls=function(){function G(R){var Z=this;f(this,G),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var sA=nA.interactable,uA=sA.target,BA=u.string(uA)?Z.selectorMap[uA]:uA[Z.scope.id],QA=NA(BA,function(yA){return yA===sA});BA.splice(QA,1)}})}return b(G,[{key:"new",value:function(R,Z){Z=q(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,Z){var nA=Z&&Z.context||this.scope.document,sA=u.string(R),uA=sA?this.selectorMap[R]:R[this.scope.id];if(uA)return UA(uA,function(BA){return BA._context===nA&&(sA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,Z){for(var nA=0,sA=this.list;nA<sA.length;nA++){var uA=sA[nA],BA=void 0;if((u.string(uA.target)?u.element(R)&&z(R,uA.target):R===uA.target)&&uA.inContext(R)&&(BA=Z(uA)),BA!==void 0)return BA}}}]),G}(),qr=function(){function G(){var R=this;f(this,G),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=xs,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var sA=function uA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=uA.globalEvents),yA};return sA.getPointerAverage=vA,sA.getTouchBBox=$A,sA.getTouchDistance=XA,sA.getTouchAngle=xA,sA.getElementRect=y,sA.getElementClientRect=J,sA.matchesSelector=z,sA.closest=S,sA.globalEvents={},sA.version="1.10.27",sA.scope=nA,sA.use=function(uA,BA){return this.scope.usePlugin(uA,BA),this},sA.isSet=function(uA,BA){return!!this.scope.interactables.get(uA,BA&&BA.context)},sA.on=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.on(HA,uA[HA],BA);return this}return yn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(BA):this.globalEvents[uA]=[BA]:this.scope.events.add(this.scope.document,uA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),sA.off=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.off(HA,uA[HA],BA);return this}var VA;return yn(uA,this.scope.actions)?uA in this.globalEvents&&(VA=this.globalEvents[uA].indexOf(BA))!==-1&&this.globalEvents[uA].splice(VA,1):this.scope.events.remove(this.scope.document,uA,BA,QA),this},"The interact.off() method is being deprecated"),sA.debug=function(){return this.scope},sA.supportsTouch=function(){return Q.supportsTouch},sA.supportsPointerEvent=function(){return Q.supportsPointerEvent},sA.stop=function(){for(var uA=0,BA=this.scope.interactions.list;uA<BA.length;uA++)BA[uA].stop();return this},sA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},sA.addDocument=function(uA,BA){this.scope.addDocument(uA,BA)},sA.removeDocument=function(uA){this.scope.removeDocument(uA)},sA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){I(uA,nA);var sA=O(uA);function uA(){return f(this,uA),sA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(BA){return H(x(uA.prototype),"set",this).call(this,BA),Z.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){H(x(uA.prototype),"unset",this).call(this);var BA=Z.interactables.list.indexOf(this);BA<0||(Z.interactables.list.splice(BA,1),Z.fire("interactable:unset",{interactable:this}))}}]),uA}(fi)}return b(G,[{key:"addListeners",value:function(R,Z){this.listenerMaps.push({id:Z,map:R})}},{key:"fire",value:function(R,Z){for(var nA=0,sA=this.listenerMaps;nA<sA.length;nA++){var uA=sA[nA].map[R];if(uA&&uA(Z,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),Q.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(Rt),Z.usePlugin(gt),Z}(this,R)}},{key:"pluginIsInstalled",value:function(R){var Z=R.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,Z),R.listeners&&R.before){for(var nA=0,sA=this.listenerMaps.length,uA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<sA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(uA[BA]||uA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,Z){if(this.getDocIndex(R)!==-1)return!1;var nA=_(R);Z=Z?q({},Z):{},this.documents.push({doc:R,options:Z}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(R){var Z=this.getDocIndex(R),nA=_(R),sA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:sA})}},{key:"getDocIndex",value:function(R){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===R)return Z;return-1}},{key:"getDocOptions",value:function(R){var Z=this.getDocIndex(R);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),G}();function tn(G){return G&&G.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(G){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var sA=nA[0],uA=nA[1];return sA in G||uA in G}),Z=function(nA,sA){for(var uA=G.range,BA=G.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=G.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:uA,grid:G,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/G[ge]),De=Math.round((sA-RA.y)/G[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*G[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,De*G[le]+RA.y))}return DA};return Z.grid=G,Z.coordFields=R,Z}}),Hs={id:"snappers",install:function(G){var R=G.interactStatic;R.snappers=q(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(G){var R=G.state,Z=G.rect,nA=G.edges,sA=G.pageCoords,uA=R.options,BA=uA.ratio,QA=uA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=Z.width/Z.height),R.startCoords=q({},sA),R.startRect=q({},Z),R.ratio=BA,R.equalDelta=RA;var HA=R.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&q(nA,HA),DA!=null&&DA.length){var ge=new Zo(G.interaction);ge.copyFrom(G.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},G))}},set:function(G){var R=G.state,Z=G.rect,nA=G.coords,sA=R.linkedEdges,uA=q({},nA),BA=R.equalDelta?Cg:un;if(q(G.edges,sA),BA(R,R.xIsPrimaryAxis,nA,Z),!R.subModification)return null;var QA=q({},Z);gA(sA,QA,{x:nA.x-uA.x,y:nA.y-uA.y});var yA=R.subModification.setAll(i(i({},G),{},{rect:QA,edges:sA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),q(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(G,R,Z){var nA=G.startCoords,sA=G.edgeSign;R?Z.y=nA.y+(Z.x-nA.x)*sA.y:Z.x=nA.x+(Z.y-nA.y)*sA.x}function un(G,R,Z,nA){var sA=G.startRect,uA=G.startCoords,BA=G.ratio,QA=G.edgeSign;if(R){var yA=nA.width/BA;Z.y=uA.y+(yA-sA.height)*QA.y}else{var RA=nA.height*BA;Z.x=uA.x+(RA-sA.width)*QA.x}}var Bg=Gn(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Hn(G,R,Z){return u.func(G)?iA(G,R.interactable,R.element,[Z.x,Z.y,R]):iA(G,R.interactable,R.element)}var Ti={start:function(G){var R=G.rect,Z=G.startOffset,nA=G.state,sA=G.interaction,uA=G.pageCoords,BA=nA.options,QA=BA.elementRect,yA=q({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Hn(BA.restriction,sA,uA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=Z.left-R.width*QA.left,yA.top+=Z.top-R.height*QA.top,yA.right+=Z.right-R.width*(1-QA.right),yA.bottom+=Z.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(G){var R=G.coords,Z=G.interaction,nA=G.state,sA=nA.options,uA=nA.offset,BA=Hn(sA.restriction,Z,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=q({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-uA.right,R.x),QA.left+uA.left),R.y=Math.max(Math.min(QA.bottom-uA.bottom,R.y),QA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Gn(Ti,"restrict"),Zn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(G,R){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var sA=nA[Z];sA in G||(G[sA]=R[sA])}return G}var Ii={noInner:Zn,noOuter:Ar,start:function(G){var R,Z=G.interaction,nA=G.startOffset,sA=G.state,uA=sA.options;uA&&(R=dA(Hn(uA.offset,Z,Z.coords.start.page))),R=R||{x:0,y:0},sA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(G){var R=G.coords,Z=G.edges,nA=G.interaction,sA=G.state,uA=sA.offset,BA=sA.options;if(Z){var QA=q({},R),yA=Hn(BA.inner,nA,QA)||{},RA=Hn(BA.outer,nA,QA)||{};Ts(yA,Zn),Ts(RA,Ar),Z.top?R.y=Math.min(Math.max(RA.top+uA.top,QA.y),yA.top+uA.top):Z.bottom&&(R.y=Math.max(Math.min(RA.bottom+uA.bottom,QA.y),yA.bottom+uA.bottom)),Z.left?R.x=Math.min(Math.max(RA.left+uA.left,QA.x),yA.left+uA.left):Z.right&&(R.x=Math.max(Math.min(RA.right+uA.right,QA.x),yA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Gn(Ii,"restrictEdges"),Eg=q({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(G){}},Ti.defaults),Qg=Gn({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Gn({start:function(G){return Ii.start(G)},set:function(G){var R=G.interaction,Z=G.state,nA=G.rect,sA=G.edges,uA=Z.options;if(sA){var BA=mA(Hn(uA.min,R,G.coords))||Us,QA=mA(Hn(uA.max,R,G.coords))||er;Z.options={endOnly:uA.endOnly,inner:q({},Ii.noInner),outer:q({},Ii.noOuter)},sA.top?(Z.options.inner.top=nA.bottom-BA.height,Z.options.outer.top=nA.bottom-QA.height):sA.bottom&&(Z.options.inner.bottom=nA.top+BA.height,Z.options.outer.bottom=nA.top+QA.height),sA.left?(Z.options.inner.left=nA.right-BA.width,Z.options.outer.left=nA.right-QA.width):sA.right&&(Z.options.inner.right=nA.left+BA.width,Z.options.outer.right=nA.left+QA.width),Ii.set(G),Z.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(G){var R,Z=G.interaction,nA=G.interactable,sA=G.element,uA=G.rect,BA=G.state,QA=G.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=dA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(G):{x:0,y:0};if(yA.offset==="startCoords")R={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var DA=iA(yA.offset,nA,sA,[Z]);(R=dA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=uA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-uA.width*VA.x+R.x,y:QA.top-uA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(G){var R=G.interaction,Z=G.coords,nA=G.state,sA=nA.options,uA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=q({},Z),yA=[];sA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=uA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=sA.targets.length;le<he;le++){var De=sA.targets[le],Qe=void 0;(Qe=u.func(De)?De(VA,ge,R._proxy,HA,le):De)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:sA.range,source:De,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(Z.x=kA.target.x,Z.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Gn(Aa,"snap"),Co={start:function(G){var R=G.state,Z=G.edges,nA=R.options;if(!Z)return null;G.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(G),R.offsets=G.state.offsets,G.state=R},set:function(G){var R=G.interaction,Z=G.state,nA=G.coords,sA=Z.options,uA=Z.offsets,BA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};Z.options=q({},sA),Z.options.targets=[];for(var QA=0,yA=sA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=Z.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}Z.options.targets.push(DA)}}var De=Aa.set(G);return Z.options=sA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Gn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Gn({start:function(G){var R=G.edges;return R?(G.state.targetFields=G.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(G)):null},set:Co.set,defaults:q(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(G){var R=G.interactStatic;for(var Z in G.usePlugin(Wo),G.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[Z],sA=nA._defaults,uA=nA._methods;sA._methods=uA,G.defaults.perAction[Z]=sA}}},fg=Os,tr=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA,BA,QA,yA){var RA;if(f(this,Z),U(T(RA=R.call(this,QA)),uA),uA!==sA&&U(T(RA),sA),RA.timeStamp=yA,RA.originalEvent=uA,RA.type=nA,RA.pointerId=zA(sA),RA.pointerType=MA(sA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(sA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=sA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var sA=nA.x,uA=nA.y;return this.pageX-=sA,this.pageY-=uA,this.clientX-=sA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var sA=nA.x,uA=nA.y;return this.pageX+=sA,this.pageY+=uA,this.clientX+=sA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(G){G.pointerEvents=wi,G.defaults.actions.pointerEvents=wi.defaults,q(G.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(G){var R=G.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(G){var R=G.down,Z=G.pointerInfo;!R&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget;G.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Tt(G),si({interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:"move"},R))},"interactions:down":function(G,R){(function(Z,nA){for(var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget,yA=Z.pointerIndex,RA=sA.pointers[yA].hold,DA=j(QA),HA={interaction:sA,pointer:uA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,De=HA.targets;he<De.length;he++){var Qe=De[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:sA,eventTarget:QA,pointer:uA,event:BA,type:"hold"},nA)},le)}})(G,R),si(G,R)},"interactions:up":function(G,R){Tt(G),si(G,R),function(Z,nA){var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerWasMoved||si({interaction:sA,eventTarget:QA,pointer:uA,event:BA,type:"tap"},nA)}(G,R)},"interactions:cancel":function(G,R){Tt(G),si(G,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function si(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget,BA=G.type,QA=G.targets,yA=QA===void 0?ta(G,R):QA,RA=new tr(BA,nA,sA,uA,Z,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:Z,pointer:nA,event:sA,eventTarget:uA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:"doubletap"},R):RA;Z.prevTap=he,Z.tapTime=he.timeStamp}return RA}function ta(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget,BA=G.type,QA=Z.getPointerIndex(nA),yA=Z.pointers[QA];if(BA==="tap"&&(Z.pointerWasMoved||!yA||yA.downTarget!==uA))return[];for(var RA=j(uA),DA={interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=Z.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(G){var R=G.interaction,Z=G.pointerIndex,nA=R.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(G){var R=G.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(G){G.usePlugin(wi);var R=G.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=G.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(G,R){return G["pointerEvents:".concat(R)]=mo,G},{"pointerEvents:new":function(G){var R=G.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(G,R){var Z=G.interaction,nA=G.pointerEvent,sA=G.eventTarget,uA=G.targets;if(nA.type==="hold"&&uA.length){var BA=uA[0].eventable.options.holdRepeatInterval;BA<=0||(Z.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:Z,eventTarget:sA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,Ig={id:"pointer-events/interactableTargets",install:function(G){var R=G.Interactable;R.prototype.pointerEvents=function(nA){return q(this.events.options,nA),this};var Z=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,sA){var uA=Z.call(this,nA,sA);return uA===this&&(this.events.options[nA]=sA),uA}},listeners:{"pointerEvents:collect-targets":function(G,R){var Z=G.targets,nA=G.node,sA=G.type,uA=G.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[sA]&&QA.types[sA].length&&BA.testIgnoreAllow(yA,nA,uA)&&Z.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(G){var R=G.interactable;R.events.getRect=function(Z){return R.getRect(Z)}},"interactable:set":function(G,R){var Z=G.interactable,nA=G.options;q(Z.events.options,R.pointerEvents.defaults),q(Z.events.options,nA.pointerEvents||{})}}},wg=Ig,bg={id:"pointer-events",install:function(G){G.usePlugin(na),G.usePlugin(zs),G.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(G){var R=G.Interactable;G.actions.phases.reflow=!0,R.prototype.reflow=function(Z){return function(nA,sA,uA){for(var BA=nA.getAllElements(),QA=uA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===sA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:uA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Wn){Be._reflowResolve=Wn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(uA,nA,HA,sA,De)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,Z,G)}},listeners:{"interactions:stop":function(G,R){var Z=G.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,sA){nA.splice(nA.indexOf(sA),1)}(R.interactions.list,Z))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(fg),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var p1=Bs.exports;const Jp=Id(p1),Vc=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,d=t,f=A.inject(Fp),o=A.inject(Rp);if(!f)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),D=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let I=!1,x=!1,N=NaN,T=NaN,O=NaN,H=NaN,L=-1,v=-1,m=-1,F=-1,k=i.x,_=i.y,B=i.w,p=i.h;const u=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(aA){X(aA)}function s(){lA()}function h(aA){In(i.isDraggable)&&(D.draggable=aA)}function C(aA){In(i.isResizable)&&(D.resizable=aA)}function a(aA){In(i.isBounded)&&(D.bounded=aA)}function r(aA){D.transformScale=aA}function E(aA){D.rowHeight=aA}function Q(aA){D.maxRows=aA}function M(){D.rtl=zp()==="rtl",lA()}function S(aA){D.cols=Math.floor(aA)}f.increaseItem(l),A.onBeforeMount(()=>{D.rtl=zp()==="rtl"}),A.onMounted(()=>{f.responsive&&f.lastBreakpoint?D.cols=Op(f.lastBreakpoint,f.cols):D.cols=f.colNum,D.rowHeight=f.rowHeight,D.containerWidth=f.width!==null?f.width:100,D.margin=f.margin!==void 0?f.margin.map(Number):[10,10],D.maxRows=f.maxRows,In(i.isDraggable)?D.draggable=f.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=f.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=f.isBounded:D.bounded=i.isBounded,D.transformScale=f.transformScale,D.useCssTransforms=f.useCssTransforms,D.useStyleCursor=f.useStyleCursor,A.watchEffect(()=>{k=i.x,_=i.y,p=i.h,B=i.w,jt(y)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",S)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",S),b.value&&(b.value.unset(),b.value=null),f.decreaseItem(l)}),e({state:D,wrapper:u});const K=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>D.resizable&&!i.static),AA=A.computed(()=>f.isMirrored?!D.rtl:D.rtl),eA=A.computed(()=>(D.draggable||D.resizable)&&!i.static),V=s1("item"),$=A.computed(()=>({[V.b()]:!0,[V.bm("resizable")]:z.value,[V.bm("static")]:i.static,[V.bm("resizing")]:D.isResizing,[V.bm("dragging")]:D.isDragging,[V.bm("transform")]:D.useCssTransforms,[V.bm("rtl")]:AA.value,[V.bm("no-touch")]:K&&eA.value})),J=A.computed(()=>[V.be("resizer"),AA.value&&V.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{D.draggable=aA}),A.watch(()=>i.static,()=>{jt(U),jt(tA)}),A.watch(()=>D.draggable,()=>{jt(U)}),A.watch(()=>i.isResizable,aA=>{D.resizable=aA}),A.watch(()=>i.isBounded,aA=>{D.bounded=aA}),A.watch(()=>D.resizable,()=>{jt(tA)}),A.watch(()=>D.rowHeight,()=>{jt(y),jt(j)}),A.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(y),jt(j)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(y)}),A.watch([()=>f.margin,()=>f.margin[0],()=>f.margin[1]],()=>{const aA=f.margin;!aA||aA[0]===D.margin[0]&&aA[1]===D.margin[1]||(D.margin=aA.map(Number),jt(y),jt(j))});function y(){i.x+i.w>D.cols?(k=0,B=i.w>D.cols?D.cols:i.w):(k=i.x,B=i.w);const aA=rA(k,_,B,p);D.isDragging&&(aA.top=D.dragging.top,AA.value?aA.right=D.dragging.left:aA.left=D.dragging.left),D.isResizing&&(aA.width=D.resizing.width,aA.height=D.resizing.height);let CA;D.useCssTransforms?AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=r1(aA.top,aA.right,aA.width,aA.height):CA=o1(aA.top,aA.left,aA.width,aA.height),D.style=CA}function j(){const aA={};for(const CA of["width","height"]){const SA=D.style[CA].match(/^(\d+)px$/);if(!SA)return;aA[CA]=SA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function P(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const SA=Up(aA);if(In(SA))return;const{x:zA,y:jA}=SA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),L=B,v=p,vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing=Ae,D.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(O=zA),!aA.edges.top&&!aA.edges.bottom&&(H=jA);const $A=Yp(O,H,zA,jA);AA.value?Ae.width=D.resizing.width-$A.deltaX/D.transformScale:Ae.width=D.resizing.width+$A.deltaX/D.transformScale,Ae.height=D.resizing.height+$A.deltaY/D.transformScale,D.resizing=Ae;break}case"resizeend":{vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),O=zA,H=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(L!==B||v!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,k,_,vA.h,vA.w)}function q(aA){if(i.static||D.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const SA=Up(aA);if(In(SA))return;const{x:zA,y:jA}=SA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=k,F=_;const XA=Ae.offsetParent.getBoundingClientRect(),xA=Ae.getBoundingClientRect(),MA=xA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=xA.right/D.transformScale,ye=XA.right/D.transformScale,Se=xA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=Se-NA,D.dragging=vA,D.isDragging=!0;break}case"dragmove":{const XA=Yp(N,T,zA,jA);if(AA.value?vA.left=D.dragging.left-XA.deltaX/D.transformScale:vA.left=D.dragging.left+XA.deltaX/D.transformScale,vA.top=D.dragging.top+XA.deltaY/D.transformScale,D.bounded){const xA=Ae.offsetParent.clientHeight-mA(i.h,D.rowHeight,D.margin[1]);vA.top=gA(vA.top,0,xA);const MA=dA(),qA=D.containerWidth-mA(i.w,MA,D.margin[0]);vA.left=gA(vA.left,0,qA)}D.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),xA=Ae.getBoundingClientRect(),MA=xA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=xA.right/D.transformScale,ye=XA.right/D.transformScale,Se=xA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=Se-NA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,T=jA,(k!==$A.x||_!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==k||F!==_)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,SA,zA){const jA=dA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:SA===1/0?SA:Math.round(jA*SA+Math.max(0,SA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:SA===1/0?SA:Math.round(jA*SA+Math.max(0,SA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])},Ae}function iA(aA,CA){const SA=dA();let zA=Math.round((CA-D.margin[0])/(SA+D.margin[0])),jA=Math.round((aA-D.margin[1])/(D.rowHeight+D.margin[1]));return zA=Math.max(Math.min(zA,D.cols-B),0),jA=Math.max(Math.min(jA,D.maxRows-p),0),{x:zA,y:jA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function mA(aA,CA,SA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*SA):aA}function gA(aA,CA,SA){return Math.max(Math.min(aA,SA),CA)}function wA(aA,CA,SA=!1){const zA=dA();let jA=Math.round((CA+D.margin[0])/(zA+D.margin[0])),Ae=0;return SA?Ae=Math.ceil((aA+D.margin[1])/(D.rowHeight+D.margin[1])):Ae=Math.round((aA+D.margin[1])/(D.rowHeight+D.margin[1])),jA=Math.max(Math.min(jA,D.cols-k),0),Ae=Math.max(Math.min(Ae,D.maxRows-_),0),{w:jA,h:Ae}}function X(aA,CA){D.containerWidth=aA}function lA(){y()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=Sp(q);function U(){if(cA(),!!b.value)if(D.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),I||(I=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):q(CA)}))}else b.value.draggable({enabled:!1})}const W=Sp(P);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),SA={edges:{left:AA.value?`.${J.value[0]}`:!1,right:AA.value?!1:`.${J.value[0]}`,bottom:`.${J.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:aA.height*D.transformScale,width:aA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(SA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(SA),x||(x=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?W(zA):P(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(D.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(J.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Tr(){}const C1=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(C1)));const B1=ao&&("ontouchstart"in window||E1()>0),m1=B1?"pointerdown":"click";function E1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Q1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:f=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:f}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,f)),Object.assign(b,o),n.dispatchEvent(b)}const f1="clickoutside",I1=new Set;ao&&document.addEventListener(m1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();I1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&Q1(i,{type:f1})})},!0);const w1=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Ur;if(ao){for(const n of w1)if(n[1]in document){Ur=n;break}}const b1=!!Ur;A.computed(()=>!1);const y1=new Set,D1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(y1.forEach(t=>{t.value=!1}),document[n]){const t=D1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],v1=function(){return so.some(function(n){return n.activeTargets.length>0})},k1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",_1=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},M1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,f=e.right,o=e.bottom,b=e.left,D=e.width,I=e.height;return{x:t,y:i,top:d,right:f,bottom:o,left:b,width:D,height:I}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,f=d.offsetWidth,o=d.offsetHeight;return!(f||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},S1=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,x1=/^tb|vertical/,N1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ii=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new M1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!N1&&t.boxSizing==="border-box",f=x1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),D=i?0:ii(t.paddingTop),I=i?0:ii(t.paddingRight),x=i?0:ii(t.paddingBottom),N=i?0:ii(t.paddingLeft),T=i?0:ii(t.borderTopWidth),O=i?0:ii(t.borderRightWidth),H=i?0:ii(t.borderBottomWidth),L=i?0:ii(t.borderLeftWidth),v=N+I,m=D+x,F=L+O,k=T+H,_=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?v+F:0,u=d?m+k:0,l=i?i.width:ii(t.width)-p-B,g=i?i.height:ii(t.height)-u-_,s=l+v+B+F,h=g+m+_+k,C=lo({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),f),borderBoxSize:$o(s,h,f),contentBoxSize:$o(l,g,f),contentRect:new Xp(N,D,l,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,f=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return f}},F1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},R1=function(){var n=1/0,e=[];so.forEach(function(f){if(f.activeTargets.length!==0){var o=[];f.activeTargets.forEach(function(b){var D=new F1(b.target),I=oC(b.target);o.push(D),b.lastReportedSize=iC(b.target,b.observedBox),I<n&&(n=I)}),e.push(function(){f.callback.call(f.observer,o,f.observer)}),f.activeTargets.splice(0,f.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},L1=function(){var n=0;for(rC(n);v1();)n=R1(),rC(n);return k1()&&_1(),n>0},eg,aC=[],G1=function(){return aC.splice(0).forEach(function(n){return n()})},P1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return G1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},H1=function(n){P1(function(){requestAnimationFrame(n)})},Es=0,K1=function(){return!!Es},T1=250,U1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,Y1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=T1),!tg){tg=!0;var i=lC(e);H1(function(){var d=!1;try{d=L1()}finally{if(tg=!1,e=i-lC(),!K1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,U1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new Y1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},O1=function(n){return!Ag(n)&&!S1(n)&&getComputedStyle(n).display==="inline"},$1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return O1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),z1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},fs=function(){function n(){}return n.connect=function(e,t){var i=new z1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),f=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(f&&so.push(d),d.observationTargets.push(new $1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),f=i.observationTargets.length===1;d>=0&&(f&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),J1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");fs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.unobserve(this,e)},n.prototype.disconnect=function(){fs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function Z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],f=Is.get(d.target);if(typeof f=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:D,offsetHeight:I}=d.target;f(Object.assign(d,{offsetWidth:D,offsetHeight:I,width:o??D,height:b??I}))}}}const dC=new(ao&&window.ResizeObserver||J1)(Z1);function uC(n,e){Is.set(n,e),dC.observe(n)}function hC(n){Is.has(n)&&(dC.unobserve(n),Is.delete(n))}function W1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const j1=A.ref(!1);A.computed(()=>j1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[f,o]]of CC.entries())t+=` html.${f} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const q1=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,d=t,f=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),D=A.ref(),{observeResize:I,unobserveResize:x}=W1(),N=jv();N.on("resizeEvent",T),N.on("dragEvent",O),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{a1(b.value),f.originalLayout=b.value,A.nextTick(()=>{g(),D.value&&I(D.value,qv(k,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),D.value&&x(D.value)});function T(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function O(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>f.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",f.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(f),increaseItem:H,decreaseItem:L})),A.provide(Rp,N),e({state:f,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:m});function H(h){o.set(h.i,h)}function L(h){o.delete(h.i)}function v(h){return o.get(h)}function m(){if(!In(b.value)&&!In(f.originalLayout)){if(b.value.length!==f.originalLayout.length){const h=s(b.value,f.originalLayout);if(h.length>0)if(b.value.length>f.originalLayout.length)f.originalLayout=f.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));f.originalLayout=f.originalLayout.filter(a=>!C.has(a.i))}f.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",f.width),F(),d("layout-updated",b.value)}}function F(){f.mergedStyle={height:_()}}function k(){D.value&&(f.width=D.value.offsetWidth),N.emit("resizeEvent")}function _(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Vv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((S,{i:K,x:z,y:AA})=>({...S,[K]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(f.placeholder.i=C,f.placeholder.x=M.x,f.placeholder.y=M.y,f.placeholder.w=Q,f.placeholder.h=E,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):A.nextTick(()=>{f.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let S;if(i.preventCollision){const K=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(S=K.length>0,S){let z=1/0,AA=1/0;K.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}S||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(f.placeholder.i=C,f.placeholder.x=a,f.placeholder.y=r,f.placeholder.w=M.w,f.placeholder.h=M.h,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):h&&A.nextTick(()=>{f.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function l(){const h=g1(i.breakpoints,f.width);if(h===f.lastBreakpoint)return;const C=Op(h,i.cols);!In(f.lastBreakpoint)&&!f.layouts[f.lastBreakpoint]&&(f.layouts[f.lastBreakpoint]=qc(b.value));const a=d1(f.originalLayout,f.layouts,i.breakpoints,h,f.lastBreakpoint,C,i.verticalCompact);f.layouts[h]=a,f.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),f.lastBreakpoint=h,N.emit("setColNum",C)}function g(){f.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:A.normalizeStyle(f.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:f.placeholder.x,y:f.placeholder.y,w:f.placeholder.w,h:f.placeholder.h,i:f.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,f.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Ai(),d=Et(),f=A.ref({});function o(N,T){N&&(f.value[T]=N)}let b=[];const D=()=>{if(!t.value)return;const N=new Map;for(const T of t.value)N.has(T.x)||N.set(T.x,[]),N.get(T.x).push(T);for(const T of N.values()){T.sort((H,L)=>H.y-L.y);let O=0;for(const H of T)H.y=O,O+=H.h}t.value=[...t.value]},I=e,x=()=>{I("gridItemMoved")};return A.onMounted(()=>{Object.keys(f.value).forEach(N=>{const T=f.value[N];if(!T)return;const O=new ResizeObserver(H=>{for(let L of H){const v=L.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(k=>k.i===N);F&&(F.contentHeight=Math.ceil((v+8)/(m+8)),F.h>0&&(F.h=Math.ceil((v+8)/(m+8))))}}D()});O.observe(T),b.push(O)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,T)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(O,H)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:x,key:O.i,x:O.x,y:O.y,w:O.w,h:O.h,i:O.i,class:A.normalizeClass(O.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:L=>o(L,O.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[H]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,O=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:O.name,ref_for:!0},O),null,16))),128))}}),X1={key:0,class:"btn-render-wrapper"},Nn=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
101
|
-
onClick: ${o.onClick}`)}i.value[o.key]=!1}},f=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",X1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>{var T,O;return A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[f(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(x,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,H=>(A.openBlock(),A.createBlock(I,{key:H.key,disabled:!H.tooltip,content:H.tooltip,placement:"top"},{default:A.withCtx(()=>[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,{key:H.key,onClick:L=>d(H),disabled:H.disabled,type:H.type,text:H.isTextBtn,link:H.isLinkBtn,plain:H.isPlainBtn||H.type!=="primary"&&!H.orange,color:H.orange?"#FAA21E":H.color,loading:i.value[H.key],class:A.normalizeClass({orangeBtn:H.orange})},{default:A.withCtx(()=>[H.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:H.icon.name,color:H.icon.color,class:A.normalizeClass({"btn-icon":H.text||H.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(H.text||H.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:2,disabled:!((T=N==null?void 0:N.icon)!=null&&T.tooltip),content:(O=N==null?void 0:N.icon)==null?void 0:O.tooltip,placement:"top"},{default:A.withCtx(()=>[A.createVNode(D,{onClick:H=>d(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange,"is-icon":N.icon&&!N.text&&!N.label}),id:N.key},{default:A.withCtx(()=>{var H;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:N.icon.name,color:N.icon.color,size:((H=N==null?void 0:N.icon)==null?void 0:H.size)||"mini",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class","id"])]),_:2},1032,["disabled","content"]))],64)}),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-
|
|
102
|
-
onClick: ${f.onClick}`)}};return(d,f)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),D=A.resolveComponent("el-dropdown-menu"),I=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",V1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,x=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:x.key},[x.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:0,disabled:x.disabled},{dropdown:A.withCtx(()=>[A.createVNode(D,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(x.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,x)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:x.color},{default:A.withCtx(()=>{var N,T;return[x.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:(N=x.icon)==null?void 0:N.name,class:"left-icon",color:(T=x.icon)==null?void 0:T.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(x.text),1),A.createVNode(ve,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-
|
|
99
|
+
onClick: ${d.beforeEnter}`)}};return(D,I)=>{const x=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:D.offset,"popper-class":d.noPadding?"no-padding":d.popperClass||"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},disabled:d.disabled,onShow:o},{reference:A.withCtx(()=>{var T,O,H,L,v;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:I[0]||(I[0]=m=>i.value=!0),onMouseleave:I[1]||(I[1]=m=>i.value=!1)},[((T=d.reference)==null?void 0:T.component)==="Icon"?(A.openBlock(),A.createBlock(x,{key:0,content:(H=(O=d.reference)==null?void 0:O.props)==null?void 0:H.tooltip,disabled:!((v=(L=d.reference)==null?void 0:L.props)!=null&&v.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,k,_;return[A.createVNode(ve,{name:(F=(m=d.reference)==null?void 0:m.props)==null?void 0:F.name,color:i.value&&d.hoverColor?d.hoverColor:(_=(k=d.reference)==null?void 0:k.props)==null?void 0:_.color,class:"btn-icon cursor-pointer",size:d.size||"normal",onClick:f},null,8,["name","color","size"])]}),_:1},8,["content","disabled"])):d.reference?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:[d.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[D.children?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:D.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","offset","popper-class","title","placement","disabled"])}}}),[["__scopeId","data-v-3fcd6626"]]),ro=oe(A.defineComponent({__name:"FormItem",props:{label:{},labelSuffixText:{},labelSuffixStyle:{type:[Boolean,null,String,Object,Array]},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},nullFieldHidden:{type:[Boolean,String]},hideLabel:{type:Boolean},wFullLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=Et(),i=Jo(),d=A.reactive({visible:!1,title:""}),f=()=>{d.visible=!0,d.title=e.label},o=A.computed({get(){return Ea(t.formValues,e.name)},set(v){const m=ko(t.formValues,e.name,v);t.updateFormValues(m)}}),b=A.computed(()=>{const{rules:v,required:m,component:F}=e,k=[];if(m&&k.push({required:!0,trigger:"blur",message:"Required"}),v){const _=v.map(B=>{const{type:p,message:u,trigger:l,customReg:g,templateExp:s}=B,h={message:u,trigger:l};return["email","url"].includes(p)?{...h,type:p}:p==="custom"&&g?{...h,pattern:bm(g)}:wm(p)?{...h,pattern:p}:p==="template"?{...h,validator:()=>s}:{}});return[...k,..._]}if(F==="VerifyCode"){const _={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...k,_]}return k}),D=A.computed(()=>{const v=i[e.component]||{};return v.modelName||(v.modelName="modelValue"),v}),I=A.computed(()=>{const v={name:e.name,...e.props};return e.children&&(v.children=e.children),v}),x=()=>{if(e.component!=="DragList")return[];const v=I.value.gridlayout||[],m=I.value.children||[],F=I.value.rowHeight||30;return v.map((k,_)=>{var B;return{...k,i:(B=m[_])==null?void 0:B.name,rowHeight:F}})},N=A.ref(x()),T=v=>v==null?void 0:v.replace(/ /g," "),{ruleModule:O,pageMethodMap:H}=Rn(),L=async v=>{if(v&&O)try{await O[v](H)}catch(m){console.error(m+`
|
|
100
|
+
onClick: ${v}`)}};return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const v=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(v),o.value=e.initialValue}}),A.watch(o,(v,m)=>{const F=e.change,k=ut.isEqual(v,m);if(!F||k)return;let _=ut.cloneDeep(t.formValues);F.forEach(({target:B,value:p,condition:u})=>{if(u!==!1){if(B.includes(".*.")){const l=B.split(".*."),g=l.pop(),s=l.join("."),h=Ea(t.formValues,s);ut.isArray(h)&&(_=ko(_,s,h.map(C=>({...C,[g]:p}))));return}_=ko(_,B,p)}}),t.updateFormValues(_)},{immediate:!0}),(v,m)=>{var p;const F=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),_=A.resolveComponent("el-button"),B=A.resolveComponent("el-form-item");return A.unref(t).design||!v.hidden&&(!v.nullFieldHidden||o.value||o.value===0)?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[D.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:0},I.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":m[0]||(m[0]=u=>N.value=u)}),null,16,["gridlayout"])):D.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1},I.value,{style:{minWidth:0}}),null,16)):D.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.normalizeProps(A.mergeProps({key:2},I.value)),null,16)):(A.openBlock(),A.createBlock(B,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${v.component}-${v.name}`,{readMode:((p=e.props)==null?void 0:p.read)||A.unref(t).schema.read,hideLabel:v.hideLabel,wFullLabel:v.wFullLabel}]),style:A.normalizeStyle(v.style),key:v.name,prop:v.name,"label-width":v.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),v.label&&`${v.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(T(v.label)),5),v.labelSuffixText?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle([v.labelSuffixStyle,{"margin-left":"4px"}])},A.toDisplayString(v.labelSuffixText),5)):A.createCommentVNode("",!0),v.help?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(F,{effect:"dark",content:v.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),v.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[v.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(v.labelSuffix.props,A.unref(t).context))),null,16)):v.labelSuffix.component==="Icon"?(A.openBlock(),A.createBlock(F,{key:1,effect:"dark",content:v.labelSuffix.props.tooltip,placement:"right",disabled:!v.labelSuffix.props.tooltip},{default:A.withCtx(()=>[A.createVNode(ve,{name:v.labelSuffix.props.name,color:v.labelSuffix.props.color,onClick:m[1]||(m[1]=u=>L(v.labelSuffix.props.onClick)),style:{width:"14px",height:"14px",cursor:"pointer"}},null,8,["name","color"])]),_:1},8,["content","disabled"])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!v.hideLabel]])]),default:A.withCtx(()=>[v.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":m[3]||(m[3]=u=>d.visible=u),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({size:A.unref(t).schema.size},I.value,{disabled:A.unref(t).schema.disabled,[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[2]||(m[2]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(_,{type:"primary",plain:"",onClick:f},{default:A.withCtx(()=>m[5]||(m[5]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(D.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(I.value,A.unref(t).context),{[D.value.modelName]:o.value,["onUpdate:"+D.value.modelName]:m[4]||(m[4]=u=>o.value=u)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-dcd6fbec"]]),Tv={key:0,class:"actions-lt"},Uv={class:"canvas-move",size:"small",type:"primary"},Yv={key:1,class:"hidden-ico"},Ov={key:2,class:"actions-rb"},$v=["onClick"],zv={key:3,class:"layout-title"},Jv=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Fn(),d=Jo()[e.data.component],f=A.computed(()=>{var T;return{[je("canvas-item")]:!0,active:e.data.designKey===((T=t.current)==null?void 0:T.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:I.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},D=T=>{t.updateCurrent(T),t.rightTab="attr"},I=A.ref(!1),x=()=>{I.value=!I.value},N=[{icon:"copy",handle:T=>{const O=Gu(t.list,T.designKey);t.updateList(O)}},{icon:"delete",bg:"var(--el-color-danger)",handle:T=>{const O=wd(t.list,H=>H.designKey!==T.designKey);t.updateList(O)}}];return(T,O)=>{var H,L;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(f.value),onClick:O[0]||(O[0]=A.withModifiers(v=>D(T.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[T.data.designKey===((H=A.unref(t).current)==null?void 0:H.designKey)?(A.openBlock(),A.createElementBlock("div",Tv,[A.createElementVNode("div",Uv,[A.createVNode(A.unref(fe),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[A.createVNode(A.unref(fe),{name:"select"})])])):A.createCommentVNode("",!0),T.data.hidden?(A.openBlock(),A.createElementBlock("div",Yv,[A.createVNode(A.unref(fe),{name:"hidden"})])):A.createCommentVNode("",!0),T.data.designKey===((L=A.unref(t).current)==null?void 0:L.designKey)?(A.openBlock(),A.createElementBlock("ul",Ov,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:v,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>m(T.data),["stop"]),key:v,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(fe),{name:v},null,8,["name"])],12,$v)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",zv,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(T.data,{props:T.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Fn(),i=d=>{const f=d.item._underlying_vm_;t.updateCurrent(tc(t.list,f.designKey)),t.hoverKey=f.designKey,t.rightTab="attr",t.handleEmit("add",f)};return(d,f)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(fe),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Jv,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Zv=typeof window<"u";var _p;Zv&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Wv=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Wv)));function jv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function Sp(n,e=16){if(typeof n!="function")return Mp;const t=(...f)=>{n(...f)};if(e<=0)return xp(t);let i=0,d;return function(...f){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...f)):d=setTimeout(()=>{i=Date.now(),t(...f)},Math.max(0,e-b))}}function qv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return xp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function xp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function Xv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(Xv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Vv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=A1(n[t]);return e}function A1(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),f=Array(n.length);for(let o=0,b=d.length;o<b;o++){let D=d[o];D.static||(D=e1(i,D,e,t),i.push(D)),f[n.findIndex(I=>I.i===D.i)]=D,D.moved=!1}return f}function e1(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const f=i[e.i].y;for(;e.y>f&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function t1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const f=n[i];if(f.x+f.w>e.cols&&(f.x=e.cols-f.w),f.x<0&&(f.x=0,f.w=e.cols),!f.static)t.push(f);else for(;Kr(t,f);)f.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,f=!1){if(e.static)return n;const o=e.x,b=e.y,D=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let I=Tp(n);D&&(I=I.reverse());const x=Pp(I,e);if(f&&x.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,T=x.length;N<T;N++){const O=x[N];O.moved||e.y>O.y&&e.y-O.y>O.h/4||(O.static?n=Kp(n,O,e,d):n=Kp(n,e,O,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function n1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function o1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function r1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function a1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,f=n.length;d<f;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function s1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return l1(n)}function l1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,f=n.clientY+t.scrollTop-i.top;return{x:d,y:f}}function Yp(n,e,t,i){return c1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function c1(n){return typeof n=="number"&&!Number.isNaN(n)}function g1(n,e){const t=$p(n);let i=t[0];for(let d=1,f=t.length;d<f;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function d1(n,e,t,i,d,f,o){if(e[i])return qc(e[i]);let b=n;const D=$p(t),I=D.slice(D.indexOf(i));for(let x=0,N=I.length;x<N;x++){const T=I[x];if(e[T]){b=e[T];break}}return b=qc(b||[]),Oo(t1(b,{cols:f}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let u1="auto";function h1(){return typeof document<"u"}function zp(){return h1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):u1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(G,R){var Z=Object.keys(G);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(G);R&&(nA=nA.filter(function(sA){return Object.getOwnPropertyDescriptor(G,sA).enumerable})),Z.push.apply(Z,nA)}return Z}function i(G){for(var R=1;R<arguments.length;R++){var Z=arguments[R]!=null?arguments[R]:{};R%2?t(Object(Z),!0).forEach(function(nA){D(G,nA,Z[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(Z)):t(Object(Z)).forEach(function(nA){Object.defineProperty(G,nA,Object.getOwnPropertyDescriptor(Z,nA))})}return G}function d(G){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(G)}function f(G,R){if(!(G instanceof R))throw new TypeError("Cannot call a class as a function")}function o(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(G,L(nA.key),nA)}}function b(G,R,Z){return R&&o(G.prototype,R),Object.defineProperty(G,"prototype",{writable:!1}),G}function D(G,R,Z){return(R=L(R))in G?Object.defineProperty(G,R,{value:Z,enumerable:!0,configurable:!0,writable:!0}):G[R]=Z,G}function I(G,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(R&&R.prototype,{constructor:{value:G,writable:!0,configurable:!0}}),Object.defineProperty(G,"prototype",{writable:!1}),R&&N(G,R)}function x(G){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},x(G)}function N(G,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,nA){return Z.__proto__=nA,Z},N(G,R)}function T(G){if(G===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G}function O(G){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Z,nA=x(G);if(R){var sA=x(this).constructor;Z=Reflect.construct(nA,arguments,sA)}else Z=nA.apply(this,arguments);return function(uA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T(uA)}(this,Z)}}function H(){return H=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(G,R,Z){var nA=function(uA,BA){for(;!Object.prototype.hasOwnProperty.call(uA,BA)&&(uA=x(uA))!==null;);return uA}(G,R);if(nA){var sA=Object.getOwnPropertyDescriptor(nA,R);return sA.get?sA.get.call(arguments.length<3?G:Z):sA.value}},H.apply(this,arguments)}function L(G){var R=function(Z,nA){if(typeof Z!="object"||Z===null)return Z;var sA=Z[Symbol.toPrimitive];if(sA!==void 0){var uA=sA.call(Z,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Z)}(G,"string");return typeof R=="symbol"?R:R+""}var v=function(G){return!(!G||!G.Window)&&G instanceof G.Window},m=void 0,F=void 0;function k(G){m=G;var R=G.document.createTextNode("");R.ownerDocument!==G.document&&typeof G.wrap=="function"&&G.wrap(R)===R&&(G=G.wrap(G)),F=G}function _(G){return v(G)?G:(G.ownerDocument||G).defaultView||F.window}typeof window<"u"&&window&&k(window);var B=function(G){return!!G&&d(G)==="object"},p=function(G){return typeof G=="function"},u={window:function(G){return G===F||v(G)},docFrag:function(G){return B(G)&&G.nodeType===11},object:B,func:p,number:function(G){return typeof G=="number"},bool:function(G){return typeof G=="boolean"},string:function(G){return typeof G=="string"},element:function(G){if(!G||d(G)!=="object")return!1;var R=_(G)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?G instanceof Element||G instanceof R.Element:G.nodeType===1&&typeof G.nodeName=="string"},plainObject:function(G){return B(G)&&!!G.constructor&&/function Object\b/.test(G.constructor.toString())},array:function(G){return B(G)&&G.length!==void 0&&p(G.splice)}};function l(G){var R=G.interaction;if(R.prepared.name==="drag"){var Z=R.prepared.axis;Z==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):Z==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="drag"){var nA=Z.prepared.axis;if(nA==="x"||nA==="y"){var sA=nA==="x"?"y":"x";R.page[sA]=Z.coords.start.page[sA],R.client[sA]=Z.coords.start.client[sA],R.delta[sA]=0}}}var s={id:"actions/drag",install:function(G){var R=G.actions,Z=G.Interactable,nA=G.defaults;Z.prototype.draggable=s.draggable,R.map.drag=s,R.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(G){var R=G.interaction,Z=G.interactable,nA=G.buttons,sA=Z.options.drag;if(sA&&sA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&Z.options.drag.mouseButtons))return G.action={name:"drag",axis:sA.lockAxis==="start"?sA.startAxis:sA.lockAxis},!1}},draggable:function(G){return u.object(G)?(this.options.drag.enabled=G.enabled!==!1,this.setPerAction("drag",G),this.setOnEvents("drag",G),/^(xy|x|y|start)$/.test(G.lockAxis)&&(this.options.drag.lockAxis=G.lockAxis),/^(xy|x|y)$/.test(G.startAxis)&&(this.options.drag.startAxis=G.startAxis),this):u.bool(G)?(this.options.drag.enabled=G,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(G){return G.search("drag")===0}},h=s,C={init:function(G){var R=G;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,E={init:function(G){var R=r.Element,Z=G.navigator||{};E.supportsTouch="ontouchstart"in G||u.func(G.DocumentTouch)&&r.document instanceof G.DocumentTouch,E.supportsPointerEvent=Z.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(Z.platform),E.isIOS7=/iP(hone|od|ad)/.test(Z.platform)&&/OS 7[^\d]/.test(Z.appVersion),E.isIe9=/MSIE 9/.test(Z.userAgent),E.isOperaMobile=Z.appName==="Opera"&&E.supportsTouch&&/Presto/.test(Z.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===G.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,E.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Q=E;function M(G,R){if(G.contains)return G.contains(R);for(;R;){if(R===G)return!0;R=R.parentNode}return!1}function S(G,R){for(;u.element(G);){if(z(G,R))return G;G=K(G)}return null}function K(G){var R=G.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(G,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),G[Q.prefixedMatchesSelector](R)}var AA=function(G){return G.parentNode||G.host};function eA(G,R){for(var Z,nA=[],sA=G;(Z=AA(sA))&&sA!==R&&Z!==sA.ownerDocument;)nA.unshift(sA),sA=Z;return nA}function V(G,R,Z){for(;u.element(G);){if(z(G,R))return!0;if((G=K(G))===Z)return z(G,R)}return!1}function $(G){return G.correspondingUseElement||G}function J(G){var R=G instanceof r.SVGElement?G.getBoundingClientRect():G.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function y(G){var R,Z=J(G);if(!Q.isIOS7&&Z){var nA={x:(R=(R=_(G))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};Z.left+=nA.x,Z.right+=nA.x,Z.top+=nA.y,Z.bottom+=nA.y}return Z}function j(G){for(var R=[];G;)R.push(G),G=K(G);return R}function P(G){return!!u.string(G)&&(r.document.querySelector(G),!0)}function q(G,R){for(var Z in R)G[Z]=R[Z];return G}function rA(G,R,Z){return G==="parent"?K(Z):G==="self"?R.getRect(Z):S(Z,G)}function iA(G,R,Z,nA){var sA=G;return u.string(sA)?sA=rA(sA,R,Z):u.func(sA)&&(sA=sA.apply(void 0,nA)),u.element(sA)&&(sA=y(sA)),sA}function dA(G){return G&&{x:"x"in G?G.x:G.left,y:"y"in G?G.y:G.top}}function mA(G){return!G||"x"in G&&"y"in G||((G=q({},G)).x=G.left||0,G.y=G.top||0,G.width=G.width||(G.right||0)-G.x,G.height=G.height||(G.bottom||0)-G.y),G}function gA(G,R,Z){G.left&&(R.left+=Z.x),G.right&&(R.right+=Z.x),G.top&&(R.top+=Z.y),G.bottom&&(R.bottom+=Z.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(G,R,Z){var nA=Z&&G.options[Z];return dA(iA(nA&&nA.origin||G.options.origin,G,R,[G&&R]))||{x:0,y:0}}function X(G,R){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(G)&&G.search(" ")!==-1&&(G=lA(G)),u.array(G))return G.forEach(function(yA){return X(yA,R,Z,nA)}),nA;if(u.object(G)&&(R=G,G=""),u.func(R)&&Z(G))nA[G]=nA[G]||[],nA[G].push(R);else if(u.array(R))for(var sA=0,uA=R;sA<uA.length;sA++){var BA=uA[sA];X(G,BA,Z,nA)}else if(u.object(R))for(var QA in R)X(lA(QA).map(function(yA){return"".concat(G).concat(yA)}),R[QA],Z,nA);return nA}function lA(G){return G.trim().split(/ +/)}var cA=function(G,R){return Math.sqrt(G*G+R*R)},hA=["webkit","moz"];function U(G,R){G.__set||(G.__set={});var Z=function(sA){if(hA.some(function(uA){return sA.indexOf(uA)===0}))return 1;typeof G[sA]!="function"&&sA!=="__set"&&Object.defineProperty(G,sA,{get:function(){return sA in G.__set?G.__set[sA]:G.__set[sA]=R[sA]},set:function(uA){G.__set[sA]=uA},configurable:!0})};for(var nA in R)Z(nA);return G}function W(G,R){G.page=G.page||{},G.page.x=R.page.x,G.page.y=R.page.y,G.client=G.client||{},G.client.x=R.client.x,G.client.y=R.client.y,G.timeStamp=R.timeStamp}function tA(G){G.page.x=0,G.page.y=0,G.client.x=0,G.client.y=0}function aA(G){return G instanceof r.Event||G instanceof r.Touch}function CA(G,R,Z){return G=G||"page",(Z=Z||{}).x=R[G+"X"],Z.y=R[G+"Y"],Z}function SA(G,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(G)?(CA("screen",G,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",G,R),R}function zA(G){return u.number(G.pointerId)?G.pointerId:G.identifier}function jA(G,R,Z){var nA=R.length>1?vA(R):R[0];SA(nA,G.page),function(sA,uA){uA=uA||{},Q.isOperaMobile&&aA(sA)?CA("screen",sA,uA):CA("client",sA,uA)}(nA,G.client),G.timeStamp=Z}function Ae(G){var R=[];return u.array(G)?(R[0]=G[0],R[1]=G[1]):G.type==="touchend"?G.touches.length===1?(R[0]=G.touches[0],R[1]=G.changedTouches[0]):G.touches.length===0&&(R[0]=G.changedTouches[0],R[1]=G.changedTouches[1]):(R[0]=G.touches[0],R[1]=G.touches[1]),R}function vA(G){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},Z=0;Z<G.length;Z++){var nA=G[Z];for(var sA in R)R[sA]+=nA[sA]}for(var uA in R)R[uA]/=G.length;return R}function $A(G){if(!G.length)return null;var R=Ae(G),Z=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),sA=Math.max(R[0].pageX,R[1].pageX),uA=Math.max(R[0].pageY,R[1].pageY);return{x:Z,y:nA,left:Z,top:nA,right:sA,bottom:uA,width:sA-Z,height:uA-nA}}function XA(G,R){var Z=R+"X",nA=R+"Y",sA=Ae(G),uA=sA[0][Z]-sA[1][Z],BA=sA[0][nA]-sA[1][nA];return cA(uA,BA)}function xA(G,R){var Z=R+"X",nA=R+"Y",sA=Ae(G),uA=sA[1][Z]-sA[0][Z],BA=sA[1][nA]-sA[0][nA];return 180*Math.atan2(BA,uA)/Math.PI}function MA(G){return u.string(G.pointerType)?G.pointerType:u.number(G.pointerType)?[void 0,void 0,"touch","pen","mouse"][G.pointerType]:/touch/.test(G.type||"")||G instanceof r.Touch?"touch":"mouse"}function qA(G){var R=u.func(G.composedPath)?G.composedPath():G.path;return[$(R?R[0]:G.target),$(G.currentTarget)]}var Ce=function(){function G(R){f(this,G),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(G,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),G}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];G.push(nA)}return G},Se=function(G){return ye([],G)},NA=function(G,R){for(var Z=0;Z<G.length;Z++)if(R(G[Z],Z,G))return Z;return-1},UA=function(G,R){return G[NA(G,R)]},JA=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA){var BA;f(this,Z),(BA=R.call(this,sA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=uA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=uA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=sA,BA.relatedTarget=sA.target,BA.draggable=sA.interactable,BA.timeStamp=sA.timeStamp,BA}return b(Z,[{key:"reject",value:function(){var nA=this,sA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&sA.cur.dropzone===this.dropzone&&sA.cur.element===this.target)if(sA.prev.dropzone=this.dropzone,sA.prev.element=this.target,sA.rejected=!0,sA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=sA.activeDrops,BA=NA(uA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});sA.activeDrops.splice(BA,1);var QA=new Z(sA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new Z(sA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),Z}(Ce);function de(G,R){for(var Z=0,nA=G.slice();Z<nA.length;Z++){var sA=nA[Z],uA=sA.dropzone,BA=sA.element;R.dropzone=uA,R.target=BA,uA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(G,R){for(var Z=function(uA,BA){for(var QA=[],yA=0,RA=uA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(G,R),nA=0;nA<Z.length;nA++){var sA=Z[nA];sA.rect=sA.dropzone.getRect(sA.element)}return Z}function Ee(G,R,Z){for(var nA=G.dropState,sA=G.interactable,uA=G.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,Z,sA,uA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var De,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[De];if(ee&&KA!==De)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Wn=0;on[Wn]&&on[Wn]===OA[Wn];)Wn++;var Ut=[on[Wn-1],on[Wn],OA[Wn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){De=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(_(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(_(kA).getComputedStyle(kA).zIndex,10)||0)&&(De=KA);else De=KA}else De=KA}return De}(BA);return nA.activeDrops[le]||null}function ke(G,R,Z){var nA=G.dropState,sA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return Z.type==="dragstart"&&(sA.activate=new JA(nA,Z,"dropactivate"),sA.activate.target=null,sA.activate.dropzone=null),Z.type==="dragend"&&(sA.deactivate=new JA(nA,Z,"dropdeactivate"),sA.deactivate.target=null,sA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(sA.leave=new JA(nA,Z,"dragleave"),Z.dragLeave=sA.leave.target=nA.prev.element,Z.prevDropzone=sA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(sA.enter=new JA(nA,Z,"dragenter"),Z.dragEnter=nA.cur.element,Z.dropzone=nA.cur.dropzone)),Z.type==="dragend"&&nA.cur.dropzone&&(sA.drop=new JA(nA,Z,"drop"),Z.dropzone=nA.cur.dropzone,Z.relatedTarget=nA.cur.element),Z.type==="dragmove"&&nA.cur.dropzone&&(sA.move=new JA(nA,Z,"dropmove"),Z.dropzone=nA.cur.dropzone)),sA}function IA(G,R){var Z=G.dropState,nA=Z.activeDrops,sA=Z.cur,uA=Z.prev;R.leave&&uA.dropzone.fire(R.leave),R.enter&&sA.dropzone.fire(R.enter),R.move&&sA.dropzone.fire(R.move),R.drop&&sA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),Z.prev.dropzone=sA.dropzone,Z.prev.element=sA.element}function LA(G,R){var Z=G.interaction,nA=G.iEvent,sA=G.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=Z.dropState;R.dynamicDrop&&(uA.activeDrops=ae(R,Z.element));var BA=nA,QA=Ee(Z,BA,sA);uA.rejected=uA.rejected&&!!QA&&QA.dropzone===uA.cur.dropzone&&QA.element===uA.cur.element,uA.cur.dropzone=QA&&QA.dropzone,uA.cur.element=QA&&QA.element,uA.events=ke(Z,0,BA)}}var TA={id:"actions/drop",install:function(G){var R=G.actions,Z=G.interactStatic,nA=G.Interactable,sA=G.defaults;G.usePlugin(h),nA.prototype.dropzone=function(uA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=X(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,De,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(De)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,De,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=SA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,De,le,he)),kA}(this,uA,BA,QA,yA,RA,DA)},Z.dynamicDrop=function(uA){return u.bool(uA)?(G.dynamicDrop=uA,Z):G.dynamicDrop},q(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",G.dynamicDrop=!1,sA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(G){var R=G.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(G,R){var Z=G.interaction,nA=(G.event,G.iEvent);if(Z.prepared.name==="drag"){var sA=Z.dropState;sA.activeDrops=[],sA.events={},sA.activeDrops=ae(R,Z.element),sA.events=ke(Z,0,nA),sA.events.activate&&(de(sA.activeDrops,sA.events.activate),R.fire("actions/drop:start",{interaction:Z,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(G,R){var Z=G.interaction,nA=G.iEvent;if(Z.prepared.name==="drag"){var sA=Z.dropState;IA(Z,sA.events),R.fire("actions/drop:move",{interaction:Z,dragEvent:nA}),sA.events={}}},"interactions:action-end":function(G,R){if(G.interaction.prepared.name==="drag"){var Z=G.interaction,nA=G.iEvent;LA(G,R),IA(Z,Z.dropState.events),R.fire("actions/drop:end",{interaction:Z,dragEvent:nA})}},"interactions:stop":function(G){var R=G.interaction;if(R.prepared.name==="drag"){var Z=R.dropState;Z&&(Z.activeDrops=null,Z.events=null,Z.cur.dropzone=null,Z.cur.element=null,Z.prev.dropzone=null,Z.prev.element=null,Z.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:IA,filterEventType:function(G){return G.search("drag")===0||G.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(G){var R=G.interaction,Z=G.iEvent,nA=G.phase;if(R.prepared.name==="gesture"){var sA=R.pointers.map(function(RA){return RA.pointer}),uA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(Z.touches=[sA[0],sA[1]],uA)Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=1,Z.ds=0,Z.angle=xA(sA,QA),Z.da=0,R.gesture.startDistance=Z.distance,R.gesture.startAngle=Z.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;Z.distance=yA.distance,Z.box=yA.box,Z.scale=yA.scale,Z.ds=0,Z.angle=yA.angle,Z.da=0}else Z.distance=XA(sA,QA),Z.box=$A(sA),Z.scale=Z.distance/R.gesture.startDistance,Z.angle=xA(sA,QA),Z.ds=Z.scale-R.gesture.scale,Z.da=Z.angle-R.gesture.angle;R.gesture.distance=Z.distance,R.gesture.angle=Z.angle,u.number(Z.scale)&&Z.scale!==1/0&&!isNaN(Z.scale)&&(R.gesture.scale=Z.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(G){var R=G.actions,Z=G.Interactable,nA=G.defaults;Z.prototype.gesturable=function(sA){return u.object(sA)?(this.options.gesture.enabled=sA.enabled!==!1,this.setPerAction("gesture",sA),this.setOnEvents("gesture",sA),this):u.bool(sA)?(this.options.gesture.enabled=sA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(G){G.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(G){if(!(G.interaction.pointers.length<2)){var R=G.interactable.options.gesture;if(R&&R.enabled)return G.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(G){return G.search("gesture")===0}},ue=se;function xe(G,R,Z,nA,sA,uA,BA){if(!R)return!1;if(R===!0){var QA=u.number(uA.width)?uA.width:uA.right-uA.left,yA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(BA=Math.min(BA,Math.abs((G==="left"||G==="right"?QA:yA)/2)),QA<0&&(G==="left"?G="right":G==="right"&&(G="left")),yA<0&&(G==="top"?G="bottom":G==="bottom"&&(G="top")),G==="left"){var RA=QA>=0?uA.left:uA.right;return Z.x<RA+BA}if(G==="top"){var DA=yA>=0?uA.top:uA.bottom;return Z.y<DA+BA}if(G==="right")return Z.x>(QA>=0?uA.right:uA.left)-BA;if(G==="bottom")return Z.y>(yA>=0?uA.bottom:uA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:V(nA,R,sA))}function tt(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="resize"&&Z.resizeAxes){var nA=R;Z.interactable.options.resize.square?(Z.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=Z.resizeAxes,Z.resizeAxes==="x"?nA.delta.y=0:Z.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(G){var R=G.actions,Z=G.browser,nA=G.Interactable,sA=G.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(Z),bA.defaultMargin=Z.supportsTouch||Z.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,uA,G)},R.map.resize=bA,R.methodDict.resize="resizable",sA.actions.resize=bA.defaults},listeners:{"interactions:new":function(G){G.interaction.resizeAxes="xy"},"interactions:action-start":function(G){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,uA=nA.rect;nA._rects={start:q({},uA),corrected:q({},uA),previous:q({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},sA.edges=nA.prepared.edges,sA.rect=nA._rects.corrected,sA.deltaRect=nA._rects.delta}})(G),tt(G)},"interactions:action-move":function(G){(function(R){var Z=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var sA=Z,uA=nA.interactable.options.resize.invert,BA=uA==="reposition"||uA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(q(VA,DA),BA){if(q(DA,QA),uA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];sA.edges=nA.prepared.edges,sA.rect=DA,sA.deltaRect=HA}})(G),tt(G)},"interactions:action-end":function(G){var R=G.iEvent,Z=G.interaction;if(Z.prepared.name==="resize"&&Z.prepared.edges){var nA=R;nA.edges=Z.prepared.edges,nA.rect=Z._rects.corrected,nA.deltaRect=Z._rects.delta}},"auto-start:check":function(G){var R=G.interaction,Z=G.interactable,nA=G.element,sA=G.rect,uA=G.buttons;if(sA){var BA=q({},R.coords.cur.page),QA=Z.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||uA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=xe(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,sA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(G.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>sA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>sA.bottom-bA.defaultMargin;(DA||HA)&&(G.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!G.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(G){var R=G.edges,Z=G.axis,nA=G.name,sA=bA.cursors,uA=null;if(Z)uA=sA[nA+Z];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}uA=sA[BA]}return uA},filterEventType:function(G){return G.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(G){G.usePlugin(ue),G.usePlugin(PA),G.usePlugin(h),G.usePlugin(re)}},ZA=0,Ie={request:function(G){return ct(G)},cancel:function(G){return FA(G)},init:function(G){if(ct=G.requestAnimationFrame,FA=G.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],Z=0;Z<R.length;Z++){var nA=R[Z];ct=G["".concat(nA,"RequestAnimationFrame")],FA=G["".concat(nA,"CancelAnimationFrame")]||G["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(G),FA=FA&&FA.bind(G),ct||(ct=function(sA){var uA=Date.now(),BA=Math.max(0,16-(uA-ZA)),QA=G.setTimeout(function(){sA(uA+BA)},BA);return ZA=uA+BA,QA},FA=function(sA){return clearTimeout(sA)})}},ie={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(G){ie.isScrolling=!0,Ie.cancel(ie.i),G.autoScroll=ie,ie.interaction=G,ie.prevTime=ie.now(),ie.i=Ie.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),Ie.cancel(ie.i)},scroll:function(){var G=ie.interaction,R=G.interactable,Z=G.element,nA=G.prepared.name,sA=R.options[nA].autoScroll,uA=Me(sA.container,R,Z),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=sA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(uA);u.window(uA)?uA.scrollBy(RA.x,RA.y):uA&&(uA.scrollLeft+=RA.x,uA.scrollTop+=RA.y);var HA=qe(uA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:Z,interactable:R,delta:VA,interaction:G,container:uA})}ie.prevTime=BA}ie.isScrolling&&(Ie.cancel(ie.i),ie.i=Ie.request(ie.scroll))},check:function(G,R){var Z;return(Z=G.options[R].autoScroll)==null?void 0:Z.enabled},onInteractionMove:function(G){var R=G.interaction,Z=G.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,sA,uA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=Z.clientX<ie.margin,nA=Z.clientY<ie.margin,sA=Z.clientX>HA.innerWidth-ie.margin,uA=Z.clientY>HA.innerHeight-ie.margin;else{var VA=J(HA);BA=Z.clientX<VA.left+ie.margin,nA=Z.clientY<VA.top+ie.margin,sA=Z.clientX>VA.right-ie.margin,uA=Z.clientY>VA.bottom-ie.margin}ie.x=sA?1:BA?-1:0,ie.y=uA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(G,R,Z){return(u.string(G)?rA(G,R,Z):G)||_(Z)}function qe(G){return u.window(G)&&(G=window.document.body),{x:G.scrollLeft,y:G.scrollTop}}var Ct={id:"auto-scroll",install:function(G){var R=G.defaults,Z=G.actions;G.autoScroll=ie,ie.now=function(){return G.now()},Z.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(G){G.interaction.autoScroll=null},"interactions:destroy":function(G){G.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(G){return ie.onInteractionMove(G)}}},ze=Ct;function At(G,R){var Z=!1;return function(){return Z||(F.console.warn(R),Z=!0),G.apply(this,arguments)}}function dt(G,R){return G.name=R.name,G.axis=R.axis,G.edges=R.edges,G}function Pe(G){return u.bool(G)?(this.options.styleCursor=G,this):G===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(G){return u.func(G)?(this.options.actionChecker=G,this):G===null?(delete this.options.actionChecker,this):this.options.actionChecker}var ft={id:"auto-start/interactableMethods",install:function(G){var R=G.Interactable;R.prototype.getAction=function(Z,nA,sA,uA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,sA,uA,G);return this.options.actionChecker?this.options.actionChecker(Z,nA,BA,this,uA,sA):BA},R.prototype.ignoreFrom=At(function(Z){return this._backCompatOption("ignoreFrom",Z)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(Z){return this._backCompatOption("allowFrom",Z)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(G,R,Z,nA,sA){return R.testIgnoreAllow(R.options[G.name],Z,nA)&&R.options[G.name].enabled&&dn(R,Z,G,sA)?G:null}function Ln(G,R,Z,nA,sA,uA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=sA[QA],HA=RA.getAction(R,Z,G,DA);if(HA){var VA=nt(HA,RA,DA,uA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(G,R,Z,nA,sA){var uA=[],BA=[],QA=nA;function yA(DA){uA.push(DA),BA.push(QA)}for(;u.element(QA);){uA=[],BA=[],sA.interactables.forEachMatch(QA,yA);var RA=Ln(G,R,Z,uA,BA,nA,sA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=K(QA)}return{action:null,interactable:null,element:null}}function Vt(G,R,Z){var nA=R.action,sA=R.interactable,uA=R.element;nA=nA||{name:null},G.interactable=sA,G.element=uA,dt(G.prepared,nA),G.rect=sA&&nA.name?sA.getRect(uA):null,An(G,Z),Z.fire("autoStart:prepared",{interaction:G})}function dn(G,R,Z,nA){var sA=G.options,uA=sA[Z.name].max,BA=sA[Z.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(uA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===G&&((RA+=le===Z.name?1:0)>=uA||ge.element===R&&(DA++,le===Z.name&&DA>=BA))))return!1}return QA>0}function bn(G,R){return u.number(G)?(R.autoStart.maxInteractions=G,this):R.autoStart.maxInteractions}function Ft(G,R,Z){var nA=Z.autoStart.cursorElement;nA&&nA!==G&&(nA.style.cursor=""),G.ownerDocument.documentElement.style.cursor=R,G.style.cursor=R,Z.autoStart.cursorElement=R?G:null}function An(G,R){var Z=G.interactable,nA=G.element,sA=G.prepared;if(G.pointerType==="mouse"&&Z&&Z.options.styleCursor){var uA="";if(sA.name){var BA=Z.options[sA.name].cursorChecker;uA=u.func(BA)?BA(sA,Z,nA,G._interacting):R.actions.map[sA.name].getCursor(sA)}Ft(G.element,uA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var Jn={id:"auto-start/base",before:["actions"],install:function(G){var R=G.interactStatic,Z=G.defaults;G.usePlugin(ft),Z.base.actionChecker=null,Z.base.styleCursor=!0,q(Z.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,G)},G.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget;Z.interacting()||Vt(Z,Xt(Z,nA,sA,uA,R),R)},"interactions:move":function(G,R){(function(Z,nA){var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerType!=="mouse"||sA.pointerIsDown||sA.interacting()||Vt(sA,Xt(sA,uA,BA,QA,nA),nA)})(G,R),function(Z,nA){var sA=Z.interaction;if(sA.pointerIsDown&&!sA.interacting()&&sA.pointerWasMoved&&sA.prepared.name){nA.fire("autoStart:before-start",Z);var uA=sA.interactable,BA=sA.prepared.name;BA&&uA&&(uA.options[BA].manualStart||!dn(uA,sA.element,sA.prepared,nA)?sA.stop():(sA.start(sA.prepared,uA,sA.element),An(sA,nA)))}}(G,R)},"interactions:stop":function(G,R){var Z=G.interaction,nA=Z.interactable;nA&&nA.options.styleCursor&&Ft(Z.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=Jn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(G,R){var Z=G.interaction,nA=G.eventTarget,sA=G.dx,uA=G.dy;if(Z.prepared.name==="drag"){var BA=Math.abs(sA),QA=Math.abs(uA),yA=Z.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(Z.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){Z.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==Z.interactable){var he=Z.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var De=le.getAction(Z.downPointer,Z.downEvent,Z,HA);if(De&&De.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(De,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){Z.prepared.name="drag",Z.interactable=ge,Z.element=HA;break}HA=K(HA)}}}}}};function Ei(G){var R=G.prepared&&G.prepared.name;if(!R)return null;var Z=G.interactable.options;return Z[R].hold||Z[R].delay}var co={id:"auto-start/hold",install:function(G){var R=G.defaults;G.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(G){G.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(G){var R=G.interaction,Z=Ei(R);Z>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},Z))},"interactions:move":function(G){var R=G.interaction,Z=G.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!Z&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(G){var R=G.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(G){G.usePlugin(en),G.usePlugin(Qi),G.usePlugin(mi)}},Hi=function(G){return/^(always|never|auto)$/.test(G)?(this.options.preventDefault=G,this):u.bool(G)?(this.options.preventDefault=G?"always":"never",this):this.options.preventDefault};function go(G){var R=G.interaction,Z=G.event;R.interactable&&R.interactable.checkAndPreventDefault(Z)}var ri={id:"core/interactablePreventDefault",install:function(G){var R=G.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(Z){return function(nA,sA,uA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(sA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var QA=_(uA.target).document,yA=sA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&z(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,G,Z)},G.interactions.docEvents.push({type:"dragstart",listener:function(Z){for(var nA=0,sA=G.interactions.list;nA<sA.length;nA++){var uA=sA[nA];if(uA.element&&(uA.element===Z.target||M(uA.element,Z.target)))return void uA.interactable.checkAndPreventDefault(Z)}}})},listeners:["down","move","up","cancel"].reduce(function(G,R){return G["interactions:".concat(R)]=go,G},{})};function yn(G,R){if(R.phaselessTypes[G])return!0;for(var Z in R.map)if(G.indexOf(Z)===0&&G.substr(Z.length)in R.phases)return!0;return!1}function Ki(G){var R={};for(var Z in G){var nA=G[Z];u.plainObject(nA)?R[Z]=Ki(nA):u.array(nA)?R[Z]=Se(nA):R[Z]=nA}return R}var Zo=function(){function G(R){f(this,G),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(G,[{key:"start",value:function(R,Z){var nA,sA,uA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=q({},BA.edges),this.edges=q({},this.startEdges),this.startOffset=(nA=BA.rect,sA=Z,nA?{left:sA.x-nA.left,top:sA.y-nA.top,right:nA.right-sA.x,bottom:nA.bottom-sA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:uA,pageCoords:Z,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var Z=this.interaction;return R.interaction=Z,R.interactable=Z.interactable,R.element=Z.element,R.rect||(R.rect=Z.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var Z=0,nA=this.states;Z<nA.length;Z++){var sA=nA[Z];sA.methods.start&&(R.state=sA,sA.methods.start(R))}}},{key:"setAll",value:function(R){var Z=R.phase,nA=R.preEnd,sA=R.skipModifiers,uA=R.rect,BA=R.edges;R.coords=q({},R.pageCoords),R.rect=q({},uA),R.edges=q({},BA);for(var QA=sA?this.states.slice(sA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=q({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,Z)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}q(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-uA.left,yA.rectDelta.right=R.rect.right-uA.right,yA.rectDelta.top=R.rect.top-uA.top,yA.rectDelta.bottom=R.rect.bottom-uA.bottom;var he=this.result.coords,De=this.result.rect;if(he&&De){var Qe=yA.rect.left!==De.left||yA.rect.right!==De.right||yA.rect.top!==De.top||yA.rect.bottom!==De.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var Z=this.interaction,nA=R.phase,sA=Z.coords.cur,uA=Z.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&q(this.startDelta,BA.delta);for(var RA=0,DA=[[uA,QA],[sA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||Z.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var Z=this.interaction,nA=R.phase,sA=R.preEnd,uA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:sA,phase:nA,pageCoords:R.modifiedCoords||Z.coords.cur.page}));if(this.result=BA,!BA.changed&&(!uA||uA<this.states.length)&&Z.interacting())return!1;if(R.modifiedCoords){var QA=Z.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var Z=R.interaction,nA=R.event,sA=this.states;if(sA&&sA.length){for(var uA=!1,BA=0;BA<sA.length;BA++){var QA=sA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;uA=uA||!uA&&this.shouldDo(yA,!0,R.phase,!0)}uA&&Z.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var Z=R.interaction;if(this.states&&this.states.length){var nA=q({states:this.states,interactable:Z.interactable,element:Z.element,rect:null},R);this.fillArg(nA);for(var sA=0,uA=this.states;sA<uA.length;sA++){var BA=uA[sA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var Z=0;Z<R.length;Z++){var nA=R[Z],sA=nA.options,uA=nA.methods,BA=nA.name;this.states.push({options:sA,methods:uA,index:Z,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var Z=R.interaction,nA=Z.coords,sA=Z.rect,uA=Z.modification;if(uA.result){for(var BA=uA.startDelta,QA=uA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}sA.left-=RA.left,sA.right-=RA.right,sA.top-=RA.top,sA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,Z,nA,sA){return!(!R||R.enabled===!1||sA&&!R.endOnly||R.endOnly&&!Z||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(Z){return Ki(Z)}),this.result=uo(q({},R.result.coords),q({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),G}();function uo(G,R){return{rect:R,coords:G,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Gn(G,R){var Z=G.defaults,nA={start:G.start,set:G.set,beforeEnd:G.beforeEnd,stop:G.stop},sA=function(uA){var BA=uA||{};for(var QA in BA.enabled=BA.enabled!==!1,Z)QA in BA||(BA[QA]=Z[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(sA._defaults=Z,sA._methods=nA),sA}function ho(G){var R=G.iEvent,Z=G.interaction.modification.result;Z&&(R.modifiers=Z.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(G){G.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(G){var R=G.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(G){var R=G.interaction,Z=G.interaction.modification;Z.start(G,R.coords.start.page),R.edges=Z.edges,Z.applyToInteraction(G)},"interactions:before-action-move":function(G){var R=G.interaction,Z=R.modification,nA=Z.setAndApply(G);return R.edges=Z.edges,nA},"interactions:before-action-end":function(G){var R=G.interaction,Z=R.modification,nA=Z.beforeEnd(G);return R.edges=Z.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:after-action-move":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:stop":function(G){return G.interaction.modification.stop(G)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA,BA,QA,yA,RA){var DA;f(this,Z),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,uA),le=BA==="start",he=BA==="end",De=le?T(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=q({},Qe.page),DA.client=q({},Qe.client),DA.rect=q({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=sA.ctrlKey,DA.altKey=sA.altKey,DA.shiftKey=sA.shiftKey,DA.metaKey=sA.metaKey,DA.button=sA.button,DA.buttons=sA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||uA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:De.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-De[VA].x,y:DA[VA].y-De[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=q({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(Z,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var sA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;sA<0&&(sA+=360);var uA=112.5<=sA&&sA<247.5,BA=202.5<=sA&&sA<337.5;return{up:BA,down:!BA&&22.5<=sA&&sA<157.5,left:uA,right:!uA&&(292.5<=sA||sA<67.5),angle:sA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),Z}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(G){this.page.x=G}},pageY:{get:function(){return this.page.y},set:function(G){this.page.y=G}},clientX:{get:function(){return this.client.x},set:function(G){this.client.x=G}},clientY:{get:function(){return this.client.y},set:function(G){this.client.y=G}},dx:{get:function(){return this.delta.x},set:function(G){this.delta.x=G}},dy:{get:function(){return this.delta.y},set:function(G){this.delta.y=G}},velocityX:{get:function(){return this.velocity.x},set:function(G){this.velocity.x=G}},velocityY:{get:function(){return this.velocity.y},set:function(G){this.velocity.y=G}}});var ys=b(function G(R,Z,nA,sA,uA){f(this,G),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=Z,this.event=nA,this.downTime=sA,this.downTarget=uA}),Ds=function(G){return G.interactable="",G.element="",G.prepared="",G.pointerIsDown="",G.pointerWasMoved="",G._proxy="",G}({}),vs=function(G){return G.start="",G.move="",G.end="",G.stop="",G.interacting="",G}({}),ks=0,_s=function(){function G(R){var Z=this,nA=R.pointerType,sA=R.scopeFire;f(this,G),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=sA,this.pointerType=nA;var uA=this;this._proxy={};var BA=function(DA){Object.defineProperty(Z._proxy,DA,{get:function(){return uA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(Z._proxy,DA,{value:function(){return uA[DA].apply(uA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(G,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,Z,nA){var sA=this.updatePointer(R,Z,nA,!0),uA=this.pointers[sA];this._scopeFire("interactions:down",{pointer:R,event:Z,eventTarget:nA,pointerIndex:sA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(R,Z,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!Z.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=Z,this.element=nA,this.rect=Z.getRect(nA),this.edges=this.prepared.edges?q({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(R,Z,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,Z,nA,!1);var sA,uA,BA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(sA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(sA,uA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:Z,type:"move",eventTarget:nA,dx:sA,dy:uA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&W(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=q({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,Z,nA,sA){var uA=this.getPointerIndex(R);uA===-1&&(uA=this.updatePointer(R,Z,nA,!1));var BA=/cancel$/i.test(Z.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:uA,pointerInfo:this.pointers[uA],event:Z,eventTarget:nA,type:BA,curEventTarget:sA,interaction:this}),this.simulation||this.end(Z),this.removePointer(R,Z)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var Z;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(Z=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,Z===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var Z=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===Z})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,Z,nA,sA){var uA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return sA=sA!==!1&&(sA||/(down|start)$/i.test(Z.type)),DA?DA.pointer=R:(DA=new ys(yA,R,Z,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),uA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,uA.page.x=QA.page.x-BA.page.x,uA.page.y=QA.page.y-BA.page.y,uA.client.x=QA.client.x-BA.client.x,uA.client.y=QA.client.y-BA.client.y,uA.timeStamp=QA.timeStamp-BA.timeStamp,sA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,U(this.downPointer,R),this.interacting()||(W(this.coords.start,this.coords.cur),W(this.coords.prev,this.coords.cur),this.downEvent=Z,this.pointerWasMoved=!1)),this._updateLatestPointer(R,Z,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:Z,eventTarget:nA,down:sA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,Z){var nA=this.getPointerIndex(R);if(nA!==-1){var sA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:Z,eventTarget:null,pointerIndex:nA,pointerInfo:sA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,Z,nA){this._latestPointer.pointer=R,this._latestPointer.event=Z,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,Z,nA,sA){return new ai(this,R,this.prepared.name,Z,this.element,nA,sA)}},{key:"_fireEvent",value:function(R){var Z;(Z=this.interactable)==null||Z.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var Z=R.event,nA=R.phase,sA=R.preEnd,uA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(Z,nA,sA,uA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),G}();function $r(G){zr(G.interaction)}function zr(G){if(!function(Z){return!(!Z.offset.pending.x&&!Z.offset.pending.y)}(G))return!1;var R=G.offset.pending;return Jr(G.coords.cur,R),Jr(G.coords.delta,R),gA(G.edges,G.rect,R),R.x=0,R.y=0,!0}function sg(G){var R=G.x,Z=G.y;this.offset.pending.x+=R,this.offset.pending.y+=Z,this.offset.total.x+=R,this.offset.total.y+=Z}function Jr(G,R){var Z=G.page,nA=G.client,sA=R.x,uA=R.y;Z.x+=sA,Z.y+=uA,nA.x+=sA,nA.y+=uA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(G){G.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(G){G.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(G){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(G.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(G){var R=G.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(G){var R=G.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function G(R){f(this,G),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=R}return b(G,[{key:"start",value:function(R){var Z=this.interaction,nA=qo(Z);if(!nA||!nA.enabled)return!1;var sA=Z.coords.velocity.client,uA=cA(sA.x,sA.y),BA=this.modification||(this.modification=new Zo(Z));if(BA.copyFrom(Z.modification),this.t0=Z._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=Z.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-Z.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return Z.modification.result.rect=null,Z.offsetBy(this.targetOffset),Z._doPhase({interaction:Z,event:R,phase:"inertiastart"}),Z.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),Z.modification.result.rect=null,this.active=!0,Z.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,Z=this.interaction.coords.velocity.client,nA=qo(this.interaction),sA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/sA;this.targetOffset={x:(Z.x-uA)/sA,y:(Z.y-uA)/sA},this.te=uA,this.lambda_v0=sA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var Z=this;this.timeout=Ie.request(function(){Z.active&&R()})}},{key:"inertiaTick",value:function(){var R,Z,nA,sA,uA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,Z=0,nA=this.targetOffset.x,sA=this.targetOffset.y,uA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,uA),y:Ms(QA,Z,sA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,Z=this.interaction,nA=Z._now()-this.t0,sA=qo(Z).smoothEndDuration;if(nA<sA){var uA={x:Xo(nA,0,this.targetOffset.x,sA),y:Xo(nA,0,this.targetOffset.y,sA)},BA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,Z.offsetBy(BA),Z.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else Z.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var Z=R.pointer,nA=R.event,sA=R.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(Z,nA,sA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),W(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,Ie.cancel(this.timeout)}}]),G}();function qo(G){var R=G.interactable,Z=G.prepared;return R&&R.options&&Z.name&&R.options[Z.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(G){var R=G.defaults;G.usePlugin(Zr),G.usePlugin(Wo),G.actions.phases.inertiastart=!0,G.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(G){var R=G.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(G){var R=G.interaction,Z=G.event;return(!R._interacting||R.simulation||!R.inertia.start(Z))&&null},"interactions:down":function(G){var R=G.interaction,Z=G.eventTarget,nA=R.inertia;if(nA.active)for(var sA=Z;u.element(sA);){if(sA===R.element){nA.resume(G);break}sA=K(sA)}},"interactions:stop":function(G){var R=G.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(G){var R=G.interaction.modification;R.stop(G),R.start(G,G.interaction.coords.cur.page),R.applyToInteraction(G)},"interactions:before-action-inertiastart":function(G){return G.interaction.modification.setAndApply(G)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(G){return G.interaction.modification.restoreInteractionCoords(G)},"interactions:after-action-resume":function(G){return G.interaction.modification.restoreInteractionCoords(G)}}};function Ms(G,R,Z,nA){var sA=1-G;return sA*sA*R+2*sA*G*Z+G*G*nA}function Xo(G,R,Z,nA){return-Z*(G/=nA)*(G-2)+R}var dg=gg;function Ss(G,R){for(var Z=0;Z<R.length;Z++){var nA=R[Z];if(G.immediatePropagationStopped)break;nA(G)}}var xs=function(){function G(R){f(this,G),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=q({},R||{})}return b(G,[{key:"fire",value:function(R){var Z,nA=this.global;(Z=this.types[R.type])&&Ss(R,Z),!R.propagationStopped&&nA&&(Z=nA[R.type])&&Ss(R,Z)}},{key:"on",value:function(R,Z){var nA=X(R,Z);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,Z){var nA=X(R,Z);for(R in nA){var sA=this.types[R];if(sA&&sA.length)for(var uA=0,BA=nA[R];uA<BA.length;uA++){var QA=BA[uA],yA=sA.indexOf(QA);yA!==-1&&sA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),G}(),ug=function(){function G(R){f(this,G),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,U(this,R)}return b(G,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),G}();function po(G){return u.object(G)?{capture:!!G.capture,passive:!!G.passive}:{capture:!!G,passive:!1}}function at(G,R){return G===R||(typeof G=="boolean"?!!R.capture===G&&!R.passive:!!G.capture==!!R.capture&&!!G.passive==!!R.passive)}var gt={id:"events",install:function(G){var R,Z=[],nA={},sA=[],uA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var De=0;De<sA.length;De++){var Qe=sA[De];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,De=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,De)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:sA,targets:Z,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(Z,function(De){return De.eventTarget===DA});he||(he={eventTarget:DA,events:{}},Z.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(De){return De.func===VA&&at(De.options,le)})||(DA.addEventListener(HA,VA,uA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(Z,function(He){return He.eventTarget===DA}),he=Z[le];if(he&&he.events)if(HA!=="all"){var De=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,uA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],De=!0);break}}}De&&!Object.keys(he.events).length&&Z.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],De=he;u.element(De);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(De,OA)&&M(KA,he)&&M(KA,De)){var ee=kA.listeners;ge.currentTarget=De;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}De=K(De)}}function RA(DA){return yA(DA,!0)}return(R=G.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),G.events=uA,uA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(G){for(var R=0,Z=Wr.methodOrder;R<Z.length;R++){var nA=Z[R],sA=Wr[nA](G);if(sA)return sA}return null},simulationResume:function(G){var R=G.pointerType,Z=G.eventType,nA=G.eventTarget,sA=G.scope;if(!/down|start/i.test(Z))return null;for(var uA=0,BA=sA.interactions.list;uA<BA.length;uA++){var QA=BA[uA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=K(yA)}}return null},mouseOrPen:function(G){var R,Z=G.pointerId,nA=G.pointerType,sA=G.eventType,uA=G.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=uA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,Z))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=uA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(sA)&&HA.simulation))return HA}return null},hasPointer:function(G){for(var R=G.pointerId,Z=0,nA=G.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(Ns(sA,R))return sA}return null},idle:function(G){for(var R=G.pointerType,Z=0,nA=G.scope.interactions.list;Z<nA.length;Z++){var sA=nA[Z];if(sA.pointers.length===1){var uA=sA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(sA.pointers.length>=2)continue;if(!sA.interacting()&&R===sA.pointerType)return sA}return null}};function Ns(G,R){return G.pointers.some(function(Z){return Z.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(G,R){return function(Z){var nA=R.interactions.list,sA=MA(Z),uA=qA(Z),BA=uA[0],QA=uA[1],yA=[];if(/^touch/.test(Z.type)){R.prevTouchTime=R.now();for(var RA=0,DA=Z.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:sA,eventType:Z.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(Z.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||Z.timeStamp===0}if(!le){var De={pointer:Z,pointerId:zA(Z),pointerType:sA,eventType:Z.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(De);yA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][G](KA,Z,ee,Be)}}}function Rs(G){var R=G.pointerType,Z=G.scope,nA={interaction:hg.search(G),searchDetails:G};return Z.fire("interactions:find",nA),nA.interaction||Z.interactions.new({pointerType:R})}function Vo(G,R){var Z=G.doc,nA=G.scope,sA=G.options,uA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!sA.events&&(sA.events={passive:!1}),BA.delegatedEvents)QA(Z,yA,BA.delegateListener),QA(Z,yA,BA.delegateUseCapture,!0);for(var RA=sA&&sA.events,DA=0;DA<uA.length;DA++){var HA=uA[DA];QA(Z,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(G){for(var R={},Z=0;Z<jr.length;Z++){var nA=jr[Z];R[nA]=Fs(nA,G)}var sA,uA=Q.pEventTypes;function BA(){for(var QA=0,yA=G.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];G.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(sA=r.PointerEvent?[{type:uA.down,listener:BA},{type:uA.down,listener:R.pointerDown},{type:uA.move,listener:R.pointerMove},{type:uA.up,listener:R.pointerUp},{type:uA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=G.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),G.prevTouchTime=0,G.Interaction=function(QA){I(RA,QA);var yA=O(RA);function RA(){return f(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return G.interactions.pointerMoveTolerance},set:function(DA){G.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return G.now()}}]),RA}(_s),G.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return G.fire(RA,DA)};var yA=new G.Interaction(QA);return G.interactions.list.push(yA),yA},listeners:R,docEvents:sA,pointerMoveTolerance:1},G.usePlugin(ri)},listeners:{"scope:add-document":function(G){return Vo(G,"add")},"scope:remove-document":function(G){return Vo(G,"remove")},"interactable:unset":function(G,R){for(var Z=G.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var sA=R.interactions.list[nA];sA.interactable===Z&&(sA.stop(),R.fire("interactions:destroy",{interaction:sA}),sA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Pn=function(G){return G[G.On=0]="On",G[G.Off=1]="Off",G}(Pn||{}),fi=function(){function G(R,Z,nA,sA){f(this,G),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new xs,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=Z.actions,this.target=R,this._context=Z.context||nA,this._win=_(P(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=sA,this.set(Z)}return b(G,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,Z){return u.func(Z.onstart)&&this.on("".concat(R,"start"),Z.onstart),u.func(Z.onmove)&&this.on("".concat(R,"move"),Z.onmove),u.func(Z.onend)&&this.on("".concat(R,"end"),Z.onend),u.func(Z.oninertiastart)&&this.on("".concat(R,"inertiastart"),Z.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,Z,nA){var sA,uA=this,BA=(sA=this._actions.map[R])==null?void 0:sA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,uA._actions)};(u.array(Z)||u.object(Z))&&this._onOff(Pn.Off,R,Z,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Pn.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,Z){var nA=this._defaults;for(var sA in Z){var uA=sA,BA=this.options[R],QA=Z[uA];uA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[uA]=Se(QA):u.plainObject(QA)?(BA[uA]=q(BA[uA]||{},Ki(QA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(BA[uA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[uA])?BA[uA].enabled=QA:BA[uA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),y(R)}},{key:"rectChecker",value:function(R){var Z=this;return u.func(R)?(this.getRect=function(nA){var sA=q({},R.apply(Z,nA));return"width"in sA||(sA.width=sA.right-sA.left,sA.height=sA.bottom-sA.top),sA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,Z){if(P(Z)||u.object(Z)){for(var nA in this.options[R]=Z,this._actions.map)this.options[nA][R]=Z;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,Z,nA){return!this.testIgnore(R.ignoreFrom,Z,nA)&&this.testAllow(R.allowFrom,Z,nA)}},{key:"testAllow",value:function(R,Z,nA){return!R||!!u.element(nA)&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,Z,nA){return!(!R||!u.element(nA))&&(u.string(R)?V(nA,R,Z):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,Z,nA,sA,uA){u.object(Z)&&!u.array(Z)&&(sA=nA,nA=null);var BA=X(Z,nA,uA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Pn.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Pn.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,sA):this._scopeEvents[R===Pn.On?"add":"remove"](this.target,QA,DA,sA)}}return this}},{key:"on",value:function(R,Z,nA){return this._onOff(Pn.On,R,Z,nA)}},{key:"off",value:function(R,Z,nA){return this._onOff(Pn.Off,R,Z,nA)}},{key:"set",value:function(R){var Z=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(Z.base),this._actions.methodDict){var sA=nA,uA=this._actions.methodDict[sA];this.options[sA]={},this.setPerAction(sA,q(q({},Z.perAction),Z.actions[sA])),this[uA](R[sA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var Z=this._scopeEvents.delegatedEvents[R],nA=Z.length-1;nA>=0;nA--){var sA=Z[nA],uA=sA.selector,BA=sA.context,QA=sA.listeners;uA===this.target&&BA===this._context&&Z.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),G}(),Ls=function(){function G(R){var Z=this;f(this,G),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var sA=nA.interactable,uA=sA.target,BA=u.string(uA)?Z.selectorMap[uA]:uA[Z.scope.id],QA=NA(BA,function(yA){return yA===sA});BA.splice(QA,1)}})}return b(G,[{key:"new",value:function(R,Z){Z=q(Z||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,Z,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:Z,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,Z){var nA=Z&&Z.context||this.scope.document,sA=u.string(R),uA=sA?this.selectorMap[R]:R[this.scope.id];if(uA)return UA(uA,function(BA){return BA._context===nA&&(sA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,Z){for(var nA=0,sA=this.list;nA<sA.length;nA++){var uA=sA[nA],BA=void 0;if((u.string(uA.target)?u.element(R)&&z(R,uA.target):R===uA.target)&&uA.inContext(R)&&(BA=Z(uA)),BA!==void 0)return BA}}}]),G}(),qr=function(){function G(){var R=this;f(this,G),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=xs,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var sA=function uA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=uA.globalEvents),yA};return sA.getPointerAverage=vA,sA.getTouchBBox=$A,sA.getTouchDistance=XA,sA.getTouchAngle=xA,sA.getElementRect=y,sA.getElementClientRect=J,sA.matchesSelector=z,sA.closest=S,sA.globalEvents={},sA.version="1.10.27",sA.scope=nA,sA.use=function(uA,BA){return this.scope.usePlugin(uA,BA),this},sA.isSet=function(uA,BA){return!!this.scope.interactables.get(uA,BA&&BA.context)},sA.on=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.on(HA,uA[HA],BA);return this}return yn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(BA):this.globalEvents[uA]=[BA]:this.scope.events.add(this.scope.document,uA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),sA.off=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.off(HA,uA[HA],BA);return this}var VA;return yn(uA,this.scope.actions)?uA in this.globalEvents&&(VA=this.globalEvents[uA].indexOf(BA))!==-1&&this.globalEvents[uA].splice(VA,1):this.scope.events.remove(this.scope.document,uA,BA,QA),this},"The interact.off() method is being deprecated"),sA.debug=function(){return this.scope},sA.supportsTouch=function(){return Q.supportsTouch},sA.supportsPointerEvent=function(){return Q.supportsPointerEvent},sA.stop=function(){for(var uA=0,BA=this.scope.interactions.list;uA<BA.length;uA++)BA[uA].stop();return this},sA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},sA.addDocument=function(uA,BA){this.scope.addDocument(uA,BA)},sA.removeDocument=function(uA){this.scope.removeDocument(uA)},sA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var Z=this;this.Interactable=function(nA){I(uA,nA);var sA=O(uA);function uA(){return f(this,uA),sA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return Z.defaults}},{key:"set",value:function(BA){return H(x(uA.prototype),"set",this).call(this,BA),Z.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){H(x(uA.prototype),"unset",this).call(this);var BA=Z.interactables.list.indexOf(this);BA<0||(Z.interactables.list.splice(BA,1),Z.fire("interactable:unset",{interactable:this}))}}]),uA}(fi)}return b(G,[{key:"addListeners",value:function(R,Z){this.listenerMaps.push({id:Z,map:R})}},{key:"fire",value:function(R,Z){for(var nA=0,sA=this.listenerMaps;nA<sA.length;nA++){var uA=sA[nA].map[R];if(uA&&uA(Z,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(Z,nA){return Z.isInitialized=!0,u.window(nA)&&k(nA),r.init(nA),Q.init(nA),Ie.init(nA),Z.window=nA,Z.document=nA.document,Z.usePlugin(Rt),Z.usePlugin(gt),Z}(this,R)}},{key:"pluginIsInstalled",value:function(R){var Z=R.id;return Z?!!this._plugins.map[Z]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,Z){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,Z),R.listeners&&R.before){for(var nA=0,sA=this.listenerMaps.length,uA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<sA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(uA[BA]||uA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,Z){if(this.getDocIndex(R)!==-1)return!1;var nA=_(R);Z=Z?q({},Z):{},this.documents.push({doc:R,options:Z}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:Z})}},{key:"removeDocument",value:function(R){var Z=this.getDocIndex(R),nA=_(R),sA=this.documents[Z].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(Z,1),this.events.documents.splice(Z,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:sA})}},{key:"getDocIndex",value:function(R){for(var Z=0;Z<this.documents.length;Z++)if(this.documents[Z].doc===R)return Z;return-1}},{key:"getDocOptions",value:function(R){var Z=this.getDocIndex(R);return Z===-1?null:this.documents[Z].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),G}();function tn(G){return G&&G.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(G){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var sA=nA[0],uA=nA[1];return sA in G||uA in G}),Z=function(nA,sA){for(var uA=G.range,BA=G.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=G.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:uA,grid:G,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/G[ge]),De=Math.round((sA-RA.y)/G[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*G[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,De*G[le]+RA.y))}return DA};return Z.grid=G,Z.coordFields=R,Z}}),Hs={id:"snappers",install:function(G){var R=G.interactStatic;R.snappers=q(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(G){var R=G.state,Z=G.rect,nA=G.edges,sA=G.pageCoords,uA=R.options,BA=uA.ratio,QA=uA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=Z.width/Z.height),R.startCoords=q({},sA),R.startRect=q({},Z),R.ratio=BA,R.equalDelta=RA;var HA=R.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&q(nA,HA),DA!=null&&DA.length){var ge=new Zo(G.interaction);ge.copyFrom(G.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},G))}},set:function(G){var R=G.state,Z=G.rect,nA=G.coords,sA=R.linkedEdges,uA=q({},nA),BA=R.equalDelta?Cg:un;if(q(G.edges,sA),BA(R,R.xIsPrimaryAxis,nA,Z),!R.subModification)return null;var QA=q({},Z);gA(sA,QA,{x:nA.x-uA.x,y:nA.y-uA.y});var yA=R.subModification.setAll(i(i({},G),{},{rect:QA,edges:sA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),q(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(G,R,Z){var nA=G.startCoords,sA=G.edgeSign;R?Z.y=nA.y+(Z.x-nA.x)*sA.y:Z.x=nA.x+(Z.y-nA.y)*sA.x}function un(G,R,Z,nA){var sA=G.startRect,uA=G.startCoords,BA=G.ratio,QA=G.edgeSign;if(R){var yA=nA.width/BA;Z.y=uA.y+(yA-sA.height)*QA.y}else{var RA=nA.height*BA;Z.x=uA.x+(RA-sA.width)*QA.x}}var Bg=Gn(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Hn(G,R,Z){return u.func(G)?iA(G,R.interactable,R.element,[Z.x,Z.y,R]):iA(G,R.interactable,R.element)}var Ti={start:function(G){var R=G.rect,Z=G.startOffset,nA=G.state,sA=G.interaction,uA=G.pageCoords,BA=nA.options,QA=BA.elementRect,yA=q({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Hn(BA.restriction,sA,uA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=Z.left-R.width*QA.left,yA.top+=Z.top-R.height*QA.top,yA.right+=Z.right-R.width*(1-QA.right),yA.bottom+=Z.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(G){var R=G.coords,Z=G.interaction,nA=G.state,sA=nA.options,uA=nA.offset,BA=Hn(sA.restriction,Z,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=q({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-uA.right,R.x),QA.left+uA.left),R.y=Math.max(Math.min(QA.bottom-uA.bottom,R.y),QA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Gn(Ti,"restrict"),Zn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(G,R){for(var Z=0,nA=["top","left","bottom","right"];Z<nA.length;Z++){var sA=nA[Z];sA in G||(G[sA]=R[sA])}return G}var Ii={noInner:Zn,noOuter:Ar,start:function(G){var R,Z=G.interaction,nA=G.startOffset,sA=G.state,uA=sA.options;uA&&(R=dA(Hn(uA.offset,Z,Z.coords.start.page))),R=R||{x:0,y:0},sA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(G){var R=G.coords,Z=G.edges,nA=G.interaction,sA=G.state,uA=sA.offset,BA=sA.options;if(Z){var QA=q({},R),yA=Hn(BA.inner,nA,QA)||{},RA=Hn(BA.outer,nA,QA)||{};Ts(yA,Zn),Ts(RA,Ar),Z.top?R.y=Math.min(Math.max(RA.top+uA.top,QA.y),yA.top+uA.top):Z.bottom&&(R.y=Math.max(Math.min(RA.bottom+uA.bottom,QA.y),yA.bottom+uA.bottom)),Z.left?R.x=Math.min(Math.max(RA.left+uA.left,QA.x),yA.left+uA.left):Z.right&&(R.x=Math.max(Math.min(RA.right+uA.right,QA.x),yA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Gn(Ii,"restrictEdges"),Eg=q({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(G){}},Ti.defaults),Qg=Gn({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Gn({start:function(G){return Ii.start(G)},set:function(G){var R=G.interaction,Z=G.state,nA=G.rect,sA=G.edges,uA=Z.options;if(sA){var BA=mA(Hn(uA.min,R,G.coords))||Us,QA=mA(Hn(uA.max,R,G.coords))||er;Z.options={endOnly:uA.endOnly,inner:q({},Ii.noInner),outer:q({},Ii.noOuter)},sA.top?(Z.options.inner.top=nA.bottom-BA.height,Z.options.outer.top=nA.bottom-QA.height):sA.bottom&&(Z.options.inner.bottom=nA.top+BA.height,Z.options.outer.bottom=nA.top+QA.height),sA.left?(Z.options.inner.left=nA.right-BA.width,Z.options.outer.left=nA.right-QA.width):sA.right&&(Z.options.inner.right=nA.left+BA.width,Z.options.outer.right=nA.left+QA.width),Ii.set(G),Z.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(G){var R,Z=G.interaction,nA=G.interactable,sA=G.element,uA=G.rect,BA=G.state,QA=G.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=dA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(G):{x:0,y:0};if(yA.offset==="startCoords")R={x:Z.coords.start.page.x,y:Z.coords.start.page.y};else{var DA=iA(yA.offset,nA,sA,[Z]);(R=dA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=uA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-uA.width*VA.x+R.x,y:QA.top-uA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(G){var R=G.interaction,Z=G.coords,nA=G.state,sA=nA.options,uA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=q({},Z),yA=[];sA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=uA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=sA.targets.length;le<he;le++){var De=sA.targets[le],Qe=void 0;(Qe=u.func(De)?De(VA,ge,R._proxy,HA,le):De)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:sA.range,source:De,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(Z.x=kA.target.x,Z.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Gn(Aa,"snap"),Co={start:function(G){var R=G.state,Z=G.edges,nA=R.options;if(!Z)return null;G.state={options:{targets:null,relativePoints:[{x:Z.left?0:1,y:Z.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(G),R.offsets=G.state.offsets,G.state=R},set:function(G){var R=G.interaction,Z=G.state,nA=G.coords,sA=Z.options,uA=Z.offsets,BA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};Z.options=q({},sA),Z.options.targets=[];for(var QA=0,yA=sA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=Z.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}Z.options.targets.push(DA)}}var De=Aa.set(G);return Z.options=sA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Gn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Gn({start:function(G){var R=G.edges;return R?(G.state.targetFields=G.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(G)):null},set:Co.set,defaults:q(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(G){var R=G.interactStatic;for(var Z in G.usePlugin(Wo),G.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[Z],sA=nA._defaults,uA=nA._methods;sA._methods=uA,G.defaults.perAction[Z]=sA}}},fg=Os,tr=function(G){I(Z,G);var R=O(Z);function Z(nA,sA,uA,BA,QA,yA){var RA;if(f(this,Z),U(T(RA=R.call(this,QA)),uA),uA!==sA&&U(T(RA),sA),RA.timeStamp=yA,RA.originalEvent=uA,RA.type=nA,RA.pointerId=zA(sA),RA.pointerType=MA(sA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(sA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=sA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(Z,[{key:"_subtractOrigin",value:function(nA){var sA=nA.x,uA=nA.y;return this.pageX-=sA,this.pageY-=uA,this.clientX-=sA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var sA=nA.x,uA=nA.y;return this.pageX+=sA,this.pageY+=uA,this.clientX+=sA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),Z}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(G){G.pointerEvents=wi,G.defaults.actions.pointerEvents=wi.defaults,q(G.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(G){var R=G.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(G){var R=G.down,Z=G.pointerInfo;!R&&Z.hold||(Z.hold={duration:1/0,timeout:null})},"interactions:move":function(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget;G.duplicate||Z.pointerIsDown&&!Z.pointerWasMoved||(Z.pointerIsDown&&Tt(G),si({interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:"move"},R))},"interactions:down":function(G,R){(function(Z,nA){for(var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget,yA=Z.pointerIndex,RA=sA.pointers[yA].hold,DA=j(QA),HA={interaction:sA,pointer:uA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,De=HA.targets;he<De.length;he++){var Qe=De[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:sA,eventTarget:QA,pointer:uA,event:BA,type:"hold"},nA)},le)}})(G,R),si(G,R)},"interactions:up":function(G,R){Tt(G),si(G,R),function(Z,nA){var sA=Z.interaction,uA=Z.pointer,BA=Z.event,QA=Z.eventTarget;sA.pointerWasMoved||si({interaction:sA,eventTarget:QA,pointer:uA,event:BA,type:"tap"},nA)}(G,R)},"interactions:cancel":function(G,R){Tt(G),si(G,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function si(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget,BA=G.type,QA=G.targets,yA=QA===void 0?ta(G,R):QA,RA=new tr(BA,nA,sA,uA,Z,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:Z,pointer:nA,event:sA,eventTarget:uA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:"doubletap"},R):RA;Z.prevTap=he,Z.tapTime=he.timeStamp}return RA}function ta(G,R){var Z=G.interaction,nA=G.pointer,sA=G.event,uA=G.eventTarget,BA=G.type,QA=Z.getPointerIndex(nA),yA=Z.pointers[QA];if(BA==="tap"&&(Z.pointerWasMoved||!yA||yA.downTarget!==uA))return[];for(var RA=j(uA),DA={interaction:Z,pointer:nA,event:sA,eventTarget:uA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=Z.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(G){var R=G.interaction,Z=G.pointerIndex,nA=R.pointers[Z].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(G){var R=G.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(G){G.usePlugin(wi);var R=G.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=G.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(G,R){return G["pointerEvents:".concat(R)]=mo,G},{"pointerEvents:new":function(G){var R=G.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(G,R){var Z=G.interaction,nA=G.pointerEvent,sA=G.eventTarget,uA=G.targets;if(nA.type==="hold"&&uA.length){var BA=uA[0].eventable.options.holdRepeatInterval;BA<=0||(Z.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:Z,eventTarget:sA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,Ig={id:"pointer-events/interactableTargets",install:function(G){var R=G.Interactable;R.prototype.pointerEvents=function(nA){return q(this.events.options,nA),this};var Z=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,sA){var uA=Z.call(this,nA,sA);return uA===this&&(this.events.options[nA]=sA),uA}},listeners:{"pointerEvents:collect-targets":function(G,R){var Z=G.targets,nA=G.node,sA=G.type,uA=G.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[sA]&&QA.types[sA].length&&BA.testIgnoreAllow(yA,nA,uA)&&Z.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(G){var R=G.interactable;R.events.getRect=function(Z){return R.getRect(Z)}},"interactable:set":function(G,R){var Z=G.interactable,nA=G.options;q(Z.events.options,R.pointerEvents.defaults),q(Z.events.options,nA.pointerEvents||{})}}},wg=Ig,bg={id:"pointer-events",install:function(G){G.usePlugin(na),G.usePlugin(zs),G.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(G){var R=G.Interactable;G.actions.phases.reflow=!0,R.prototype.reflow=function(Z){return function(nA,sA,uA){for(var BA=nA.getAllElements(),QA=uA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===sA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:uA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Wn){Be._reflowResolve=Wn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(uA,nA,HA,sA,De)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,Z,G)}},listeners:{"interactions:stop":function(G,R){var Z=G.interaction;Z.pointerType==="reflow"&&(Z._reflowResolve&&Z._reflowResolve(),function(nA,sA){nA.splice(nA.indexOf(sA),1)}(R.interactions.list,Z))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(fg),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var p1=Bs.exports;const Jp=Id(p1),Vc=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,d=t,f=A.inject(Fp),o=A.inject(Rp);if(!f)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),D=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let I=!1,x=!1,N=NaN,T=NaN,O=NaN,H=NaN,L=-1,v=-1,m=-1,F=-1,k=i.x,_=i.y,B=i.w,p=i.h;const u=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:D,wrapper:u,calcXY:iA});function g(aA){X(aA)}function s(){lA()}function h(aA){In(i.isDraggable)&&(D.draggable=aA)}function C(aA){In(i.isResizable)&&(D.resizable=aA)}function a(aA){In(i.isBounded)&&(D.bounded=aA)}function r(aA){D.transformScale=aA}function E(aA){D.rowHeight=aA}function Q(aA){D.maxRows=aA}function M(){D.rtl=zp()==="rtl",lA()}function S(aA){D.cols=Math.floor(aA)}f.increaseItem(l),A.onBeforeMount(()=>{D.rtl=zp()==="rtl"}),A.onMounted(()=>{f.responsive&&f.lastBreakpoint?D.cols=Op(f.lastBreakpoint,f.cols):D.cols=f.colNum,D.rowHeight=f.rowHeight,D.containerWidth=f.width!==null?f.width:100,D.margin=f.margin!==void 0?f.margin.map(Number):[10,10],D.maxRows=f.maxRows,In(i.isDraggable)?D.draggable=f.isDraggable:D.draggable=i.isDraggable,In(i.isResizable)?D.resizable=f.isResizable:D.resizable=i.isResizable,In(i.isBounded)?D.bounded=f.isBounded:D.bounded=i.isBounded,D.transformScale=f.transformScale,D.useCssTransforms=f.useCssTransforms,D.useStyleCursor=f.useStyleCursor,A.watchEffect(()=>{k=i.x,_=i.y,p=i.h,B=i.w,jt(y)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",S)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",S),b.value&&(b.value.unset(),b.value=null),f.decreaseItem(l)}),e({state:D,wrapper:u});const K=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>D.resizable&&!i.static),AA=A.computed(()=>f.isMirrored?!D.rtl:D.rtl),eA=A.computed(()=>(D.draggable||D.resizable)&&!i.static),V=s1("item"),$=A.computed(()=>({[V.b()]:!0,[V.bm("resizable")]:z.value,[V.bm("static")]:i.static,[V.bm("resizing")]:D.isResizing,[V.bm("dragging")]:D.isDragging,[V.bm("transform")]:D.useCssTransforms,[V.bm("rtl")]:AA.value,[V.bm("no-touch")]:K&&eA.value})),J=A.computed(()=>[V.be("resizer"),AA.value&&V.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{D.draggable=aA}),A.watch(()=>i.static,()=>{jt(U),jt(tA)}),A.watch(()=>D.draggable,()=>{jt(U)}),A.watch(()=>i.isResizable,aA=>{D.resizable=aA}),A.watch(()=>i.isBounded,aA=>{D.bounded=aA}),A.watch(()=>D.resizable,()=>{jt(tA)}),A.watch(()=>D.rowHeight,()=>{jt(y),jt(j)}),A.watch([()=>D.cols,()=>D.containerWidth],()=>{jt(tA),jt(y),jt(j)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(y)}),A.watch([()=>f.margin,()=>f.margin[0],()=>f.margin[1]],()=>{const aA=f.margin;!aA||aA[0]===D.margin[0]&&aA[1]===D.margin[1]||(D.margin=aA.map(Number),jt(y),jt(j))});function y(){i.x+i.w>D.cols?(k=0,B=i.w>D.cols?D.cols:i.w):(k=i.x,B=i.w);const aA=rA(k,_,B,p);D.isDragging&&(aA.top=D.dragging.top,AA.value?aA.right=D.dragging.left:aA.left=D.dragging.left),D.isResizing&&(aA.width=D.resizing.width,aA.height=D.resizing.height);let CA;D.useCssTransforms?AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=r1(aA.top,aA.right,aA.width,aA.height):CA=o1(aA.top,aA.left,aA.width,aA.height),D.style=CA}function j(){const aA={};for(const CA of["width","height"]){const SA=D.style[CA].match(/^(\d+)px$/);if(!SA)return;aA[CA]=SA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function P(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&D.isResizing||CA!=="resizestart"&&!D.isResizing)return;const SA=Up(aA);if(In(SA))return;const{x:zA,y:jA}=SA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),L=B,v=p,vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing=Ae,D.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(O=zA),!aA.edges.top&&!aA.edges.bottom&&(H=jA);const $A=Yp(O,H,zA,jA);AA.value?Ae.width=D.resizing.width-$A.deltaX/D.transformScale:Ae.width=D.resizing.width+$A.deltaX/D.transformScale,Ae.height=D.resizing.height+$A.deltaY/D.transformScale,D.resizing=Ae;break}case"resizeend":{vA=rA(k,_,B,p),Ae.width=vA.width,Ae.height=vA.height,D.resizing={width:-1,height:-1},D.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),O=zA,H=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(L!==B||v!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,k,_,vA.h,vA.w)}function q(aA){if(i.static||D.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&D.isDragging||CA!=="dragstart"&&!D.isDragging)return;const SA=Up(aA);if(In(SA))return;const{x:zA,y:jA}=SA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=k,F=_;const XA=Ae.offsetParent.getBoundingClientRect(),xA=Ae.getBoundingClientRect(),MA=xA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=xA.right/D.transformScale,ye=XA.right/D.transformScale,Se=xA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=Se-NA,D.dragging=vA,D.isDragging=!0;break}case"dragmove":{const XA=Yp(N,T,zA,jA);if(AA.value?vA.left=D.dragging.left-XA.deltaX/D.transformScale:vA.left=D.dragging.left+XA.deltaX/D.transformScale,vA.top=D.dragging.top+XA.deltaY/D.transformScale,D.bounded){const xA=Ae.offsetParent.clientHeight-mA(i.h,D.rowHeight,D.margin[1]);vA.top=gA(vA.top,0,xA);const MA=dA(),qA=D.containerWidth-mA(i.w,MA,D.margin[0]);vA.left=gA(vA.left,0,qA)}D.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),xA=Ae.getBoundingClientRect(),MA=xA.left/D.transformScale,qA=XA.left/D.transformScale,Ce=xA.right/D.transformScale,ye=XA.right/D.transformScale,Se=xA.top/D.transformScale,NA=XA.top/D.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=Se-NA,D.dragging={top:-1,left:-1},D.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,T=jA,(k!==$A.x||_!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==k||F!==_)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,SA,zA){const jA=dA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:SA===1/0?SA:Math.round(jA*SA+Math.max(0,SA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*D.margin[0]),top:Math.round(D.rowHeight*CA+(CA+1)*D.margin[1]),width:SA===1/0?SA:Math.round(jA*SA+Math.max(0,SA-1)*D.margin[0]),height:zA===1/0?zA:Math.round(D.rowHeight*zA+Math.max(0,zA-1)*D.margin[1])},Ae}function iA(aA,CA){const SA=dA();let zA=Math.round((CA-D.margin[0])/(SA+D.margin[0])),jA=Math.round((aA-D.margin[1])/(D.rowHeight+D.margin[1]));return zA=Math.max(Math.min(zA,D.cols-B),0),jA=Math.max(Math.min(jA,D.maxRows-p),0),{x:zA,y:jA}}function dA(){return(D.containerWidth-D.margin[0]*(D.cols+1))/D.cols}function mA(aA,CA,SA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*SA):aA}function gA(aA,CA,SA){return Math.max(Math.min(aA,SA),CA)}function wA(aA,CA,SA=!1){const zA=dA();let jA=Math.round((CA+D.margin[0])/(zA+D.margin[0])),Ae=0;return SA?Ae=Math.ceil((aA+D.margin[1])/(D.rowHeight+D.margin[1])):Ae=Math.round((aA+D.margin[1])/(D.rowHeight+D.margin[1])),jA=Math.max(Math.min(jA,D.cols-k),0),Ae=Math.max(Math.min(Ae,D.maxRows-_),0),{w:jA,h:Ae}}function X(aA,CA){D.containerWidth=aA}function lA(){y()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),D.useStyleCursor||b.value.styleCursor(!1))}const hA=Sp(q);function U(){if(cA(),!!b.value)if(D.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),I||(I=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):q(CA)}))}else b.value.draggable({enabled:!1})}const W=Sp(P);function tA(){if(cA(),!!b.value)if(D.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),SA={edges:{left:AA.value?`.${J.value[0]}`:!1,right:AA.value?!1:`.${J.value[0]}`,bottom:`.${J.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*D.transformScale,width:CA.width*D.transformScale},max:{height:aA.height*D.transformScale,width:aA.width*D.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(SA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(SA),x||(x=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?W(zA):P(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(D.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(J.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Tr(){}const C1=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(C1)));const B1=ao&&("ontouchstart"in window||E1()>0),m1=B1?"pointerdown":"click";function E1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function Q1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:f=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:f}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,f)),Object.assign(b,o),n.dispatchEvent(b)}const f1="clickoutside",I1=new Set;ao&&document.addEventListener(m1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();I1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&Q1(i,{type:f1})})},!0);const w1=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Ur;if(ao){for(const n of w1)if(n[1]in document){Ur=n;break}}const b1=!!Ur;A.computed(()=>!1);const y1=new Set,D1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(y1.forEach(t=>{t.value=!1}),document[n]){const t=D1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],v1=function(){return so.some(function(n){return n.activeTargets.length>0})},k1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",_1=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},M1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,f=e.right,o=e.bottom,b=e.left,D=e.width,I=e.height;return{x:t,y:i,top:d,right:f,bottom:o,left:b,width:D,height:I}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,f=d.offsetWidth,o=d.offsetHeight;return!(f||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},S1=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,x1=/^tb|vertical/,N1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ii=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new M1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!N1&&t.boxSizing==="border-box",f=x1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),D=i?0:ii(t.paddingTop),I=i?0:ii(t.paddingRight),x=i?0:ii(t.paddingBottom),N=i?0:ii(t.paddingLeft),T=i?0:ii(t.borderTopWidth),O=i?0:ii(t.borderRightWidth),H=i?0:ii(t.borderBottomWidth),L=i?0:ii(t.borderLeftWidth),v=N+I,m=D+x,F=L+O,k=T+H,_=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?v+F:0,u=d?m+k:0,l=i?i.width:ii(t.width)-p-B,g=i?i.height:ii(t.height)-u-_,s=l+v+B+F,h=g+m+_+k,C=lo({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),f),borderBoxSize:$o(s,h,f),contentBoxSize:$o(l,g,f),contentRect:new Xp(N,D,l,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,f=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return f}},F1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},R1=function(){var n=1/0,e=[];so.forEach(function(f){if(f.activeTargets.length!==0){var o=[];f.activeTargets.forEach(function(b){var D=new F1(b.target),I=oC(b.target);o.push(D),b.lastReportedSize=iC(b.target,b.observedBox),I<n&&(n=I)}),e.push(function(){f.callback.call(f.observer,o,f.observer)}),f.activeTargets.splice(0,f.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},L1=function(){var n=0;for(rC(n);v1();)n=R1(),rC(n);return k1()&&_1(),n>0},eg,aC=[],G1=function(){return aC.splice(0).forEach(function(n){return n()})},P1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return G1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},H1=function(n){P1(function(){requestAnimationFrame(n)})},Es=0,K1=function(){return!!Es},T1=250,U1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,Y1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=T1),!tg){tg=!0;var i=lC(e);H1(function(){var d=!1;try{d=L1()}finally{if(tg=!1,e=i-lC(),!K1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,U1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new Y1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},O1=function(n){return!Ag(n)&&!S1(n)&&getComputedStyle(n).display==="inline"},$1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return O1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),z1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},fs=function(){function n(){}return n.connect=function(e,t){var i=new z1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),f=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(f&&so.push(d),d.observationTargets.push(new $1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),f=i.observationTargets.length===1;d>=0&&(f&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),J1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");fs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");fs.unobserve(this,e)},n.prototype.disconnect=function(){fs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function Z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],f=Is.get(d.target);if(typeof f=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:D,offsetHeight:I}=d.target;f(Object.assign(d,{offsetWidth:D,offsetHeight:I,width:o??D,height:b??I}))}}}const dC=new(ao&&window.ResizeObserver||J1)(Z1);function uC(n,e){Is.set(n,e),dC.observe(n)}function hC(n){Is.has(n)&&(dC.unobserve(n),Is.delete(n))}function W1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const j1=A.ref(!1);A.computed(()=>j1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[f,o]]of CC.entries())t+=` html.${f} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const q1=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,d=t,f=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),D=A.ref(),{observeResize:I,unobserveResize:x}=W1(),N=jv();N.on("resizeEvent",T),N.on("dragEvent",O),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{a1(b.value),f.originalLayout=b.value,A.nextTick(()=>{g(),D.value&&I(D.value,qv(k,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),D.value&&x(D.value)});function T(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function O(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>f.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",f.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(f),increaseItem:H,decreaseItem:L})),A.provide(Rp,N),e({state:f,getItem:v,resizeEvent:u,dragEvent:p,layoutUpdate:m});function H(h){o.set(h.i,h)}function L(h){o.delete(h.i)}function v(h){return o.get(h)}function m(){if(!In(b.value)&&!In(f.originalLayout)){if(b.value.length!==f.originalLayout.length){const h=s(b.value,f.originalLayout);if(h.length>0)if(b.value.length>f.originalLayout.length)f.originalLayout=f.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));f.originalLayout=f.originalLayout.filter(a=>!C.has(a.i))}f.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",f.width),F(),d("layout-updated",b.value)}}function F(){f.mergedStyle={height:_()}}function k(){D.value&&(f.width=D.value.offsetWidth),N.emit("resizeEvent")}function _(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Vv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((S,{i:K,x:z,y:AA})=>({...S,[K]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(f.placeholder.i=C,f.placeholder.x=M.x,f.placeholder.y=M.y,f.placeholder.w=Q,f.placeholder.h=E,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):A.nextTick(()=>{f.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let S;if(i.preventCollision){const K=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(S=K.length>0,S){let z=1/0,AA=1/0;K.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}S||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(f.placeholder.i=C,f.placeholder.x=a,f.placeholder.y=r,f.placeholder.w=M.w,f.placeholder.h=M.h,A.nextTick(()=>{f.isDragging=!0}),N.emit("updateWidth",f.width)):h&&A.nextTick(()=>{f.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function l(){const h=g1(i.breakpoints,f.width);if(h===f.lastBreakpoint)return;const C=Op(h,i.cols);!In(f.lastBreakpoint)&&!f.layouts[f.lastBreakpoint]&&(f.layouts[f.lastBreakpoint]=qc(b.value));const a=d1(f.originalLayout,f.layouts,i.breakpoints,h,f.lastBreakpoint,C,i.verticalCompact);f.layouts[h]=a,f.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),f.lastBreakpoint=h,N.emit("setColNum",C)}function g(){f.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:D,class:"vgl-layout",style:A.normalizeStyle(f.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:f.placeholder.x,y:f.placeholder.y,w:f.placeholder.w,h:f.placeholder.h,i:f.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,f.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Ai(),d=Et(),f=A.ref({});function o(N,T){N&&(f.value[T]=N)}let b=[];const D=()=>{if(!t.value)return;const N=new Map;for(const T of t.value)N.has(T.x)||N.set(T.x,[]),N.get(T.x).push(T);for(const T of N.values()){T.sort((H,L)=>H.y-L.y);let O=0;for(const H of T)H.y=O,O+=H.h}t.value=[...t.value]},I=e,x=()=>{I("gridItemMoved")};return A.onMounted(()=>{Object.keys(f.value).forEach(N=>{const T=f.value[N];if(!T)return;const O=new ResizeObserver(H=>{for(let L of H){const v=L.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(k=>k.i===N);F&&(F.contentHeight=Math.ceil((v+8)/(m+8)),F.h>0&&(F.h=Math.ceil((v+8)/(m+8))))}}D()});O.observe(T),b.push(O)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,T)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(O,H)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:x,key:O.i,x:O.x,y:O.y,w:O.w,h:O.h,i:O.i,class:A.normalizeClass(O.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:L=>o(L,O.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[H]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,O=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:O.name,ref_for:!0},O),null,16))),128))}}),X1={key:0,class:"btn-render-wrapper"},Nn=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
101
|
+
onClick: ${o.onClick}`)}i.value[o.key]=!1}},f=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",X1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>{var T,O;return A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[f(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(x,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,H=>(A.openBlock(),A.createBlock(I,{key:H.key,disabled:!H.tooltip,content:H.tooltip,placement:"top"},{default:A.withCtx(()=>[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,{key:H.key,onClick:L=>d(H),disabled:H.disabled,type:H.type,text:H.isTextBtn,link:H.isLinkBtn,plain:H.isPlainBtn||H.type!=="primary"&&!H.orange,color:H.orange?"#FAA21E":H.color,loading:i.value[H.key],class:A.normalizeClass({orangeBtn:H.orange})},{default:A.withCtx(()=>[H.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:H.icon.name,color:H.icon.color,class:A.normalizeClass({"btn-icon":H.text||H.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(H.text||H.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:2,disabled:!((T=N==null?void 0:N.icon)!=null&&T.tooltip),content:(O=N==null?void 0:N.icon)==null?void 0:O.tooltip,placement:"top"},{default:A.withCtx(()=>[A.createVNode(D,{onClick:H=>d(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange,"is-icon":N.icon&&!N.text&&!N.label}),id:N.key},{default:A.withCtx(()=>{var H;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:N.icon.name,color:N.icon.color,size:((H=N==null?void 0:N.icon)==null?void 0:H.size)||"mini",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class","id"])]),_:2},1032,["disabled","content"]))],64)}),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-ecc9f604"]]),V1={key:0,class:"dropdown-render-wrapper"},Ak=oe(A.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=async(d,f)=>{if(f.onClick&&e)try{await e[f.onClick](t,d)}catch(o){console.error(o+`
|
|
102
|
+
onClick: ${f.onClick}`)}};return(d,f)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),D=A.resolveComponent("el-dropdown-menu"),I=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",V1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,x=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:x.key},[x.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(I,{key:0,disabled:x.disabled},{dropdown:A.withCtx(()=>[A.createVNode(D,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(x.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:T=>i(N,x)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:x.color},{default:A.withCtx(()=>{var N,T;return[x.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:(N=x.icon)==null?void 0:N.name,class:"left-icon",color:(T=x.icon)==null?void 0:T.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(x.text),1),A.createVNode(ve,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-a7966a5b"]]),ek=["title"],tk={class:"suffix-slots"},nk=oe(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},suffixSlots:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Et(),t=A.computed(()=>D.read||e.schema.read),i=A.useModel(n,"modelValue"),d=A.useAttrs(),f=A.computed(()=>d.inputColor?`--input-color: ${d.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>d.inputColor?`el-input--${d.styleType} el-input custom-input-color`:`el-input--${d.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},D=n,I=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=v=>{const m=["E","e","+","-"];d.type==="number"&&m.includes(v.key)&&v.preventDefault()},T=v=>{if(D.onInput&&I)try{I[D.onInput](x,v)}catch(m){console.error(m+`
|
|
103
103
|
onInput: ${D.onInput}`)}},O=v=>{if(D.onEnter&&I)try{v.stopPropagation(),I[D.onEnter](x,v)}catch(m){console.error(m+`
|
|
104
104
|
onEnter: ${D.onEnter}`)}},H=v=>{if(D.onChange&&I)try{I[D.onChange](x,v)}catch(m){console.error(m+`
|
|
105
105
|
onChange: ${D.onChange}`)}},L=()=>{if(D.onClick&&I)try{I[D.onClick](x,i.value)}catch(v){console.error(v+`
|
|
106
|
-
onClick: ${D.onClick}`)}};return(v,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:i.value?v.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(v.onClick?"cursor-pointer":""),onClick:L},A.toDisplayString(i.value||"--"),15,ek)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},v.$attrs,{class:o.value,style:f.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=k=>i.value=k),onInput:T,onChange:H,onKeydown:N,onKeyup:A.withKeys(O,["enter"]),onBlur:b,onClick:L}),A.createSlots({_:2},[v.suffixSlots&&v.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",tk,[A.createVNode(A.unref(rt),{list:v.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-62a993ef"]]),ik={title:"单行文本",component:"Input",icon:A.h(fe,{name:"input"}),type:"basic",order:1,attrSchema:h0,render:nk},ok={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},rk={title:"多行文本",component:"TextArea",icon:A.h(fe,{name:"textarea"}),type:"basic",order:2,attrSchema:ok,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>EM))},ak={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},sk=["onClick"],lk={key:1,class:"bold-style"},ck=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=(b,D,I)=>{console.log(b,D,I);try{t[b](i,D,I)}catch(x){console.error(x)}},f=A.computed(()=>{const b=/\{(\d+)\}/g,D=[];let I=0,x;for(;(x=b.exec(e.description))!==null;)x.index>I&&D.push({type:"text",value:e.description.slice(I,x.index)}),D.push({type:"value",index:Number(x[1])}),I=b.lastIndex;return I<e.description.length&&D.push({type:"text",value:e.description.slice(I)}),D}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,D)=>{const I=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(I,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(ve,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(x.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof x.index=="number"&&e.values&&e.values[x.index]&&typeof e.values[x.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:T=>d(e.values[x.index].onClick,e.values[x.index].text,e.values[x.index])},A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),9,sk)):(A.openBlock(),A.createElementBlock("span",lk,A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-5ca945a3"]]),gk={title:"提示框",component:"Alert",icon:A.h(fe,{name:"alert"}),type:"assist",order:2,attrSchema:ak,render:ck},dk={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),icon:A.h(fe,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},uk={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},hk={title:"级联选择器",icon:A.h(fe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:uk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>bM))},pk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},Ck={title:"JSON编辑",component:"JsonEdit",icon:A.h(fe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:pk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>SM))},Bk={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},mk={title:"多选框组",icon:A.h(fe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),order:4,attrSchema:Bk},Ek={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Qk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(fe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Ek},fk={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Ik={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:A.h(fe,{name:"colorPicker"}),type:"high",order:2,attrSchema:fk},wk={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},bk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),icon:A.h(fe,{name:"custom"}),type:"high",order:99,attrSchema:wk},yk={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},Dk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>HM)),icon:A.h(fe,{name:"datePicker"}),type:"basic",order:9,attrSchema:yk},vk={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},kk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>KM)),icon:A.h(fe,{name:"divider"}),type:"assist",order:6,attrSchema:vk},_k={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},Mk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ZM)),icon:A.h(fe,{name:"esign"}),type:"basic",order:11,attrSchema:_k},Sk={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},xk={title:"单选框组",icon:A.h(fe,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>jM)),order:3.5,attrSchema:Sk},Nk={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Fk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tS)),icon:A.h(fe,{name:"formList"}),type:"high",order:20,attrSchema:Nk},Rk={title:"栅格布局",type:"layout",icon:A.h(fe,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nS)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Lk={title:"行内布局",icon:A.h(fe,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>iS)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},Gk={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Pk={title:"计数器",icon:A.h(fe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rS)),attrSchema:Gk},Hk={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},Kk={key:0},Tk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et();return(i,d)=>{var o;const f=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Kk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(f,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(fe,{name:"password"}),type:"basic",order:3,attrSchema:Hk},Uk={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Fa]},Yk={title:"下拉选择框",type:"basic",icon:A.h(fe,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sS)),order:3,attrSchema:Uk},Ok={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},$k={title:"评分",component:"Rate",render:"ElRate",icon:A.h(fe,{name:"rate"}),type:"basic",order:12,attrSchema:Ok},zk={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},Jk={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cS)),icon:A.h(fe,{name:"input"}),type:"high",order:1,attrSchema:zk},Zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(fe,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Wk={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},jk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>gS)),component:"Switch",icon:A.h(fe,{name:"switch"}),type:"basic",order:8,attrSchema:Wk},qk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dS)),icon:A.h(fe,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},Xk={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Vk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hS)),icon:A.h(fe,{name:"text"}),type:"assist",order:1,attrSchema:Xk},A_={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>pS)),icon:A.h(fe,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},e_={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},t_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wS)),icon:A.h(fe,{name:"upload"}),type:"basic",order:10,attrSchema:e_},n_={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},i_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>vS)),icon:A.h(fe,{name:"verifyCode"}),type:"high",order:18,attrSchema:n_},o_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kS)),icon:A.h(fe,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},r_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NS)),icon:A.h(fe,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},a_={title:"对象容器",icon:A.h(fe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>LS)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},s_={},l_={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function c_(n,e){return A.openBlock(),A.createElementBlock("svg",l_,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const g_=oe(s_,[["render",c_]]),d_={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},u_={key:0},h_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=Et(),i=A.useModel(n,"modelValue"),d=f=>{const o=f.map(b=>e.data.find(D=>D.key===b));t.updateSelectData(e.name,o)};return(f,o)=>{var D;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",u_,A.toDisplayString((D=i.value)==null?void 0:D.map(I=>{var x;return(x=f.data.find(N=>N.key===I))==null?void 0:x.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{data:f.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=I=>i.value=I)}),null,16,["data","modelValue"]))}}}),icon:g_,type:"basic",order:12,attrSchema:d_},p_={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},C_=["title"],B_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClick:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=Et(),o=A.computed(()=>t.read||f.schema.read);A.watch(e,N=>{N&&f.clearValidate(t.name)});const b=N=>{if(t.onInput&&i)try{i[t.onInput](d,N)}catch(T){console.error(T+`
|
|
106
|
+
onClick: ${D.onClick}`)}};return(v,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:i.value?v.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(v.onClick?"cursor-pointer":""),onClick:L},A.toDisplayString(i.value||"--"),15,ek)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},v.$attrs,{class:o.value,style:f.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=k=>i.value=k),onInput:T,onChange:H,onKeydown:N,onKeyup:A.withKeys(O,["enter"]),onBlur:b,onClick:L}),A.createSlots({_:2},[v.suffixSlots&&v.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",tk,[A.createVNode(A.unref(rt),{list:v.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-c1cefa4f"]]),ik={title:"单行文本",component:"Input",icon:A.h(fe,{name:"input"}),type:"basic",order:1,attrSchema:h0,render:nk},ok={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},rk={title:"多行文本",component:"TextArea",icon:A.h(fe,{name:"textarea"}),type:"basic",order:2,attrSchema:ok,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>mM))},ak={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},sk=["onClick"],lk={key:1,class:"bold-style"},ck=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=(b,D,I)=>{console.log(b,D,I);try{t[b](i,D,I)}catch(x){console.error(x)}},f=A.computed(()=>{const b=/\{(\d+)\}/g,D=[];let I=0,x;for(;(x=b.exec(e.description))!==null;)x.index>I&&D.push({type:"text",value:e.description.slice(I,x.index)}),D.push({type:"value",index:Number(x[1])}),I=b.lastIndex;return I<e.description.length&&D.push({type:"text",value:e.description.slice(I)}),D}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,D)=>{const I=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(I,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(ve,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(x.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof x.index=="number"&&e.values&&e.values[x.index]&&typeof e.values[x.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:T=>d(e.values[x.index].onClick,e.values[x.index].text,e.values[x.index])},A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),9,sk)):(A.openBlock(),A.createElementBlock("span",lk,A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-0d095275"]]),gk={title:"提示框",component:"Alert",icon:A.h(fe,{name:"alert"}),type:"assist",order:2,attrSchema:ak,render:ck},dk={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),icon:A.h(fe,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},uk={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},hk={title:"级联选择器",icon:A.h(fe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:uk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wM))},pk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},Ck={title:"JSON编辑",component:"JsonEdit",icon:A.h(fe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:pk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>MM))},Bk={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},mk={title:"多选框组",icon:A.h(fe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xM)),order:4,attrSchema:Bk},Ek={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Qk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(fe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Ek},fk={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Ik={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>FM)),icon:A.h(fe,{name:"colorPicker"}),type:"high",order:2,attrSchema:fk},wk={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},bk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>LM)),icon:A.h(fe,{name:"custom"}),type:"high",order:99,attrSchema:wk},yk={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},Dk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>PM)),icon:A.h(fe,{name:"datePicker"}),type:"basic",order:9,attrSchema:yk},vk={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},kk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>HM)),icon:A.h(fe,{name:"divider"}),type:"assist",order:6,attrSchema:vk},_k={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},Mk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>JM)),icon:A.h(fe,{name:"esign"}),type:"basic",order:11,attrSchema:_k},Sk={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},xk={title:"单选框组",icon:A.h(fe,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),order:3.5,attrSchema:Sk},Nk={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Fk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>eS)),icon:A.h(fe,{name:"formList"}),type:"high",order:20,attrSchema:Nk},Rk={title:"栅格布局",type:"layout",icon:A.h(fe,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tS)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Lk={title:"行内布局",icon:A.h(fe,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nS)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},Gk={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Pk={title:"计数器",icon:A.h(fe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>oS)),attrSchema:Gk},Hk={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},Kk={key:0},Tk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et();return(i,d)=>{var o;const f=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Kk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(f,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(fe,{name:"password"}),type:"basic",order:3,attrSchema:Hk},Uk={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Fa]},Yk={title:"下拉选择框",type:"basic",icon:A.h(fe,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>aS)),order:3,attrSchema:Uk},Ok={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},$k={title:"评分",component:"Rate",render:"ElRate",icon:A.h(fe,{name:"rate"}),type:"basic",order:12,attrSchema:Ok},zk={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},Jk={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>lS)),icon:A.h(fe,{name:"input"}),type:"high",order:1,attrSchema:zk},Zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(fe,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Wk={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},jk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cS)),component:"Switch",icon:A.h(fe,{name:"switch"}),type:"basic",order:8,attrSchema:Wk},qk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>gS)),icon:A.h(fe,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},Xk={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Vk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>uS)),icon:A.h(fe,{name:"text"}),type:"assist",order:1,attrSchema:Xk},A_={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hS)),icon:A.h(fe,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},e_={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},t_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>IS)),icon:A.h(fe,{name:"upload"}),type:"basic",order:10,attrSchema:e_},n_={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},i_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DS)),icon:A.h(fe,{name:"verifyCode"}),type:"high",order:18,attrSchema:n_},o_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>vS)),icon:A.h(fe,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},r_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xS)),icon:A.h(fe,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},a_={title:"对象容器",icon:A.h(fe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RS)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},s_={},l_={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function c_(n,e){return A.openBlock(),A.createElementBlock("svg",l_,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const g_=oe(s_,[["render",c_]]),d_={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},u_={key:0},h_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=Et(),i=A.useModel(n,"modelValue"),d=f=>{const o=f.map(b=>e.data.find(D=>D.key===b));t.updateSelectData(e.name,o)};return(f,o)=>{var D;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",u_,A.toDisplayString((D=i.value)==null?void 0:D.map(I=>{var x;return(x=f.data.find(N=>N.key===I))==null?void 0:x.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{data:f.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=I=>i.value=I)}),null,16,["data","modelValue"]))}}}),icon:g_,type:"basic",order:12,attrSchema:d_},p_={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},C_=["title"],B_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClick:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=Et(),o=A.computed(()=>t.read||f.schema.read);A.watch(e,N=>{N&&f.clearValidate(t.name)});const b=N=>{if(t.onInput&&i)try{i[t.onInput](d,N)}catch(T){console.error(T+`
|
|
107
107
|
onInput: ${t.onInput}`)}},D=()=>{if(t.onClick&&i)try{i[t.onClick](d,e.value)}catch(N){console.error(N+`
|
|
108
108
|
onClick: ${t.onClick}`)}},I=()=>{if(t.onSearch&&i)try{i[t.onSearch](d,t.name)}catch(N){console.error(N+`
|
|
109
109
|
onSearch: ${t.onSearch}`)}},x=()=>{if(t.onClear&&i&&i[t.onClear])try{i[t.onClear](d,t.name)}catch(N){console.error(N+`
|
|
110
|
-
onClear: ${t.onClear}`)}else t.clearable&&f.setFieldValue(t.name,"","")};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:e.value||"--",style:A.normalizeStyle({color:e.value?N.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(N.onClick?"cursor-pointer":""),onClick:D},A.toDisplayString(e.value||"--"),15,C_)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},N.$attrs,{modelValue:e.value,"onUpdate:modelValue":T[0]||(T[0]=L=>e.value=L),onInput:b,disabled:N.disabled,clearable:!1,readonly:N.readonly,class:{readonlyBg:N.readonly,round:N.round},style:{width:N.width},onKeyup:A.withKeys(I,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(N.onClear||N.clearable)&&e.value&&!N.disabled?(A.openBlock(),A.createBlock(A.unref(fe),{key:0,name:"clear",onClick:x,class:"clear-icon"})):A.createCommentVNode("",!0),N.round?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-lujing2",color:"#666666",class:"cursor-pointer ml-[8px]",onClick:I})):A.createCommentVNode("",!0)]),_:2},[N.round?void 0:{name:"append",fn:A.withCtx(()=>[A.createVNode(O,{onClick:I,disabled:N.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]),key:"0"}]),1040,["modelValue","disabled","readonly","class","style"]))}}}),[["__scopeId","data-v-
|
|
111
|
-
onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(I,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,A.mergeProps({key:0},o.$attrs,{onClick:f,color:o.orange?"#FAA21E":"",class:["crm-button",{"is-wire-frame":o.isWireFrame,orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText,"is-focus":o.isFocus}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(ve,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading","style","disabled","id"]))]),_:1},8,["disabled","content"])}}}),[["__scopeId","data-v-
|
|
110
|
+
onClear: ${t.onClear}`)}else t.clearable&&f.setFieldValue(t.name,"","")};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:e.value||"--",style:A.normalizeStyle({color:e.value?N.readTextColor:void 0,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(N.onClick?"cursor-pointer":""),onClick:D},A.toDisplayString(e.value||"--"),15,C_)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},N.$attrs,{modelValue:e.value,"onUpdate:modelValue":T[0]||(T[0]=L=>e.value=L),onInput:b,disabled:N.disabled,clearable:!1,readonly:N.readonly,class:{readonlyBg:N.readonly,round:N.round},style:{width:N.width},onKeyup:A.withKeys(I,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(N.onClear||N.clearable)&&e.value&&!N.disabled?(A.openBlock(),A.createBlock(A.unref(fe),{key:0,name:"clear",onClick:x,class:"clear-icon"})):A.createCommentVNode("",!0),N.round?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-lujing2",color:"#666666",class:"cursor-pointer ml-[8px]",onClick:I})):A.createCommentVNode("",!0)]),_:2},[N.round?void 0:{name:"append",fn:A.withCtx(()=>[A.createVNode(O,{onClick:I,disabled:N.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]),key:"0"}]),1040,["modelValue","disabled","readonly","class","style"]))}}}),[["__scopeId","data-v-3f460615"]]),m_={title:"搜索输入",component:"SearchInput",icon:A.h(fe,{name:"search"}),type:"high",order:5,attrSchema:p_,render:B_},E_={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Fa]},Q_={title:"选择+搜索",type:"high",icon:A.h(fe,{name:"searchSelect"}),component:"SearchSelect",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>KS)),order:3,attrSchema:E_},f_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},I_=oe(A.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},isWireFrame:{type:Boolean},purple:{type:Boolean},noLoading:{type:Boolean},disabled:{type:Boolean},tooltip:{},icon:{},suffixIcon:{},style:{},isPlainBtn:{type:Boolean},name:{},isFocus:{type:Boolean}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref(!1),f=async()=>{if(e.onClick&&t){try{!e.noLoading&&e.buttonText&&(d.value=!0),await t[e.onClick](i)}catch(o){console.error(o+`
|
|
111
|
+
onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const D=A.resolveComponent("el-button"),I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(I,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(D,A.mergeProps({key:0},o.$attrs,{onClick:f,color:o.orange?"#FAA21E":"",class:["crm-button",{"is-wire-frame":o.isWireFrame,orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText,"is-focus":o.isFocus}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(ve,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading","style","disabled","id"]))]),_:1},8,["disabled","content"])}}}),[["__scopeId","data-v-0bf107de"]]),w_={title:"按钮",component:"Button",icon:A.h(fe,{name:"button"}),type:"assist",order:1,attrSchema:f_,render:I_},b_={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},mC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch","FloatCurd","Tree"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(mC(i.children)));return e},EC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(mC(i.schema.items)));return e},QC=Symbol("RefManager"),y_=()=>{const n=new Map,e=new Map;function t(i){const d=i.sort().join(","),f=e.get(d);f&&f.resolve&&i.every(b=>n.has(b))&&(f.resolve(),f.resolve=null)}return{register:(i,d)=>{n.set(i,d);for(const[f]of e)t(f.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const d=i.sort().join(",");if(e.has(d))return e.get(d).promise;let f=null;const o=new Promise(b=>{f=b});return e.set(d,{promise:o,resolve:f}),t(i),o}}},fC=()=>{const n=y_();return A.provide(QC,n),n},IC=()=>{const n=A.inject(QC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},zo=(n,e)=>{const t=IC();return t.register(n,e),()=>{t.unregister(n)}},D_={class:"tree-node-text"},v_=["title"],k_={key:0,class:"tree-node-present"},__={class:"flex gap-[8px]"},wC=oe(A.defineComponent({__name:"Component",props:{onNodeClick:{},onNodeDbClick:{},onCheckChange:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{},styleType:{},name:{},showCheckbox:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=A.ref(),o=(k,_)=>{f.value=k[t.nodeKey]},b=(k,_,B)=>{if(k&&i)try{i[k](d,{node:_,data:B})}catch(p){console.error(p+`
|
|
112
112
|
onNodeClick: ${t.onNodeClick}`)}};let D=null,I=null,x=0;function N(k,_){const B=Date.now(),p=k.id,u=I==null?void 0:I.id;p===u&&B-x<300?(D&&(clearTimeout(D),D=null),O(k,_),I=null,x=0):(D&&clearTimeout(D),I=k,x=B,D=setTimeout(()=>{T(k,_),D=null,I=null,x=0},300))}const T=(k,_)=>{if(t.onNodeClick&&i)try{i[t.onNodeClick](d,{node:k,data:_})}catch(B){console.error(B+`
|
|
113
113
|
onNodeClick: ${t.onNodeClick}`)}},O=(k,_)=>{if(t.onNodeDbClick&&i)try{i[t.onNodeDbClick](d,{node:k,data:_})}catch(B){console.error(B+`
|
|
114
114
|
onNodeDbClick: ${t.onNodeDbClick}`)}},H=(k,_,B)=>{if(t.onLoad&&i)try{i[t.onLoad](d,{node:k,resolve:_,reject:B})}catch(p){console.error(p+`
|
|
115
|
-
onLoad: ${t.onLoad}`)}},L=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const _=[t.data[0][t.nodeKey]];L.value=_},{immediate:!0});const v=A.useTemplateRef("treeRef"),m=()=>{var k;return(k=v.value)==null?void 0:k.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,elTreeRef:v,type:"tree"});if(t.name){const k=zo(t.name,F);A.onUnmounted(()=>{k()})}return e(F),(k,_)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(k.$attrs,{onNodeClick:N,load:H,ref_key:"treeRef",ref:v,class:["crm-tree",{"modal-tree":k.styleType==="modal"}],indent:32,"current-node-key":f.value,onCurrentChange:o,"node-key":k.nodeKey,props:t.props,data:k.data,"default-expanded-keys":L.value,"show-checkbox":k.showCheckbox}),{default:A.withCtx(({node:l,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":k.styleType==="modal"}])},[A.createElementVNode("div",D_,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[k.nodeKey]===f.value&&k.styleType==="modal"}]),title:l.label},A.toDisplayString(l.label),11,v_),g[k.nodeKey]===f.value?(A.openBlock(),A.createElementBlock("div",k_,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",__,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(k.btns,s=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:s.key},[A.unref(kt)(s.hidden,{$node:l,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(s.onClick||"",l,g),["stop"]),disabled:s.disabled,type:s.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:s.text,placement:"top"},{default:A.withCtx(()=>[s.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:s.icon.name,color:s.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-9367f111"]]),M_={title:"树",component:"Tree",render:wC,icon:A.h(fe,{name:"tree"}),type:"assist",order:7,attrSchema:b_},S_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},x_={title:"表格",component:"Table",icon:A.h(fe,{name:"library"}),type:"assist",order:8,attrSchema:S_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>VS))},N_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ax)),icon:A.h(fe,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},F_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>lx)),icon:A.h(fe,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},R_={class:"card-list-item"},L_={class:"card-list-item-header"},G_={class:"card-list-item-header-title"},P_={style:{display:"ruby"}},H_=["title"],K_=["title"],T_={key:0,class:"card-list-item-header-title__sub"},U_={class:"sub-title-right"},Y_={class:"card-list-item-header-btns"},O_=["onClick"],$_={key:0,class:"card-list-item-content"},z_=["title"],J_=["onClick","title"],Z_={key:1,class:"card-list-item-content--more"},W_=["title"],j_=["title"],q_={key:2,class:"card-list-item-footer"},X_={class:"card-list-item-footer-text"},bC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},f=A.ref(!1),o=b=>{b.isMore&&(f.value=!f.value)};return(b,D)=>{const I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",R_,[A.createElementVNode("div",L_,[A.createElementVNode("div",G_,[A.createElementVNode("div",P_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,x=>(A.openBlock(),A.createElementBlock("div",{key:x.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:x.color}),title:x.value},A.toDisplayString(x.value),13,H_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=x=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,K_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",T_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",U_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:x.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(x.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Y_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.condition===void 0||x.condition===null||A.unref(kt)(x.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>d(x.onClick)},[x.label?(A.openBlock(),A.createBlock(I,{key:0,class:"box-item",effect:"dark",content:x.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(ve,{name:x.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,name:x.icon},null,8,["name"]))],8,O_)):A.createCommentVNode("",!0)],64))),128))])]),b.data.content&&b.data.content.length>0?(A.openBlock(),A.createElementBlock("div",$_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,z_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":x.isMore}]),onClick:N=>o(x),title:x.value,style:A.normalizeStyle({color:x.color})},[A.createTextVNode(A.toDisplayString(x.value||"- -")+" ",1),x.isMore?(A.openBlock(),A.createBlock(ve,{key:0,class:A.normalizeClass({"rotate-[180deg]":f.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,J_)]))),128))])):A.createCommentVNode("",!0),f.value?(A.openBlock(),A.createElementBlock("div",Z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,W_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:x.value},A.toDisplayString(x.value||"- -"),9,j_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",q_,[A.createVNode(ve,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",X_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-13e7d3da"]]),V_={key:0,class:"empty-content"},og=oe(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),f=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(F,k,_)=>{try{f.value[F](d,k,_)}catch(B){console.error(B)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(F=>({condition:F.condition,icon:F.icon&&F.icon.name?F.icon.name:"icon-tishi",label:F.label,onClick:F.onClick})):[]),D=e.columns.find(F=>F.position==="title"),I=e.columns.find(F=>F.position==="subTitle"),x=e.columns.find(F=>F.position==="footer"),N={key:"__childList"},T=A.computed(()=>{const F=e.columns.filter(k=>k.type==="link");return e.data?e.data.map(k=>{var B;const _={subTitleRight:[],content:[],tag:[],originalData:k};if(D&&F&&F.find(p=>p.key===D.key)&&(_.titleType="link",_.onClick=(B=F.find(p=>p.key===D.key))==null?void 0:B.onClick),D&&(_.title=e.getColText(D,k),_.titleColor=k[D.key+"Color"]),I&&(_.subTitle=e.getColText(I,k),_.subTitleColor=k[I.key+"Color"]),x){const p=e.getColText(x,k);_.footer={icon:x.footerIcon||"icon-tishi",text:`${x.label}: ${p||"- -"}`}}return e.columns.forEach(p=>{p.position==="content"?_.content.push({label:p.label,value:e.getColText(p,k),color:p.color}):p.position==="moreContent"?(_.content.push({label:p.label,value:e.getColText(p,k),isMore:k[N.key]&&k[N.key].length>0}),_.childList=k[N.key]):p.position==="tag"?_.tag.push({label:p.label,value:e.getColText(p,k)}):p.position==="subTitleRight"&&_.subTitleRight.push({label:p.label,value:e.getColText(p,k),color:p.color})}),_}):[]});let O=null;const H=A.ref(),L=A.ref(3);let v=null;const m=F=>{v||(v=window.setTimeout(()=>{L.value=Math.floor(F/330)||1,v=null},100))};return A.onMounted(()=>{A.nextTick(()=>{if(!H.value)return;O=new ResizeObserver(k=>{for(const _ of k){const B=_.contentRect.width;m(B)}}),O.observe(H.value);const F=H.value.offsetWidth;F>0&&(L.value=Math.floor(F/330)||1)})}),A.onUnmounted(()=>{O&&(O.disconnect(),O=null),v&&(clearTimeout(v),v=null)}),(F,k)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:H,class:"card-list",style:A.normalizeStyle({"--columns":L.value,"--gap":F.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.value,(_,B)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-wrapper",key:B},[A.createVNode(bC,{data:_,btns:b.value,index:B,onClickBtn:p=>o(p,_.originalData,B)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!F.data||F.data.length===0?(A.openBlock(),A.createElementBlock("div",V_,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),k[0]||(k[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-978c0140"]]),A2={title:"卡片列表",component:"CardList",render:og,icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},e2={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Qx)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},t2={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>yx)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},n2={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xx)),icon:A.h(fe,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2={title:"可拖拽网格容器",icon:A.h(fe,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>q8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},o2={title:"气泡框",component:"Popover",render:kp,icon:A.h(fe,{name:"password"}),type:"layout",order:9},r2=["innerHTML"],a2=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,r2))}}),s2={title:"HTML",component:"HtmlRender",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:a2},l2={title:"分页",component:"Pagination",icon:A.h(fe,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>AM))},c2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,f=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{f.value=!1,A.nextTick(()=>{f.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,D)=>{var N;const I=A.resolveComponent("el-menu-item"),x=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&f.value?(A.openBlock(),A.createBlock(x,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,T=>(A.openBlock(),A.createBlock(I,{onClick:O=>o(T),key:T.id,index:T.id},{default:A.withCtx(()=>[T.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:T.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(T.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-388fb909"]]),g2={title:"Menu",component:"Menu",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:c2},d2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tM)),icon:A.h(fe,{name:"card"}),type:"layout",order:10},u2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Fx)),icon:A.h(fe,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},h2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(fe,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},p2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-2257060b"]]),icon:A.h(fe,{name:"card"}),type:"assist",order:10},C2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),f=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
|
|
116
|
-
onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const D=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(D,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(ve,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:f,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-981331fe"]]),B2={title:"字体图标",component:"IconInForm",icon:A.h(fe,{name:"icon"}),type:"assist",order:9,render:C2},m2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>uM)),icon:A.h(fe,{name:"card"}),type:"layout",order:12},E2=Object.freeze(Object.defineProperty({__proto__:null,Alert:gk,Button:w_,Card:dk,CardList:A2,Cascader:hk,Checkbox:mk,Collapse:o_,ColorInput:Ik,ColorPicker:Qk,CurdCard:N_,Custom:bk,DatePicker:Dk,Divider:kk,DragList:i2,Esign:Mk,FilterSearch:d2,FloatCurd:m2,FormList:Fk,Grid:Rk,HtmlRender:s2,IconInForm:B2,InfiniteScroll:u2,Inline:Lk,Input:ik,InputNumber:Pk,JsonEdit:Ck,LogList:n2,Menu:g2,NormalProgress:p2,ObjGroup:a_,OfferDetails:e2,OrderProgress:t2,Pagination:l2,Password:Tk,Popover:o2,Radio:xk,Rate:$k,SearchInput:m_,SearchSelect:Q_,Select:Yk,SelectInput:Jk,Slider:Zk,Switch:jk,Table:x_,Tabs:r_,Tag:qk,Text:Vk,TextArea:rk,Title:A_,Tooltip:h2,Transfer:h_,Tree:M_,Upload:t_,VerifyCode:i_,Wrapper:F_},Symbol.toStringTag,{value:"Module"})),Jo=()=>{const n=A.inject(Vn),e={...E2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Fn=()=>A.inject(Nu),Rn=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},Q2=A.defineComponent({__name:"Footer",setup(n){const e=Et(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const f=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(f,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(f,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),f2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,D=A.ref(),I=A.useModel(n,"modelValue"),x=A.useModel(n,"realValues"),N=(J,y,j)=>{j===void 0?I.value[J]=y:(x.value[J]=y,I.value[J]=j)},T=J=>x.value[J]!==void 0?x.value[J]:I.value[J],O=(J,y)=>{let j=S(L.value.items,J);j&&j.props&&(j.props.disabled=!y)},H=(J,y)=>{let j=S(L.value.items,J);j&&(j.hidden=!y)},L=A.useModel(n,"schema");if(L.value.onValuesChange){const J=A.ref(JSON.stringify(I.value));A.watch(()=>I.value,y=>{J.value=JSON.stringify(y)},{deep:!0}),A.watch(()=>J.value,(y,j)=>{const P=JSON.parse(y),q=JSON.parse(j),rA=Object.keys(P).filter(iA=>JSON.stringify(P[iA])!==JSON.stringify(q[iA]));if(!(!o.value||!L.value.onValuesChange))try{d[o.value][L.value.onValuesChange](f,rA,q,P)}catch(iA){console.error(iA)}})}const v=A.reactive({}),m=A.ref({}),F=A.ref(!1),k=Ai(),_=A.computed(()=>({...i.schemaContext,$values:I.value,$selectData:v,$locale:k.value})),B=IC();A.onMounted(async()=>{var j,P;if((j=i.schema)!=null&&j.initialValues){const q=(P=i.schema)==null?void 0:P.initialValues;E(q),I.value=ut.mergeWith(q,I.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const J=EC({content:[{type:"form",schema:L.value}]});if(await B.waitForKeys(J),!L.value||!L.value.onMounted||!o.value)return;const y=L.value.onMounted;try{d[o.value][y](f)}catch(q){console.error(q)}}),A.onActivated(()=>{if(!L.value||!L.value.onActivated||!o.value)return;const J=L.value.onActivated;try{d[o.value][J](f)}catch(y){console.error(y)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{var y;return(y=D.value)==null?void 0:y.validateField(J)},l=J=>{const y=S(L.value.items,J);if(!y||!y.children)return Promise.resolve();const j=q=>{const rA=[];for(const iA of q)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...j(iA.children));return rA},P=j(y.children);return P.length===0?Promise.resolve():u(P)},g=J=>{const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=P=>{P.forEach(q=>{y.includes(q.component)?q.props&&(q.props.disabled=J):q.children&&j(q.children)})};j(L.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",I.value)}).catch(y=>{b("failed",y)})},h=J=>{if(b("reset"),J){let y=ut.cloneDeep(I.value);J.forEach(j=>{y=ko(y,j,Ea(m.value,j))}),I.value=y}else I.value=ut.cloneDeep(A.toRaw(m.value))},C=(J,y=!0)=>{y?Object.assign(I.value,J):I.value=J},a=(J,y=!0)=>{y?Object.assign(x.value,J):x.value=J},r=(J,y)=>{v[J]=y},E=J=>{m.value={...J}},Q=()=>m.value,M=J=>{F.value=J},S=(J,y)=>{for(const j of J){if(j.name===y)return j;if(j.children&&j.children.length>0){const P=S(j.children,y);if(P)return P}}return null},K=J=>{console.log("refreshDynamicListBox",J);const y=S(L.value.items,J);!y||y.component!=="Select"||(y.props&&y.props.mode==="static"&&(Array.isArray(y.props.options)&&y.props.options.findIndex(P=>{var q;return P[((q=y.props)==null?void 0:q.valueKey)||"value"]===I.value[J]})!==-1||(I.value[J]=y.props.options[0][y.props.valueKey||"value"])),y.props&&(y.props.refreshFlag=!0))},z=J=>{var q;const y=J.target,j=Array.from(((q=y.parentElement)==null?void 0:q.classList)||[]),P=y.ariaLabel==="Page";if(j.includes("is-focus")&&!P&&L.value.onEnter&&o.value)try{d[o.value][L.value.onEnter](f)}catch(rA){console.error(rA)}},AA=J=>{var y;(y=D.value)==null||y.clearValidate(J)},eA=J=>{L.value.hidden=J},V=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:I,formRealValues:x,selectData:v,initialValues:m,context:_,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:l,resetFields:h,submit:s,setDisabled:g,findItemByName:S,setFieldEditSts:O,setFieldVisibleSts:H,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:K,setHidden:eA,clearValidate:AA,rootRef:V,type:"form"});return A.provide(xu,$),e($),(J,y)=>{const j=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:V,id:L.value.key,style:A.normalizeStyle(L.value.style)},[L.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(j,A.mergeProps({key:0,model:I.value,"label-position":L.value.labelPosition,size:L.value.size,"hide-required-asterisk":L.value.hideRequiredAsterisk,"scroll-to-error":L.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:y[0]||(y[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(rt),{list:L.value.items},null,8,["list"]),A.createVNode(Q2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,f2)}}}),I2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,D)=>b.order-D.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},w2=A.defineComponent({__name:"index",setup(n){var x;const e=A.ref(!1),t=Fn(),i=Jo(),d=Ai(),f=nc(),o=(x=t.templates)!=null&&x.length?t.templates:KE,b=A.computed(()=>I2({elements:i,omits:t.omitMenus||[],lang:f.value})),D=N=>{t.updateSchema(N)},I=N=>{const T={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-space"),L=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(O,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(L,{modelValue:e.value,"onUpdate:modelValue":T[1]||(T[1]=v=>e.value=v),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(H,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:v,schema:m})=>(A.openBlock(),A.createBlock(O,{key:v,onClick:F=>D(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:v,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:v,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(v),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:I},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(f)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),b2=n=>`<template>
|
|
115
|
+
onLoad: ${t.onLoad}`)}},L=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const _=[t.data[0][t.nodeKey]];L.value=_},{immediate:!0});const v=A.useTemplateRef("treeRef"),m=()=>{var k;return(k=v.value)==null?void 0:k.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,elTreeRef:v,type:"tree"});if(t.name){const k=zo(t.name,F);A.onUnmounted(()=>{k()})}return e(F),(k,_)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(k.$attrs,{onNodeClick:N,load:H,ref_key:"treeRef",ref:v,class:["crm-tree",{"modal-tree":k.styleType==="modal"}],indent:32,"current-node-key":f.value,onCurrentChange:o,"node-key":k.nodeKey,props:t.props,data:k.data,"default-expanded-keys":L.value,"show-checkbox":k.showCheckbox}),{default:A.withCtx(({node:l,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":k.styleType==="modal"}])},[A.createElementVNode("div",D_,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[k.nodeKey]===f.value&&k.styleType==="modal"}]),title:l.label},A.toDisplayString(l.label),11,v_),g[k.nodeKey]===f.value?(A.openBlock(),A.createElementBlock("div",k_,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",__,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(k.btns,s=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:s.key},[A.unref(kt)(s.hidden,{$node:l,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(s.onClick||"",l,g),["stop"]),disabled:s.disabled,type:s.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:s.text,placement:"top"},{default:A.withCtx(()=>[s.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:s.icon.name,color:s.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-e5d7c40d"]]),M_={title:"树",component:"Tree",render:wC,icon:A.h(fe,{name:"tree"}),type:"assist",order:7,attrSchema:b_},S_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},x_={title:"表格",component:"Table",icon:A.h(fe,{name:"library"}),type:"assist",order:8,attrSchema:S_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>XS))},N_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rx)),icon:A.h(fe,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},F_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(fe,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},R_={class:"card-list-item"},L_={class:"card-list-item-header"},G_={class:"card-list-item-header-title"},P_={style:{display:"ruby"}},H_=["title"],K_=["title"],T_={key:0,class:"card-list-item-header-title__sub"},U_={class:"sub-title-right"},Y_={class:"card-list-item-header-btns"},O_=["onClick"],$_={key:0,class:"card-list-item-content"},z_=["title"],J_=["onClick","title"],Z_={key:1,class:"card-list-item-content--more"},W_=["title"],j_=["title"],q_={key:2,class:"card-list-item-footer"},X_={class:"card-list-item-footer-text"},bC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(D){console.error(D)}},f=A.ref(!1),o=b=>{b.isMore&&(f.value=!f.value)};return(b,D)=>{const I=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",R_,[A.createElementVNode("div",L_,[A.createElementVNode("div",G_,[A.createElementVNode("div",P_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,x=>(A.openBlock(),A.createElementBlock("div",{key:x.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:x.color}),title:x.value},A.toDisplayString(x.value),13,H_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:D[0]||(D[0]=x=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,K_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",T_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",U_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:x.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(x.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Y_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.condition===void 0||x.condition===null||A.unref(kt)(x.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:T=>d(x.onClick)},[x.label?(A.openBlock(),A.createBlock(I,{key:0,class:"box-item",effect:"dark",content:x.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(ve,{name:x.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,name:x.icon},null,8,["name"]))],8,O_)):A.createCommentVNode("",!0)],64))),128))])]),b.data.content&&b.data.content.length>0?(A.openBlock(),A.createElementBlock("div",$_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,z_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":x.isMore}]),onClick:N=>o(x),title:x.value,style:A.normalizeStyle({color:x.color})},[A.createTextVNode(A.toDisplayString(x.value||"- -")+" ",1),x.isMore?(A.openBlock(),A.createBlock(ve,{key:0,class:A.normalizeClass({"rotate-[180deg]":f.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,J_)]))),128))])):A.createCommentVNode("",!0),f.value?(A.openBlock(),A.createElementBlock("div",Z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,W_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:x.value},A.toDisplayString(x.value||"- -"),9,j_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",q_,[A.createVNode(ve,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",X_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-e7e1e49b"]]),V_={key:0,class:"empty-content"},og=oe(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),f=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(F,k,_)=>{try{f.value[F](d,k,_)}catch(B){console.error(B)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(F=>({condition:F.condition,icon:F.icon&&F.icon.name?F.icon.name:"icon-tishi",label:F.label,onClick:F.onClick})):[]),D=e.columns.find(F=>F.position==="title"),I=e.columns.find(F=>F.position==="subTitle"),x=e.columns.find(F=>F.position==="footer"),N={key:"__childList"},T=A.computed(()=>{const F=e.columns.filter(k=>k.type==="link");return e.data?e.data.map(k=>{var B;const _={subTitleRight:[],content:[],tag:[],originalData:k};if(D&&F&&F.find(p=>p.key===D.key)&&(_.titleType="link",_.onClick=(B=F.find(p=>p.key===D.key))==null?void 0:B.onClick),D&&(_.title=e.getColText(D,k),_.titleColor=k[D.key+"Color"]),I&&(_.subTitle=e.getColText(I,k),_.subTitleColor=k[I.key+"Color"]),x){const p=e.getColText(x,k);_.footer={icon:x.footerIcon||"icon-tishi",text:`${x.label}: ${p||"- -"}`}}return e.columns.forEach(p=>{p.position==="content"?_.content.push({label:p.label,value:e.getColText(p,k),color:p.color}):p.position==="moreContent"?(_.content.push({label:p.label,value:e.getColText(p,k),isMore:k[N.key]&&k[N.key].length>0}),_.childList=k[N.key]):p.position==="tag"?_.tag.push({label:p.label,value:e.getColText(p,k)}):p.position==="subTitleRight"&&_.subTitleRight.push({label:p.label,value:e.getColText(p,k),color:p.color})}),_}):[]});let O=null;const H=A.ref(),L=A.ref(3);let v=null;const m=F=>{v||(v=window.setTimeout(()=>{L.value=Math.floor(F/330)||1,v=null},100))};return A.onMounted(()=>{A.nextTick(()=>{if(!H.value)return;O=new ResizeObserver(k=>{for(const _ of k){const B=_.contentRect.width;m(B)}}),O.observe(H.value);const F=H.value.offsetWidth;F>0&&(L.value=Math.floor(F/330)||1)})}),A.onUnmounted(()=>{O&&(O.disconnect(),O=null),v&&(clearTimeout(v),v=null)}),(F,k)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:H,class:"card-list",style:A.normalizeStyle({"--columns":L.value,"--gap":F.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.value,(_,B)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-wrapper",key:B},[A.createVNode(bC,{data:_,btns:b.value,index:B,onClickBtn:p=>o(p,_.originalData,B)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!F.data||F.data.length===0?(A.openBlock(),A.createElementBlock("div",V_,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),k[0]||(k[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-f9494342"]]),A2={title:"卡片列表",component:"CardList",render:og,icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},e2={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ex)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},t2={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>bx)),icon:A.h(fe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},n2={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Sx)),icon:A.h(fe,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2={title:"可拖拽网格容器",icon:A.h(fe,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>j8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},o2={title:"气泡框",component:"Popover",render:kp,icon:A.h(fe,{name:"password"}),type:"layout",order:9},r2=["innerHTML"],a2=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,r2))}}),s2={title:"HTML",component:"HtmlRender",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:a2},l2={title:"分页",component:"Pagination",icon:A.h(fe,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>V8))},c2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,f=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{f.value=!1,A.nextTick(()=>{f.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,D)=>{var N;const I=A.resolveComponent("el-menu-item"),x=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&f.value?(A.openBlock(),A.createBlock(x,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,T=>(A.openBlock(),A.createBlock(I,{onClick:O=>o(T),key:T.id,index:T.id},{default:A.withCtx(()=>[T.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:T.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(T.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-8c123147"]]),g2={title:"Menu",component:"Menu",icon:A.h(fe,{name:"button"}),type:"assist",order:19,render:c2},d2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>eM)),icon:A.h(fe,{name:"card"}),type:"layout",order:10},u2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Nx)),icon:A.h(fe,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},h2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(fe,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},p2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-197c3f99"]]),icon:A.h(fe,{name:"card"}),type:"assist",order:10},C2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),f=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
|
|
116
|
+
onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const D=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(D,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(ve,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:f,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-da487aa2"]]),B2={title:"字体图标",component:"IconInForm",icon:A.h(fe,{name:"icon"}),type:"assist",order:9,render:C2},m2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dM)),icon:A.h(fe,{name:"card"}),type:"layout",order:12},E2=Object.freeze(Object.defineProperty({__proto__:null,Alert:gk,Button:w_,Card:dk,CardList:A2,Cascader:hk,Checkbox:mk,Collapse:o_,ColorInput:Ik,ColorPicker:Qk,CurdCard:N_,Custom:bk,DatePicker:Dk,Divider:kk,DragList:i2,Esign:Mk,FilterSearch:d2,FloatCurd:m2,FormList:Fk,Grid:Rk,HtmlRender:s2,IconInForm:B2,InfiniteScroll:u2,Inline:Lk,Input:ik,InputNumber:Pk,JsonEdit:Ck,LogList:n2,Menu:g2,NormalProgress:p2,ObjGroup:a_,OfferDetails:e2,OrderProgress:t2,Pagination:l2,Password:Tk,Popover:o2,Radio:xk,Rate:$k,SearchInput:m_,SearchSelect:Q_,Select:Yk,SelectInput:Jk,Slider:Zk,Switch:jk,Table:x_,Tabs:r_,Tag:qk,Text:Vk,TextArea:rk,Title:A_,Tooltip:h2,Transfer:h_,Tree:M_,Upload:t_,VerifyCode:i_,Wrapper:F_},Symbol.toStringTag,{value:"Module"})),Jo=()=>{const n=A.inject(Vn),e={...E2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Fn=()=>A.inject(Nu),Rn=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},Q2=A.defineComponent({__name:"Footer",setup(n){const e=Et(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const f=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(f,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(f,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),f2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,D=A.ref(),I=A.useModel(n,"modelValue"),x=A.useModel(n,"realValues"),N=(J,y,j)=>{j===void 0?I.value[J]=y:(x.value[J]=y,I.value[J]=j)},T=J=>x.value[J]!==void 0?x.value[J]:I.value[J],O=(J,y)=>{let j=S(L.value.items,J);j&&j.props&&(j.props.disabled=!y)},H=(J,y)=>{let j=S(L.value.items,J);j&&(j.hidden=!y)},L=A.useModel(n,"schema");if(L.value.onValuesChange){const J=A.ref(JSON.stringify(I.value));A.watch(()=>I.value,y=>{J.value=JSON.stringify(y)},{deep:!0}),A.watch(()=>J.value,(y,j)=>{const P=JSON.parse(y),q=JSON.parse(j),rA=Object.keys(P).filter(iA=>JSON.stringify(P[iA])!==JSON.stringify(q[iA]));if(!(!o.value||!L.value.onValuesChange))try{d[o.value][L.value.onValuesChange](f,rA,q,P)}catch(iA){console.error(iA)}})}const v=A.reactive({}),m=A.ref({}),F=A.ref(!1),k=Ai(),_=A.computed(()=>({...i.schemaContext,$values:I.value,$selectData:v,$locale:k.value})),B=IC();A.onMounted(async()=>{var j,P;if((j=i.schema)!=null&&j.initialValues){const q=(P=i.schema)==null?void 0:P.initialValues;E(q),I.value=ut.mergeWith(q,I.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const J=EC({content:[{type:"form",schema:L.value}]});if(await B.waitForKeys(J),!L.value||!L.value.onMounted||!o.value)return;const y=L.value.onMounted;try{d[o.value][y](f)}catch(q){console.error(q)}}),A.onActivated(()=>{if(!L.value||!L.value.onActivated||!o.value)return;const J=L.value.onActivated;try{d[o.value][J](f)}catch(y){console.error(y)}});const p=()=>{var J;return(J=D.value)==null?void 0:J.validate()},u=J=>{var y;return(y=D.value)==null?void 0:y.validateField(J)},l=J=>{const y=S(L.value.items,J);if(!y||!y.children)return Promise.resolve();const j=q=>{const rA=[];for(const iA of q)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...j(iA.children));return rA},P=j(y.children);return P.length===0?Promise.resolve():u(P)},g=J=>{const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=P=>{P.forEach(q=>{y.includes(q.component)?q.props&&(q.props.disabled=J):q.children&&j(q.children)})};j(L.value.items)},s=()=>{var J;(J=p())==null||J.then(()=>{b("finish",I.value)}).catch(y=>{b("failed",y)})},h=J=>{if(b("reset"),J){let y=ut.cloneDeep(I.value);J.forEach(j=>{y=ko(y,j,Ea(m.value,j))}),I.value=y}else I.value=ut.cloneDeep(A.toRaw(m.value))},C=(J,y=!0)=>{y?Object.assign(I.value,J):I.value=J},a=(J,y=!0)=>{y?Object.assign(x.value,J):x.value=J},r=(J,y)=>{v[J]=y},E=J=>{m.value={...J}},Q=()=>m.value,M=J=>{F.value=J},S=(J,y)=>{for(const j of J){if(j.name===y)return j;if(j.children&&j.children.length>0){const P=S(j.children,y);if(P)return P}}return null},K=J=>{console.log("refreshDynamicListBox",J);const y=S(L.value.items,J);!y||y.component!=="Select"||(y.props&&y.props.mode==="static"&&(Array.isArray(y.props.options)&&y.props.options.findIndex(P=>{var q;return P[((q=y.props)==null?void 0:q.valueKey)||"value"]===I.value[J]})!==-1||(I.value[J]=y.props.options[0][y.props.valueKey||"value"])),y.props&&(y.props.refreshFlag=!0))},z=J=>{var q;const y=J.target,j=Array.from(((q=y.parentElement)==null?void 0:q.classList)||[]),P=y.ariaLabel==="Page";if(j.includes("is-focus")&&!P&&L.value.onEnter&&o.value)try{d[o.value][L.value.onEnter](f)}catch(rA){console.error(rA)}},AA=J=>{var y;(y=D.value)==null||y.clearValidate(J)},eA=J=>{L.value.hidden=J},V=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:I,formRealValues:x,selectData:v,initialValues:m,context:_,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:l,resetFields:h,submit:s,setDisabled:g,findItemByName:S,setFieldEditSts:O,setFieldVisibleSts:H,setFieldValue:N,getFieldValue:T,refreshDynamicListBox:K,setHidden:eA,clearValidate:AA,rootRef:V,type:"form"});return A.provide(xu,$),e($),(J,y)=>{const j=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:V,id:L.value.key,style:A.normalizeStyle(L.value.style)},[L.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(j,A.mergeProps({key:0,model:I.value,"label-position":L.value.labelPosition,size:L.value.size,"hide-required-asterisk":L.value.hideRequiredAsterisk,"scroll-to-error":L.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:D},J.$attrs,{onSubmit:y[0]||(y[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(rt),{list:L.value.items},null,8,["list"]),A.createVNode(Q2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,f2)}}}),I2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,D)=>b.order-D.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},w2=A.defineComponent({__name:"index",setup(n){var x;const e=A.ref(!1),t=Fn(),i=Jo(),d=Ai(),f=nc(),o=(x=t.templates)!=null&&x.length?t.templates:KE,b=A.computed(()=>I2({elements:i,omits:t.omitMenus||[],lang:f.value})),D=N=>{t.updateSchema(N)},I=N=>{const T={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(T.children=[]),T};return(N,T)=>{const O=A.resolveComponent("el-button"),H=A.resolveComponent("el-space"),L=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(O,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:T[0]||(T[0]=v=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(L,{modelValue:e.value,"onUpdate:modelValue":T[1]||(T[1]=v=>e.value=v),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(H,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:v,schema:m})=>(A.openBlock(),A.createBlock(O,{key:v,onClick:F=>D(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(v),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:v,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:v,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(v),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:I},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(f)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),b2=n=>`<template>
|
|
117
117
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
118
118
|
<el-button @click="handleSubmit">提交</el-button>
|
|
119
119
|
</template>
|
|
@@ -197,7 +197,7 @@ const handleSubmit = async () => {
|
|
|
197
197
|
]
|
|
198
198
|
}`,v2=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
199
199
|
|
|
200
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,k2=n=>`export default ${JSON.stringify(n,null,2)}`,_2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var I;const e=Fn(),t=Ai(),d=(I=Jo().JsonEdit)==null?void 0:I.render,f=A.computed({get(){return e.schema},set(x){x.items&&e.updateSchema(x)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),D=x=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),x.repair()};return(x,N)=>{const T=A.resolveComponent("el-tab-pane"),O=A.resolveComponent("el-tabs"),H=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(H,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=L=>b.value=L),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=L=>o.value={})},{default:A.withCtx(()=>[A.createVNode(O,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(T,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:f.value,"onUpdate:modelValue":N[0]||(N[0]=L=>f.value=L),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),A.createVNode(T,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(v2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(k2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(D2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),M2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=Ai(),i=A.useModel(n,"modelValue");return(d,f)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),D=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=I=>i.value=I),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(b2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(y2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),S2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),{JsonEdit:t}=Jo(),i=A.ref("edit"),d=A.ref(),f=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var I;return(I=d.value)==null?void 0:I.context}),D=Ai();return(I,x)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs"),O=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(O,{modelValue:o.value,"onUpdate:modelValue":x[4]||(x[4]=H=>o.value=H),title:A.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:x[5]||(x[5]=H=>f.value={})},{default:A.withCtx(()=>[A.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":x[3]||(x[3]=H=>i.value=H)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":x[0]||(x[0]=H=>f.value=H),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":x[1]||(x[1]=H=>f.value=H),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[x[6]||(x[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":x[2]||(x[2]=H=>b.value=H),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-a9d66bb1"]]),x2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),f=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(f,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),N2=A.defineComponent({__name:"index",setup(n){const e=Fn(),t=Ai(),i=A.ref(!1),d=A.ref(!1),f=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{f.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await St.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(D,I)=>{const x=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(x,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(x2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:T,icon:O,onClick:H})=>(A.openBlock(),A.createBlock(x,{key:N,type:T,size:"small",onClick:H},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[O?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:O},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(_2,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:d.value,"onUpdate:modelValue":I[1]||(I[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(S2,{modelValue:f.value,"onUpdate:modelValue":I[2]||(I[2]=N=>f.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),F2=A.defineComponent({__name:"index",setup(n){const e=Fn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(N2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),R2=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),L2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(R2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),G2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},P2={class:"config-linkages"},H2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",P2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(G2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),K2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(f,o)=>{const b=A.resolveComponent("el-divider"),D=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:I,onClick:x})=>(A.openBlock(),A.createBlock(D,{key:I,type:"primary",plain:"",size:"small",onClick:x},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(I),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(H2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=I=>t.value=I)},null,8,["modelValue"]),A.createVNode(L2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=I=>i.value=I)},null,8,["modelValue"])],2)}}}),T2={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},U2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Y2={class:"more"},O2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const f=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(f,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=D=>e.value=D),schema:A.unref(T2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",Y2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=D=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=D=>t.value=D),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=D=>e.value=D),schema:A.unref(U2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),$2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Jo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(I=[])=>I.map(x=>{const N=Ea(i.value,x.name),T=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...x,label:t.value==="zh"?x.label:x.name.split(".").pop(),component:T?"Input":x.component,dialog:T||x.dialog,children:x.children&&b(x.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),f=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(O2,{key:i.value.designKey,modelValue:f.value,"onUpdate:modelValue":b[1]||(b[1]=D=>f.value=D)},null,8,["modelValue"])),A.createVNode(K2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),z2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},J2=A.defineComponent({__name:"FormEdit",setup(n){const e=Fn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=f=>t.value=f),schema:A.unref(z2)},null,8,["modelValue","schema"]))}}),Z2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=Fn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const f=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(f,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode($2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(f,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(J2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),yC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),f=A.useModel(n,"modelValue"),o=A.computed({get(){return f.value.items},set(I){f.value.items=I}}),b=A.computed({get(){return tc(o.value,d.value)},set(I){d.value=I.designKey,o.value=Ru(o.value,I)}}),D=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:f,current:b,list:o,rightTab:"form",updateCurrent(I){D.current=I},updateHoverKey(I){D.hoverKey=I},updateSchema:I=>{Object.assign(f.value,I)},updateList:I=>{o.value=I},handleEmit:(I,x)=>{i(I,x)}});return A.provide(Nu,D),(I,x)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},I.$attrs),[A.createVNode(w2),A.createVNode(F2),A.createVNode(Z2)],16))}}),W2={class:"card-header"},j2={class:"card-btns"},q2={key:0,class:"switch-panel"},X2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,f)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",W2,[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:f[0]||(f[0]=D=>t.value=!t.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",j2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",q2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:f[1]||(f[1]=D=>d.switchTableType("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:f[2]||(f[2]=D=>d.switchTableType("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(Nn),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-1b7f90e6"]]),V2={class:"custom-slot"},A8={class:"empty-content"},e8=["title"],t8=["title","onClick"],n8={key:1,class:"icon-text-wrapper"},i8=["title"],o8=["title"],r8={class:"row-btn-wrapper"},DC=oe(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,f)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),D=A.resolveComponent("el-popover"),I=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"slot,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[0]||(f[0]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[1]||(f[1]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{default:A.withCtx(()=>[A.createElementVNode("div",V2,A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",A8,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),f[4]||(f[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var T;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.key},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1,sortable:O.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:O.label},A.toDisplayString(O.label),9,e8)]),default:A.withCtx(({row:H,$index:L})=>[A.createVNode(D,{disabled:O.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var v,m,F,k;return[O.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:d.getColText(O,H),onClick:_=>d.handleClick(O,H,L,_)},A.toDisplayString(d.getColText(O,H)),11,t8)):O.type==="iconText"?(A.openBlock(),A.createElementBlock("div",n8,[O.iconPosition==="left"?(A.openBlock(),A.createBlock(ve,{key:0,name:(v=d.getIconInfo(O,H))==null?void 0:v.name,color:(m=d.getIconInfo(O,H))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),9,i8),O.iconPosition==="right"?(A.openBlock(),A.createBlock(ve,{key:1,name:(F=d.getIconInfo(O,H))==null?void 0:F.name,color:(k=d.getIconInfo(O,H))==null?void 0:k.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!O.noEllipsis}),title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),11,o8))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(O,H)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((T=d.schema.rowBtns)!=null&&T.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:O,$index:H})=>[A.createElementVNode("div",r8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,L=>{var v;return A.openBlock(),A.createElementBlock(A.Fragment,{key:L.key},[L.component==="Popover"?(A.openBlock(),A.createBlock(D,A.mergeProps({key:0,trigger:((v=L.popoverProps)==null?void 0:v.trigger)||"hover",ref_for:!0},L.popoverProps),{reference:A.withCtx(()=>[L.condition===void 0||L.condition===null||A.unref(kt)(L.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:L.disabled,link:!L.isPlainBtn,size:"small",type:L.type,onClick:m=>d.handleClick(L,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:L.label,placement:"top"},{default:A.withCtx(()=>[L.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:L.icon.name,color:L.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),L.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:L.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(L.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[L.condition===void 0||L.condition===null||A.unref(kt)(L.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:L.disabled,link:!L.isPlainBtn,size:"small",type:L.type,onClick:m=>d.handleClick(L,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:L.label,placement:"top"},{default:A.withCtx(()=>[L.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:L.icon.name,color:L.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),L.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:L.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(L.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[2]||(f[2]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[3]||(f[3]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-97159cb0"]]),a8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&f[i.value.rulePath]?i.value.rulePath:t.pageRulePath),f=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),D=A.inject(Vn),I=D?D.translateFn:null;d.value&&A.provide("ruleModule",f[d.value]);const x=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),T=(U,W)=>{const tA=i.value.columns.find(aA=>aA.key===U);tA&&(tA.hidden=!W)},O=(U,W,tA,aA)=>{if(d.value)try{f[d.value][U.onClick](o,W,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},H=U=>{if(!(!i.value.rowClick||!d.value))try{f[d.value][i.value.rowClick](o,U)}catch(W){console.error(W)}},L=U=>{if(!(!i.value.rowDbClick||!d.value))try{f[d.value][i.value.rowDbClick](o,U)}catch(W){console.error(W)}},v=A.ref([]),m=U=>{v.value=U},F=(U,W)=>{if(!i.value.selectable||!d.value)return!0;try{return f[d.value][i.value.selectable](o,U,W)}catch(tA){console.error(tA)}return!0},k=(U,W,tA)=>{N.value[U]&&(N.value[U][W]=tA)},_=()=>{var U,W;(W=(U=x.value)==null?void 0:U.tableRef)==null||W.clearSelection()},B=(U,W)=>{var aA,CA,SA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===U);tA&&(W===void 0?(CA=(aA=x.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(SA=x.value)==null?void 0:SA.tableRef)==null||zA.toggleRowSelection(tA,W))},p=()=>N.value,u=A.ref(),l=U=>{if(u.value=U,!(!i.value.handleCurrentChange||!d.value))try{f[d.value][i.value.handleCurrentChange](o,U)}catch(W){console.error(W)}},g=()=>u.value,s=()=>{var U,W;return(W=(U=x.value)==null?void 0:U.tableRef)==null?void 0:W.getSelectionRows()},h=(U={})=>{N.value.push(U)},C=U=>{U>=0&&U<N.value.length&&N.value.splice(U,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=U=>{N.value=U||[]},Q=(U,W)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.hidden=W)},M=(U,W)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.condition=!W)},S=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(U=>{var W;return(W=i.value.rowBtns)==null?void 0:W.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:U,$globalParams:b()}))})),K=A.ref(0),z=U=>{K.value=U},AA=()=>K.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),V=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),$=()=>eA.value,J=U=>{let W=!1;return U.pageNum!==void 0&&U.pageNum>-1&&(eA.value.pageNum!==U.pageNum&&(W=!0),eA.value.pageNum=U.pageNum),U.pageSize!==void 0&&U.pageSize>-1&&(eA.value.pageSize!==U.pageSize&&(W=!0),eA.value.pageSize=U.pageSize),{pagination:eA.value,isChange:W}},y=async U=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=U,!i.value.sizeChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=St.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.sizeChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},j=async U=>{var aA;if(eA.value.pageNum=U,!i.value.pageChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=St.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.pageChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},P=U=>{var W,tA;(tA=(W=x.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(U)},q=U=>{var W,tA;(tA=(W=x.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(N.value[U])},rA=(U,W,tA)=>{i.value.columns.forEach(aA=>{aA.key===U&&aA[W]&&(aA[W]=tA)})},iA=U=>{i.value.displayType=U},dA=U=>{i.value.shadowless=U},mA=(U,W)=>{const tA=I?I(U,W):W[U.key];if(!kt(U.encrypted,{$row:W,$col:U})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(U,W)=>{if(!(!U.getIconInfo||!d.value))try{return f[d.value][U.getIconInfo](o,W,U)}catch(tA){console.error(tA)}},wA=(U,W)=>{if(!(!U.getColPopoverContent||!d.value))try{return f[d.value][U.getColPopoverContent](o,W,U)}catch(tA){console.error(tA)}},X=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const lA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const U=i.value.onMounted;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onMounted(async()=>{await lA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const U=i.value.onActivated;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:_,getData:p,getCurrentRow:g,selectedRows:v,getSelectedRows:s,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:P,selectRowNum:q,setTotal:z,getTotal:AA,getPagination:$,setPagination:J,setTopBtnHidden:Q,setColVisible:T,setColumn:rA,setRowsBtnHidden:M,setShadowless:dA,rootRef:X,mounted:lA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(U,W)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:X,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(DC,{key:1,ref_key:"tableContentRef",ref:x,tableData:N.value,total:K.value,hasVisibleRowBtn:S.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:L,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[1]||(W[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(X2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(DC,{ref_key:"tableContentRef",ref:x,tableData:N.value,total:K.value,hasVisibleRowBtn:S.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:L,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[0]||(W[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,a8))}}),s8=["id"],l8={class:"right-icon-wrapper"},c8={class:"dynamic-icon-wrapper"},g8={class:"static-icon-wrapper"},d8={class:"tab-label"},u8={class:"tab-label-text"},h8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),f=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},D=n,I=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===T.value||u.url===T.value))==null?void 0:p.mixMode}),x=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},T=A.ref(i.value.content[0].key||i.value.content[0].url),O=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},H=A.useTemplateRef("rootRef"),L=p=>o.value[p],v=(p,u)=>{u&&f("addPageParams",u),A.nextTick(()=>{T.value=p,_(p)})},m=(p,u)=>{const l=i.value.content.find(g=>g.url===p);l&&(l.mixMode=u)},F=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&D.ruleMap[i.value.rulePath]?i.value.rulePath:D.pageRulePath);k.value&&A.provide("ruleModule",D.ruleMap[k.value]);const _=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&D.ruleMap[k.value][u](F,p)}catch{}},B=(p,u)=>{const l=i.value.content.find(g=>g.key===p);l&&(l.hidden=u)};return e(A.readonly({setTabContent:x,addTabContent:N,schema:i,rootRef:H,findRef:L,changeActiveTab:v,setTabHidden:B,activeTab:T,type:"tabs"})),(p,u)=>{var h,C,a;const l=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),s=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:H,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(s,A.mergeProps({key:0},i.value.tabProps,{modelValue:T.value,"onUpdate:modelValue":u[1]||(u[1]=r=>T.value=r),class:["crm-tabs",{mixmode:I.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||D.styleType==="btn","form-item-tabs":!D.styleType||D.styleType==="normal","modal-type":D.styleType==="modal"}],style:{"--top":((h=i.value)==null?void 0:h.stickyTop)!==void 0?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:_}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",l8,[A.createElementVNode("div",c8,[A.createVNode(A.unref(Nn),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",g8,[A.createVNode(A.unref(Nn),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",d8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",u8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>f("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,parentPageFun:A.unref(F),ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>O(E),onChangeTab:v,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(l,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","parentPageFun","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,s8)}}}),[["__scopeId","data-v-fc39d88b"]]),p8=["id"],C8={class:"info-card-header"},B8={class:"left-part"},m8={class:"title-part"},E8={class:"sub-title-container"},Q8={class:"right-part"},f8={class:"info info-card-infos"},I8={key:0,class:"info-label"},w8={class:"ml-2"},b8={key:0,class:"info-card-detail"},y8={class:"info-card-detail-left"},D8={class:"label"},v8={key:0,class:"divider"},k8={key:0,class:"info-card-detail-right"},_8={key:0},M8={key:1,class:"detail-right-label"},S8={key:2,class:"detail-right-value"},x8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,f=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",f.value);const o=A.inject("pageMethodMap",{}),b=N=>{const T=document.createElement("textarea");T.value=N??"",T.style.position="absolute",T.style.opacity="0",document.body.appendChild(T),T.select(),document.execCommand("copy"),T.remove()},D=async()=>{try{f.value.handleCopy?await f.value.handleCopy(o,t.value.header.subTitle):await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}St.ElMessage.success("Copy Successful")},I=N=>{var T;if(f.value[N||"clickTitleIcon"])try{f.value[N||"clickTitleIcon"](o,(T=t.value.header)==null?void 0:T.titleIcon)}catch(O){console.error(O+`
|
|
200
|
+
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,k2=n=>`export default ${JSON.stringify(n,null,2)}`,_2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var I;const e=Fn(),t=Ai(),d=(I=Jo().JsonEdit)==null?void 0:I.render,f=A.computed({get(){return e.schema},set(x){x.items&&e.updateSchema(x)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),D=x=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),x.repair()};return(x,N)=>{const T=A.resolveComponent("el-tab-pane"),O=A.resolveComponent("el-tabs"),H=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(H,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=L=>b.value=L),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=L=>o.value={})},{default:A.withCtx(()=>[A.createVNode(O,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(T,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:f.value,"onUpdate:modelValue":N[0]||(N[0]=L=>f.value=L),style:{height:"70vh"},onBlur:D},null,8,["modelValue"])]),_:1}),A.createVNode(T,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(v2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(k2)(f.value)},null,8,["code"])]),_:1}),A.createVNode(T,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(D2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),M2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=Ai(),i=A.useModel(n,"modelValue");return(d,f)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),D=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(D,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=I=>i.value=I),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(b2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(y2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),S2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),{JsonEdit:t}=Jo(),i=A.ref("edit"),d=A.ref(),f=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var I;return(I=d.value)==null?void 0:I.context}),D=Ai();return(I,x)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs"),O=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(O,{modelValue:o.value,"onUpdate:modelValue":x[4]||(x[4]=H=>o.value=H),title:A.unref(D).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:x[5]||(x[5]=H=>f.value={})},{default:A.withCtx(()=>[A.createVNode(T,{modelValue:i.value,"onUpdate:modelValue":x[3]||(x[3]=H=>i.value=H)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":x[0]||(x[0]=H=>f.value=H),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:f.value,"onUpdate:modelValue":x[1]||(x[1]=H=>f.value=H),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[x[6]||(x[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":x[2]||(x[2]=H=>b.value=H),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4e20ef5c"]]),x2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),f=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(f,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),N2=A.defineComponent({__name:"index",setup(n){const e=Fn(),t=Ai(),i=A.ref(!1),d=A.ref(!1),f=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{f.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await St.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(D,I)=>{const x=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(x,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(x2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:T,icon:O,onClick:H})=>(A.openBlock(),A.createBlock(x,{key:N,type:T,size:"small",onClick:H},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[O?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:O},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(_2,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:d.value,"onUpdate:modelValue":I[1]||(I[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(S2,{modelValue:f.value,"onUpdate:modelValue":I[2]||(I[2]=N=>f.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),F2=A.defineComponent({__name:"index",setup(n){const e=Fn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(N2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),R2=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),L2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(R2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),G2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},P2={class:"config-linkages"},H2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Fn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const f=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(f,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",P2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(G2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),K2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(f,o)=>{const b=A.resolveComponent("el-divider"),D=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:I,onClick:x})=>(A.openBlock(),A.createBlock(D,{key:I,type:"primary",plain:"",size:"small",onClick:x},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(I),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(H2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=I=>t.value=I)},null,8,["modelValue"]),A.createVNode(L2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=I=>i.value=I)},null,8,["modelValue"])],2)}}}),T2={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},U2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Y2={class:"more"},O2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const f=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(f,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=D=>e.value=D),schema:A.unref(T2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",Y2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=D=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=D=>t.value=D),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=D=>e.value=D),schema:A.unref(U2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),$2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Jo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(I=[])=>I.map(x=>{const N=Ea(i.value,x.name),T=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...x,label:t.value==="zh"?x.label:x.name.split(".").pop(),component:T?"Input":x.component,dialog:T||x.dialog,children:x.children&&b(x.children)}}),D=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...D]}}return{size:"small",labelPosition:"top",items:[]}}),f=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=D=>i.value=D),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(O2,{key:i.value.designKey,modelValue:f.value,"onUpdate:modelValue":b[1]||(b[1]=D=>f.value=D)},null,8,["modelValue"])),A.createVNode(K2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=D=>i.value=D)},null,8,["modelValue"])],2))}}),z2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},J2=A.defineComponent({__name:"FormEdit",setup(n){const e=Fn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=f=>t.value=f),schema:A.unref(z2)},null,8,["modelValue","schema"]))}}),Z2=A.defineComponent({__name:"index",setup(n){const e=Ai(),t=Fn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const f=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(f,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode($2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(f,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(J2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),yC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),f=A.useModel(n,"modelValue"),o=A.computed({get(){return f.value.items},set(I){f.value.items=I}}),b=A.computed({get(){return tc(o.value,d.value)},set(I){d.value=I.designKey,o.value=Ru(o.value,I)}}),D=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:f,current:b,list:o,rightTab:"form",updateCurrent(I){D.current=I},updateHoverKey(I){D.hoverKey=I},updateSchema:I=>{Object.assign(f.value,I)},updateList:I=>{o.value=I},handleEmit:(I,x)=>{i(I,x)}});return A.provide(Nu,D),(I,x)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},I.$attrs),[A.createVNode(w2),A.createVNode(F2),A.createVNode(Z2)],16))}}),W2={class:"card-btns"},j2={key:0,class:"switch-panel"},q2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,f)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{"is-collapsible":d.collapsible}])},[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:f[0]||(f[0]=D=>t.value=!t.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",W2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",j2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:f[1]||(f[1]=D=>d.switchTableType("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:f[2]||(f[2]=D=>d.switchTableType("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(Nn),{btns:i.value||[]},null,8,["btns"])])])],2)]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-e0d6a408"]]),X2={class:"custom-slot"},V2={class:"empty-content"},A8=["title"],e8=["title","onClick"],t8={key:1,class:"icon-text-wrapper"},n8=["title"],i8=["title"],o8={class:"row-btn-wrapper"},DC=oe(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,f)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),D=A.resolveComponent("el-popover"),I=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"slot,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[0]||(f[0]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[1]||(f[1]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{default:A.withCtx(()=>[A.createElementVNode("div",X2,A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",V2,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),f[4]||(f[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var T;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,O=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:O.key},[O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1,sortable:O.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:O.label},A.toDisplayString(O.label),9,A8)]),default:A.withCtx(({row:H,$index:L})=>[A.createVNode(D,{disabled:O.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var v,m,F,k;return[O.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":O.onClick}]),title:d.getColText(O,H),onClick:_=>d.handleClick(O,H,L,_)},A.toDisplayString(d.getColText(O,H)),11,e8)):O.type==="iconText"?(A.openBlock(),A.createElementBlock("div",t8,[O.iconPosition==="left"?(A.openBlock(),A.createBlock(ve,{key:0,name:(v=d.getIconInfo(O,H))==null?void 0:v.name,color:(m=d.getIconInfo(O,H))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),9,n8),O.iconPosition==="right"?(A.openBlock(),A.createBlock(ve,{key:1,name:(F=d.getIconInfo(O,H))==null?void 0:F.name,color:(k=d.getIconInfo(O,H))==null?void 0:k.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!O.noEllipsis}),title:d.getColText(O,H)},A.toDisplayString(d.getColText(O,H)),11,i8))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(O,H)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((T=d.schema.rowBtns)!=null&&T.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:O,$index:H})=>[A.createElementVNode("div",o8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,L=>{var v;return A.openBlock(),A.createElementBlock(A.Fragment,{key:L.key},[L.component==="Popover"?(A.openBlock(),A.createBlock(D,A.mergeProps({key:0,trigger:((v=L.popoverProps)==null?void 0:v.trigger)||"hover",ref_for:!0},L.popoverProps),{reference:A.withCtx(()=>[L.condition===void 0||L.condition===null||A.unref(kt)(L.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:L.disabled,link:!L.isPlainBtn,size:"small",type:L.type,onClick:m=>d.handleClick(L,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:L.label,placement:"top"},{default:A.withCtx(()=>[L.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:L.icon.name,color:L.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),L.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:L.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(L.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[L.condition===void 0||L.condition===null||A.unref(kt)(L.condition,{$row:O,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:L.disabled,link:!L.isPlainBtn,size:"small",type:L.type,onClick:m=>d.handleClick(L,O,H,m)},{default:A.withCtx(()=>[A.createVNode(I,{class:"box-item",effect:"dark",content:L.label,placement:"top"},{default:A.withCtx(()=>[L.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:L.icon.name,color:L.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),L.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:L.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(L.buttonText.text,{$row:O,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":f[2]||(f[2]=T=>t.value.pageNum=T),"page-size":t.value.pageSize,"onUpdate:pageSize":f[3]||(f[3]=T=>t.value.pageSize=T),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-d5f45cfc"]]),r8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&f[i.value.rulePath]?i.value.rulePath:t.pageRulePath),f=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),D=A.inject(Vn),I=D?D.translateFn:null;d.value&&A.provide("ruleModule",f[d.value]);const x=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),T=(U,W)=>{const tA=i.value.columns.find(aA=>aA.key===U);tA&&(tA.hidden=!W)},O=(U,W,tA,aA)=>{if(d.value)try{f[d.value][U.onClick](o,W,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},H=U=>{if(!(!i.value.rowClick||!d.value))try{f[d.value][i.value.rowClick](o,U)}catch(W){console.error(W)}},L=U=>{if(!(!i.value.rowDbClick||!d.value))try{f[d.value][i.value.rowDbClick](o,U)}catch(W){console.error(W)}},v=A.ref([]),m=U=>{v.value=U},F=(U,W)=>{if(!i.value.selectable||!d.value)return!0;try{return f[d.value][i.value.selectable](o,U,W)}catch(tA){console.error(tA)}return!0},k=(U,W,tA)=>{N.value[U]&&(N.value[U][W]=tA)},_=()=>{var U,W;(W=(U=x.value)==null?void 0:U.tableRef)==null||W.clearSelection()},B=(U,W)=>{var aA,CA,SA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===U);tA&&(W===void 0?(CA=(aA=x.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(SA=x.value)==null?void 0:SA.tableRef)==null||zA.toggleRowSelection(tA,W))},p=()=>N.value,u=A.ref(),l=U=>{if(u.value=U,!(!i.value.handleCurrentChange||!d.value))try{f[d.value][i.value.handleCurrentChange](o,U)}catch(W){console.error(W)}},g=()=>u.value,s=()=>{var U,W;return(W=(U=x.value)==null?void 0:U.tableRef)==null?void 0:W.getSelectionRows()},h=(U={})=>{N.value.push(U)},C=U=>{U>=0&&U<N.value.length&&N.value.splice(U,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=U=>{N.value=U||[]},Q=(U,W)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.hidden=W)},M=(U,W)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===U);tA&&(tA.condition=!W)},S=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(U=>{var W;return(W=i.value.rowBtns)==null?void 0:W.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:U,$globalParams:b()}))})),K=A.ref(0),z=U=>{K.value=U},AA=()=>K.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),V=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||10}),$=()=>eA.value,J=U=>{let W=!1;return U.pageNum!==void 0&&U.pageNum>-1&&(eA.value.pageNum!==U.pageNum&&(W=!0),eA.value.pageNum=U.pageNum),U.pageSize!==void 0&&U.pageSize>-1&&(eA.value.pageSize!==U.pageSize&&(W=!0),eA.value.pageSize=U.pageSize),{pagination:eA.value,isChange:W}},y=async U=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=U,!i.value.sizeChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=St.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.sizeChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},j=async U=>{var aA;if(eA.value.pageNum=U,!i.value.pageChange||!d.value)return;const W=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=St.ElLoading.service({target:W||`#${i.value.key}`,text:"Loading..."});try{await f[d.value][i.value.pageChange](o,eA.value),V.value.pageNum=eA.value.pageNum,V.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=V.value.pageNum,eA.value.pageSize=V.value.pageSize}finally{tA.close()}},P=U=>{var W,tA;(tA=(W=x.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(U)},q=U=>{var W,tA;(tA=(W=x.value)==null?void 0:W.tableRef)==null||tA.setCurrentRow(N.value[U])},rA=(U,W,tA)=>{i.value.columns.forEach(aA=>{aA.key===U&&aA[W]&&(aA[W]=tA)})},iA=U=>{i.value.displayType=U},dA=U=>{i.value.shadowless=U},mA=(U,W)=>{const tA=I?I(U,W):W[U.key];if(!kt(U.encrypted,{$row:W,$col:U})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(U,W)=>{if(!(!U.getIconInfo||!d.value))try{return f[d.value][U.getIconInfo](o,W,U)}catch(tA){console.error(tA)}},wA=(U,W)=>{if(!(!U.getColPopoverContent||!d.value))try{return f[d.value][U.getColPopoverContent](o,W,U)}catch(tA){console.error(tA)}},X=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const lA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const U=i.value.onMounted;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onMounted(async()=>{await lA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const U=i.value.onActivated;try{f[d.value][U](o)}catch(W){console.error(W)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:_,getData:p,getCurrentRow:g,selectedRows:v,getSelectedRows:s,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:P,selectRowNum:q,setTotal:z,getTotal:AA,getPagination:$,setPagination:J,setTopBtnHidden:Q,setColVisible:T,setColumn:rA,setRowsBtnHidden:M,setShadowless:dA,rootRef:X,mounted:lA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(U,W)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:X,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(DC,{key:1,ref_key:"tableContentRef",ref:x,tableData:N.value,total:K.value,hasVisibleRowBtn:S.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:L,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[1]||(W[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(q2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(DC,{ref_key:"tableContentRef",ref:x,tableData:N.value,total:K.value,hasVisibleRowBtn:S.value,handleSizeChange:y,handlePageChange:j,handleRowClick:H,handleRowDblclick:L,handleSelectionChange:m,handleCurrentChange:l,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:O,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":W[0]||(W[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,r8))}}),a8=["id"],s8={class:"right-icon-wrapper"},l8={class:"dynamic-icon-wrapper"},c8={class:"static-icon-wrapper"},g8={class:"tab-label"},d8={class:"tab-label-text"},u8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),f=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},D=n,I=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===T.value||u.url===T.value))==null?void 0:p.mixMode}),x=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},T=A.ref(i.value.content[0].key||i.value.content[0].url),O=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},H=A.useTemplateRef("rootRef"),L=p=>o.value[p],v=(p,u)=>{u&&f("addPageParams",u),A.nextTick(()=>{T.value=p,_(p)})},m=(p,u)=>{const l=i.value.content.find(g=>g.url===p);l&&(l.mixMode=u)},F=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&D.ruleMap[i.value.rulePath]?i.value.rulePath:D.pageRulePath);k.value&&A.provide("ruleModule",D.ruleMap[k.value]);const _=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&D.ruleMap[k.value][u](F,p)}catch{}},B=(p,u)=>{const l=i.value.content.find(g=>g.key===p);l&&(l.hidden=u)};return e(A.readonly({setTabContent:x,addTabContent:N,schema:i,rootRef:H,findRef:L,changeActiveTab:v,setTabHidden:B,activeTab:T,type:"tabs"})),(p,u)=>{var h,C,a;const l=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),s=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:H,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(s,A.mergeProps({key:0},i.value.tabProps,{modelValue:T.value,"onUpdate:modelValue":u[1]||(u[1]=r=>T.value=r),class:["crm-tabs",{mixmode:I.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||D.styleType==="btn","form-item-tabs":!D.styleType||D.styleType==="normal","modal-type":D.styleType==="modal"}],style:{"--top":((h=i.value)==null?void 0:h.stickyTop)!==void 0?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:_}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",s8,[A.createElementVNode("div",l8,[A.createVNode(A.unref(Nn),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",c8,[A.createVNode(A.unref(Nn),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",g8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",d8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>f("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,parentPageFun:A.unref(F),ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>O(E),onChangeTab:v,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(l,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","parentPageFun","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,a8)}}}),[["__scopeId","data-v-ccc3d753"]]),h8=["id"],p8={class:"info-card-header"},C8={class:"left-part"},B8={class:"title-part"},m8={class:"sub-title-container"},E8={class:"right-part"},Q8={class:"info info-card-infos"},f8={key:0,class:"info-label"},I8={class:"ml-2"},w8={key:0,class:"info-card-detail"},b8={class:"info-card-detail-left"},y8={class:"label"},D8={key:0,class:"divider"},v8={key:0,class:"info-card-detail-right"},k8={key:0},_8={key:1,class:"detail-right-label"},M8={key:2,class:"detail-right-value"},S8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,f=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",f.value);const o=A.inject("pageMethodMap",{}),b=N=>{const T=document.createElement("textarea");T.value=N??"",T.style.position="absolute",T.style.opacity="0",document.body.appendChild(T),T.select(),document.execCommand("copy"),T.remove()},D=async()=>{try{f.value.handleCopy?await f.value.handleCopy(o,t.value.header.subTitle):await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}St.ElMessage.success("Copy Successful")},I=N=>{var T;if(f.value[N||"clickTitleIcon"])try{f.value[N||"clickTitleIcon"](o,(T=t.value.header)==null?void 0:T.titleIcon)}catch(O){console.error(O+`
|
|
201
201
|
|
|
202
202
|
rulePath: ${t.value.rulePath}
|
|
203
203
|
|
|
@@ -222,9 +222,9 @@ mountedFuncName: ${N}
|
|
|
222
222
|
rulePath: ${t.value.rulePath}
|
|
223
223
|
|
|
224
224
|
mountedFuncName: ${N}
|
|
225
|
-
`)}}),e({type:"infocard",schema:t}),(N,T)=>{const O=A.resolveComponent("el-popover"),H=A.resolveComponent("el-tooltip"),L=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(L,{class:"info-card",always:""},{default:A.withCtx(()=>{var v,m,F,k,_,B,p,u,l,g,s;return[A.createElementVNode("div",
|
|
226
|
-
funcName: ${T}`)}},I=A.inject(Vn),x=()=>{I&&I.navigateFn&&I.navigateFn(-1)},N=T=>{const O=o.findRef(T);if(O&&O.rootRef)O.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const H=document.getElementById(T);H&&H.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(T,O)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{traditionMode:t.value.traditionMode,mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky,"expand-bottom":t.value.expandBottom}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[A.createElementVNode("div",
|
|
227
|
-
onMoved: ${t.onMoved}`)}};if(e(D),t.name){const T=zo(t.name,D);A.onUnmounted(()=>{T()})}return(T,O)=>(A.openBlock(),A.createBlock(A.unref(q1),{layout:i.value,"onUpdate:layout":O[1]||(O[1]=H=>i.value=H),"col-num":T.colNum||12,"row-height":T.rowHeight||30,"max-rows":T.maxRows,margin:[8,8],"is-draggable":T.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:T.children,gridData:i.value,"onUpdate:gridData":O[0]||(O[0]=H=>i.value=H),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-f58dab66"]])},Symbol.toStringTag,{value:"Module"})),X8={class:"custom-slot"},V8={key:0,class:"select-all-wrapper"},AM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{},mode:{},showSelectAll:{type:Boolean},selectAllChange:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=Rn(),f=A.ref(0),o=H=>{f.value=H},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,I=async H=>{if(b.value.pageNum=1,b.value.pageSize=H,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(L){console.error(L)}},x=async H=>{if(b.value.pageNum=H,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(L){console.error(L)}},N=A.ref(!1),T=H=>{try{i[t.selectAllChange](d,H)}catch(L){console.error(L)}},O=A.readonly({getPagination:D,setTotal:o,selectAll:N,type:"pagination"});if(t.name){const H=zo(t.name,O);A.onUnmounted(()=>{H()})}return e(O),(H,L)=>{const v=A.resolveComponent("el-checkbox"),m=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(H.style)},[H.mode==="top"?(A.openBlock(),A.createBlock(m,{key:0,layout:H.paginationLayout||"slot,sizes, prev, pager, next",total:f.value,"page-sizes":H.pageSizes||[5,6,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":L[2]||(L[2]=F=>b.value.pageNum=F),"page-size":b.value.pageSize,"onUpdate:pageSize":L[3]||(L[3]=F=>b.value.pageSize=F),"pager-count":Number(H.pagerCount)||5,onSizeChange:I,onCurrentChange:x},{default:A.withCtx(()=>[A.createElementVNode("div",X8,[H.showSelectAll?(A.openBlock(),A.createElementBlock("div",V8,[A.createVNode(v,{modelValue:N.value,"onUpdate:modelValue":L[0]||(L[0]=F=>N.value=F),onChange:L[1]||(L[1]=F=>T(F))},null,8,["modelValue"]),L[6]||(L[6]=A.createElementVNode("span",null,"Select All",-1))])):A.createCommentVNode("",!0),A.createElementVNode("span",null,"Showing "+A.toDisplayString(f.value)+" matching results",1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])):(A.openBlock(),A.createBlock(m,{key:1,layout:H.paginationLayout||"total,sizes, prev, pager, next,jumper",total:f.value,"page-sizes":H.pageSizes||[5,6,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":L[4]||(L[4]=F=>b.value.pageNum=F),"page-size":b.value.pageSize,"onUpdate:pageSize":L[5]||(L[5]=F=>b.value.pageSize=F),"pager-count":Number(H.pagerCount)||5,onSizeChange:I,onCurrentChange:x},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"]))],4)}}}),[["__scopeId","data-v-6158deb7"]])},Symbol.toStringTag,{value:"Module"})),eM={class:"filter-search-header"},tM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),f=()=>d.value,o=B=>{if(t.searchTypes){const p=t.searchTypes.find(u=>u.value===B);p&&(d.value=p.value)}},b=A.ref(""),D=B=>{b.value=B},I=()=>b.value,x=B=>{try{H[t.onSearchTypeChange](L,B)}catch(p){console.error(p)}},N=B=>{if(t.onChange)try{H[t.onChange](L,B)}catch(p){console.error(p)}},T=async()=>{try{await H[t.onSearch](L,b.value)}catch(B){console.error(B)}},O=()=>{i.value=!i.value},{ruleModule:H,pageMethodMap:L}=Rn(),v=A.readonly({setSearchValue:D,getSearchValue:I,getSearchType:f,setSearchType:o,type:"filterSearch"});if(t.name){const B=zo(t.name,v);A.onUnmounted(()=>{B()})}const m=A.ref(""),F=A.ref(),k=A.ref(0),_=()=>{var p;const B=(p=t.searchTypes)==null?void 0:p.find(u=>u.value===d.value);m.value=B?B.label:"",F.value&&A.nextTick(()=>{k.value=F.value.offsetWidth+28})};return A.watch(()=>d.value,()=>{_()}),A.onMounted(()=>{_()}),e(v),(B,p)=>{const u=A.resolveComponent("el-option"),l=A.resolveComponent("el-select"),g=A.resolveComponent("el-input"),s=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",eM,[A.createVNode(g,{modelValue:b.value,"onUpdate:modelValue":p[1]||(p[1]=h=>b.value=h),placeholder:B.placeholder||"Search",size:"large",onKeyup:A.withKeys(A.withModifiers(T,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("span",{ref_key:"textWidthRef",ref:F,class:"text-width-calc"},A.toDisplayString(m.value),513),A.createVNode(l,{ref:"selectRef",modelValue:d.value,"onUpdate:modelValue":p[0]||(p[0]=h=>d.value=h),size:"small",class:"filter-search-select",style:A.normalizeStyle({width:k.value+"px"}),onChange:x},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(B.searchTypes,h=>(A.openBlock(),A.createBlock(u,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","style"])]),suffix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-lujing2",size:"small",color:"#666666",onClick:T,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:O},[A.createVNode(ve,{name:"icon-shaixuan",size:"small"}),p[2]||(p[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(s,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:B.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-b0751bd0"]])},Symbol.toStringTag,{value:"Module"})),nM={class:"float-curd"},iM={class:"curd-body"},oM={class:"gradient-input-wrapper"},rM={class:"float-form"},aM={class:"float-form-header"},sM={class:"float-form-header-title"},lM={class:"float-form-header-btns"},cM={class:"float-form-body"},gM={class:"curd-footer"},dM=["innerHTML"],uM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:f}=Rn(),o=Et(),b=A.computed(()=>{var k,_,B,p,u,l;const L=o.schema.items,v=o.formValues,m=ln(L,t.name);if(!m||!m.children)return[];const F=[];for(const g in v){const s=ln(m.children,g);if(s&&s.label&&!s.hidden){const h=v[g];if(h!=null&&h!==""){const C={name:s.name,label:s.label,value:h,closeable:!s.required&&!((k=s.props)!=null&&k.disabled)&&((_=s.props)==null?void 0:_.clearable)!==!1};s.component==="DatePicker"&&(C.iconName="icon-rili",C.value=St.dayjs(h).format(((B=s.props)==null?void 0:B.valueFormat)||"YYYY-MM-DD")),s.component==="Select"&&(C.value=(l=(u=(p=s.props)==null?void 0:p.options)==null?void 0:u.find(a=>a.value===h))==null?void 0:l.label),F.push(C)}}}return F}),D=A.ref("");function I(){try{d[t.onSearch](f),i.value=!1}catch(L){console.error(L)}}const x=A.ref(!1);async function N(){try{x.value=!0,await d[t.onAiSearch](f,D.value)}catch(L){console.error(L)}finally{x.value=!1}}function T(L){o.setFieldValue(L.name,"",""),I()}function O(){try{d[t.onClear](f)}catch(L){console.error(L)}}const H={type:"floatcurd"};if(e(H),t.name){const L=zo(t.name,H);A.onUnmounted(()=>{L()})}return(L,v)=>{const m=A.resolveComponent("el-button"),F=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",nM,[A.createElementVNode("div",iM,[A.createElementVNode("div",oM,[A.createVNode(F,{class:"float-curd-ai-input",placeholder:L.inputPlaceholder,modelValue:D.value,"onUpdate:modelValue":v[0]||(v[0]=k=>D.value=k),clearable:"",onClear:N,onKeyup:A.withKeys(N,["enter"])},{prefix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-mobang1"}),v[3]||(v[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(m,{type:"primary",size:"small",onClick:N,loading:x.value},{default:A.withCtx(()=>v[4]||(v[4]=[A.createTextVNode("Go")])),_:1},8,["loading"])]),_:1},8,["placeholder","modelValue"])]),A.createVNode(m,{plain:!0,onClick:v[1]||(v[1]=k=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-tiaojianshaixuan"}),v[5]||(v[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",rM,[A.createElementVNode("div",aM,[A.createElementVNode("div",sM,A.toDisplayString(L.formTitle),1),A.createElementVNode("div",lM,[A.createVNode(m,{type:"primary",size:"small",onClick:I},{default:A.withCtx(()=>v[6]||(v[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(ve,{name:"icon-a-rongqi1",onClick:v[2]||(v[2]=k=>i.value=!1)})])]),A.createElementVNode("div",cM,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",gM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,k=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:k.name},[k.iconName?(A.openBlock(),A.createBlock(ve,{key:0,name:k.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",{innerHTML:k.label+":"},null,8,dM),A.createElementVNode("span",null,A.toDisplayString(k.value),1),k.closeable?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-a-rongqi1",onClick:_=>T(k),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:O},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!L.hidden]])}}}),[["__scopeId","data-v-39f9cfac"]])},Symbol.toStringTag,{value:"Module"})),hM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{},parentPageFun:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:h8,infocard:x8,navbar:J8,alert:j8},f=n,o=A.ref(f.pageParams),b=A.ref({}),D=A.ref(),I=A.ref({});A.watch(()=>f.pageParams,()=>{o.value=ut.cloneDeep(f.pageParams)});const x=$=>{if(D.value){if($.type==="tabs")return{...$.schema.tabProps,schema:$.schema,"onUpdate:schema":J=>{$.schema=J},ruleMap:f.ruleMap,pageParams:o.value,pageRulePath:D.value.rulePath||""};if($.type==="form")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},realValues:$.realValues,"onUpdate:realValues":J=>{$.realValues=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="table")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="infocard")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||""};if($.type==="navbar")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",findRef:O};if($.type==="alert")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:f.pageUrl,pageEmit:i}}},N=A.ref([]),T=fC(),O=$=>{var y;const J=(y=N.value)==null?void 0:y.find(j=>j.schema.key===$);return J||T.findRef($)},H=$=>{var y;return(y=N.value)==null?void 0:y.filter(j=>j.schema.key&&$.includes(j.schema.key))},L=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.disabled=J):iA.children&&j(iA.children)})},P=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);P&&P.type==="form"&&j(P.schema.items)},v=($,J)=>{var rA;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=iA=>{iA.forEach(dA=>{y.includes(dA.component)?dA.props&&(dA.props.read=J):dA.children&&j(dA.children)})},P=(rA=D.value)==null?void 0:rA.content.find(iA=>iA.schema.key===$);if(!P||P.type!=="form")return;O($).clearValidate(),j(P.schema.items)},m=async $=>{if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&await y.validate()}else{const J=O($);return J?await J.validate():!1}},F=($,J)=>{const y={...$||{}};if(!J)return y;for(const[j,P]of Object.entries(J))P!==""&&(y[j]=P);return y},k=$=>{if(D.value){if(!$){const J={};for(const y of D.value.content)y.schema.key&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}if(Array.isArray($)){const J={};for(const y of D.value.content)y.schema.key&&$.includes(y.schema.key)&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}else{const J=D.value.content.find(y=>y.schema.key===$);if(J){if(J.type==="form")return ut.cloneDeep(A.toRaw(F(J.model,J.realValues)));if(J.type==="table")return ut.cloneDeep(A.toRaw(J.model))}}}},_=($,J,y=!1)=>{if(!D.value)return;const j=D.value.content.find(P=>P.schema.key===$);if(j)if(j.type==="form")if(y)Object.assign(j.model,J);else{for(let P in j.model)delete j.model[P];Object.assign(j.model,J)}else j.type==="table"&&(j.model=J)},B=$=>{if($)if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&y.resetFields()}else{const J=O($);if(!J)return;J.type==="form"&&J.resetFields()}},p=($,J)=>{const y=O($);y&&y.type==="form"&&y.clearValidate(J)},u=($,J)=>{var j;const y=(j=D.value)==null?void 0:j.content.find(P=>P.schema.key===$);if(y&&y.type==="form")return ln(y.schema.items,J)};function l(){return o.value}const g=$=>{o.value=$},s=$=>{o.value={...o.value,...$}},h=($,J)=>{if(!D.value)return;const y=D.value.content.find(j=>j.schema.key===$);y&&(y.schema.hidden=J)},C=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.hidden=J)},a=($,J,y)=>{var j;if(D.value){if($.type==="form"){const P=u($.formKey,$.btnKey);P&&(J==="disabled"?P.props[J]=y:P[J]=y)}else if($.type==="page"){const P=D.value.btns.find(q=>q.key===$.btnKey);P&&(P[J]=y)}else if($.type==="table"){const P=(j=D.value)==null?void 0:j.content.find(q=>q.schema.key===$.tableKey);if(!P||P.type!=="table")return;$.btnPosition==="top"?P.schema.topBtns.find(q=>q.key===$.btnKey)[J]=y:$.btnPosition==="row"&&(J==="hidden"?P.schema.rowBtns.find(q=>q.key===$.btnKey).condition=!y:P.schema.rowBtns.find(q=>q.key===$.btnKey)[J]=y)}else if($.type==="card"){const P=u($.formKey,$.cardKey);P&&(P.props.btns.find(q=>q.key===$.btnKey)[J]=y)}}},r=($,J,y)=>{var P,q,rA,iA,dA;if(!D.value)return;const j=(J==="disabled"||J==="hidden")&&typeof y=="boolean";if(D.value.btns){const mA=D.value.btns.find(gA=>gA.key===$);if(mA&&j){mA[J]=y;return}}for(const mA of D.value.content){if(mA.type==="infocard"){const gA=mA.schema.btns.find(wA=>wA.key===$);if(gA&&j){gA[J]=y;return}}if(mA.type==="navbar"){const gA=(P=mA.schema.btns)==null?void 0:P.find(lA=>lA.key===$);if(gA&&j){gA[J]=y;return}const wA=(q=mA.schema.footerBtns)==null?void 0:q.find(lA=>lA.key===$);if(wA&&j){wA[J]=y;return}const X=(rA=mA.schema.leftActions)==null?void 0:rA.find(lA=>lA.key===$);if(X&&j&&J==="hidden"){X[J]=y;return}}if(mA.type==="table"){const gA=(iA=mA.schema.topBtns)==null?void 0:iA.find(X=>X.key===$);if(gA&&j){gA[J]=y;return}const wA=(dA=mA.schema.rowBtns)==null?void 0:dA.find(X=>X.key===$);if(wA){J==="hidden"?wA.condition=!y:J==="condition"&&typeof y=="string"?wA.condition=y:j&&(wA[J]=y);return}}if(mA.type==="form"){const gA=wA=>{var X,lA;for(const cA of wA){if(cA.component==="Button"&&cA.name===$)return cA.props&&(cA.props[J]=y),!0;if((cA.component==="Card"||cA.component==="CurdCard")&&cA.props&&Array.isArray(cA.props.btns)){const hA=cA.props.btns.find(U=>U.key===$);if(hA)return hA[J]=y,!0}if(cA.component==="Table"&&cA.props){const hA=(X=cA.props.topBtns)==null?void 0:X.find(W=>W.key===$);if(hA)return hA[J]=y,!0;const U=(lA=cA.props.rowBtns)==null?void 0:lA.find(W=>W.key===$);if(U)return J==="hidden"?U.condition=!y:J==="condition"&&typeof y=="string"?U.condition=y:j&&(U[J]=y),!0}if(cA.children&&Array.isArray(cA.children)&&gA(cA.children))return!0}return!1};if(gA(mA.schema.items))return}}},E=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.disabled=J)},Q=$=>{Object.assign(b.value,$)},M=()=>b.value,S=()=>f.parentPageFun,K=A.inject(Vn),z={findRef:O,setFormDisabled:L,clearValidate:p,validate:m,getData:k,resetFields:B,emit:i,setData:_,getItemByName:u,getPageParams:l,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:s,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:v,getParentPageFun:S,setPageMask:(K==null?void 0:K.setPageMaskFn)||(()=>{})},AA=async $=>{if(!(!D.value||!D.value.rulePath)){try{I.value[$.key]=!0,await f.ruleMap[D.value.rulePath][$.onClick](z)}catch(J){console.error(J)}I.value[$.key]=!1}};A.provide("pageMethodMap",z),A.provide("ruleMap",f.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(K&&K.fetchSchemaFn&&f.pageUrl){const $=await K.fetchSchemaFn(f.pageUrl);if(!$)return;if($&&$.rulePath&&$.onBeforeMount){const j=$.onBeforeMount;try{await f.ruleMap[$.rulePath][j]($,z)}catch(P){console.error(P+`
|
|
225
|
+
`)}}),e({type:"infocard",schema:t}),(N,T)=>{const O=A.resolveComponent("el-popover"),H=A.resolveComponent("el-tooltip"),L=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(L,{class:"info-card",always:""},{default:A.withCtx(()=>{var v,m,F,k,_,B,p,u,l,g,s;return[A.createElementVNode("div",p8,[A.createElementVNode("div",C8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(ve,{name:(v=t.value.header)==null?void 0:v.avatar,color:(m=t.value.header)==null?void 0:m.avatarIconColor,size:t.value.header.avatarSize||"small"},null,8,["name","color","size"])],4),A.createElementVNode("div",B8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(F=t.value.header)!=null&&F.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((k=t.value.header)!=null&&k.titleClick?"cursor-pointer":""),onClick:T[0]||(T[0]=h=>{var C;return I((C=t.value.header)==null?void 0:C.titleClick)})},A.toDisplayString((_=t.value.header)==null?void 0:_.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((B=t.value.header)==null?void 0:B.titleIcons,(h,C)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:C},[h.type==="popover"?(A.openBlock(),A.createBlock(O,{key:0,width:h.popoverWidth},{reference:A.withCtx(()=>[A.createVNode(ve,{name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>I(h.onClick)},null,8,["name","size","onClick"])]),default:A.withCtx(()=>[h.popoverContent?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:h.popoverContent},null,8,["list"])):A.createCommentVNode("",!0)]),_:2},1032,["width"])):(A.openBlock(),A.createBlock(ve,{key:1,name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>I(h.onClick)},null,8,["name","size","onClick"]))],64))),128)),A.createVNode(A.unref(Nn),{class:"title-icon",btns:(p=t.value.header)==null?void 0:p.btns},null,8,["btns"])],6),A.createElementVNode("div",m8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(u=t.value.header)==null?void 0:u.subTitleClick}]),onClick:T[1]||(T[1]=h=>{var C;return x((C=t.value.header)==null?void 0:C.subTitleClick)})},A.toDisplayString((l=t.value.header)==null?void 0:l.subTitlePrefix)+A.toDisplayString((g=t.value.header)==null?void 0:g.subTitle),3),A.createVNode(ve,{name:"icon-fuzhi",size:12,class:"copy-icon",onClick:D}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((s=t.value.header)==null?void 0:s.subTitleIcons,(h,C)=>{var a,r;return A.openBlock(),A.createBlock(H,{key:C,content:(a=h.icon)==null?void 0:a.tooltip,placement:"top",disabled:!((r=h.icon)!=null&&r.tooltip)},{default:A.withCtx(()=>{var E,Q;return[A.createVNode(ve,{name:(E=h.icon)==null?void 0:E.name,color:(Q=h.icon)==null?void 0:Q.color,size:"x-small",class:"title-icon ml-2 cursor-pointer hover-color-primary",onClick:M=>I(h.onClick)},null,8,["name","color","onClick"])]}),_:2},1032,["content","disabled"])}),128))])])]),A.createElementVNode("div",E8,[A.createElementVNode("div",Q8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,h=>(A.openBlock(),A.createElementBlock("div",{key:h.key,class:"info-item"},[h.label?(A.openBlock(),A.createElementBlock("span",f8,A.toDisplayString(h.label)+": ",1)):A.createCommentVNode("",!0),h.label||h.value?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["info-value",h.type])},A.toDisplayString(h.value||"--"),3)):A.createCommentVNode("",!0),A.createElementVNode("div",I8,[h.expendComponents?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,class:"expend-components",list:h.expendComponents},null,8,["list"])):A.createCommentVNode("",!0)])]))),128))]),A.createVNode(A.unref(Nn),{btns:t.value.btns},null,8,["btns"]),A.createVNode(A.unref(Ak),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),t.value.detail&&t.value.detail.length>0||t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",w8,[A.createElementVNode("div",b8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.detail,(h,C)=>(A.openBlock(),A.createElementBlock("div",{key:h.label,class:"detail-item"},[A.createElementVNode("div",null,[A.createElementVNode("div",y8,A.toDisplayString(h.label),1),A.createElementVNode("div",{class:"value",style:A.normalizeStyle(h.color?{color:h.color}:{})},A.toDisplayString(h.value||"- -"),5)]),C!==t.value.detail.length-1?(A.openBlock(),A.createElementBlock("div",D8)):A.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",v8,[t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",k8,[A.createVNode(A.unref(rt),{list:t.value.bottomRightFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",_8,A.toDisplayString(t.value.bottomRightDetail.label),1)):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",M8,A.toDisplayString(t.value.bottomRightDetail.value),1)):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)]}),_:1})],8,h8))}}}),[["__scopeId","data-v-d6fbc929"]]),x8=["id"],N8={class:"nav-header mb10"},F8={key:0,class:"left-part"},R8={class:"nav-title"},L8={key:1},G8={key:2,class:"steps"},P8=["onClick"],H8=["onClick"],K8={class:"nav-footer"},T8={key:0,class:"left-actions"},U8=["onClick"],Y8={class:"footer-text"},O8={key:1,class:"divider"},$8={class:"right-actions"},z8=oe(A.defineComponent({__name:"NavBar",props:A.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.computed(()=>(t.value.leftActions||[]).filter(T=>!T.hidden)),d=A.inject("ruleMap",{}),f=A.inject("pageMethodMap",{}),o=n,b=A.computed(()=>t.value.rulePath&&d[t.value.rulePath]?d[t.value.rulePath]:d[o.pageRulePath]);A.provide("ruleModule",b.value);const D=T=>{if(T&&b.value)try{b.value[T](f)}catch(O){console.error(O+`
|
|
226
|
+
funcName: ${T}`)}},I=A.inject(Vn),x=()=>{I&&I.navigateFn&&I.navigateFn(-1)},N=T=>{const O=o.findRef(T);if(O&&O.rootRef)O.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const H=document.getElementById(T);H&&H.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(T,O)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{traditionMode:t.value.traditionMode,mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky,"expand-bottom":t.value.expandBottom}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[A.createElementVNode("div",N8,[t.value.title||t.value.back?(A.openBlock(),A.createElementBlock("div",F8,[t.value.back?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-back",class:"back-icon",onClick:x})):A.createCommentVNode("",!0),A.createElementVNode("div",R8,A.toDisplayString(t.value.title),1)])):A.createCommentVNode("",!0),t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",L8,[A.createVNode(A.unref(Nn),{btns:t.value.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),t.value.content&&t.value.content.length>0&&!t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",G8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(H,L)=>(A.openBlock(),A.createElementBlock("div",{key:L,class:A.normalizeClass(["hexagon",{"first-item":L===0,"middle-item":L>0&&L<t.value.content.length-1,"last-item":L===t.value.content.length-1}]),onClick:v=>N(H.ref)},[A.createElementVNode("span",null,A.toDisplayString(H.text),1)],10,P8))),128))])):A.createCommentVNode("",!0)]),t.value.content&&t.value.content.length>0&&t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(H,L)=>(A.openBlock(),A.createElementBlock("div",{key:L,class:A.normalizeClass(["hexagon tradition-mode",{"first-item":L===0,"middle-item":L>0&&L<t.value.content.length-1,"last-item":L===t.value.content.length-1}]),onClick:v=>N(H.ref)},[A.createElementVNode("span",null,A.toDisplayString(H.text),1)],10,H8))),128))],2)):A.createCommentVNode("",!0),A.createElementVNode("div",K8,[i.value&&i.value.length>0?(A.openBlock(),A.createElementBlock("div",T8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,(H,L)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:H.key},[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,onClick:v=>D(H.onClick),class:"footer-item"},[H.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:H.icon.name,color:H.icon.color,class:"footer-icon"},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",Y8,A.toDisplayString(H.text),1),L!==i.value.length-1?(A.openBlock(),A.createElementBlock("div",O8)):A.createCommentVNode("",!0)],8,U8))],64))),128))])):A.createCommentVNode("",!0),A.createElementVNode("div",$8,[A.createVNode(A.unref(Nn),{btns:t.value.footerBtns||[]},null,8,["btns"]),t.value.traditionMode?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(A.unref(Nn),{key:0,btns:t.value.btns||[]},null,8,["btns"]))])])],14,x8))}}),[["__scopeId","data-v-b213ea11"]]),J8=["onClick"],Z8={key:1},W8=oe(A.defineComponent({__name:"AlertRender",props:A.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=A.inject("pageMethodMap",{}),f=n,o=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[f.pageRulePath]);A.provide("ruleModule",o.value);const b=(T,O,H)=>{try{o.value[T](d,O,H)}catch(L){console.error(L)}},D=()=>{if(f.pageEmit("changeMixMode",f.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](d)}catch(T){console.error(T)}},I=A.computed(()=>{var v,m;const T=/\{(\d+)\}/g,O=[];let H=0,L;for(;(L=T.exec(t.value.description))!==null;)L.index>H&&O.push({type:"text",value:t.value.description.slice(H,L.index)}),O.push({type:"value",index:Number(L[1]),getPopoverContent:(m=(v=t.value.values)==null?void 0:v[Number(L[1])])==null?void 0:m.getPopoverContent}),H=T.lastIndex;return H<t.value.description.length&&O.push({type:"text",value:t.value.description.slice(H)}),O}),x=A.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"}),N=(T,O,H)=>{if(T)try{return o.value[T](d,O,H)}catch(L){console.error(L)}return[]};return e({type:"alert",schema:t}),(T,O)=>{const H=A.resolveComponent("el-popover"),L=A.resolveComponent("el-alert");return t.value.description?(A.openBlock(),A.createBlock(L,{key:0,type:t.value.type,"show-icon":!0,class:A.normalizeClass(["alert-container",{mixmode:t.value.mixMode,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`,...t.value.style||{}}:t.value.style),onClose:D},{icon:A.withCtx(()=>[A.createVNode(ve,{name:x.value.name,color:x.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:m},[v.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(v.value),1)],64)):(A.openBlock(),A.createBlock(H,{key:1,placement:"bottom",disabled:!v.getPopoverContent,width:600},{reference:A.withCtx(()=>[typeof v.index=="number"&&t.value.values&&t.value.values[v.index]&&typeof t.value.values[v.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:F=>b(t.value.values[v.index].onClick,t.value.values[v.index].text,t.value.values[v.index])},A.toDisplayString(typeof v.index=="number"&&t.value.values&&t.value.values[v.index]?t.value.values[v.index].text:""),9,J8)):(A.openBlock(),A.createElementBlock("span",Z8,A.toDisplayString(typeof v.index=="number"&&t.value.values&&t.value.values[v.index]?t.value.values[v.index].text:""),1))]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:N(v.getPopoverContent,v.value,v.index)},null,8,["list"])])]),_:2},1032,["disabled"]))],64))),128))])]),_:1},8,["type","class","style"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-6aa7eefd"]]),j8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"DragList",props:A.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"gridlayout"),D={getLayout:()=>A.readonly(i),setItemX:(T,O)=>{i.value[T].x=O},setItemY:(T,O)=>{i.value[T].y=O},setItemVisible:(T,O)=>{const H=i.value.find(L=>L.i===T);H&&(H.h=O?H.contentHeight||1:0)},type:"draglist"},{ruleModule:I,pageMethodMap:x}=Rn(),N=()=>{if(t.onMoved&&I)try{I[t.onMoved](x,A.readonly(i.value))}catch(T){console.error(T+`
|
|
227
|
+
onMoved: ${t.onMoved}`)}};if(e(D),t.name){const T=zo(t.name,D);A.onUnmounted(()=>{T()})}return(T,O)=>(A.openBlock(),A.createBlock(A.unref(q1),{layout:i.value,"onUpdate:layout":O[1]||(O[1]=H=>i.value=H),"col-num":T.colNum||12,"row-height":T.rowHeight||30,"max-rows":T.maxRows,margin:[8,8],"is-draggable":T.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:T.children,gridData:i.value,"onUpdate:gridData":O[0]||(O[0]=H=>i.value=H),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-869881f7"]])},Symbol.toStringTag,{value:"Module"})),q8={class:"custom-slot"},X8={key:0,class:"select-all-wrapper"},V8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{},mode:{},showSelectAll:{type:Boolean},selectAllChange:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=Rn(),f=A.ref(0),o=H=>{f.value=H},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),D=()=>b.value,I=async H=>{if(b.value.pageNum=1,b.value.pageSize=H,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(L){console.error(L)}},x=async H=>{if(b.value.pageNum=H,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(L){console.error(L)}},N=A.ref(!1),T=H=>{try{i[t.selectAllChange](d,H)}catch(L){console.error(L)}},O=A.readonly({getPagination:D,setTotal:o,selectAll:N,type:"pagination"});if(t.name){const H=zo(t.name,O);A.onUnmounted(()=>{H()})}return e(O),(H,L)=>{const v=A.resolveComponent("el-checkbox"),m=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(H.style)},[H.mode==="top"?(A.openBlock(),A.createBlock(m,{key:0,layout:H.paginationLayout||"slot,sizes, prev, pager, next",total:f.value,"page-sizes":H.pageSizes||[5,6,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":L[2]||(L[2]=F=>b.value.pageNum=F),"page-size":b.value.pageSize,"onUpdate:pageSize":L[3]||(L[3]=F=>b.value.pageSize=F),"pager-count":Number(H.pagerCount)||5,onSizeChange:I,onCurrentChange:x},{default:A.withCtx(()=>[A.createElementVNode("div",q8,[H.showSelectAll?(A.openBlock(),A.createElementBlock("div",X8,[A.createVNode(v,{modelValue:N.value,"onUpdate:modelValue":L[0]||(L[0]=F=>N.value=F),onChange:L[1]||(L[1]=F=>T(F))},null,8,["modelValue"]),L[6]||(L[6]=A.createElementVNode("span",null,"Select All",-1))])):A.createCommentVNode("",!0),A.createElementVNode("span",null,"Showing "+A.toDisplayString(f.value)+" matching results",1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])):(A.openBlock(),A.createBlock(m,{key:1,layout:H.paginationLayout||"total,sizes, prev, pager, next,jumper",total:f.value,"page-sizes":H.pageSizes||[5,6,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":L[4]||(L[4]=F=>b.value.pageNum=F),"page-size":b.value.pageSize,"onUpdate:pageSize":L[5]||(L[5]=F=>b.value.pageSize=F),"pager-count":Number(H.pagerCount)||5,onSizeChange:I,onCurrentChange:x},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"]))],4)}}}),[["__scopeId","data-v-728e83c2"]])},Symbol.toStringTag,{value:"Module"})),AM={class:"filter-search-header"},eM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),f=()=>d.value,o=B=>{if(t.searchTypes){const p=t.searchTypes.find(u=>u.value===B);p&&(d.value=p.value)}},b=A.ref(""),D=B=>{b.value=B},I=()=>b.value,x=B=>{try{H[t.onSearchTypeChange](L,B)}catch(p){console.error(p)}},N=B=>{if(t.onChange)try{H[t.onChange](L,B)}catch(p){console.error(p)}},T=async()=>{try{await H[t.onSearch](L,b.value)}catch(B){console.error(B)}},O=()=>{i.value=!i.value},{ruleModule:H,pageMethodMap:L}=Rn(),v=A.readonly({setSearchValue:D,getSearchValue:I,getSearchType:f,setSearchType:o,type:"filterSearch"});if(t.name){const B=zo(t.name,v);A.onUnmounted(()=>{B()})}const m=A.ref(""),F=A.ref(),k=A.ref(0),_=()=>{var p;const B=(p=t.searchTypes)==null?void 0:p.find(u=>u.value===d.value);m.value=B?B.label:"",F.value&&A.nextTick(()=>{k.value=F.value.offsetWidth+28})};return A.watch(()=>d.value,()=>{_()}),A.onMounted(()=>{_()}),e(v),(B,p)=>{const u=A.resolveComponent("el-option"),l=A.resolveComponent("el-select"),g=A.resolveComponent("el-input"),s=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",AM,[A.createVNode(g,{modelValue:b.value,"onUpdate:modelValue":p[1]||(p[1]=h=>b.value=h),placeholder:B.placeholder||"Search",size:"large",onKeyup:A.withKeys(A.withModifiers(T,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("span",{ref_key:"textWidthRef",ref:F,class:"text-width-calc"},A.toDisplayString(m.value),513),A.createVNode(l,{ref:"selectRef",modelValue:d.value,"onUpdate:modelValue":p[0]||(p[0]=h=>d.value=h),size:"small",class:"filter-search-select",style:A.normalizeStyle({width:k.value+"px"}),onChange:x},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(B.searchTypes,h=>(A.openBlock(),A.createBlock(u,{key:h.value,label:h.label,value:h.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","style"])]),suffix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-lujing2",size:"small",color:"#666666",onClick:T,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:O},[A.createVNode(ve,{name:"icon-shaixuan",size:"small"}),p[2]||(p[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(s,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:B.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-dd8b9ec3"]])},Symbol.toStringTag,{value:"Module"})),tM={class:"float-curd"},nM={class:"curd-body"},iM={class:"gradient-input-wrapper"},oM={class:"float-form"},rM={class:"float-form-header"},aM={class:"float-form-header-title"},sM={class:"float-form-header-btns"},lM={class:"float-form-body"},cM={class:"curd-footer"},gM=["innerHTML"],dM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:f}=Rn(),o=Et(),b=A.computed(()=>{var k,_,B,p,u,l;const L=o.schema.items,v=o.formValues,m=ln(L,t.name);if(!m||!m.children)return[];const F=[];for(const g in v){const s=ln(m.children,g);if(s&&s.label&&!s.hidden){const h=v[g];if(h!=null&&h!==""){const C={name:s.name,label:s.label,value:h,closeable:!s.required&&!((k=s.props)!=null&&k.disabled)&&((_=s.props)==null?void 0:_.clearable)!==!1};s.component==="DatePicker"&&(C.iconName="icon-rili",C.value=St.dayjs(h).format(((B=s.props)==null?void 0:B.valueFormat)||"YYYY-MM-DD")),s.component==="Select"&&(C.value=(l=(u=(p=s.props)==null?void 0:p.options)==null?void 0:u.find(a=>a.value===h))==null?void 0:l.label),F.push(C)}}}return F}),D=A.ref("");function I(){try{d[t.onSearch](f),i.value=!1}catch(L){console.error(L)}}const x=A.ref(!1);async function N(){try{x.value=!0,await d[t.onAiSearch](f,D.value)}catch(L){console.error(L)}finally{x.value=!1}}function T(L){o.setFieldValue(L.name,"",""),I()}function O(){try{d[t.onClear](f)}catch(L){console.error(L)}}const H={type:"floatcurd"};if(e(H),t.name){const L=zo(t.name,H);A.onUnmounted(()=>{L()})}return(L,v)=>{const m=A.resolveComponent("el-button"),F=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",tM,[A.createElementVNode("div",nM,[A.createElementVNode("div",iM,[A.createVNode(F,{class:"float-curd-ai-input",placeholder:L.inputPlaceholder,modelValue:D.value,"onUpdate:modelValue":v[0]||(v[0]=k=>D.value=k),clearable:"",onClear:N,onKeyup:A.withKeys(N,["enter"])},{prefix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-mobang1"}),v[3]||(v[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(m,{type:"primary",size:"small",onClick:N,loading:x.value},{default:A.withCtx(()=>v[4]||(v[4]=[A.createTextVNode("Go")])),_:1},8,["loading"])]),_:1},8,["placeholder","modelValue"])]),A.createVNode(m,{plain:!0,onClick:v[1]||(v[1]=k=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-tiaojianshaixuan"}),v[5]||(v[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",oM,[A.createElementVNode("div",rM,[A.createElementVNode("div",aM,A.toDisplayString(L.formTitle),1),A.createElementVNode("div",sM,[A.createVNode(m,{type:"primary",size:"small",onClick:I},{default:A.withCtx(()=>v[6]||(v[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(ve,{name:"icon-a-rongqi1",onClick:v[2]||(v[2]=k=>i.value=!1)})])]),A.createElementVNode("div",lM,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",cM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,k=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:k.name},[k.iconName?(A.openBlock(),A.createBlock(ve,{key:0,name:k.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",{innerHTML:k.label+":"},null,8,gM),A.createElementVNode("span",null,A.toDisplayString(k.value),1),k.closeable?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-a-rongqi1",onClick:_=>T(k),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:O},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!L.hidden]])}}}),[["__scopeId","data-v-bb410d81"]])},Symbol.toStringTag,{value:"Module"})),uM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{},parentPageFun:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:u8,infocard:S8,navbar:z8,alert:W8},f=n,o=A.ref(f.pageParams),b=A.ref({}),D=A.ref(),I=A.ref({});A.watch(()=>f.pageParams,()=>{o.value=ut.cloneDeep(f.pageParams)});const x=$=>{if(D.value){if($.type==="tabs")return{...$.schema.tabProps,schema:$.schema,"onUpdate:schema":J=>{$.schema=J},ruleMap:f.ruleMap,pageParams:o.value,pageRulePath:D.value.rulePath||""};if($.type==="form")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},realValues:$.realValues,"onUpdate:realValues":J=>{$.realValues=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="table")return{modelValue:$.model,"onUpdate:modelValue":J=>{$.model=J},schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageKey:D.value.key};if($.type==="infocard")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||""};if($.type==="navbar")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",findRef:O};if($.type==="alert")return{schema:$.schema,"onUpdate:schema":J=>{$.schema=J},pageRulePath:D.value.rulePath||"",pageUrl:f.pageUrl,pageEmit:i}}},N=A.ref([]),T=fC(),O=$=>{var y;const J=(y=N.value)==null?void 0:y.find(j=>j.schema.key===$);return J||T.findRef($)},H=$=>{var y;return(y=N.value)==null?void 0:y.filter(j=>j.schema.key&&$.includes(j.schema.key))},L=($,J)=>{var q;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=rA=>{rA.forEach(iA=>{y.includes(iA.component)?iA.props&&(iA.props.disabled=J):iA.children&&j(iA.children)})},P=(q=D.value)==null?void 0:q.content.find(rA=>rA.schema.key===$);P&&P.type==="form"&&j(P.schema.items)},v=($,J)=>{var rA;const y=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],j=iA=>{iA.forEach(dA=>{y.includes(dA.component)?dA.props&&(dA.props.read=J):dA.children&&j(dA.children)})},P=(rA=D.value)==null?void 0:rA.content.find(iA=>iA.schema.key===$);if(!P||P.type!=="form")return;O($).clearValidate(),j(P.schema.items)},m=async $=>{if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&await y.validate()}else{const J=O($);return J?await J.validate():!1}},F=($,J)=>{const y={...$||{}};if(!J)return y;for(const[j,P]of Object.entries(J))P!==""&&(y[j]=P);return y},k=$=>{if(D.value){if(!$){const J={};for(const y of D.value.content)y.schema.key&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}if(Array.isArray($)){const J={};for(const y of D.value.content)y.schema.key&&$.includes(y.schema.key)&&(y.type==="form"?J[y.schema.key]=ut.cloneDeep(A.toRaw(F(y.model,y.realValues))):y.type==="table"&&(J[y.schema.key]=ut.cloneDeep(A.toRaw(y.model))));return J}else{const J=D.value.content.find(y=>y.schema.key===$);if(J){if(J.type==="form")return ut.cloneDeep(A.toRaw(F(J.model,J.realValues)));if(J.type==="table")return ut.cloneDeep(A.toRaw(J.model))}}}},_=($,J,y=!1)=>{if(!D.value)return;const j=D.value.content.find(P=>P.schema.key===$);if(j)if(j.type==="form")if(y)Object.assign(j.model,J);else{for(let P in j.model)delete j.model[P];Object.assign(j.model,J)}else j.type==="table"&&(j.model=J)},B=$=>{if($)if(Array.isArray($)){const J=H($);for(const y of J||[])y.type==="form"&&y.resetFields()}else{const J=O($);if(!J)return;J.type==="form"&&J.resetFields()}},p=($,J)=>{const y=O($);y&&y.type==="form"&&y.clearValidate(J)},u=($,J)=>{var j;const y=(j=D.value)==null?void 0:j.content.find(P=>P.schema.key===$);if(y&&y.type==="form")return ln(y.schema.items,J)};function l(){return o.value}const g=$=>{o.value=$},s=$=>{o.value={...o.value,...$}},h=($,J)=>{if(!D.value)return;const y=D.value.content.find(j=>j.schema.key===$);y&&(y.schema.hidden=J)},C=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.hidden=J)},a=($,J,y)=>{var j;if(D.value){if($.type==="form"){const P=u($.formKey,$.btnKey);P&&(J==="disabled"?P.props[J]=y:P[J]=y)}else if($.type==="page"){const P=D.value.btns.find(q=>q.key===$.btnKey);P&&(P[J]=y)}else if($.type==="table"){const P=(j=D.value)==null?void 0:j.content.find(q=>q.schema.key===$.tableKey);if(!P||P.type!=="table")return;$.btnPosition==="top"?P.schema.topBtns.find(q=>q.key===$.btnKey)[J]=y:$.btnPosition==="row"&&(J==="hidden"?P.schema.rowBtns.find(q=>q.key===$.btnKey).condition=!y:P.schema.rowBtns.find(q=>q.key===$.btnKey)[J]=y)}else if($.type==="card"){const P=u($.formKey,$.cardKey);P&&(P.props.btns.find(q=>q.key===$.btnKey)[J]=y)}}},r=($,J,y)=>{var P,q,rA,iA,dA;if(!D.value)return;const j=(J==="disabled"||J==="hidden")&&typeof y=="boolean";if(D.value.btns){const mA=D.value.btns.find(gA=>gA.key===$);if(mA&&j){mA[J]=y;return}}for(const mA of D.value.content){if(mA.type==="infocard"){const gA=mA.schema.btns.find(wA=>wA.key===$);if(gA&&j){gA[J]=y;return}}if(mA.type==="navbar"){const gA=(P=mA.schema.btns)==null?void 0:P.find(lA=>lA.key===$);if(gA&&j){gA[J]=y;return}const wA=(q=mA.schema.footerBtns)==null?void 0:q.find(lA=>lA.key===$);if(wA&&j){wA[J]=y;return}const X=(rA=mA.schema.leftActions)==null?void 0:rA.find(lA=>lA.key===$);if(X&&j&&J==="hidden"){X[J]=y;return}}if(mA.type==="table"){const gA=(iA=mA.schema.topBtns)==null?void 0:iA.find(X=>X.key===$);if(gA&&j){gA[J]=y;return}const wA=(dA=mA.schema.rowBtns)==null?void 0:dA.find(X=>X.key===$);if(wA){J==="hidden"?wA.condition=!y:J==="condition"&&typeof y=="string"?wA.condition=y:j&&(wA[J]=y);return}}if(mA.type==="form"){const gA=wA=>{var X,lA;for(const cA of wA){if(cA.component==="Button"&&cA.name===$)return cA.props&&(cA.props[J]=y),!0;if((cA.component==="Card"||cA.component==="CurdCard")&&cA.props&&Array.isArray(cA.props.btns)){const hA=cA.props.btns.find(U=>U.key===$);if(hA)return hA[J]=y,!0}if(cA.component==="Table"&&cA.props){const hA=(X=cA.props.topBtns)==null?void 0:X.find(W=>W.key===$);if(hA)return hA[J]=y,!0;const U=(lA=cA.props.rowBtns)==null?void 0:lA.find(W=>W.key===$);if(U)return J==="hidden"?U.condition=!y:J==="condition"&&typeof y=="string"?U.condition=y:j&&(U[J]=y),!0}if(cA.children&&Array.isArray(cA.children)&&gA(cA.children))return!0}return!1};if(gA(mA.schema.items))return}}},E=($,J)=>{if(!D.value)return;const y=D.value.btns.find(j=>j.key===$);y&&(y.disabled=J)},Q=$=>{Object.assign(b.value,$)},M=()=>b.value,S=()=>f.parentPageFun,K=A.inject(Vn),z={findRef:O,setFormDisabled:L,clearValidate:p,validate:m,getData:k,resetFields:B,emit:i,setData:_,getItemByName:u,getPageParams:l,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:s,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:v,getParentPageFun:S,setPageMask:(K==null?void 0:K.setPageMaskFn)||(()=>{})},AA=async $=>{if(!(!D.value||!D.value.rulePath)){try{I.value[$.key]=!0,await f.ruleMap[D.value.rulePath][$.onClick](z)}catch(J){console.error(J)}I.value[$.key]=!1}};A.provide("pageMethodMap",z),A.provide("ruleMap",f.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(K&&K.fetchSchemaFn&&f.pageUrl){const $=await K.fetchSchemaFn(f.pageUrl);if(!$)return;if($&&$.rulePath&&$.onBeforeMount){const j=$.onBeforeMount;try{await f.ruleMap[$.rulePath][j]($,z)}catch(P){console.error(P+`
|
|
228
228
|
|
|
229
229
|
rulePath: ${$.rulePath}
|
|
230
230
|
|
|
@@ -244,9 +244,9 @@ mountedFuncName: ${$}
|
|
|
244
244
|
rulePath: ${D.value.rulePath}
|
|
245
245
|
|
|
246
246
|
mountedFuncName: ${$}
|
|
247
|
-
`)}}),A.onActivated(()=>{V()}),e({...z,activate:V,ruleFunction:eA}),($,J)=>{const y=A.resolveComponent("el-button"),j=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[D.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.content,P=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[P.type]),A.mergeProps({key:P.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:s,onDoneParent:J[0]||(J[0]=q=>i("done",q))},x(P)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(A.openBlock(),A.createBlock(j,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.btns,P=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:0,type:P.type,loading:I.value[P.key],onClick:q=>AA(P),disabled:P.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(P.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,
|
|
247
|
+
`)}}),A.onActivated(()=>{V()}),e({...z,activate:V,ruleFunction:eA}),($,J)=>{const y=A.resolveComponent("el-button"),j=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[D.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:D.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.content,P=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[P.type]),A.mergeProps({key:P.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:s,onDoneParent:J[0]||(J[0]=q=>i("done",q))},x(P)),null,16))),128)),D.value.btns&&D.value.btns.length>0?(A.openBlock(),A.createBlock(j,{key:0,justify:D.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(D.value.btns,P=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:0,type:P.type,loading:I.value[P.key],onClick:q=>AA(P),disabled:P.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(P.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,uM)):A.renderSlot($.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-2e2ab171"]]),hM={install:(n,e={})=>{n.provide(Vn,e),n.component("FormRender",wn),n.component("FormDesign",yC),n.component("TableRender",rg),n.component("PageRender",ag)}},pM={key:0,class:"special-read"},CM={class:"special-read-value"},BM={key:1,class:"textarea-read"},mM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"TextArea",props:A.mergeModels({name:{},read:{type:Boolean},specialRead:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=Et(),d=A.computed(()=>t.read||i.schema.read);return(f,o)=>{const b=A.resolveComponent("el-input");return f.specialRead&&d.value?(A.openBlock(),A.createElementBlock("div",pM,[A.createElementVNode("div",CM,A.toDisplayString(e.value||"--"),1)])):d.value?(A.openBlock(),A.createElementBlock("div",BM,A.toDisplayString(e.value||"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:2},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),type:"textarea"}),null,16,["modelValue"]))}}}),[["__scopeId","data-v-166c6bcb"]])},Symbol.toStringTag,{value:"Module"})),EM={key:3,class:"switch-panel"},QM={key:4,class:"card-btns"},fM={key:5,class:"card-sub-header"},IM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Card",props:{name:{},hidden:{type:Boolean},children:{},headerFormSlots:{},headerFormSlotsPosition:{},collapsible:{type:Boolean},typeSwitch:{type:Boolean},displayType:{},onSwitchChange:{},header:{},btns:{},mainIcon:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{},defaultCollapsed:{type:Boolean}},setup(n){const e=n;A.watch(()=>e.defaultCollapsed,I=>{f.value=I??!1});const t=A.ref(e.displayType||(e.typeSwitch?"card":"table")),i=Et(),d=I=>{if(t.value=I,e.onSwitchChange&&o){try{o[e.onSwitchChange](b,I)}catch(T){console.error(T+`
|
|
248
248
|
onSwitchChange: ${e.onSwitchChange}`)}return}const x=ln(i.schema.items,e.name),N=T=>{T.forEach(O=>{O.component==="Table"&&O.props&&(O.props.displayType=I),O.children&&O.children.length>0&&N(O.children)})};x&&x.children&&N(x.children)},f=A.ref(e.defaultCollapsed??!1),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=I=>{if(I&&o)try{o[I](b)}catch(x){console.error(x+`
|
|
249
|
-
funcName: ${I}`)}};return(I,x)=>{const N=A.resolveComponent("el-tooltip"),T=A.resolveComponent("el-collapse-transition"),O=A.resolveComponent("ElCard");return I.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,A.mergeProps({key:0},I.$attrs,{class:["crm-card",{collapsed:f.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[I.header?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:x[0]||(x[0]=H=>f.value=!f.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":f.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(ve,{key:1,class:"title-icon",size:"large",name:I.mainIcon.name,color:I.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(I.header),1),I.headerFormSlots?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"header-form-slots-right":I.headerFormSlotsPosition==="right","header-form-slots-left":I.headerFormSlotsPosition==="left"})},[A.createVNode(A.unref(rt),{list:I.headerFormSlots},null,8,["list"])],2)):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.extraIcons,H=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:H.name},[H.tips?(A.openBlock(),A.createBlock(N,{key:0,content:H.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:L=>D(H.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:L=>D(H.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),I.typeSwitch?(A.openBlock(),A.createElementBlock("div",
|
|
249
|
+
funcName: ${I}`)}};return(I,x)=>{const N=A.resolveComponent("el-tooltip"),T=A.resolveComponent("el-collapse-transition"),O=A.resolveComponent("ElCard");return I.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,A.mergeProps({key:0},I.$attrs,{class:["crm-card",{collapsed:f.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[I.header?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:x[0]||(x[0]=H=>f.value=!f.value)},[A.createVNode(A.unref(fe),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":f.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(ve,{key:1,class:"title-icon",size:"large",name:I.mainIcon.name,color:I.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(I.header),1),I.headerFormSlots?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"header-form-slots-right":I.headerFormSlotsPosition==="right","header-form-slots-left":I.headerFormSlotsPosition==="left"})},[A.createVNode(A.unref(rt),{list:I.headerFormSlots},null,8,["list"])],2)):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.extraIcons,H=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:H.name},[H.tips?(A.openBlock(),A.createBlock(N,{key:0,content:H.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:L=>D(H.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:H.name,color:H.color,size:H.size||"small",onClick:L=>D(H.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),I.typeSwitch?(A.openBlock(),A.createElementBlock("div",EM,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="card"}]),onClick:x[1]||(x[1]=H=>d("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="table"}]),onClick:x[2]||(x[2]=H=>d("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),I.btns&&I.btns.length>0?(A.openBlock(),A.createElementBlock("div",QM,[A.createVNode(A.unref(Nn),{btns:I.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),I.subHeaders&&I.subHeaders.length>0?(A.openBlock(),A.createElementBlock("div",fM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.subHeaders,H=>(A.openBlock(),A.createElementBlock("div",{key:H,class:"card-sub-header-item"},[A.createElementVNode("span",null,A.toDisplayString(H),1)]))),128))])):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createVNode(T,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:I.children},null,8,["list"])],512),[[A.vShow,!f.value]])]),_:1})]),_:1},16,["class"]))}}}),[["__scopeId","data-v-4b09598f"]])},Symbol.toStringTag,{value:"Module"})),wM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Cascader",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),f=D=>{if(e.onChange&&i)try{i[e.onChange](d,D)}catch(I){console.error(I+`
|
|
250
250
|
onChange: ${e.onChange}`)}},{currentOptions:o,loading:b}=Br(e);return(D,I)=>{const x=A.resolveComponent("el-cascader");return A.openBlock(),A.createBlock(x,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":I[0]||(I[0]=N=>t.value=N),options:A.unref(o),loading:A.unref(b),props:{multiple:D.multiple,label:D.labelKey,value:D.valueKey}},D.$attrs,{onChange:f}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var vC={exports:{}};/*!
|
|
251
251
|
* jsoneditor.js
|
|
252
252
|
*
|
|
@@ -1646,12 +1646,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1646
1646
|
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,v=360,m="keydown",F="mousedown",k="focusin";function _(g,s){return(s||document).querySelector(g)}function B(g){g.preventDefault(),g.stopPropagation()}function p(g,s,h,C,a){g.add(s,m,function(r){h.indexOf(r.key)>=0&&C(r)})}var u=function(){function g(s){o(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new T,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(s)}return b(g,[{key:"setOptions",value:function(h){var C=this;if(!h)return;var a=this.settings;function r(S,K,z){for(var AA in S)K[AA]=S[AA]}if(h instanceof HTMLElement)a.parent=h;else{a.parent&&h.parent&&a.parent!==h.parent&&(this._events.remove(a.parent),this._popupInited=!1),r(h,a),h.onChange&&(this.onChange=h.onChange),h.onDone&&(this.onDone=h.onDone),h.onOpen&&(this.onOpen=h.onOpen),h.onClose&&(this.onClose=h.onClose);var E=h.color||h.colour;E&&this._setColor(E)}var Q=a.parent;if(Q&&a.popup&&!this._popupInited){var M=function(K){return C.openHandler(K)};this._events.add(Q,"click",M),p(this._events,Q,[" ","Spacebar","Enter"],M),this._popupInited=!0}else h.parent&&!a.popup&&this.show()}},{key:"openHandler",value:function(h){if(this.show()){h&&h.preventDefault(),this.settings.parent.style.pointerEvents="none";var C=h&&h.type===m?this._domEdit:this.domElement;setTimeout(function(){return C.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(h){var C=h&&h.type,a=!1;if(!h)a=!0;else if(C===F||C===k){var r=(this.__containedEvent||0)+100;h.timeStamp>r&&(a=!0)}else B(h),a=!0;a&&this.hide()&&(this.settings.parent.style.pointerEvents="",C!==F&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(h,C){this.closeHandler(),this.setOptions(h),C&&this.openHandler()}},{key:"setColor",value:function(h,C){this._setColor(h,{silent:C})}},{key:"_setColor",value:function(h,C){if(typeof h=="string"&&(h=h.trim()),!!h){C=C||{};var a=void 0;try{a=new N(h)}catch(E){if(C.failSilently)return;throw E}if(!this.settings.alpha){var r=a.hsla;r[3]=1,a.hsla=r}this.colour=this.color=a,this._setHSLA(null,null,null,null,C)}}},{key:"setColour",value:function(h,C){this.setColor(h,C)}},{key:"show",value:function(){var h=this.settings.parent;if(!h)return!1;if(this.domElement){var C=this._toggleDOM(!0);return this._setPosition(),C}var a=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',r=O(a);return this.domElement=r,this._domH=_(".picker_hue",r),this._domSL=_(".picker_sl",r),this._domA=_(".picker_alpha",r),this._domEdit=_(".picker_editor input",r),this._domSample=_(".picker_sample",r),this._domOkay=_(".picker_done button",r),this._domCancel=_(".picker_cancel button",r),r.classList.add("layout_"+this.settings.layout),this.settings.alpha||r.classList.add("no_alpha"),this.settings.editor||r.classList.add("no_editor"),this.settings.cancelButton||r.classList.add("no_cancel"),this._ifPopup(function(){return r.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var h=this,C=this,a=this.domElement,r=this._events;function E(S,K,z){r.add(S,K,z)}E(a,"click",function(S){return S.preventDefault()}),H(r,this._domH,function(S,K){return C._setHSLA(S)}),H(r,this._domSL,function(S,K){return C._setHSLA(null,S,1-K)}),this.settings.alpha&&H(r,this._domA,function(S,K){return C._setHSLA(null,null,null,1-K)});var Q=this._domEdit;E(Q,"input",function(S){C._setColor(this.value,{fromEditor:!0,failSilently:!0})}),E(Q,"focus",function(S){var K=this;K.selectionStart===K.selectionEnd&&K.select()}),this._ifPopup(function(){var S=function(AA){return h.closeHandler(AA)};E(window,F,S),E(window,k,S),p(r,a,["Esc","Escape"],S);var K=function(AA){h.__containedEvent=AA.timeStamp};E(a,F,K),E(a,k,K),E(h._domCancel,"click",S)});var M=function(K){h._ifPopup(function(){return h.closeHandler(K)}),h.onDone&&h.onDone(h.colour)};E(this._domOkay,"click",M),p(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var h=this.settings.parent,C=this.domElement;h!==C.parentNode&&h.appendChild(C),this._ifPopup(function(a){getComputedStyle(h).position==="static"&&(h.style.position="relative");var r=a===!0?"popup_right":"popup_"+a;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(E){E===r?C.classList.add(E):C.classList.remove(E)}),C.classList.add(r)})}},{key:"_setHSLA",value:function(h,C,a,r,E){E=E||{};var Q=this.colour,M=Q.hsla;[h,C,a,r].forEach(function(S,K){(S||S===0)&&(M[K]=S)}),Q.hsla=M,this._updateUI(E),this.onChange&&!E.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(h){if(!this.domElement)return;h=h||{};var C=this.colour,a=C.hsla,r="hsl("+a[0]*v+", 100%, 50%)",E=C.hslString,Q=C.hslaString,M=this._domH,S=this._domSL,K=this._domA,z=_(".picker_selector",M),AA=_(".picker_selector",S),eA=_(".picker_selector",K);function V(iA,dA,mA){dA.style.left=mA*100+"%"}function $(iA,dA,mA){dA.style.top=mA*100+"%"}V(M,z,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,V(S,AA,a[1]),$(S,AA,1-a[2]),S.style.color=E,$(K,eA,1-a[3]);var J=E,y=J.replace("hsl","hsla").replace(")",", 0)"),j="linear-gradient("+[J,y]+")";if(this._domA.style.background=j+", "+L,!h.fromEditor){var P=this.settings.editorFormat,q=this.settings.alpha,rA=void 0;switch(P){case"rgb":rA=C.printRGB(q);break;case"hsl":rA=C.printHSL(q);break;default:rA=C.printHex(q)}this._domEdit.value=rA}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(h,C){this.settings.parent&&this.settings.popup?h&&h(this.settings.popup):C&&C()}},{key:"_toggleDOM",value:function(h){var C=this.domElement;if(!C)return!1;var a=h?"":"none",r=C.style.display!==a;return r&&(C.style.display=a),r}}]),g}(),l=document.createElement("style");return l.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(l),u.StyleElement=l,u}()},9857:function(f,o,b){b.d(o,{m:function(){return XA}});class D extends Error{constructor(MA,qA){super(MA+" at position "+qA),this.position=qA}}let I=92,x=47,N=42,T=123,O=125,H=91,L=93,v=40,m=41,F=32,k=10,_=9,B=13,p=8,u=12,l=34,g=43,s=45,h=39,C=48,a=57,r=44,E=46,Q=58,M=59,S=65,K=97,z=69,AA=101,eA=70,V=102,$=160,J=8192,y=8202,j=8239,P=8287,q=12288,rA=8220,iA=8221,dA=8216,mA=8217,gA=96,wA=180;function X(xA){return xA>=C&&xA<=a}function lA(xA){return cA.test(xA)}let cA=/^[,:[\]/{}()\n+]$/;function hA(xA){return U.test(xA)||xA&&tA(xA.charCodeAt(0))}let U=/^[[{\w-]$/;function W(xA){return xA===F||xA===k||xA===_||xA===B}function tA(xA){return aA(xA)||SA(xA)}function aA(xA){return xA===l||xA===rA||xA===iA}function CA(xA){return xA===l}function SA(xA){return xA===h||xA===dA||xA===mA||xA===gA||xA===wA}function zA(xA){return xA===h}function jA(xA,MA,qA){return qA=2<arguments.length&&qA!==void 0&&qA,MA=xA.lastIndexOf(MA),MA!==-1?xA.substring(0,MA)+(qA?"":xA.substring(MA+1)):xA}function Ae(xA,MA){let qA=xA.length;if(!W(xA.charCodeAt(qA-1)))return xA+MA;for(;W(xA.charCodeAt(qA-1));)qA--;return xA.substring(0,qA)+MA+xA.substring(qA)}let vA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},$A={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1647
1647
|
`,r:"\r",t:" "};function XA(xA){let MA=0,qA="";if(!ye())throw new D("Unexpected end of json string",xA.length);var Ce=UA(r);if(Ce&&Se(),hA(xA[MA])&&/[,\n][ \t\r]*$/.test(qA)){Ce||(qA=Ae(qA,","));{let se=!0,ue=!0;for(;ue;)se?se=!1:UA(r)||(qA=Ae(qA,",")),ue=ye();ue||(qA=jA(qA,",")),qA=`[
|
|
1648
1648
|
`.concat(qA,`
|
|
1649
|
-
]`)}}else Ce&&(qA=jA(qA,","));for(;xA.charCodeAt(MA)===O||xA.charCodeAt(MA)===L;)MA++,Se();if(MA>=xA.length)return qA;throw new D("Unexpected character "+JSON.stringify(xA[MA]),MA);function ye(){Se();var se=function(){if(xA.charCodeAt(MA)!==T)return!1;{qA+="{",MA++,Se(),JA(r)&&Se();let ct=!0;for(;MA<xA.length&&xA.charCodeAt(MA)!==O;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),Se()),de(),!(ae()||IA())){xA.charCodeAt(MA)===O||xA.charCodeAt(MA)===T||xA.charCodeAt(MA)===L||xA.charCodeAt(MA)===H||xA[MA]===void 0?qA=jA(qA,","):function(){throw new D("Object key expected",MA)}();break}Se();var ue=UA(Q),xe=MA>=xA.length,tt=(ue||(hA(xA[MA])||xe?qA=Ae(qA,":"):be()),ye());tt||(ue||xe?qA+="null":be())}return xA.charCodeAt(MA)===O?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(xA.charCodeAt(MA)!==H)return!1;{qA+="[",MA++,Se(),JA(r)&&Se();let xe=!0;for(;MA<xA.length&&xA.charCodeAt(MA)!==L;){xe?xe=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return xA.charCodeAt(MA)===L?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(xA.charCodeAt(MA)===s){if(MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1}for(;X(xA.charCodeAt(MA));)MA++;if(xA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1;for(;X(xA.charCodeAt(MA));)MA++}if(xA.charCodeAt(MA)===AA||xA.charCodeAt(MA)===z){if(MA++,xA.charCodeAt(MA)!==s&&xA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1;for(;X(xA.charCodeAt(MA));)MA++}var xe,tt;if(TA()){if(MA>ue)return xe=xA.slice(ue,MA),tt=/^0\d/.test(xe),qA+=tt?'"'.concat(xe,'"'):xe,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||IA();return Se(),se}function Se(){for(NA();function(){if(xA.charCodeAt(MA)===x&&xA.charCodeAt(MA+1)===N){for(;MA<xA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(xA,MA);)MA++;MA+=2}else{if(xA.charCodeAt(MA)!==x||xA.charCodeAt(MA+1)!==x)return!1;for(;MA<xA.length&&xA.charCodeAt(MA)!==k;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,xe;(ue=W(xA.charCodeAt(MA)))||(xe=xA.charCodeAt(MA))===$||xe>=J&&xe<=y||xe===j||xe===P||xe===q;)se+=ue?xA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return xA.charCodeAt(MA)===se&&(qA+=xA[MA],MA++,!0)}function JA(se){return xA.charCodeAt(MA)===se&&(MA++,!0)}function de(){Se(),xA.charCodeAt(MA)===E&&xA.charCodeAt(MA+1)===E&&xA.charCodeAt(MA+2)===E&&(MA+=3,Se(),JA(r))}function ae(se){var ue,xe,tt=0<arguments.length&&se!==void 0&&se;let ct=xA.charCodeAt(MA)===I;if(ct&&(MA++,ct=!0),tA(xA.charCodeAt(MA))){var FA=CA(xA.charCodeAt(MA))?CA:zA(xA.charCodeAt(MA))?zA:SA(xA.charCodeAt(MA))?SA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=xA.length)return WA=LA(MA-1),!tt&&lA(xA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(xA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,Se(),tt||MA>=xA.length||lA(xA.charAt(MA))||tA(xA.charCodeAt(MA))||X(xA.charCodeAt(MA)))return Ee(),!0;if(lA(xA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&lA(xA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(xA.charCodeAt(MA)===I)if(ZA=xA.charAt(MA+1),$A[ZA]!==void 0)Me+=xA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((xe=xA.charCodeAt(MA+qe))>=C&&xe<=a||xe>=S&&xe<=eA||xe>=K&&xe<=V);)qe++;if(qe===6)Me+=xA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=xA.length))throw Ie=void 0,Ie=xA.slice(MA,MA+6),new D('Invalid unicode character "'.concat(Ie,'"'),MA);MA=xA.length}}else Me+=ZA,MA+=2;else{var Ie=xA.charAt(MA),ie=xA.charCodeAt(MA);if(ie===l&&xA.charCodeAt(MA-1)!==I)Me+="\\"+Ie;else if((ue=ie)===k||ue===B||ue===_||ue===p||ue===u)Me+=vA[Ie];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=Ie,new D("Invalid character "+JSON.stringify(ie),MA);Me+=Ie}MA++}}ct&&JA(I)}}return!1}function Ee(){for(Se();xA.charCodeAt(MA)===g;){MA++,Se();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,xe=1,ue.substring(0,se)+ue.substring(se+xe)):Ae(qA,'"')}var xe}function ke(se,ue){return xA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function IA(){for(var se,ue=MA;MA<xA.length&&(!lA(se=xA[MA])||se==="/")&&!tA(xA.charCodeAt(MA));)MA++;if(MA>ue){if(xA.charCodeAt(MA)===v&&/^\w+$/.test(xA.slice(ue,MA).trim()))MA++,ye(),xA.charCodeAt(MA)===m&&(MA++,xA.charCodeAt(MA)===M)&&MA++;else{for(;W(xA.charCodeAt(MA-1))&&0<MA;)MA--;ue=xA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),xA.charCodeAt(MA)===l&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&W(xA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=xA.length||lA(xA[MA])||W(xA.charCodeAt(MA))}function re(se){qA+=xA.slice(se,MA)+"0"}function be(){throw new D("Colon expected",MA)}}},3420:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(f){f.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return t.d(o,{a:o}),o},t.d=function(f,o){for(var b in o)t.o(o,b)&&!t.o(f,b)&&Object.defineProperty(f,b,{enumerable:!0,get:o[b]})},t.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},t.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},t.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},t(1346);function t(f){var o=d[f];return o!==void 0||(o=d[f]={id:f,loaded:!1,exports:{}},i[f].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(vC);var yM=vC.exports;const DM=Id(yM),vM={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const T=H=>{this.json=H,this.$emit("update:modelValue",H),this.$emit("change",H),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const H=this.editor.get();T(H)}catch{}},d=()=>{this.expandAll()},f=(T,O,H)=>{this.$emit("textSelectionChange",this.editor,T,O,H)},o=(T,O)=>{this.$emit("selectionChange",this.editor,T,O)},b=(T,O,H)=>{this.$emit("colorPicker",this.editor,T,O,H)},D=({target:T})=>{this.$emit("focus",this.editor,T)},I=({target:T})=>{this.$emit("blur",this.editor,T)},x=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:f,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:I,onValidationError:x};this.editor=new DM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},kM={ref:"jsonEditorVue",class:"json-editor-vue"};function _M(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",kM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>f.toggleFullScreen&&f.toggleFullScreen(...o))},null,2)],2)}const MM=oe(vM,[["render",_M],["__scopeId","data-v-c53d52f1"]]),SM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(p0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(MM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),xM={key:0},NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),{currentOptions:d,selectChange:f,loading:o}=Br(e),{ruleModule:b,pageMethodMap:D}=Rn(),I=x=>{if(f(x),e.onChange&&b)try{b[e.onChange](D,x)}catch(N){console.error(N+`
|
|
1650
|
-
onChange: ${e.onChange}`)}};return A.watch(t,f),(x,N)=>{var m;const T=A.resolveComponent("el-checkbox"),O=A.resolveComponent("el-checkbox-button"),H=A.resolveComponent("el-space"),L=A.resolveComponent("el-checkbox-group"),v=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",
|
|
1651
|
-
onChange: ${t.onChange}`)}},T=O=>t.disabledDate?I[t.disabledDate](x,O):!1;return(O,H)=>{const L=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",
|
|
1652
|
-
onChange: ${e.onChange}`)}},{currentOptions:b,loading:D}=Br(e);return(I,x)=>{var v;const N=A.resolveComponent("el-radio"),T=A.resolveComponent("el-radio-button"),O=A.resolveComponent("el-space"),H=A.resolveComponent("el-radio-group"),L=A.resolveDirective("loading");return I.read?(A.openBlock(),A.createElementBlock("div",WM,A.toDisplayString(((v=A.unref(b).find(m=>m[I.valueKey]===t.value))==null?void 0:v[I.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(H,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=m=>t.value=m),onChange:o},I.$attrs),{default:A.withCtx(()=>[A.createVNode(O,{wrap:"",direction:I.direction,size:[I.space,I.space],alignment:"normal"},{default:A.withCtx(()=>[I.optionType==="circle"||I.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],disabled:m[I.disabledKey],border:I.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(T,A.mergeProps({key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],class:"radio-button",disabled:m[I.disabledKey],ref_for:!0},I.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[L,A.unref(D)]])}}}),[["__scopeId","data-v-1e24870a"]])},Symbol.toStringTag,{value:"Module"})),qM={class:"vfc-formList"},XM={key:1},VM={class:"list-item-content"},AS={class:"card-header"},eS={style:{"margin-top":"5px"}},tS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=Et(),f=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},I=N=>{const T=t.value.filter((O,H)=>H!==N);t.value=T},x=(N,T,O,H)=>{const L=T.no,v=f(H)[L];return A.h(ro,{...v,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${H}.${v.name}`})};return A.watch(t,(N,T)=>{const O=N.reduce((m,F,k)=>(ut.isEqual(F,T[k])||(m=k),m),0);if(i.value=O,!e.children.some(m=>m.change))return;const H=f(O),L=N[O]||{},v=T[O]||{};H.forEach(m=>{m.change&&v&&!ut.isEqual(L[m.name],v[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const k=F.target.split(".").pop();t.value[O][k]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,T)=>{const O=A.resolveComponent("el-space"),H=A.resolveComponent("el-button"),L=A.resolveComponent("el-form-item"),v=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",qM,[A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",XM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(L,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",VM,[A.createVNode(O,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${_}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(v,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",AS,[A.createElementVNode("span",null,A.toDisplayString(N.title+(_+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${_}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:_=>I(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",eS,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),nS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),iS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8ba696e7"]])},Symbol.toStringTag,{value:"Module"})),oS={key:0},rS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et(),i=A.computed(()=>t.schema.read),d=f=>{["E","e","+","-"].includes(f.key)&&f.preventDefault()};return(f,o)=>{const b=A.resolveComponent("el-input-number");return f.read||i.value?(A.openBlock(),A.createElementBlock("span",oS,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(f.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),style:{width:"100%"},min:f.min||0,onKeydown:d,"controls-position":"right"}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),aS={style:{"min-height":"32px"}},sS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=Et(),f=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=H=>{const{valueKey:L="value",multiple:v,name:m}=e;let F={};if(v&&Array.isArray(H)?F=N.value.filter(k=>H.includes(k[L])):F=N.value.find(k=>k[L]===H)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,H,F)}catch(k){console.error(k+`
|
|
1653
|
-
onChange: ${e.onChange}`)}},{currentOptions:I,loading:x}=Br(e),N=A.ref(JSON.parse(JSON.stringify(I.value))),T=A.computed(()=>{var L;if(e.multiple)return N.value.filter(m=>i.value.includes(m[e.valueKey])).map(m=>m[e.labelKey]).join(",");const H=(L=N.value.find(v=>v[e.valueKey]===i.value))==null?void 0:L[e.labelKey];return!H||`${H}`.trim().length===0?"--":H});A.watch(()=>i,H=>{O()}),A.watch(()=>I.value,H=>{O()});const O=()=>{var L;if(N.value=JSON.parse(JSON.stringify(I.value||[])),!(i!=null&&i.value)&&(i==null?void 0:i.value)!=-1)return;let H=!0;(L=I==null?void 0:I.value)==null||L.forEach(v=>{v.value===i.value&&(H=!1)}),H&&N.value.unshift({label:"",value:i.value})};return(H,L)=>{const v=A.resolveComponent("el-option"),m=A.resolveComponent("el-select");return f.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:H.readTextColor})},A.toDisplayString(T.value),5)):(A.openBlock(),A.createBlock(m,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":L[0]||(L[0]=F=>i.value=F)},H.$attrs,{onChange:D,multiple:H.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(x),placeholder:"",style:{width:H.width}}),{loading:A.withCtx(()=>L[1]||(L[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",
|
|
1654
|
-
onClick: ${f}`)}};return(f,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(f.$attrs,{innerHTML:f.text,onClick:d,style:{color:f.color,cursor:f.onClick?"pointer":"default",fontSize:f.fontSize,fontWeight:f.fontWeight}}),null,16,uS))}})},Symbol.toStringTag,{value:"Module"})),kC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),pS=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),CS={key:0,class:"smallDragStyle-text"},BS={class:"el-upload__tip"},mS={key:0,class:"upload-bottom-part"},ES={key:0,class:"small-file-list-wrapper"},QS={class:"file-item-name"},fS={class:"file-list-wrapper"},IS=["title"],wS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=Rn(),f=O=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,O)}catch(H){console.error(H)}return!0},o=(O,H)=>{if(e.onChange)try{i[e.onChange](d,O,H)}catch(L){console.error(L)}},b=O=>{const H=t.value.findIndex(L=>L.uid===O.uid);H!==-1&&t.value.splice(H,1)},D=(O,H)=>{console.log(O,H)},I=O=>{console.log(O)},x=A.ref(),N=(O,H)=>{if(e.isOnlyOne&&e.limit===1){x.value.clearFiles();const L=O[0];L.uid=St.genFileId(),x.value.handleStart(L)}else St.ElMessage.warning(`The limit is ${e.limit}, you selected ${O.length} files this time, add up to ${O.length+H.length} totally`)},T=(O,H)=>e.beforeUpload?!1:St.ElMessageBox.confirm(`Cancel the transfer of ${O.name} ?`).then(()=>!0,()=>!1);return(O,H)=>{const L=A.resolveComponent("el-button"),v=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(v,{"file-list":t.value,"onUpdate:fileList":H[0]||(H[0]=m=>t.value=m),action:O.action,multiple:O.multiple,limit:O.limit,drag:O.drag,name:O.name,listType:O.listType,"show-file-list":O.showFileList,"on-preview":I,"on-remove":D,"before-remove":T,"before-upload":f,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:O.drag,smallDragStyle:O.smallDragStyle}),ref_key:"upload",ref:x},A.createSlots({default:A.withCtx(()=>[O.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",CS,H[1]||(H[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(ve,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),H[2]||(H[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(L,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(O.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),O.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(fe),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[O.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",BS,A.toDisplayString(O.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),O.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",mS,[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",ES,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujian",size:"small"}),A.createElementVNode("div",QS,A.toDisplayString(m.name),1),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createElementVNode("div",null,A.toDisplayString(O.attachmentTitle),1),A.createElementVNode("div",fS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",{class:"file-item-name",title:m.name},A.toDisplayString(m.name),9,IS),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])],64))])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-d54b3b70"]])},Symbol.toStringTag,{value:"Module"}));function bS(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class yS{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let d=1;d<=4;d++){const f=i[qt(0,i.length)];this.options.code+=f,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*d,b=parseInt(this.options.height)/2,D=qt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(f,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:bS(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const DS={class:"vfc-verify-code"},vS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=Et(),f=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new yS(t.value)}),(o,b)=>{const D=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",DS,[A.createVNode(D,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=I=>e.value=I),class:"verify-input",placeholder:o.placeholder,onBlur:f},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),kS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const f=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(f,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(kC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),_S={class:"right-icon-wrapper"},MS={class:"dynamic-icon-wrapper"},SS={class:"static-icon-wrapper"},xS={class:"tab-label-text"},NS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const I=e.children.findIndex(x=>x.name===t.value);return I-1>=0?I-1:null}),{ruleModule:d,pageMethodMap:f}=Rn();function o(I){if(e.tabChange)try{d[e.tabChange](f,I)}catch(x){console.error(x)}}async function b(I,x){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](f,I,x)}catch(N){console.error(N)}return!0}const D=I=>{if(e.id){const x=document.getElementById(e.id);if(x){const N=x.getElementsByClassName("el-tabs__nav-scroll")[0],T=x.getElementsByClassName("el-tabs__nav")[0],H=T.style.transform.split("(")[1].split(")")[0].split("px")[0],L=N.offsetWidth-T.offsetWidth,v=0;let m=parseInt(H);m=m-I.deltaY,m<L&&(m=L),m>v&&(m=v),T.style.transform=`translateX(${m}px)`}I.preventDefault()}};return A.watch(()=>e.children,()=>{e.children.forEach(I=>{I.children||(I.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(I,x)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(T,A.mergeProps({ref:"tabsRef",id:I.id},I.$attrs,{modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=O=>t.value=O),onTabChange:o,"before-leave":b,addable:I.styleType==="btn",class:{"modal-type":I.styleType==="modal","btn-type":I.styleType==="btn","form-item-tabs":I.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",_S,[A.createElementVNode("div",MS,[A.createVNode(Nn,{btns:I.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",SS,[A.createVNode(Nn,{btns:I.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,(O,H)=>(A.openBlock(),A.createBlock(N,A.mergeProps({key:O.name,ref_for:!0},O),{label:A.withCtx(()=>[A.createElementVNode("div",{class:"tab-label",style:{height:"100%"},onWheel:D},[I.styleType==="btn"&&O.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:O.icon,size:O.iconSize||"x-small"},null,8,["name","size"])):A.createCommentVNode("",!0),A.createElementVNode("span",xS,A.toDisplayString(O.label),1),H!==I.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===O.name||i.value===H}])},null,2)):A.createCommentVNode("",!0)],32)]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:O.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-86c82e1b"]])},Symbol.toStringTag,{value:"Module"})),FS={class:"vfc-ObjGroup"},RS={key:1,class:"vfc-ObjGroup-render"},LS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=Et(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(f,o)=>(A.openBlock(),A.createElementBlock("div",FS,[A.unref(t).design?(A.openBlock(),A.createBlock(jc,{key:0,list:f.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",RS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.children,b=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),GS={key:0},PS={key:0},HS={key:1},KS={key:1,class:"search-select-wrapper"},TS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=x=>{const{valueKey:N="value",multiple:T,name:O}=e;let H={};if(T&&Array.isArray(x)?H=D.value.filter(L=>x.includes(L[N])):H=D.value.find(L=>L[N]===x)||{},i.selectData&&O&&i.updateSelectData(O,H),e.onChange&&d)try{d[e.onChange](f,x,H)}catch(L){console.error(L+`
|
|
1649
|
+
]`)}}else Ce&&(qA=jA(qA,","));for(;xA.charCodeAt(MA)===O||xA.charCodeAt(MA)===L;)MA++,Se();if(MA>=xA.length)return qA;throw new D("Unexpected character "+JSON.stringify(xA[MA]),MA);function ye(){Se();var se=function(){if(xA.charCodeAt(MA)!==T)return!1;{qA+="{",MA++,Se(),JA(r)&&Se();let ct=!0;for(;MA<xA.length&&xA.charCodeAt(MA)!==O;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),Se()),de(),!(ae()||IA())){xA.charCodeAt(MA)===O||xA.charCodeAt(MA)===T||xA.charCodeAt(MA)===L||xA.charCodeAt(MA)===H||xA[MA]===void 0?qA=jA(qA,","):function(){throw new D("Object key expected",MA)}();break}Se();var ue=UA(Q),xe=MA>=xA.length,tt=(ue||(hA(xA[MA])||xe?qA=Ae(qA,":"):be()),ye());tt||(ue||xe?qA+="null":be())}return xA.charCodeAt(MA)===O?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(xA.charCodeAt(MA)!==H)return!1;{qA+="[",MA++,Se(),JA(r)&&Se();let xe=!0;for(;MA<xA.length&&xA.charCodeAt(MA)!==L;){xe?xe=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return xA.charCodeAt(MA)===L?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(xA.charCodeAt(MA)===s){if(MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1}for(;X(xA.charCodeAt(MA));)MA++;if(xA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1;for(;X(xA.charCodeAt(MA));)MA++}if(xA.charCodeAt(MA)===AA||xA.charCodeAt(MA)===z){if(MA++,xA.charCodeAt(MA)!==s&&xA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!X(xA.charCodeAt(MA)))return MA=ue,!1;for(;X(xA.charCodeAt(MA));)MA++}var xe,tt;if(TA()){if(MA>ue)return xe=xA.slice(ue,MA),tt=/^0\d/.test(xe),qA+=tt?'"'.concat(xe,'"'):xe,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||IA();return Se(),se}function Se(){for(NA();function(){if(xA.charCodeAt(MA)===x&&xA.charCodeAt(MA+1)===N){for(;MA<xA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(xA,MA);)MA++;MA+=2}else{if(xA.charCodeAt(MA)!==x||xA.charCodeAt(MA+1)!==x)return!1;for(;MA<xA.length&&xA.charCodeAt(MA)!==k;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,xe;(ue=W(xA.charCodeAt(MA)))||(xe=xA.charCodeAt(MA))===$||xe>=J&&xe<=y||xe===j||xe===P||xe===q;)se+=ue?xA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return xA.charCodeAt(MA)===se&&(qA+=xA[MA],MA++,!0)}function JA(se){return xA.charCodeAt(MA)===se&&(MA++,!0)}function de(){Se(),xA.charCodeAt(MA)===E&&xA.charCodeAt(MA+1)===E&&xA.charCodeAt(MA+2)===E&&(MA+=3,Se(),JA(r))}function ae(se){var ue,xe,tt=0<arguments.length&&se!==void 0&&se;let ct=xA.charCodeAt(MA)===I;if(ct&&(MA++,ct=!0),tA(xA.charCodeAt(MA))){var FA=CA(xA.charCodeAt(MA))?CA:zA(xA.charCodeAt(MA))?zA:SA(xA.charCodeAt(MA))?SA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=xA.length)return WA=LA(MA-1),!tt&&lA(xA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(xA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,Se(),tt||MA>=xA.length||lA(xA.charAt(MA))||tA(xA.charCodeAt(MA))||X(xA.charCodeAt(MA)))return Ee(),!0;if(lA(xA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&lA(xA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(xA.charCodeAt(MA)===I)if(ZA=xA.charAt(MA+1),$A[ZA]!==void 0)Me+=xA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((xe=xA.charCodeAt(MA+qe))>=C&&xe<=a||xe>=S&&xe<=eA||xe>=K&&xe<=V);)qe++;if(qe===6)Me+=xA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=xA.length))throw Ie=void 0,Ie=xA.slice(MA,MA+6),new D('Invalid unicode character "'.concat(Ie,'"'),MA);MA=xA.length}}else Me+=ZA,MA+=2;else{var Ie=xA.charAt(MA),ie=xA.charCodeAt(MA);if(ie===l&&xA.charCodeAt(MA-1)!==I)Me+="\\"+Ie;else if((ue=ie)===k||ue===B||ue===_||ue===p||ue===u)Me+=vA[Ie];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=Ie,new D("Invalid character "+JSON.stringify(ie),MA);Me+=Ie}MA++}}ct&&JA(I)}}return!1}function Ee(){for(Se();xA.charCodeAt(MA)===g;){MA++,Se();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,xe=1,ue.substring(0,se)+ue.substring(se+xe)):Ae(qA,'"')}var xe}function ke(se,ue){return xA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function IA(){for(var se,ue=MA;MA<xA.length&&(!lA(se=xA[MA])||se==="/")&&!tA(xA.charCodeAt(MA));)MA++;if(MA>ue){if(xA.charCodeAt(MA)===v&&/^\w+$/.test(xA.slice(ue,MA).trim()))MA++,ye(),xA.charCodeAt(MA)===m&&(MA++,xA.charCodeAt(MA)===M)&&MA++;else{for(;W(xA.charCodeAt(MA-1))&&0<MA;)MA--;ue=xA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),xA.charCodeAt(MA)===l&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&W(xA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=xA.length||lA(xA[MA])||W(xA.charCodeAt(MA))}function re(se){qA+=xA.slice(se,MA)+"0"}function be(){throw new D("Colon expected",MA)}}},3420:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(f){f.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(f){f.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return t.d(o,{a:o}),o},t.d=function(f,o){for(var b in o)t.o(o,b)&&!t.o(f,b)&&Object.defineProperty(f,b,{enumerable:!0,get:o[b]})},t.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},t.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},t.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},t(1346);function t(f){var o=d[f];return o!==void 0||(o=d[f]={id:f,loaded:!1,exports:{}},i[f].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(vC);var bM=vC.exports;const yM=Id(bM),DM={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const T=H=>{this.json=H,this.$emit("update:modelValue",H),this.$emit("change",H),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){T("");return}try{const H=this.editor.get();T(H)}catch{}},d=()=>{this.expandAll()},f=(T,O,H)=>{this.$emit("textSelectionChange",this.editor,T,O,H)},o=(T,O)=>{this.$emit("selectionChange",this.editor,T,O)},b=(T,O,H)=>{this.$emit("colorPicker",this.editor,T,O,H)},D=({target:T})=>{this.$emit("focus",this.editor,T)},I=({target:T})=>{this.$emit("blur",this.editor,T)},x=T=>{this.$emit("validationError",this.editor,T)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:f,onSelectionChange:o,onColorPicker:b,onFocus:D,onBlur:I,onValidationError:x};this.editor=new yM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},vM={ref:"jsonEditorVue",class:"json-editor-vue"};function kM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",vM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>f.toggleFullScreen&&f.toggleFullScreen(...o))},null,2)],2)}const _M=oe(DM,[["render",kM],["__scopeId","data-v-c3373674"]]),MM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(p0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(_M,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),SM={key:0},xM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),{currentOptions:d,selectChange:f,loading:o}=Br(e),{ruleModule:b,pageMethodMap:D}=Rn(),I=x=>{if(f(x),e.onChange&&b)try{b[e.onChange](D,x)}catch(N){console.error(N+`
|
|
1650
|
+
onChange: ${e.onChange}`)}};return A.watch(t,f),(x,N)=>{var m;const T=A.resolveComponent("el-checkbox"),O=A.resolveComponent("el-checkbox-button"),H=A.resolveComponent("el-space"),L=A.resolveComponent("el-checkbox-group"),v=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",SM,A.toDisplayString((m=t.value)==null?void 0:m.map(F=>{var k;return(k=A.unref(d).find(_=>_[x.valueKey]===F))==null?void 0:k[x.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(L,A.mergeProps({key:1},x.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=F=>t.value=F),onChange:I}),{default:A.withCtx(()=>[x.optionType==="circle"||x.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(T,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,border:x.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):A.createCommentVNode("",!0),x.optionType==="button"?(A.openBlock(),A.createBlock(H,{key:1,wrap:"",size:[x.space,x.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(O,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,size:"large"},null,8,["label","value","disabled"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[v,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),NM={class:"vfc-color-input"},FM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const d=A.resolveComponent("el-input"),f=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",NM,[A.createVNode(d,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(f,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),RM={key:0,class:"empty"},LM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",RM,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),GM={key:0},PM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},defaultStartTime:{},defaultEndTime:{},disabledDate:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.useAttrs(),d=A.computed(()=>{if(t.defaultStartTime&&t.defaultEndTime)return[new Date(2e3,1,1,parseInt(t.defaultStartTime.split(":")[0]),parseInt(t.defaultStartTime.split(":")[1]),parseInt(t.defaultStartTime.split(":")[2])),new Date(2e3,2,1,parseInt(t.defaultEndTime.split(":")[0]),parseInt(t.defaultEndTime.split(":")[1]),parseInt(t.defaultEndTime.split(":")[2]))]}),f=Et(),o=A.computed(()=>t.read||f.schema.read),b=A.computed(()=>e.value?i.valueFormat?St.dayjs(e.value).format(i.valueFormat):e.value:"--"),D=[{text:"Today",value:new Date}],I=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=O=>{if(console.log("zytest-----handleChange",O),t.onChange&&I)try{I[t.onChange](x,O)}catch(H){console.error(H+`
|
|
1651
|
+
onChange: ${t.onChange}`)}},T=O=>t.disabledDate?I[t.disabledDate](x,O):!1;return(O,H)=>{const L=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",GM,A.toDisplayString(b.value),1)):(A.openBlock(),A.createBlock(L,A.mergeProps({key:1},O.$attrs,{modelValue:e.value,"onUpdate:modelValue":H[0]||(H[0]=v=>e.value=v),style:{width:"100%"},shortcuts:D,"disabled-date":T,onChange:N,"default-time":d.value}),null,16,["modelValue","default-time"]))}}})},Symbol.toStringTag,{value:"Module"})),HM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),KM=A.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const e=A.ref(!1),t=A.ref(""),i=A.ref([]),d=A.ref(null),f=A.ref(0),o=A.ref(0),b=A.ref(!1),D=A.ref(1),I=A.ref(null),x=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,k=>{I.value&&(I.value.style.background=k)});const T=()=>{if(I.value){I.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(I.value).width);I.value.style.height=`${x.value*k}px`,d.value=I.value.getContext("2d"),d.value&&(d.value.scale(1*D.value,1*D.value),D.value=k/n.width,d.value.scale(1/D.value,1/D.value))}};A.onMounted(()=>{I.value&&(I.value.height=n.height,I.value.width=n.width,I.value.style.background=N.value,T(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",T)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",T)});const O=k=>{f.value=k.x,o.value=k.y,d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.lineWidth=n.lineWidth*D.value,d.value.stroke(),d.value.closePath(),i.value.push(k))},H=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.strokeStyle=n.lineColor,d.value.lineWidth=n.lineWidth*D.value,d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),o.value=k.y,f.value=k.x,i.value.push(k))},L=k=>{d.value&&(d.value.beginPath(),d.value.moveTo(f.value,o.value),d.value.lineTo(k.x,k.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},v=k=>{const _=(k==null?void 0:k.format)||n.format,B=(k==null?void 0:k.quality)||n.quality;return new Promise((p,u)=>{if(!e.value){u("Warning: Not Signed!");return}if(d.value){const l=d.value.getImageData(0,0,I.value.width,I.value.height);d.value.globalCompositeOperation="destination-over",d.value.fillStyle=N.value,d.value.fillRect(0,0,I.value.width,I.value.height),t.value=I.value.toDataURL(_,B);let g=t.value;if(d.value.clearRect(0,0,I.value.width,I.value.height),d.value.putImageData(l,0,0),d.value.globalCompositeOperation="source-over",n.isCrop){const s=F(l.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=s[2]-s[0],h.height=s[3]-s[1];const a=d.value.getImageData(s[0],s[1],s[2],s[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(_,B)}}p(g)}})},m=()=>{d.value&&d.value.clearRect(0,0,I.value.width,I.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},F=k=>{let _=I.value.width,B=0,p=I.value.height,u=0;for(let l=0;l<I.value.width;l++)for(let g=0;g<I.value.height;g++){const s=(l+I.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(u=Math.max(g,u),B=Math.max(l,B),p=Math.min(g,p),_=Math.min(l,_))}return[_+1,p+1,B+1,u+1]};return{canvas:I,myBg:N,drawStart:O,drawMove:H,drawEnd:L,generate:v,reset:m,touchStart:k=>{if(k.preventDefault(),e.value=!0,k.touches.length===1&&I.value){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};O(_)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};H(_)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const _={x:k.targetTouches[0].clientX-I.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-I.value.getBoundingClientRect().top};L(_)}},mouseDown:k=>{k.preventDefault(),b.value=!0,e.value=!0;const _={x:k.offsetX,y:k.offsetY};O(_)},mouseMove:k=>{if(k.preventDefault(),b.value){const _={x:k.offsetX,y:k.offsetY};H(_)}},mouseUp:k=>{k.preventDefault();const _={x:k.offsetX,y:k.offsetY};L(_),b.value=!1}}}});function TM(n,e,t,i,d,f){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const UM=oe(KM,[["render",TM],["__scopeId","data-v-0e272b28"]]),YM={key:0},OM={class:"vfc-esign-preview"},$M=["src"],zM={key:1,class:"vfc-esign"},JM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.ref(),i=Et(),d=A.useModel(n,"modelValue"),f={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},o=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},D=()=>{t.value.generate().then(N=>{d.value=N}).catch(N=>{alert(N)})},I=A.ref(""),x=()=>{I.value=d.value,d.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,T)=>{const O=A.resolveComponent("el-button");return A.unref(i).read||d.value?(A.openBlock(),A.createElementBlock("div",YM,[A.createElementVNode("div",OM,[A.createElementVNode("img",{src:d.value,alt:"未签名"},null,8,$M)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(O,{key:0,disabled:N.disabled,onClick:x,type:"primary"},{default:A.withCtx(()=>T[2]||(T[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",zM,[A.createVNode(A.unref(wn),{modelValue:o.value,"onUpdate:modelValue":T[0]||(T[0]=H=>o.value=H),schema:f,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(UM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[I.value?(A.openBlock(),A.createBlock(O,{key:0,disabled:N.disabled,onClick:T[1]||(T[1]=H=>d.value=I.value),plain:"",type:"primary"},{default:A.withCtx(()=>T[3]||(T[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode(O,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>T[4]||(T[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode(O,{disabled:N.disabled,onClick:D,type:"primary"},{default:A.withCtx(()=>T[5]||(T[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),ZM={key:0},WM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Radio",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=I=>{const{valueKey:x="value",name:N}=e;let T={};if(T=b.value.find(O=>O[x]===I)||{},i.selectData&&N&&i.updateSelectData(N,T),e.onChange&&d)try{d[e.onChange](f,I,T)}catch(O){console.error(O+`
|
|
1652
|
+
onChange: ${e.onChange}`)}},{currentOptions:b,loading:D}=Br(e);return(I,x)=>{var v;const N=A.resolveComponent("el-radio"),T=A.resolveComponent("el-radio-button"),O=A.resolveComponent("el-space"),H=A.resolveComponent("el-radio-group"),L=A.resolveDirective("loading");return I.read?(A.openBlock(),A.createElementBlock("div",ZM,A.toDisplayString(((v=A.unref(b).find(m=>m[I.valueKey]===t.value))==null?void 0:v[I.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(H,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=m=>t.value=m),onChange:o},I.$attrs),{default:A.withCtx(()=>[A.createVNode(O,{wrap:"",direction:I.direction,size:[I.space,I.space],alignment:"normal"},{default:A.withCtx(()=>[I.optionType==="circle"||I.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],disabled:m[I.disabledKey],border:I.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(T,A.mergeProps({key:m[I.valueKey],label:m[I.labelKey],value:m[I.valueKey],class:"radio-button",disabled:m[I.disabledKey],ref_for:!0},I.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[L,A.unref(D)]])}}}),[["__scopeId","data-v-08ecef32"]])},Symbol.toStringTag,{value:"Module"})),jM={class:"vfc-formList"},qM={key:1},XM={class:"list-item-content"},VM={class:"card-header"},AS={style:{"margin-top":"5px"}},eS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=Et(),f=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),D=()=>{o.value||(t.value=[...t.value,{}])},I=N=>{const T=t.value.filter((O,H)=>H!==N);t.value=T},x=(N,T,O,H)=>{const L=T.no,v=f(H)[L];return A.h(ro,{...v,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${H}.${v.name}`})};return A.watch(t,(N,T)=>{const O=N.reduce((m,F,k)=>(ut.isEqual(F,T[k])||(m=k),m),0);if(i.value=O,!e.children.some(m=>m.change))return;const H=f(O),L=N[O]||{},v=T[O]||{};H.forEach(m=>{m.change&&v&&!ut.isEqual(L[m.name],v[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const k=F.target.split(".").pop();t.value[O][k]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,T)=>{const O=A.resolveComponent("el-space"),H=A.resolveComponent("el-button"),L=A.resolveComponent("el-form-item"),v=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",jM,[A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",qM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(L,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",XM,[A.createVNode(O,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${_}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,_)=>(A.openBlock(),A.createBlock(v,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",VM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(_+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:B=>I(_),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f(_),B=>(A.openBlock(),A.createBlock(ro,A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${_}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:_=>I(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",AS,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(H,{key:0,onClick:D,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),tS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),nS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-50b97afb"]])},Symbol.toStringTag,{value:"Module"})),iS={key:0},oS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Et(),i=A.computed(()=>t.schema.read),d=f=>{["E","e","+","-"].includes(f.key)&&f.preventDefault()};return(f,o)=>{const b=A.resolveComponent("el-input-number");return f.read||i.value?(A.openBlock(),A.createElementBlock("span",iS,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(f.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},f.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=D=>e.value=D),style:{width:"100%"},min:f.min||0,onKeydown:d,"controls-position":"right"}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),rS={style:{"min-height":"32px"}},aS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=Et(),f=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),D=H=>{const{valueKey:L="value",multiple:v,name:m}=e;let F={};if(v&&Array.isArray(H)?F=N.value.filter(k=>H.includes(k[L])):F=N.value.find(k=>k[L]===H)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,H,F)}catch(k){console.error(k+`
|
|
1653
|
+
onChange: ${e.onChange}`)}},{currentOptions:I,loading:x}=Br(e),N=A.ref(JSON.parse(JSON.stringify(I.value))),T=A.computed(()=>{var L;if(e.multiple)return N.value.filter(m=>i.value.includes(m[e.valueKey])).map(m=>m[e.labelKey]).join(",");const H=(L=N.value.find(v=>v[e.valueKey]===i.value))==null?void 0:L[e.labelKey];return!H||`${H}`.trim().length===0?"--":H});A.watch(()=>i,H=>{O()}),A.watch(()=>I.value,H=>{O()});const O=()=>{var L;if(N.value=JSON.parse(JSON.stringify(I.value||[])),!(i!=null&&i.value)&&(i==null?void 0:i.value)!=-1)return;let H=!0;(L=I==null?void 0:I.value)==null||L.forEach(v=>{v.value===i.value&&(H=!1)}),H&&N.value.unshift({label:"",value:i.value})};return(H,L)=>{const v=A.resolveComponent("el-option"),m=A.resolveComponent("el-select");return f.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:H.readTextColor})},A.toDisplayString(T.value),5)):(A.openBlock(),A.createBlock(m,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":L[0]||(L[0]=F=>i.value=F)},H.$attrs,{onChange:D,multiple:H.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(x),placeholder:"",style:{width:H.width}}),{loading:A.withCtx(()=>L[1]||(L[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",rS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.value,F=>(A.openBlock(),A.createBlock(v,{key:F[H.valueKey],label:F[H.labelKey],value:F[H.valueKey],disabled:F[H.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(F[H.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading","style"]))}}})},Symbol.toStringTag,{value:"Module"})),sS={key:0},lS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(""),d=A.computed({get(){var f;return(f=t.value)==null?void 0:f.replaceAll(i.value,"")},set(f){f?t.value=f+i.value:t.value=f}});return A.watch(i,(f,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+f)}),A.onMounted(()=>{e.selectInitialValue&&(i.value=e.selectInitialValue)}),(f,o)=>{const b=A.resolveComponent("el-option"),D=A.resolveComponent("el-select"),I=A.resolveComponent("el-input");return f.read?(A.openBlock(),A.createElementBlock("span",sS,A.toDisplayString(d.value||"--"),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},f.$attrs,{modelValue:d.value,"onUpdate:modelValue":o[1]||(o[1]=x=>d.value=x)}),{[f.selectPosition]:A.withCtx(()=>[A.createVNode(D,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=x=>i.value=x),style:A.normalizeStyle({width:f.selectWidth+"px"}),placeholder:" "},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.options,x=>(A.openBlock(),A.createBlock(b,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),cS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Et(),t=A.useModel(n,"modelValue");return(i,d)=>{const f=A.resolveComponent("el-switch");return A.openBlock(),A.createBlock(f,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=o=>t.value=o),disabled:A.unref(e).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),gS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tag");return A.openBlock(),A.createBlock(i,A.mergeProps({type:e.type},e.$attrs),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),dS=["innerHTML"],uS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:{text:{},color:{},onClick:{},params:{},fontSize:{},fontWeight:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=n,d=async()=>{const f=i.onClick;if(f&&e)try{await e[f](t,i)}catch(o){console.error(o+`
|
|
1654
|
+
onClick: ${f}`)}};return(f,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(f.$attrs,{innerHTML:f.text,onClick:d,style:{color:f.color,cursor:f.onClick?"pointer":"default",fontSize:f.fontSize,fontWeight:f.fontWeight}}),null,16,dS))}})},Symbol.toStringTag,{value:"Module"})),kC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),hS=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),pS={key:0,class:"smallDragStyle-text"},CS={class:"el-upload__tip"},BS={key:0,class:"upload-bottom-part"},mS={key:0,class:"small-file-list-wrapper"},ES={class:"file-item-name"},QS={class:"file-list-wrapper"},fS=["title"],IS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=Rn(),f=O=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,O)}catch(H){console.error(H)}return!0},o=(O,H)=>{if(e.onChange)try{i[e.onChange](d,O,H)}catch(L){console.error(L)}},b=O=>{const H=t.value.findIndex(L=>L.uid===O.uid);H!==-1&&t.value.splice(H,1)},D=(O,H)=>{console.log(O,H)},I=O=>{console.log(O)},x=A.ref(),N=(O,H)=>{if(e.isOnlyOne&&e.limit===1){x.value.clearFiles();const L=O[0];L.uid=St.genFileId(),x.value.handleStart(L)}else St.ElMessage.warning(`The limit is ${e.limit}, you selected ${O.length} files this time, add up to ${O.length+H.length} totally`)},T=(O,H)=>e.beforeUpload?!1:St.ElMessageBox.confirm(`Cancel the transfer of ${O.name} ?`).then(()=>!0,()=>!1);return(O,H)=>{const L=A.resolveComponent("el-button"),v=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(v,{"file-list":t.value,"onUpdate:fileList":H[0]||(H[0]=m=>t.value=m),action:O.action,multiple:O.multiple,limit:O.limit,drag:O.drag,name:O.name,listType:O.listType,"show-file-list":O.showFileList,"on-preview":I,"on-remove":D,"before-remove":T,"before-upload":f,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:O.drag,smallDragStyle:O.smallDragStyle}),ref_key:"upload",ref:x},A.createSlots({default:A.withCtx(()=>[O.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",pS,H[1]||(H[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(ve,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),H[2]||(H[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(L,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(O.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),O.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(fe),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[O.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",CS,A.toDisplayString(O.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),O.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",BS,[O.smallDragStyle?(A.openBlock(),A.createElementBlock("div",mS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujian",size:"small"}),A.createElementVNode("div",ES,A.toDisplayString(m.name),1),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createElementVNode("div",null,A.toDisplayString(O.attachmentTitle),1),A.createElementVNode("div",QS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",{class:"file-item-name",title:m.name},A.toDisplayString(m.name),9,fS),O.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])],64))])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-fc2c20e2"]])},Symbol.toStringTag,{value:"Module"}));function wS(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class bS{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let d=1;d<=4;d++){const f=i[qt(0,i.length)];this.options.code+=f,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*d,b=parseInt(this.options.height)/2,D=qt(-30,30);t.translate(o,b),t.rotate(D*Math.PI/180),t.fillText(f,0,0),t.rotate(-D*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:wS(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const yS={class:"vfc-verify-code"},DS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=Et(),f=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new bS(t.value)}),(o,b)=>{const D=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",yS,[A.createVNode(D,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=I=>e.value=I),class:"verify-input",placeholder:o.placeholder,onBlur:f},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),vS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const f=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(f,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(kC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),kS={class:"right-icon-wrapper"},_S={class:"dynamic-icon-wrapper"},MS={class:"static-icon-wrapper"},SS={class:"tab-label-text"},xS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const I=e.children.findIndex(x=>x.name===t.value);return I-1>=0?I-1:null}),{ruleModule:d,pageMethodMap:f}=Rn();function o(I){if(e.tabChange)try{d[e.tabChange](f,I)}catch(x){console.error(x)}}async function b(I,x){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](f,I,x)}catch(N){console.error(N)}return!0}const D=I=>{if(e.id){const x=document.getElementById(e.id);if(x){const N=x.getElementsByClassName("el-tabs__nav-scroll")[0],T=x.getElementsByClassName("el-tabs__nav")[0],H=T.style.transform.split("(")[1].split(")")[0].split("px")[0],L=N.offsetWidth-T.offsetWidth,v=0;let m=parseInt(H);m=m-I.deltaY,m<L&&(m=L),m>v&&(m=v),T.style.transform=`translateX(${m}px)`}I.preventDefault()}};return A.watch(()=>e.children,()=>{e.children.forEach(I=>{I.children||(I.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(I,x)=>{const N=A.resolveComponent("el-tab-pane"),T=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(T,A.mergeProps({ref:"tabsRef",id:I.id},I.$attrs,{modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=O=>t.value=O),onTabChange:o,"before-leave":b,addable:I.styleType==="btn",class:{"modal-type":I.styleType==="modal","btn-type":I.styleType==="btn","form-item-tabs":I.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",kS,[A.createElementVNode("div",_S,[A.createVNode(Nn,{btns:I.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",MS,[A.createVNode(Nn,{btns:I.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,(O,H)=>(A.openBlock(),A.createBlock(N,A.mergeProps({key:O.name,ref_for:!0},O),{label:A.withCtx(()=>[A.createElementVNode("div",{class:"tab-label",style:{height:"100%"},onWheel:D},[I.styleType==="btn"&&O.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:O.icon,size:O.iconSize||"x-small"},null,8,["name","size"])):A.createCommentVNode("",!0),A.createElementVNode("span",SS,A.toDisplayString(O.label),1),H!==I.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===O.name||i.value===H}])},null,2)):A.createCommentVNode("",!0)],32)]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:O.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-2b0703d4"]])},Symbol.toStringTag,{value:"Module"})),NS={class:"vfc-ObjGroup"},FS={key:1,class:"vfc-ObjGroup-render"},RS=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=Et(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(f,o)=>(A.openBlock(),A.createElementBlock("div",NS,[A.unref(t).design?(A.openBlock(),A.createBlock(jc,{key:0,list:f.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",FS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.children,b=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),LS={key:0},GS={key:0},PS={key:1},HS={key:1,class:"search-select-wrapper"},KS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Et(),d=A.inject("ruleModule",void 0),f=A.inject("pageMethodMap",{}),o=x=>{const{valueKey:N="value",multiple:T,name:O}=e;let H={};if(T&&Array.isArray(x)?H=D.value.filter(L=>x.includes(L[N])):H=D.value.find(L=>L[N]===x)||{},i.selectData&&O&&i.updateSelectData(O,H),e.onChange&&d)try{d[e.onChange](f,x,H)}catch(L){console.error(L+`
|
|
1655
1655
|
onChange: ${e.onChange}`)}},b=()=>{if(e.onSearch&&d)try{d[e.onSearch](f)}catch(x){console.error(x+`
|
|
1656
|
-
onSearch: ${e.onSearch}`)}},{currentOptions:D,loading:I}=Br(e);return(x,N)=>{var v;const T=A.resolveComponent("el-option"),O=A.resolveComponent("el-select"),H=A.resolveComponent("el-button"),L=A.resolveDirective("loading");return x.read?(A.openBlock(),A.createElementBlock("div",GS,[x.multiple?(A.openBlock(),A.createElementBlock("div",PS,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(D).find(k=>k[x.valueKey]===m))==null?void 0:F[x.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",HS,A.toDisplayString(((v=A.unref(D).find(m=>m[x.valueKey]===t.value))==null?void 0:v[x.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",KS,[A.withDirectives((A.openBlock(),A.createBlock(O,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},x.$attrs,{onChange:o,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(D),m=>(A.openBlock(),A.createBlock(T,{key:m[x.valueKey],label:m[x.labelKey],value:m[x.valueKey],disabled:m[x.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[L,A.unref(I)]]),A.createVNode(H,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-b14d9207"]])},Symbol.toStringTag,{value:"Module"})),US=["id"],YS={class:"custom-slot"},OS={key:0,class:"poll-wrapper"},$S={class:"empty-content"},zS=["title"],JS=["title","onClick"],ZS={key:1,class:"icon-text-wrapper"},WS=["title","onClick"],jS={key:2},qS=["title"],XS={class:"row-btn-wrapper"},VS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{default:"{{ `Showing ${$total} matching tickets`}}"},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),f=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&f[t.rulePath]?f[t.rulePath]:d),b=A.inject("pageMethodMap",{}),D=A.inject("getGlobalParams",()=>{}),I=A.inject(Vn),x=I?I.translateFn:null,N=A.ref(),T=(vA,$A,XA)=>{y.value[vA]&&(y.value[vA][$A]=XA)},O=(vA,$A)=>{const XA=t.columns.find(xA=>xA.key===vA);XA&&(XA.hidden=!$A)},H=(vA,$A,XA,xA)=>{try{o.value[vA.onClick](b,$A,XA,xA),xA==null||xA.stopPropagation()}catch(MA){console.error(MA)}},L=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},v=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},k=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},_=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,xA;if(t.rowKey){const MA=y.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(xA=N.value)==null||xA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>y.value,u=A.ref(),l=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,s=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var xA;const XA=(xA=t.topBtns)==null?void 0:xA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var xA;const XA=(xA=t.rowBtns)==null?void 0:xA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),S=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),K=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=St.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=St.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},V=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(y.value[vA])},J=(vA,$A,XA)=>{t.columns.forEach(xA=>{xA.key===vA&&xA[$A]&&(xA[$A]=XA)})},y=A.ref([]),j=vA=>{y.value=vA||[]},P=(vA={})=>{y.value.push(vA)},q=vA=>{vA>=0&&vA<y.value.length&&y.value.splice(vA,1)},rA=async()=>{y.value=[...y.value]},iA=A.useTemplateRef("rootRef"),dA=(vA,$A)=>{const XA=x?x(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const xA=`${XA}`;return xA.length<=4?"*".repeat(xA.length):xA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},X=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},lA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!y.value||y.value.length===0?!1:y.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:D()}))})),cA=Ai(),hA=A.ref(t.showPollCheckbox||!1),U=A.ref(10),W=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?W.value:0)}catch($A){console.error($A)}},aA=vA=>{if(W.value=Number(vA),Number.isInteger(W.value)||(W.value=Math.floor(W.value)),W.value<=0||W.value>99){W.value=U.value,St.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,W.value),U.value=W.value)}catch($A){console.error($A)}},CA=A.ref(void 0),SA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:T,clearSelection:_,getData:p,getCurrentRow:g,getSelectedRows:s,addRow:P,deleteRow:q,refresh:rA,validate:h,setData:j,selectRow:V,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:K,setPagination:z,setTopBtnHidden:C,setColVisible:O,setColumn:J,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:W,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=zo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),xA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),Se=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",YS,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",OS,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(xA,{type:"number",style:{width:"45px",height:"28px"},modelValue:W.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>W.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(St.ElTable),{ref_key:"tableRef",ref:N,data:y.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:L,onRowDblclick:v,onSelectionChange:F,onCurrentChange:l,height:SA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",$S,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,zS)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(dA(NA,UA)),11,JS)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",ZS,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(dA(NA,UA)),11,WS),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",jS,[A.createVNode(A.unref(rt),{list:X(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:dA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(dA(NA,UA)),15,qS))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),lA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",XS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(Se,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(Se,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:y.value},t,{getColText:dA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||y.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||y.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,US))}}}),[["__scopeId","data-v-0617befb"]])},Symbol.toStringTag,{value:"Module"})),Ax=["id"],ex={class:"left-part"},tx={class:"title"},nx={class:"right-part"},ix={key:0},ox={key:1,class:"switch-panel"},rx={key:3},ax=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,f=A.ref(d.radioDefault??"2"),o=L=>{if(L&&e)try{e[L](t)}catch(v){console.error(v+`
|
|
1657
|
-
funcName: ${L}`)}},b=L=>{d.onRadioChange&&e&&e[d.onRadioChange](t,L)},D=()=>{I.value=!I.value,d.onCollapsed&&e&&e[d.onCollapsed](t,I.value)},I=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{I.value=d.defaultCollapse??!1});const x=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=Et(),T=L=>{x.value=L;const v=ln(N.schema.items,d.name),m=F=>{F.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=L),k.children&&k.children.length>0&&m(k.children)})};v&&v.children&&m(v.children)},O=L=>{d.handleSearch&&e&&e[d.handleSearch](t,L)},H=L=>{d.searchInputChange&&e&&e[d.searchInputChange](t,L)};return T(x.value),(L,v)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),_=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:L.type==="gridItem"}]),style:A.normalizeStyle(L.style),id:L.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:L.type==="inline",mix:L.type==="mix",default:L.type==="default",gridItem:L.type==="gridItem",advanceSearch:L.type==="advanceSearch",collapsedPadding:I.value&&L.onCollapsed,"has-search-input":L.hasSearchInput}])},[A.createElementVNode("div",ex,[L.mainIcon?(A.openBlock(),A.createBlock(ve,{key:0,class:"title-icon",size:"large",name:L.mainIcon.name,color:L.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",tx,A.toDisplayString(L.title),1),L.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=p=>f.value=p),onChange:v[1]||(v[1]=p=>b(f.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(L.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(L.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),L.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:I.value&&L.onCollapsed}])},[A.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=p=>i.value=p),placeholder:L.searchPlaceholder,onInput:H,onKeyup:A.withKeys(O,["enter"])},{prefix:A.withCtx(()=>v[5]||(v[5]=[])),suffix:A.withCtx(()=>[A.createVNode(ve,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:O})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",nx,[L.formSlots?(A.openBlock(),A.createElementBlock("div",ix,[A.createVNode(A.unref(rt),{list:L.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),L.typeSwitch?(A.openBlock(),A.createElementBlock("div",ox,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="card"}]),onClick:v[3]||(v[3]=p=>T("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="table"}]),onClick:v[4]||(v[4]=p=>T("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),L.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:I.value}]),onClick:D},[A.createVNode(ve,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),L.btns&&L.btns.length>0?(A.openBlock(),A.createElementBlock("div",rx,[A.createVNode(A.unref(Nn),{btns:L.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),L.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:L.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1}))],14,Ax)}}}),[["__scopeId","data-v-48b3bde7"]])},Symbol.toStringTag,{value:"Module"})),sx={key:0,class:"dropdown-icon-wrapper"},lx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=A.ref(!1),f=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,D)=>{const I=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(I,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",sx,[A.createVNode(ve,{name:"icon-xialaliebiao",color:"#666666",onClick:f,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(ve,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-e9e23e58"]])},Symbol.toStringTag,{value:"Module"})),cx={class:"content"},gx={class:"product-list"},dx={class:"attribute-list"},ux={key:0,class:"attribute-list-item"},hx={class:"product-title attribute-title"},px={class:"attribute-item-list"},Cx={class:"attribute-label"},Bx={class:"attribute-value"},mx=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(bC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",cx,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",gx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",dx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",ux,[A.createElementVNode("div",hx,A.toDisplayString(d.label),1),A.createElementVNode("div",px,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,f=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:f.label},[A.createElementVNode("div",Cx,A.toDisplayString(f.label),1),A.createElementVNode("div",Bx,A.toDisplayString(f.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),Ex={key:0,class:"empty-content"},Qx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var H,L;const e=n,t=A.ref(),i=A.ref([]),d=(H=e.columns.find(v=>v.position==="title"))==null?void 0:H.key,f=(L=e.columns.find(v=>v.position==="subTitle"))==null?void 0:L.key,o=e.columns.find(v=>v.position==="footer"),b=v=>{const m=[];return v.children&&v.children.length>0&&v.children.forEach(F=>{const k={label:F.PRODUCT_ITEM_NAME,children:[]};F.children&&F.children.length>0&&F.children.forEach(_=>{k.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),m.push(k)}),m};function D(v){const m={},F=[];return v.forEach(k=>{m[k.PRODUCT_ITEM_ID]={...k,children:[]}}),v.forEach(k=>{const _=m[k.PRODUCT_ITEM_ID],B=k.PARENT_PRODUCT_ITEM_ID;B===0||!m[B]?F.push(_):m[B].children.push(_)}),F}const I=A.inject(Vn),x=I?I.translateFn:null;A.watchEffect(()=>{if(e.data){const v=D(e.data);t.value=v.map(m=>{const F={content:[]};return d&&(F.title=x?x(d,m):m[d],F.titleColor="var(--el-color-primary)"),f&&(F.subTitle=x?x(f,m):m[f]),o&&(F.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${x?x(o.key,m):m[o.key]}`}),m.children&&(F.product=b(m)),e.columns.forEach(k=>{k.position==="content"&&F.content.push({label:k.label,value:x?x(k.key,m):m[k.key]})}),F})}});let N=null;const T=A.ref(),O=A.ref(3);return A.onMounted(()=>{var v;i.value=(v=e.rowBtns)==null?void 0:v.map(m=>({icon:m.icon&&m.icon.name?m.icon.name:"icon-tishi",label:m.label,onClick:m.onClick})),N=new ResizeObserver(m=>{for(const F of m){const k=F.contentRect.width;O.value=Math.floor(k/330)||1}}),N.observe(T.value)}),A.onUnmounted(()=>{N&&T.value&&N.unobserve(T.value)}),(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:T,class:"card-list",style:A.normalizeStyle({"--columns":O.value,"--gap":v.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(F,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(mx,{data:F,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!v.data||v.data.length===0?(A.openBlock(),A.createElementBlock("div",Ex,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-44b2ab76"]])},Symbol.toStringTag,{value:"Module"})),fx={class:"progress"},Ix={class:"timeline-content"},wx={class:"timeline-content__title"},bx={key:0,class:"empty-content"},yx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",fx,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(f,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(ve,{name:f.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",Ix,[A.createElementVNode("div",wx,[A.createElementVNode("span",null,A.toDisplayString(f.title),1),A.createElementVNode("span",null,A.toDisplayString(f.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(f.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),Dx={class:"log-list"},vx={class:"title-part"},kx={class:"title"},_x={class:"sub-title"},Mx={class:"content"},Sx={key:0},xx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",Dx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",vx,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",kx,A.toDisplayString(i.title),1),A.createElementVNode("div",_x,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",Mx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(f,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:f.style==="bold",normal:f.style==="normal"})},[A.createTextVNode(A.toDisplayString(f.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",Sx," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"})),Nx=["infinite-scroll-disabled"],Fx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Rn(),i=n,d=async()=>{try{await e[i.load](t)}catch(f){console.error(f)}};return(f,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":f.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(f.style)},[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],12,Nx)),[[b,d]])}}}),[["__scopeId","data-v-6746ff5d"]])},Symbol.toStringTag,{value:"Module"}));mt.$options=Vn,mt.FormDesign=yC,mt.FormRender=wn,mt.PageRender=ag,mt.TableRender=rg,mt.Tree=wC,mt.default=pM,mt.findItemByName=ln,mt.provideRefManager=fC,mt.useFormInstance=Et,mt.useRuleContext=Rn,Object.defineProperties(mt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1656
|
+
onSearch: ${e.onSearch}`)}},{currentOptions:D,loading:I}=Br(e);return(x,N)=>{var v;const T=A.resolveComponent("el-option"),O=A.resolveComponent("el-select"),H=A.resolveComponent("el-button"),L=A.resolveDirective("loading");return x.read?(A.openBlock(),A.createElementBlock("div",LS,[x.multiple?(A.openBlock(),A.createElementBlock("div",GS,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(D).find(k=>k[x.valueKey]===m))==null?void 0:F[x.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",PS,A.toDisplayString(((v=A.unref(D).find(m=>m[x.valueKey]===t.value))==null?void 0:v[x.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",HS,[A.withDirectives((A.openBlock(),A.createBlock(O,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},x.$attrs,{onChange:o,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(D),m=>(A.openBlock(),A.createBlock(T,{key:m[x.valueKey],label:m[x.labelKey],value:m[x.valueKey],disabled:m[x.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[L,A.unref(I)]]),A.createVNode(H,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(fe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-884281f5"]])},Symbol.toStringTag,{value:"Module"})),TS=["id"],US={class:"custom-slot"},YS={key:0,class:"poll-wrapper"},OS={class:"empty-content"},$S=["title"],zS=["title","onClick"],JS={key:1,class:"icon-text-wrapper"},ZS=["title","onClick"],WS={key:2},jS=["title"],qS={class:"row-btn-wrapper"},XS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{default:"{{ `Showing ${$total} matching tickets`}}"},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),f=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&f[t.rulePath]?f[t.rulePath]:d),b=A.inject("pageMethodMap",{}),D=A.inject("getGlobalParams",()=>{}),I=A.inject(Vn),x=I?I.translateFn:null,N=A.ref(),T=(vA,$A,XA)=>{y.value[vA]&&(y.value[vA][$A]=XA)},O=(vA,$A)=>{const XA=t.columns.find(xA=>xA.key===vA);XA&&(XA.hidden=!$A)},H=(vA,$A,XA,xA)=>{try{o.value[vA.onClick](b,$A,XA,xA),xA==null||xA.stopPropagation()}catch(MA){console.error(MA)}},L=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},v=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},k=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},_=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,xA;if(t.rowKey){const MA=y.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(xA=N.value)==null||xA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>y.value,u=A.ref(),l=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,s=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var xA;const XA=(xA=t.topBtns)==null?void 0:xA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var xA;const XA=(xA=t.rowBtns)==null?void 0:xA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),S=A.ref({pageNum:1,pageSize:t.defaultPageSize||10}),K=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=St.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=St.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},V=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(y.value[vA])},J=(vA,$A,XA)=>{t.columns.forEach(xA=>{xA.key===vA&&xA[$A]&&(xA[$A]=XA)})},y=A.ref([]),j=vA=>{y.value=vA||[]},P=(vA={})=>{y.value.push(vA)},q=vA=>{vA>=0&&vA<y.value.length&&y.value.splice(vA,1)},rA=async()=>{y.value=[...y.value]},iA=A.useTemplateRef("rootRef"),dA=(vA,$A)=>{const XA=x?x(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const xA=`${XA}`;return xA.length<=4?"*".repeat(xA.length):xA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},X=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},lA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!y.value||y.value.length===0?!1:y.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:D()}))})),cA=Ai(),hA=A.ref(t.showPollCheckbox||!1),U=A.ref(10),W=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?W.value:0)}catch($A){console.error($A)}},aA=vA=>{if(W.value=Number(vA),Number.isInteger(W.value)||(W.value=Math.floor(W.value)),W.value<=0||W.value>99){W.value=U.value,St.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,W.value),U.value=W.value)}catch($A){console.error($A)}},CA=A.ref(void 0),SA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:T,clearSelection:_,getData:p,getCurrentRow:g,getSelectedRows:s,addRow:P,deleteRow:q,refresh:rA,validate:h,setData:j,selectRow:V,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:K,setPagination:z,setTopBtnHidden:C,setColVisible:O,setColumn:J,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:W,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=zo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),xA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),Se=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",US,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",YS,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(xA,{type:"number",style:{width:"45px",height:"28px"},modelValue:W.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>W.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(St.ElTable),{ref_key:"tableRef",ref:N,data:y.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:L,onRowDblclick:v,onSelectionChange:F,onCurrentChange:l,height:SA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",OS,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,$S)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(dA(NA,UA)),11,zS)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",JS,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:IA=>H(NA,UA,JA,IA)},A.toDisplayString(dA(NA,UA)),11,ZS),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var IA,LA;return[A.createVNode(ve,{name:(IA=gA(NA,UA))==null?void 0:IA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",WS,[A.createVNode(A.unref(rt),{list:X(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:dA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(dA(NA,UA)),15,jS))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),lA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",qS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(Se,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(D)()})?(A.openBlock(),A.createBlock(Se,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>H(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(D)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:y.value},t,{getColText:dA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||y.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||y.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,TS))}}}),[["__scopeId","data-v-c24b6d3b"]])},Symbol.toStringTag,{value:"Module"})),VS=["id"],Ax={class:"left-part"},ex={class:"title"},tx={class:"right-part"},nx={key:0},ix={key:1,class:"switch-panel"},ox={key:3},rx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,f=A.ref(d.radioDefault??"2"),o=L=>{if(L&&e)try{e[L](t)}catch(v){console.error(v+`
|
|
1657
|
+
funcName: ${L}`)}},b=L=>{d.onRadioChange&&e&&e[d.onRadioChange](t,L)},D=()=>{I.value=!I.value,d.onCollapsed&&e&&e[d.onCollapsed](t,I.value)},I=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{I.value=d.defaultCollapse??!1});const x=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=Et(),T=L=>{x.value=L;const v=ln(N.schema.items,d.name),m=F=>{F.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=L),k.children&&k.children.length>0&&m(k.children)})};v&&v.children&&m(v.children)},O=L=>{d.handleSearch&&e&&e[d.handleSearch](t,L)},H=L=>{d.searchInputChange&&e&&e[d.searchInputChange](t,L)};return T(x.value),(L,v)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),_=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:L.type==="gridItem"}]),style:A.normalizeStyle(L.style),id:L.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:L.type==="inline",mix:L.type==="mix",default:L.type==="default",gridItem:L.type==="gridItem",advanceSearch:L.type==="advanceSearch",collapsedPadding:I.value&&L.onCollapsed,"has-search-input":L.hasSearchInput}])},[A.createElementVNode("div",Ax,[L.mainIcon?(A.openBlock(),A.createBlock(ve,{key:0,class:"title-icon",size:"large",name:L.mainIcon.name,color:L.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",ex,A.toDisplayString(L.title),1),L.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=p=>f.value=p),onChange:v[1]||(v[1]=p=>b(f.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(L.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(L.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),L.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:I.value&&L.onCollapsed}])},[A.createVNode(_,{modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=p=>i.value=p),placeholder:L.searchPlaceholder,onInput:H,onKeyup:A.withKeys(O,["enter"])},{prefix:A.withCtx(()=>v[5]||(v[5]=[])),suffix:A.withCtx(()=>[A.createVNode(ve,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:O})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",tx,[L.formSlots?(A.openBlock(),A.createElementBlock("div",nx,[A.createVNode(A.unref(rt),{list:L.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),L.typeSwitch?(A.openBlock(),A.createElementBlock("div",ix,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="card"}]),onClick:v[3]||(v[3]=p=>T("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="table"}]),onClick:v[4]||(v[4]=p=>T("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),L.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:I.value}]),onClick:D},[A.createVNode(ve,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),L.btns&&L.btns.length>0?(A.openBlock(),A.createElementBlock("div",ox,[A.createVNode(A.unref(Nn),{btns:L.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),L.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:L.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:L.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1}))],14,VS)}}}),[["__scopeId","data-v-2844549a"]])},Symbol.toStringTag,{value:"Module"})),ax={key:0,class:"dropdown-icon-wrapper"},sx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionPosition:{},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Rn(),d=A.ref(!1),f=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,D)=>{const I=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(I,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion,expansionRight:b.expansion&&b.expansionPosition==="right"}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",ax,[A.createVNode(ve,{name:"icon-xialaliebiao",color:"#666666",onClick:f,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(ve,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-83b6e079"]])},Symbol.toStringTag,{value:"Module"})),lx={class:"content"},cx={class:"product-list"},gx={class:"attribute-list"},dx={key:0,class:"attribute-list-item"},ux={class:"product-title attribute-title"},hx={class:"attribute-item-list"},px={class:"attribute-label"},Cx={class:"attribute-value"},Bx=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(bC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",lx,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",cx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",gx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",dx,[A.createElementVNode("div",ux,A.toDisplayString(d.label),1),A.createElementVNode("div",hx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,f=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:f.label},[A.createElementVNode("div",px,A.toDisplayString(f.label),1),A.createElementVNode("div",Cx,A.toDisplayString(f.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),mx={key:0,class:"empty-content"},Ex=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var H,L;const e=n,t=A.ref(),i=A.ref([]),d=(H=e.columns.find(v=>v.position==="title"))==null?void 0:H.key,f=(L=e.columns.find(v=>v.position==="subTitle"))==null?void 0:L.key,o=e.columns.find(v=>v.position==="footer"),b=v=>{const m=[];return v.children&&v.children.length>0&&v.children.forEach(F=>{const k={label:F.PRODUCT_ITEM_NAME,children:[]};F.children&&F.children.length>0&&F.children.forEach(_=>{k.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),m.push(k)}),m};function D(v){const m={},F=[];return v.forEach(k=>{m[k.PRODUCT_ITEM_ID]={...k,children:[]}}),v.forEach(k=>{const _=m[k.PRODUCT_ITEM_ID],B=k.PARENT_PRODUCT_ITEM_ID;B===0||!m[B]?F.push(_):m[B].children.push(_)}),F}const I=A.inject(Vn),x=I?I.translateFn:null;A.watchEffect(()=>{if(e.data){const v=D(e.data);t.value=v.map(m=>{const F={content:[]};return d&&(F.title=x?x(d,m):m[d],F.titleColor="var(--el-color-primary)"),f&&(F.subTitle=x?x(f,m):m[f]),o&&(F.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${x?x(o.key,m):m[o.key]}`}),m.children&&(F.product=b(m)),e.columns.forEach(k=>{k.position==="content"&&F.content.push({label:k.label,value:x?x(k.key,m):m[k.key]})}),F})}});let N=null;const T=A.ref(),O=A.ref(3);return A.onMounted(()=>{var v;i.value=(v=e.rowBtns)==null?void 0:v.map(m=>({icon:m.icon&&m.icon.name?m.icon.name:"icon-tishi",label:m.label,onClick:m.onClick})),N=new ResizeObserver(m=>{for(const F of m){const k=F.contentRect.width;O.value=Math.floor(k/330)||1}}),N.observe(T.value)}),A.onUnmounted(()=>{N&&T.value&&N.unobserve(T.value)}),(v,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:T,class:"card-list",style:A.normalizeStyle({"--columns":O.value,"--gap":v.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(F,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(Bx,{data:F,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!v.data||v.data.length===0?(A.openBlock(),A.createElementBlock("div",mx,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-708e193d"]])},Symbol.toStringTag,{value:"Module"})),Qx={class:"progress"},fx={class:"timeline-content"},Ix={class:"timeline-content__title"},wx={key:0,class:"empty-content"},bx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",Qx,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(f,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(ve,{name:f.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",fx,[A.createElementVNode("div",Ix,[A.createElementVNode("span",null,A.toDisplayString(f.title),1),A.createElementVNode("span",null,A.toDisplayString(f.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(f.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",wx,[A.createVNode(A.unref(fe),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6b11ed96"]])},Symbol.toStringTag,{value:"Module"})),yx={class:"log-list"},Dx={class:"title-part"},vx={class:"title"},kx={class:"sub-title"},_x={class:"content"},Mx={key:0},Sx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",yx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",Dx,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",vx,A.toDisplayString(i.title),1),A.createElementVNode("div",kx,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",_x,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(f,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:f.style==="bold",normal:f.style==="normal"})},[A.createTextVNode(A.toDisplayString(f.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",Mx," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-fe451915"]])},Symbol.toStringTag,{value:"Module"})),xx=["infinite-scroll-disabled"],Nx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Rn(),i=n,d=async()=>{try{await e[i.load](t)}catch(f){console.error(f)}};return(f,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":f.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(f.style)},[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],12,xx)),[[b,d]])}}}),[["__scopeId","data-v-65b0b3cf"]])},Symbol.toStringTag,{value:"Module"}));mt.$options=Vn,mt.FormDesign=yC,mt.FormRender=wn,mt.PageRender=ag,mt.TableRender=rg,mt.Tree=wC,mt.default=hM,mt.findItemByName=ln,mt.provideRefManager=fC,mt.useFormInstance=Et,mt.useRuleContext=Rn,Object.defineProperties(mt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|