asiaint-lowcode 3.0.59 → 3.0.61
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/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +10 -10
- package/dist/lazy/{Card-DFnLqtU2.js → Card-D7N96kJj.js} +1 -1
- package/dist/lazy/{Cascader-BryKVoxy.js → Cascader-CFkIRlqe.js} +1 -1
- package/dist/lazy/{Checkbox-CYDN2-QR.js → Checkbox-C8AJiGZK.js} +2 -2
- package/dist/lazy/{Collapse-COsBCEFL.js → Collapse-D3p-WrKO.js} +1 -1
- package/dist/lazy/{Component-L34vl_4-.js → Component-B7E_pfJw.js} +1 -1
- package/dist/lazy/{Component-DBf0dx7-.js → Component-BP8wydts.js} +1 -1
- package/dist/lazy/{Component-CiCK4NMZ.js → Component-C9T51YKW.js} +1 -1
- package/dist/lazy/{Component-Dt_v4C_a.js → Component-D359ucl7.js} +1 -1
- package/dist/lazy/{Component-2QhOQJFL.js → Component-DchU1HKE.js} +1 -1
- package/dist/lazy/{Component-q9-X0a71.js → Component-KLYuU3sq.js} +1 -1
- package/dist/lazy/{CurdCard-CsOM77US.js → CurdCard-Bwu-axCO.js} +1 -1
- package/dist/lazy/{Custom-DbGHipRz.js → Custom-B2fpbgco.js} +1 -1
- package/dist/lazy/{FormList-CafrOe7S.js → FormList-CbCqWcqb.js} +1 -1
- package/dist/lazy/{Grid-BDMcsnUw.js → Grid-gCdjb1cs.js} +1 -1
- package/dist/lazy/{Inline-t_XmRQsL.js → Inline-BxcI75gM.js} +1 -1
- package/dist/lazy/{JsonEdit-mCbEo8v8.js → JsonEdit-pSLPfQfQ.js} +1 -1
- package/dist/lazy/{LogList-DN3Qe9Os.js → LogList-DWqd6UgP.js} +1 -1
- package/dist/lazy/{ObjGroup-CnIGF7EU.js → ObjGroup-CJ1yHUFU.js} +1 -1
- package/dist/lazy/{OfferDetails-CkFHovqr.js → OfferDetails-LwIBSemp.js} +1 -1
- package/dist/lazy/{Progress-DKMD3HKv.js → Progress-DpaI0CTE.js} +1 -1
- package/dist/lazy/{Radio-BveNTnf2.js → Radio-DNKyJT0E.js} +2 -2
- package/dist/lazy/{SearchSelect-ByV96A0_.js → SearchSelect-D--gKL_o.js} +2 -2
- package/dist/lazy/{Select-BPY8SaDr.js → Select-WRfJws01.js} +2 -2
- package/dist/lazy/{Table-DAxvqfPu.js → Table-0tMVMu2Z.js} +60 -59
- package/dist/lazy/{Tabs-CABAyH7t.js → Tabs-DjB4rgRQ.js} +1 -1
- package/dist/lazy/{Wrapper-T8saW5Kk.js → Wrapper-rqIdfLzL.js} +9 -9
- package/dist/lazy/{index-CA0JzUNz.js → index-Dr7Km3w1.js} +557 -557
- package/dist/lazy/{useSelect-1DDTdaDr.js → useSelect-Dn5tqPGQ.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(ot,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],e):(ot=typeof globalThis<"u"?globalThis:ot||self,e(ot.AsiaintLowcode={},ot.Vue,ot.ElementPlus))})(this,function(ot,e,Mt){"use strict";var
|
|
1
|
+
(function(ot,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],e):(ot=typeof globalThis<"u"?globalThis:ot||self,e(ot.AsiaintLowcode={},ot.Vue,ot.ElementPlus))})(this,function(ot,e,Mt){"use strict";var JN=Object.defineProperty;var ZN=(ot,e,Mt)=>e in ot?JN(ot,e,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):ot[e]=Mt;var Ze=(ot,e,Mt)=>ZN(ot,typeof e!="symbol"?e+"":e,Mt);function nB(n){const A=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(A,t,i.get?i:{enumerable:!0,get:()=>n[t]})}}return A.default=n,Object.freeze(A)}const iB=nB(e);var co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oB(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ts={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
|
-
*/ts.exports,function(n,A){(function(){var t,i="4.17.21",Q=200,w="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",b="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",f=500,N="__lodash_placeholder__",G=1,K=2,J=4,T=1,P=2,_=1,m=2,L=4,k=8,y=16,C=32,u=64,p=128,l=256,g=512,r=30,d="...",h=800,s=16,o=1,B=2,E=3,M=1/0,D=9007199254740991,x=17976931348623157e292,R=NaN,$=4294967295,j=$-1,Z=$>>>1,Y=[["ary",p],["bind",_],["bindKey",m],["curry",k],["curryRight",y],["flip",g],["partial",C],["partialRight",u],["rearg",l]],q="[object Arguments]",v="[object Array]",W="[object AsyncFunction]",F="[object Boolean]",X="[object Date]",nA="[object DOMException]",V="[object Error]",tA="[object Function]",cA="[object GeneratorFunction]",sA="[object Map]",hA="[object Number]",z="[object Null]",iA="[object Object]",oA="[object Promise]",rA="[object Proxy]",U="[object RegExp]",O="[object Set]",AA="[object String]",aA="[object Symbol]",dA="[object Undefined]",wA="[object WeakMap]",FA="[object WeakSet]",LA="[object ArrayBuffer]",WA="[object DataView]",jA="[object Float32Array]",ee="[object Float64Array]",zA="[object Int8Array]",DA="[object Int16Array]",QA="[object Int32Array]",NA="[object Uint8Array]",XA="[object Uint8ClampedArray]",re="[object Uint16Array]",Ce="[object Uint32Array]",kA=/\b__p \+= '';/g,SA=/\b(__p \+=) '' \+/g,GA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ZA=/&(?:amp|lt|gt|quot|#39);/g,OA=/[&<>"']/g,VA=RegExp(ZA.source),ce=RegExp(OA.source),pA=/<%-([\s\S]+?)%>/g,mA=/<%([\s\S]+?)%>/g,vA=/<%=([\s\S]+?)%>/g,KA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,TA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,YA=/[\\^$.*+?()[\]{}|]/g,ge=RegExp(YA.source),Le=/^\s+/,ht=/\s/,EA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,BA=/\{\n\/\* \[wrapped with (.+)\] \*/,fA=/,? & /,MA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_A=/[()=,{}\[\]\/\s]/,oe=/\\(\\)?/g,se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,le=/\w*$/,xe=/^[-+]0x[0-9a-f]+$/i,je=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,Ee=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,et=/['\n\r\u2028\u2029\\]/g,He="\\ud800-\\udfff",In="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",xn=In+Xt+Vt,fn="\\u2700-\\u27bf",yt="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",Nn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",Ci=" \\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",Ho="A-Z\\xc0-\\xd6\\xd8-\\xde",Po="\\ufe0e\\ufe0f",Ei=An+Nn+dn+Ci,jn="['’]",zi="["+He+"]",Ko="["+Ei+"]",Qi="["+xn+"]",qn="\\d+",J_="["+fn+"]",Hd="["+yt+"]",Pd="[^"+He+Ei+qn+fn+yt+Ho+"]",hl="\\ud83c[\\udffb-\\udfff]",Z_="(?:"+Qi+"|"+hl+")",Kd="[^"+He+"]",pl="(?:\\ud83c[\\udde6-\\uddff]){2}",Bl="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+Ho+"]",Ud="\\u200d",Td="(?:"+Hd+"|"+Pd+")",z_="(?:"+Wi+"|"+Pd+")",Yd="(?:"+jn+"(?:d|ll|m|re|s|t|ve))?",Od="(?:"+jn+"(?:D|LL|M|RE|S|T|VE))?",$d=Z_+"?",Jd="["+Po+"]?",W_="(?:"+Ud+"(?:"+[Kd,pl,Bl].join("|")+")"+Jd+$d+")*",j_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zd=Jd+$d+W_,X_="(?:"+[J_,pl,Bl].join("|")+")"+Zd,V_="(?:"+[Kd+Qi+"?",Qi,pl,Bl,zi].join("|")+")",A2=RegExp(jn,"g"),e2=RegExp(Qi,"g"),Cl=RegExp(hl+"(?="+hl+")|"+V_+Zd,"g"),t2=RegExp([Wi+"?"+Hd+"+"+Yd+"(?="+[Ko,Wi,"$"].join("|")+")",z_+"+"+Od+"(?="+[Ko,Wi+Td,"$"].join("|")+")",Wi+"?"+Td+"+"+Yd,Wi+"+"+Od,q_,j_,qn,X_].join("|"),"g"),n2=RegExp("["+Ud+He+xn+Po+"]"),i2=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o2=["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"],s2=-1,Je={};Je[jA]=Je[ee]=Je[zA]=Je[DA]=Je[QA]=Je[NA]=Je[XA]=Je[re]=Je[Ce]=!0,Je[q]=Je[v]=Je[LA]=Je[F]=Je[WA]=Je[X]=Je[V]=Je[tA]=Je[sA]=Je[hA]=Je[iA]=Je[U]=Je[O]=Je[AA]=Je[wA]=!1;var Ye={};Ye[q]=Ye[v]=Ye[LA]=Ye[WA]=Ye[F]=Ye[X]=Ye[jA]=Ye[ee]=Ye[zA]=Ye[DA]=Ye[QA]=Ye[sA]=Ye[hA]=Ye[iA]=Ye[U]=Ye[O]=Ye[AA]=Ye[aA]=Ye[NA]=Ye[XA]=Ye[re]=Ye[Ce]=!0,Ye[V]=Ye[tA]=Ye[wA]=!1;var r2={À:"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"},a2={"&":"&","<":"<",">":">",'"':""","'":"'"},l2={"&":"&","<":"<",">":">",""":'"',"'":"'"},c2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},g2=parseFloat,u2=parseInt,zd=typeof co=="object"&&co&&co.Object===Object&&co,d2=typeof self=="object"&&self&&self.Object===Object&&self,Ct=zd||d2||Function("return this")(),El=A&&!A.nodeType&&A,mi=El&&!0&&n&&!n.nodeType&&n,Wd=mi&&mi.exports===El,Ql=Wd&&zd.process,en=function(){try{var bA=mi&&mi.require&&mi.require("util").types;return bA||Ql&&Ql.binding&&Ql.binding("util")}catch{}}(),jd=en&&en.isArrayBuffer,qd=en&&en.isDate,Xd=en&&en.isMap,Vd=en&&en.isRegExp,Ah=en&&en.isSet,eh=en&&en.isTypedArray;function Tt(bA,RA,xA){switch(xA.length){case 0:return bA.call(RA);case 1:return bA.call(RA,xA[0]);case 2:return bA.call(RA,xA[0],xA[1]);case 3:return bA.call(RA,xA[0],xA[1],xA[2])}return bA.apply(RA,xA)}function h2(bA,RA,xA,ie){for(var Qe=-1,Fe=bA==null?0:bA.length;++Qe<Fe;){var ct=bA[Qe];RA(ie,ct,xA(ct),bA)}return ie}function tn(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie&&RA(bA[xA],xA,bA)!==!1;);return bA}function p2(bA,RA){for(var xA=bA==null?0:bA.length;xA--&&RA(bA[xA],xA,bA)!==!1;);return bA}function th(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie;)if(!RA(bA[xA],xA,bA))return!1;return!0}function Xn(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length,Qe=0,Fe=[];++xA<ie;){var ct=bA[xA];RA(ct,xA,bA)&&(Fe[Qe++]=ct)}return Fe}function ir(bA,RA){var xA=bA==null?0:bA.length;return!!xA&&ji(bA,RA,0)>-1}function ml(bA,RA,xA){for(var ie=-1,Qe=bA==null?0:bA.length;++ie<Qe;)if(xA(RA,bA[ie]))return!0;return!1}function We(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length,Qe=Array(ie);++xA<ie;)Qe[xA]=RA(bA[xA],xA,bA);return Qe}function Vn(bA,RA){for(var xA=-1,ie=RA.length,Qe=bA.length;++xA<ie;)bA[Qe+xA]=RA[xA];return bA}function Il(bA,RA,xA,ie){var Qe=-1,Fe=bA==null?0:bA.length;for(ie&&Fe&&(xA=bA[++Qe]);++Qe<Fe;)xA=RA(xA,bA[Qe],Qe,bA);return xA}function B2(bA,RA,xA,ie){var Qe=bA==null?0:bA.length;for(ie&&Qe&&(xA=bA[--Qe]);Qe--;)xA=RA(xA,bA[Qe],Qe,bA);return xA}function fl(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie;)if(RA(bA[xA],xA,bA))return!0;return!1}var C2=wl("length");function E2(bA){return bA.split("")}function Q2(bA){return bA.match(MA)||[]}function nh(bA,RA,xA){var ie;return xA(bA,function(Qe,Fe,ct){if(RA(Qe,Fe,ct))return ie=Fe,!1}),ie}function or(bA,RA,xA,ie){for(var Qe=bA.length,Fe=xA+(ie?1:-1);ie?Fe--:++Fe<Qe;)if(RA(bA[Fe],Fe,bA))return Fe;return-1}function ji(bA,RA,xA){return RA===RA?S2(bA,RA,xA):or(bA,ih,xA)}function m2(bA,RA,xA,ie){for(var Qe=xA-1,Fe=bA.length;++Qe<Fe;)if(ie(bA[Qe],RA))return Qe;return-1}function ih(bA){return bA!==bA}function oh(bA,RA){var xA=bA==null?0:bA.length;return xA?bl(bA,RA)/xA:R}function wl(bA){return function(RA){return RA==null?t:RA[bA]}}function Dl(bA){return function(RA){return bA==null?t:bA[RA]}}function sh(bA,RA,xA,ie,Qe){return Qe(bA,function(Fe,ct,Ue){xA=ie?(ie=!1,Fe):RA(xA,Fe,ct,Ue)}),xA}function I2(bA,RA){var xA=bA.length;for(bA.sort(RA);xA--;)bA[xA]=bA[xA].value;return bA}function bl(bA,RA){for(var xA,ie=-1,Qe=bA.length;++ie<Qe;){var Fe=RA(bA[ie]);Fe!==t&&(xA=xA===t?Fe:xA+Fe)}return xA}function yl(bA,RA){for(var xA=-1,ie=Array(bA);++xA<bA;)ie[xA]=RA(xA);return ie}function f2(bA,RA){return We(RA,function(xA){return[xA,bA[xA]]})}function rh(bA){return bA&&bA.slice(0,gh(bA)+1).replace(Le,"")}function Yt(bA){return function(RA){return bA(RA)}}function vl(bA,RA){return We(RA,function(xA){return bA[xA]})}function Uo(bA,RA){return bA.has(RA)}function ah(bA,RA){for(var xA=-1,ie=bA.length;++xA<ie&&ji(RA,bA[xA],0)>-1;);return xA}function lh(bA,RA){for(var xA=bA.length;xA--&&ji(RA,bA[xA],0)>-1;);return xA}function w2(bA,RA){for(var xA=bA.length,ie=0;xA--;)bA[xA]===RA&&++ie;return ie}var D2=Dl(r2),b2=Dl(a2);function y2(bA){return"\\"+c2[bA]}function v2(bA,RA){return bA==null?t:bA[RA]}function qi(bA){return n2.test(bA)}function k2(bA){return i2.test(bA)}function _2(bA){for(var RA,xA=[];!(RA=bA.next()).done;)xA.push(RA.value);return xA}function kl(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie,Qe){xA[++RA]=[Qe,ie]}),xA}function ch(bA,RA){return function(xA){return bA(RA(xA))}}function Ai(bA,RA){for(var xA=-1,ie=bA.length,Qe=0,Fe=[];++xA<ie;){var ct=bA[xA];(ct===RA||ct===N)&&(bA[xA]=N,Fe[Qe++]=xA)}return Fe}function sr(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie){xA[++RA]=ie}),xA}function M2(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie){xA[++RA]=[ie,ie]}),xA}function S2(bA,RA,xA){for(var ie=xA-1,Qe=bA.length;++ie<Qe;)if(bA[ie]===RA)return ie;return-1}function x2(bA,RA,xA){for(var ie=xA+1;ie--;)if(bA[ie]===RA)return ie;return ie}function Xi(bA){return qi(bA)?F2(bA):C2(bA)}function hn(bA){return qi(bA)?R2(bA):E2(bA)}function gh(bA){for(var RA=bA.length;RA--&&ht.test(bA.charAt(RA)););return RA}var N2=Dl(l2);function F2(bA){for(var RA=Cl.lastIndex=0;Cl.test(bA);)++RA;return RA}function R2(bA){return bA.match(Cl)||[]}function L2(bA){return bA.match(t2)||[]}var G2=function bA(RA){RA=RA==null?Ct:Vi.defaults(Ct.Object(),RA,Vi.pick(Ct,o2));var xA=RA.Array,ie=RA.Date,Qe=RA.Error,Fe=RA.Function,ct=RA.Math,Ue=RA.Object,_l=RA.RegExp,H2=RA.String,nn=RA.TypeError,rr=xA.prototype,P2=Fe.prototype,Ao=Ue.prototype,ar=RA["__core-js_shared__"],lr=P2.toString,Pe=Ao.hasOwnProperty,K2=0,uh=function(){var c=/[^.]+$/.exec(ar&&ar.keys&&ar.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),cr=Ao.toString,U2=lr.call(Ue),T2=Ct._,Y2=_l("^"+lr.call(Pe).replace(YA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gr=Wd?RA.Buffer:t,ei=RA.Symbol,ur=RA.Uint8Array,dh=gr?gr.allocUnsafe:t,dr=ch(Ue.getPrototypeOf,Ue),hh=Ue.create,ph=Ao.propertyIsEnumerable,hr=rr.splice,Bh=ei?ei.isConcatSpreadable:t,To=ei?ei.iterator:t,Ii=ei?ei.toStringTag:t,pr=function(){try{var c=yi(Ue,"defineProperty");return c({},"",{}),c}catch{}}(),O2=RA.clearTimeout!==Ct.clearTimeout&&RA.clearTimeout,$2=ie&&ie.now!==Ct.Date.now&&ie.now,J2=RA.setTimeout!==Ct.setTimeout&&RA.setTimeout,Br=ct.ceil,Cr=ct.floor,Ml=Ue.getOwnPropertySymbols,Z2=gr?gr.isBuffer:t,Ch=RA.isFinite,z2=rr.join,W2=ch(Ue.keys,Ue),gt=ct.max,mt=ct.min,j2=ie.now,q2=RA.parseInt,Eh=ct.random,X2=rr.reverse,Sl=yi(RA,"DataView"),Yo=yi(RA,"Map"),xl=yi(RA,"Promise"),eo=yi(RA,"Set"),Oo=yi(RA,"WeakMap"),$o=yi(Ue,"create"),Er=Oo&&new Oo,to={},V2=vi(Sl),A8=vi(Yo),e8=vi(xl),t8=vi(eo),n8=vi(Oo),Qr=ei?ei.prototype:t,Jo=Qr?Qr.valueOf:t,Qh=Qr?Qr.toString:t;function gA(c){if(tt(c)&&!me(c)&&!(c instanceof _e)){if(c instanceof on)return c;if(Pe.call(c,"__wrapped__"))return mp(c)}return new on(c)}var no=function(){function c(){}return function(I){if(!Xe(I))return{};if(hh)return hh(I);c.prototype=I;var H=new c;return c.prototype=t,H}}();function mr(){}function on(c,I){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!I,this.__index__=0,this.__values__=t}gA.templateSettings={escape:pA,evaluate:mA,interpolate:vA,variable:"",imports:{_:gA}},gA.prototype=mr.prototype,gA.prototype.constructor=gA,on.prototype=no(mr.prototype),on.prototype.constructor=on;function _e(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function i8(){var c=new _e(this.__wrapped__);return c.__actions__=Nt(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Nt(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Nt(this.__views__),c}function o8(){if(this.__filtered__){var c=new _e(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function s8(){var c=this.__wrapped__.value(),I=this.__dir__,H=me(c),eA=I<0,lA=H?c.length:0,uA=EM(0,lA,this.__views__),CA=uA.start,IA=uA.end,yA=IA-CA,HA=eA?IA:CA-1,PA=this.__iteratees__,UA=PA.length,Ae=0,ae=mt(yA,this.__takeCount__);if(!H||!eA&&lA==yA&&ae==yA)return Yh(c,this.__actions__);var de=[];A:for(;yA--&&Ae<ae;){HA+=I;for(var De=-1,he=c[HA];++De<UA;){var ve=PA[De],Me=ve.iteratee,Jt=ve.type,_t=Me(he);if(Jt==B)he=_t;else if(!_t){if(Jt==o)continue A;break A}}de[Ae++]=he}return de}_e.prototype=no(mr.prototype),_e.prototype.constructor=_e;function fi(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function r8(){this.__data__=$o?$o(null):{},this.size=0}function a8(c){var I=this.has(c)&&delete this.__data__[c];return this.size-=I?1:0,I}function l8(c){var I=this.__data__;if($o){var H=I[c];return H===S?t:H}return Pe.call(I,c)?I[c]:t}function c8(c){var I=this.__data__;return $o?I[c]!==t:Pe.call(I,c)}function g8(c,I){var H=this.__data__;return this.size+=this.has(c)?0:1,H[c]=$o&&I===t?S:I,this}fi.prototype.clear=r8,fi.prototype.delete=a8,fi.prototype.get=l8,fi.prototype.has=c8,fi.prototype.set=g8;function Fn(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function u8(){this.__data__=[],this.size=0}function d8(c){var I=this.__data__,H=Ir(I,c);if(H<0)return!1;var eA=I.length-1;return H==eA?I.pop():hr.call(I,H,1),--this.size,!0}function h8(c){var I=this.__data__,H=Ir(I,c);return H<0?t:I[H][1]}function p8(c){return Ir(this.__data__,c)>-1}function B8(c,I){var H=this.__data__,eA=Ir(H,c);return eA<0?(++this.size,H.push([c,I])):H[eA][1]=I,this}Fn.prototype.clear=u8,Fn.prototype.delete=d8,Fn.prototype.get=h8,Fn.prototype.has=p8,Fn.prototype.set=B8;function Rn(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function C8(){this.size=0,this.__data__={hash:new fi,map:new(Yo||Fn),string:new fi}}function E8(c){var I=Nr(this,c).delete(c);return this.size-=I?1:0,I}function Q8(c){return Nr(this,c).get(c)}function m8(c){return Nr(this,c).has(c)}function I8(c,I){var H=Nr(this,c),eA=H.size;return H.set(c,I),this.size+=H.size==eA?0:1,this}Rn.prototype.clear=C8,Rn.prototype.delete=E8,Rn.prototype.get=Q8,Rn.prototype.has=m8,Rn.prototype.set=I8;function wi(c){var I=-1,H=c==null?0:c.length;for(this.__data__=new Rn;++I<H;)this.add(c[I])}function f8(c){return this.__data__.set(c,S),this}function w8(c){return this.__data__.has(c)}wi.prototype.add=wi.prototype.push=f8,wi.prototype.has=w8;function pn(c){var I=this.__data__=new Fn(c);this.size=I.size}function D8(){this.__data__=new Fn,this.size=0}function b8(c){var I=this.__data__,H=I.delete(c);return this.size=I.size,H}function y8(c){return this.__data__.get(c)}function v8(c){return this.__data__.has(c)}function k8(c,I){var H=this.__data__;if(H instanceof Fn){var eA=H.__data__;if(!Yo||eA.length<Q-1)return eA.push([c,I]),this.size=++H.size,this;H=this.__data__=new Rn(eA)}return H.set(c,I),this.size=H.size,this}pn.prototype.clear=D8,pn.prototype.delete=b8,pn.prototype.get=y8,pn.prototype.has=v8,pn.prototype.set=k8;function mh(c,I){var H=me(c),eA=!H&&ki(c),lA=!H&&!eA&&si(c),uA=!H&&!eA&&!lA&&ro(c),CA=H||eA||lA||uA,IA=CA?yl(c.length,H2):[],yA=IA.length;for(var HA in c)(I||Pe.call(c,HA))&&!(CA&&(HA=="length"||lA&&(HA=="offset"||HA=="parent")||uA&&(HA=="buffer"||HA=="byteLength"||HA=="byteOffset")||Pn(HA,yA)))&&IA.push(HA);return IA}function Ih(c){var I=c.length;return I?c[Yl(0,I-1)]:t}function _8(c,I){return Fr(Nt(c),Di(I,0,c.length))}function M8(c){return Fr(Nt(c))}function Nl(c,I,H){(H!==t&&!Bn(c[I],H)||H===t&&!(I in c))&&Ln(c,I,H)}function Zo(c,I,H){var eA=c[I];(!(Pe.call(c,I)&&Bn(eA,H))||H===t&&!(I in c))&&Ln(c,I,H)}function Ir(c,I){for(var H=c.length;H--;)if(Bn(c[H][0],I))return H;return-1}function S8(c,I,H,eA){return ti(c,function(lA,uA,CA){I(eA,lA,H(lA),CA)}),eA}function fh(c,I){return c&&Dn(I,pt(I),c)}function x8(c,I){return c&&Dn(I,Rt(I),c)}function Ln(c,I,H){I=="__proto__"&&pr?pr(c,I,{configurable:!0,enumerable:!0,value:H,writable:!0}):c[I]=H}function Fl(c,I){for(var H=-1,eA=I.length,lA=xA(eA),uA=c==null;++H<eA;)lA[H]=uA?t:hc(c,I[H]);return lA}function Di(c,I,H){return c===c&&(H!==t&&(c=c<=H?c:H),I!==t&&(c=c>=I?c:I)),c}function sn(c,I,H,eA,lA,uA){var CA,IA=I&G,yA=I&K,HA=I&J;if(H&&(CA=lA?H(c,eA,lA,uA):H(c)),CA!==t)return CA;if(!Xe(c))return c;var PA=me(c);if(PA){if(CA=mM(c),!IA)return Nt(c,CA)}else{var UA=It(c),Ae=UA==tA||UA==cA;if(si(c))return Jh(c,IA);if(UA==iA||UA==q||Ae&&!lA){if(CA=yA||Ae?{}:gp(c),!IA)return yA?lM(c,x8(CA,c)):aM(c,fh(CA,c))}else{if(!Ye[UA])return lA?c:{};CA=IM(c,UA,IA)}}uA||(uA=new pn);var ae=uA.get(c);if(ae)return ae;uA.set(c,CA),Kp(c)?c.forEach(function(he){CA.add(sn(he,I,H,he,c,uA))}):Hp(c)&&c.forEach(function(he,ve){CA.set(ve,sn(he,I,H,ve,c,uA))});var de=HA?yA?Ac:Vl:yA?Rt:pt,De=PA?t:de(c);return tn(De||c,function(he,ve){De&&(ve=he,he=c[ve]),Zo(CA,ve,sn(he,I,H,ve,c,uA))}),CA}function N8(c){var I=pt(c);return function(H){return wh(H,c,I)}}function wh(c,I,H){var eA=H.length;if(c==null)return!eA;for(c=Ue(c);eA--;){var lA=H[eA],uA=I[lA],CA=c[lA];if(CA===t&&!(lA in c)||!uA(CA))return!1}return!0}function Dh(c,I,H){if(typeof c!="function")throw new nn(a);return As(function(){c.apply(t,H)},I)}function zo(c,I,H,eA){var lA=-1,uA=ir,CA=!0,IA=c.length,yA=[],HA=I.length;if(!IA)return yA;H&&(I=We(I,Yt(H))),eA?(uA=ml,CA=!1):I.length>=Q&&(uA=Uo,CA=!1,I=new wi(I));A:for(;++lA<IA;){var PA=c[lA],UA=H==null?PA:H(PA);if(PA=eA||PA!==0?PA:0,CA&&UA===UA){for(var Ae=HA;Ae--;)if(I[Ae]===UA)continue A;yA.push(PA)}else uA(I,UA,eA)||yA.push(PA)}return yA}var ti=qh(wn),bh=qh(Ll,!0);function F8(c,I){var H=!0;return ti(c,function(eA,lA,uA){return H=!!I(eA,lA,uA),H}),H}function fr(c,I,H){for(var eA=-1,lA=c.length;++eA<lA;){var uA=c[eA],CA=I(uA);if(CA!=null&&(IA===t?CA===CA&&!$t(CA):H(CA,IA)))var IA=CA,yA=uA}return yA}function R8(c,I,H,eA){var lA=c.length;for(H=we(H),H<0&&(H=-H>lA?0:lA+H),eA=eA===t||eA>lA?lA:we(eA),eA<0&&(eA+=lA),eA=H>eA?0:Tp(eA);H<eA;)c[H++]=I;return c}function yh(c,I){var H=[];return ti(c,function(eA,lA,uA){I(eA,lA,uA)&&H.push(eA)}),H}function Et(c,I,H,eA,lA){var uA=-1,CA=c.length;for(H||(H=wM),lA||(lA=[]);++uA<CA;){var IA=c[uA];I>0&&H(IA)?I>1?Et(IA,I-1,H,eA,lA):Vn(lA,IA):eA||(lA[lA.length]=IA)}return lA}var Rl=Xh(),vh=Xh(!0);function wn(c,I){return c&&Rl(c,I,pt)}function Ll(c,I){return c&&vh(c,I,pt)}function wr(c,I){return Xn(I,function(H){return Kn(c[H])})}function bi(c,I){I=ii(I,c);for(var H=0,eA=I.length;c!=null&&H<eA;)c=c[bn(I[H++])];return H&&H==eA?c:t}function kh(c,I,H){var eA=I(c);return me(c)?eA:Vn(eA,H(c))}function vt(c){return c==null?c===t?dA:z:Ii&&Ii in Ue(c)?CM(c):MM(c)}function Gl(c,I){return c>I}function L8(c,I){return c!=null&&Pe.call(c,I)}function G8(c,I){return c!=null&&I in Ue(c)}function H8(c,I,H){return c>=mt(I,H)&&c<gt(I,H)}function Hl(c,I,H){for(var eA=H?ml:ir,lA=c[0].length,uA=c.length,CA=uA,IA=xA(uA),yA=1/0,HA=[];CA--;){var PA=c[CA];CA&&I&&(PA=We(PA,Yt(I))),yA=mt(PA.length,yA),IA[CA]=!H&&(I||lA>=120&&PA.length>=120)?new wi(CA&&PA):t}PA=c[0];var UA=-1,Ae=IA[0];A:for(;++UA<lA&&HA.length<yA;){var ae=PA[UA],de=I?I(ae):ae;if(ae=H||ae!==0?ae:0,!(Ae?Uo(Ae,de):eA(HA,de,H))){for(CA=uA;--CA;){var De=IA[CA];if(!(De?Uo(De,de):eA(c[CA],de,H)))continue A}Ae&&Ae.push(de),HA.push(ae)}}return HA}function P8(c,I,H,eA){return wn(c,function(lA,uA,CA){I(eA,H(lA),uA,CA)}),eA}function Wo(c,I,H){I=ii(I,c),c=pp(c,I);var eA=c==null?c:c[bn(an(I))];return eA==null?t:Tt(eA,c,H)}function _h(c){return tt(c)&&vt(c)==q}function K8(c){return tt(c)&&vt(c)==LA}function U8(c){return tt(c)&&vt(c)==X}function jo(c,I,H,eA,lA){return c===I?!0:c==null||I==null||!tt(c)&&!tt(I)?c!==c&&I!==I:T8(c,I,H,eA,jo,lA)}function T8(c,I,H,eA,lA,uA){var CA=me(c),IA=me(I),yA=CA?v:It(c),HA=IA?v:It(I);yA=yA==q?iA:yA,HA=HA==q?iA:HA;var PA=yA==iA,UA=HA==iA,Ae=yA==HA;if(Ae&&si(c)){if(!si(I))return!1;CA=!0,PA=!1}if(Ae&&!PA)return uA||(uA=new pn),CA||ro(c)?ap(c,I,H,eA,lA,uA):pM(c,I,yA,H,eA,lA,uA);if(!(H&T)){var ae=PA&&Pe.call(c,"__wrapped__"),de=UA&&Pe.call(I,"__wrapped__");if(ae||de){var De=ae?c.value():c,he=de?I.value():I;return uA||(uA=new pn),lA(De,he,H,eA,uA)}}return Ae?(uA||(uA=new pn),BM(c,I,H,eA,lA,uA)):!1}function Y8(c){return tt(c)&&It(c)==sA}function Pl(c,I,H,eA){var lA=H.length,uA=lA,CA=!eA;if(c==null)return!uA;for(c=Ue(c);lA--;){var IA=H[lA];if(CA&&IA[2]?IA[1]!==c[IA[0]]:!(IA[0]in c))return!1}for(;++lA<uA;){IA=H[lA];var yA=IA[0],HA=c[yA],PA=IA[1];if(CA&&IA[2]){if(HA===t&&!(yA in c))return!1}else{var UA=new pn;if(eA)var Ae=eA(HA,PA,yA,c,I,UA);if(!(Ae===t?jo(PA,HA,T|P,eA,UA):Ae))return!1}}return!0}function Mh(c){if(!Xe(c)||bM(c))return!1;var I=Kn(c)?Y2:ye;return I.test(vi(c))}function O8(c){return tt(c)&&vt(c)==U}function $8(c){return tt(c)&&It(c)==O}function J8(c){return tt(c)&&Kr(c.length)&&!!Je[vt(c)]}function Sh(c){return typeof c=="function"?c:c==null?Lt:typeof c=="object"?me(c)?Fh(c[0],c[1]):Nh(c):Vp(c)}function Kl(c){if(!Vo(c))return W2(c);var I=[];for(var H in Ue(c))Pe.call(c,H)&&H!="constructor"&&I.push(H);return I}function Z8(c){if(!Xe(c))return _M(c);var I=Vo(c),H=[];for(var eA in c)eA=="constructor"&&(I||!Pe.call(c,eA))||H.push(eA);return H}function Ul(c,I){return c<I}function xh(c,I){var H=-1,eA=Ft(c)?xA(c.length):[];return ti(c,function(lA,uA,CA){eA[++H]=I(lA,uA,CA)}),eA}function Nh(c){var I=tc(c);return I.length==1&&I[0][2]?dp(I[0][0],I[0][1]):function(H){return H===c||Pl(H,c,I)}}function Fh(c,I){return ic(c)&&up(I)?dp(bn(c),I):function(H){var eA=hc(H,c);return eA===t&&eA===I?pc(H,c):jo(I,eA,T|P)}}function Dr(c,I,H,eA,lA){c!==I&&Rl(I,function(uA,CA){if(lA||(lA=new pn),Xe(uA))z8(c,I,CA,H,Dr,eA,lA);else{var IA=eA?eA(sc(c,CA),uA,CA+"",c,I,lA):t;IA===t&&(IA=uA),Nl(c,CA,IA)}},Rt)}function z8(c,I,H,eA,lA,uA,CA){var IA=sc(c,H),yA=sc(I,H),HA=CA.get(yA);if(HA){Nl(c,H,HA);return}var PA=uA?uA(IA,yA,H+"",c,I,CA):t,UA=PA===t;if(UA){var Ae=me(yA),ae=!Ae&&si(yA),de=!Ae&&!ae&&ro(yA);PA=yA,Ae||ae||de?me(IA)?PA=IA:nt(IA)?PA=Nt(IA):ae?(UA=!1,PA=Jh(yA,!0)):de?(UA=!1,PA=Zh(yA,!0)):PA=[]:es(yA)||ki(yA)?(PA=IA,ki(IA)?PA=Yp(IA):(!Xe(IA)||Kn(IA))&&(PA=gp(yA))):UA=!1}UA&&(CA.set(yA,PA),lA(PA,yA,eA,uA,CA),CA.delete(yA)),Nl(c,H,PA)}function Rh(c,I){var H=c.length;if(H)return I+=I<0?H:0,Pn(I,H)?c[I]:t}function Lh(c,I,H){I.length?I=We(I,function(uA){return me(uA)?function(CA){return bi(CA,uA.length===1?uA[0]:uA)}:uA}):I=[Lt];var eA=-1;I=We(I,Yt(ue()));var lA=xh(c,function(uA,CA,IA){var yA=We(I,function(HA){return HA(uA)});return{criteria:yA,index:++eA,value:uA}});return I2(lA,function(uA,CA){return rM(uA,CA,H)})}function W8(c,I){return Gh(c,I,function(H,eA){return pc(c,eA)})}function Gh(c,I,H){for(var eA=-1,lA=I.length,uA={};++eA<lA;){var CA=I[eA],IA=bi(c,CA);H(IA,CA)&&qo(uA,ii(CA,c),IA)}return uA}function j8(c){return function(I){return bi(I,c)}}function Tl(c,I,H,eA){var lA=eA?m2:ji,uA=-1,CA=I.length,IA=c;for(c===I&&(I=Nt(I)),H&&(IA=We(c,Yt(H)));++uA<CA;)for(var yA=0,HA=I[uA],PA=H?H(HA):HA;(yA=lA(IA,PA,yA,eA))>-1;)IA!==c&&hr.call(IA,yA,1),hr.call(c,yA,1);return c}function Hh(c,I){for(var H=c?I.length:0,eA=H-1;H--;){var lA=I[H];if(H==eA||lA!==uA){var uA=lA;Pn(lA)?hr.call(c,lA,1):Jl(c,lA)}}return c}function Yl(c,I){return c+Cr(Eh()*(I-c+1))}function q8(c,I,H,eA){for(var lA=-1,uA=gt(Br((I-c)/(H||1)),0),CA=xA(uA);uA--;)CA[eA?uA:++lA]=c,c+=H;return CA}function Ol(c,I){var H="";if(!c||I<1||I>D)return H;do I%2&&(H+=c),I=Cr(I/2),I&&(c+=c);while(I);return H}function be(c,I){return rc(hp(c,I,Lt),c+"")}function X8(c){return Ih(ao(c))}function V8(c,I){var H=ao(c);return Fr(H,Di(I,0,H.length))}function qo(c,I,H,eA){if(!Xe(c))return c;I=ii(I,c);for(var lA=-1,uA=I.length,CA=uA-1,IA=c;IA!=null&&++lA<uA;){var yA=bn(I[lA]),HA=H;if(yA==="__proto__"||yA==="constructor"||yA==="prototype")return c;if(lA!=CA){var PA=IA[yA];HA=eA?eA(PA,yA,IA):t,HA===t&&(HA=Xe(PA)?PA:Pn(I[lA+1])?[]:{})}Zo(IA,yA,HA),IA=IA[yA]}return c}var Ph=Er?function(c,I){return Er.set(c,I),c}:Lt,AM=pr?function(c,I){return pr(c,"toString",{configurable:!0,enumerable:!1,value:Cc(I),writable:!0})}:Lt;function eM(c){return Fr(ao(c))}function rn(c,I,H){var eA=-1,lA=c.length;I<0&&(I=-I>lA?0:lA+I),H=H>lA?lA:H,H<0&&(H+=lA),lA=I>H?0:H-I>>>0,I>>>=0;for(var uA=xA(lA);++eA<lA;)uA[eA]=c[eA+I];return uA}function tM(c,I){var H;return ti(c,function(eA,lA,uA){return H=I(eA,lA,uA),!H}),!!H}function br(c,I,H){var eA=0,lA=c==null?eA:c.length;if(typeof I=="number"&&I===I&&lA<=Z){for(;eA<lA;){var uA=eA+lA>>>1,CA=c[uA];CA!==null&&!$t(CA)&&(H?CA<=I:CA<I)?eA=uA+1:lA=uA}return lA}return $l(c,I,Lt,H)}function $l(c,I,H,eA){var lA=0,uA=c==null?0:c.length;if(uA===0)return 0;I=H(I);for(var CA=I!==I,IA=I===null,yA=$t(I),HA=I===t;lA<uA;){var PA=Cr((lA+uA)/2),UA=H(c[PA]),Ae=UA!==t,ae=UA===null,de=UA===UA,De=$t(UA);if(CA)var he=eA||de;else HA?he=de&&(eA||Ae):IA?he=de&&Ae&&(eA||!ae):yA?he=de&&Ae&&!ae&&(eA||!De):ae||De?he=!1:he=eA?UA<=I:UA<I;he?lA=PA+1:uA=PA}return mt(uA,j)}function Kh(c,I){for(var H=-1,eA=c.length,lA=0,uA=[];++H<eA;){var CA=c[H],IA=I?I(CA):CA;if(!H||!Bn(IA,yA)){var yA=IA;uA[lA++]=CA===0?0:CA}}return uA}function Uh(c){return typeof c=="number"?c:$t(c)?R:+c}function Ot(c){if(typeof c=="string")return c;if(me(c))return We(c,Ot)+"";if($t(c))return Qh?Qh.call(c):"";var I=c+"";return I=="0"&&1/c==-M?"-0":I}function ni(c,I,H){var eA=-1,lA=ir,uA=c.length,CA=!0,IA=[],yA=IA;if(H)CA=!1,lA=ml;else if(uA>=Q){var HA=I?null:dM(c);if(HA)return sr(HA);CA=!1,lA=Uo,yA=new wi}else yA=I?[]:IA;A:for(;++eA<uA;){var PA=c[eA],UA=I?I(PA):PA;if(PA=H||PA!==0?PA:0,CA&&UA===UA){for(var Ae=yA.length;Ae--;)if(yA[Ae]===UA)continue A;I&&yA.push(UA),IA.push(PA)}else lA(yA,UA,H)||(yA!==IA&&yA.push(UA),IA.push(PA))}return IA}function Jl(c,I){return I=ii(I,c),c=pp(c,I),c==null||delete c[bn(an(I))]}function Th(c,I,H,eA){return qo(c,I,H(bi(c,I)),eA)}function yr(c,I,H,eA){for(var lA=c.length,uA=eA?lA:-1;(eA?uA--:++uA<lA)&&I(c[uA],uA,c););return H?rn(c,eA?0:uA,eA?uA+1:lA):rn(c,eA?uA+1:0,eA?lA:uA)}function Yh(c,I){var H=c;return H instanceof _e&&(H=H.value()),Il(I,function(eA,lA){return lA.func.apply(lA.thisArg,Vn([eA],lA.args))},H)}function Zl(c,I,H){var eA=c.length;if(eA<2)return eA?ni(c[0]):[];for(var lA=-1,uA=xA(eA);++lA<eA;)for(var CA=c[lA],IA=-1;++IA<eA;)IA!=lA&&(uA[lA]=zo(uA[lA]||CA,c[IA],I,H));return ni(Et(uA,1),I,H)}function Oh(c,I,H){for(var eA=-1,lA=c.length,uA=I.length,CA={};++eA<lA;){var IA=eA<uA?I[eA]:t;H(CA,c[eA],IA)}return CA}function zl(c){return nt(c)?c:[]}function Wl(c){return typeof c=="function"?c:Lt}function ii(c,I){return me(c)?c:ic(c,I)?[c]:Qp(Re(c))}var nM=be;function oi(c,I,H){var eA=c.length;return H=H===t?eA:H,!I&&H>=eA?c:rn(c,I,H)}var $h=O2||function(c){return Ct.clearTimeout(c)};function Jh(c,I){if(I)return c.slice();var H=c.length,eA=dh?dh(H):new c.constructor(H);return c.copy(eA),eA}function jl(c){var I=new c.constructor(c.byteLength);return new ur(I).set(new ur(c)),I}function iM(c,I){var H=I?jl(c.buffer):c.buffer;return new c.constructor(H,c.byteOffset,c.byteLength)}function oM(c){var I=new c.constructor(c.source,le.exec(c));return I.lastIndex=c.lastIndex,I}function sM(c){return Jo?Ue(Jo.call(c)):{}}function Zh(c,I){var H=I?jl(c.buffer):c.buffer;return new c.constructor(H,c.byteOffset,c.length)}function zh(c,I){if(c!==I){var H=c!==t,eA=c===null,lA=c===c,uA=$t(c),CA=I!==t,IA=I===null,yA=I===I,HA=$t(I);if(!IA&&!HA&&!uA&&c>I||uA&&CA&&yA&&!IA&&!HA||eA&&CA&&yA||!H&&yA||!lA)return 1;if(!eA&&!uA&&!HA&&c<I||HA&&H&&lA&&!eA&&!uA||IA&&H&&lA||!CA&&lA||!yA)return-1}return 0}function rM(c,I,H){for(var eA=-1,lA=c.criteria,uA=I.criteria,CA=lA.length,IA=H.length;++eA<CA;){var yA=zh(lA[eA],uA[eA]);if(yA){if(eA>=IA)return yA;var HA=H[eA];return yA*(HA=="desc"?-1:1)}}return c.index-I.index}function Wh(c,I,H,eA){for(var lA=-1,uA=c.length,CA=H.length,IA=-1,yA=I.length,HA=gt(uA-CA,0),PA=xA(yA+HA),UA=!eA;++IA<yA;)PA[IA]=I[IA];for(;++lA<CA;)(UA||lA<uA)&&(PA[H[lA]]=c[lA]);for(;HA--;)PA[IA++]=c[lA++];return PA}function jh(c,I,H,eA){for(var lA=-1,uA=c.length,CA=-1,IA=H.length,yA=-1,HA=I.length,PA=gt(uA-IA,0),UA=xA(PA+HA),Ae=!eA;++lA<PA;)UA[lA]=c[lA];for(var ae=lA;++yA<HA;)UA[ae+yA]=I[yA];for(;++CA<IA;)(Ae||lA<uA)&&(UA[ae+H[CA]]=c[lA++]);return UA}function Nt(c,I){var H=-1,eA=c.length;for(I||(I=xA(eA));++H<eA;)I[H]=c[H];return I}function Dn(c,I,H,eA){var lA=!H;H||(H={});for(var uA=-1,CA=I.length;++uA<CA;){var IA=I[uA],yA=eA?eA(H[IA],c[IA],IA,H,c):t;yA===t&&(yA=c[IA]),lA?Ln(H,IA,yA):Zo(H,IA,yA)}return H}function aM(c,I){return Dn(c,nc(c),I)}function lM(c,I){return Dn(c,lp(c),I)}function vr(c,I){return function(H,eA){var lA=me(H)?h2:S8,uA=I?I():{};return lA(H,c,ue(eA,2),uA)}}function io(c){return be(function(I,H){var eA=-1,lA=H.length,uA=lA>1?H[lA-1]:t,CA=lA>2?H[2]:t;for(uA=c.length>3&&typeof uA=="function"?(lA--,uA):t,CA&&kt(H[0],H[1],CA)&&(uA=lA<3?t:uA,lA=1),I=Ue(I);++eA<lA;){var IA=H[eA];IA&&c(I,IA,eA,uA)}return I})}function qh(c,I){return function(H,eA){if(H==null)return H;if(!Ft(H))return c(H,eA);for(var lA=H.length,uA=I?lA:-1,CA=Ue(H);(I?uA--:++uA<lA)&&eA(CA[uA],uA,CA)!==!1;);return H}}function Xh(c){return function(I,H,eA){for(var lA=-1,uA=Ue(I),CA=eA(I),IA=CA.length;IA--;){var yA=CA[c?IA:++lA];if(H(uA[yA],yA,uA)===!1)break}return I}}function cM(c,I,H){var eA=I&_,lA=Xo(c);function uA(){var CA=this&&this!==Ct&&this instanceof uA?lA:c;return CA.apply(eA?H:this,arguments)}return uA}function Vh(c){return function(I){I=Re(I);var H=qi(I)?hn(I):t,eA=H?H[0]:I.charAt(0),lA=H?oi(H,1).join(""):I.slice(1);return eA[c]()+lA}}function oo(c){return function(I){return Il(qp(jp(I).replace(A2,"")),c,"")}}function Xo(c){return function(){var I=arguments;switch(I.length){case 0:return new c;case 1:return new c(I[0]);case 2:return new c(I[0],I[1]);case 3:return new c(I[0],I[1],I[2]);case 4:return new c(I[0],I[1],I[2],I[3]);case 5:return new c(I[0],I[1],I[2],I[3],I[4]);case 6:return new c(I[0],I[1],I[2],I[3],I[4],I[5]);case 7:return new c(I[0],I[1],I[2],I[3],I[4],I[5],I[6])}var H=no(c.prototype),eA=c.apply(H,I);return Xe(eA)?eA:H}}function gM(c,I,H){var eA=Xo(c);function lA(){for(var uA=arguments.length,CA=xA(uA),IA=uA,yA=so(lA);IA--;)CA[IA]=arguments[IA];var HA=uA<3&&CA[0]!==yA&&CA[uA-1]!==yA?[]:Ai(CA,yA);if(uA-=HA.length,uA<H)return ip(c,I,kr,lA.placeholder,t,CA,HA,t,t,H-uA);var PA=this&&this!==Ct&&this instanceof lA?eA:c;return Tt(PA,this,CA)}return lA}function Ap(c){return function(I,H,eA){var lA=Ue(I);if(!Ft(I)){var uA=ue(H,3);I=pt(I),H=function(IA){return uA(lA[IA],IA,lA)}}var CA=c(I,H,eA);return CA>-1?lA[uA?I[CA]:CA]:t}}function ep(c){return Hn(function(I){var H=I.length,eA=H,lA=on.prototype.thru;for(c&&I.reverse();eA--;){var uA=I[eA];if(typeof uA!="function")throw new nn(a);if(lA&&!CA&&xr(uA)=="wrapper")var CA=new on([],!0)}for(eA=CA?eA:H;++eA<H;){uA=I[eA];var IA=xr(uA),yA=IA=="wrapper"?ec(uA):t;yA&&oc(yA[0])&&yA[1]==(p|k|C|l)&&!yA[4].length&&yA[9]==1?CA=CA[xr(yA[0])].apply(CA,yA[3]):CA=uA.length==1&&oc(uA)?CA[IA]():CA.thru(uA)}return function(){var HA=arguments,PA=HA[0];if(CA&&HA.length==1&&me(PA))return CA.plant(PA).value();for(var UA=0,Ae=H?I[UA].apply(this,HA):PA;++UA<H;)Ae=I[UA].call(this,Ae);return Ae}})}function kr(c,I,H,eA,lA,uA,CA,IA,yA,HA){var PA=I&p,UA=I&_,Ae=I&m,ae=I&(k|y),de=I&g,De=Ae?t:Xo(c);function he(){for(var ve=arguments.length,Me=xA(ve),Jt=ve;Jt--;)Me[Jt]=arguments[Jt];if(ae)var _t=so(he),Zt=w2(Me,_t);if(eA&&(Me=Wh(Me,eA,lA,ae)),uA&&(Me=jh(Me,uA,CA,ae)),ve-=Zt,ae&&ve<HA){var it=Ai(Me,_t);return ip(c,I,kr,he.placeholder,H,Me,it,IA,yA,HA-ve)}var Cn=UA?H:this,Tn=Ae?Cn[c]:c;return ve=Me.length,IA?Me=SM(Me,IA):de&&ve>1&&Me.reverse(),PA&&yA<ve&&(Me.length=yA),this&&this!==Ct&&this instanceof he&&(Tn=De||Xo(Tn)),Tn.apply(Cn,Me)}return he}function tp(c,I){return function(H,eA){return P8(H,c,I(eA),{})}}function _r(c,I){return function(H,eA){var lA;if(H===t&&eA===t)return I;if(H!==t&&(lA=H),eA!==t){if(lA===t)return eA;typeof H=="string"||typeof eA=="string"?(H=Ot(H),eA=Ot(eA)):(H=Uh(H),eA=Uh(eA)),lA=c(H,eA)}return lA}}function ql(c){return Hn(function(I){return I=We(I,Yt(ue())),be(function(H){var eA=this;return c(I,function(lA){return Tt(lA,eA,H)})})})}function Mr(c,I){I=I===t?" ":Ot(I);var H=I.length;if(H<2)return H?Ol(I,c):I;var eA=Ol(I,Br(c/Xi(I)));return qi(I)?oi(hn(eA),0,c).join(""):eA.slice(0,c)}function uM(c,I,H,eA){var lA=I&_,uA=Xo(c);function CA(){for(var IA=-1,yA=arguments.length,HA=-1,PA=eA.length,UA=xA(PA+yA),Ae=this&&this!==Ct&&this instanceof CA?uA:c;++HA<PA;)UA[HA]=eA[HA];for(;yA--;)UA[HA++]=arguments[++IA];return Tt(Ae,lA?H:this,UA)}return CA}function np(c){return function(I,H,eA){return eA&&typeof eA!="number"&&kt(I,H,eA)&&(H=eA=t),I=Un(I),H===t?(H=I,I=0):H=Un(H),eA=eA===t?I<H?1:-1:Un(eA),q8(I,H,eA,c)}}function Sr(c){return function(I,H){return typeof I=="string"&&typeof H=="string"||(I=ln(I),H=ln(H)),c(I,H)}}function ip(c,I,H,eA,lA,uA,CA,IA,yA,HA){var PA=I&k,UA=PA?CA:t,Ae=PA?t:CA,ae=PA?uA:t,de=PA?t:uA;I|=PA?C:u,I&=~(PA?u:C),I&L||(I&=~(_|m));var De=[c,I,lA,ae,UA,de,Ae,IA,yA,HA],he=H.apply(t,De);return oc(c)&&Bp(he,De),he.placeholder=eA,Cp(he,c,I)}function Xl(c){var I=ct[c];return function(H,eA){if(H=ln(H),eA=eA==null?0:mt(we(eA),292),eA&&Ch(H)){var lA=(Re(H)+"e").split("e"),uA=I(lA[0]+"e"+(+lA[1]+eA));return lA=(Re(uA)+"e").split("e"),+(lA[0]+"e"+(+lA[1]-eA))}return I(H)}}var dM=eo&&1/sr(new eo([,-0]))[1]==M?function(c){return new eo(c)}:mc;function op(c){return function(I){var H=It(I);return H==sA?kl(I):H==O?M2(I):f2(I,c(I))}}function Gn(c,I,H,eA,lA,uA,CA,IA){var yA=I&m;if(!yA&&typeof c!="function")throw new nn(a);var HA=eA?eA.length:0;if(HA||(I&=~(C|u),eA=lA=t),CA=CA===t?CA:gt(we(CA),0),IA=IA===t?IA:we(IA),HA-=lA?lA.length:0,I&u){var PA=eA,UA=lA;eA=lA=t}var Ae=yA?t:ec(c),ae=[c,I,H,eA,lA,PA,UA,uA,CA,IA];if(Ae&&kM(ae,Ae),c=ae[0],I=ae[1],H=ae[2],eA=ae[3],lA=ae[4],IA=ae[9]=ae[9]===t?yA?0:c.length:gt(ae[9]-HA,0),!IA&&I&(k|y)&&(I&=~(k|y)),!I||I==_)var de=cM(c,I,H);else I==k||I==y?de=gM(c,I,IA):(I==C||I==(_|C))&&!lA.length?de=uM(c,I,H,eA):de=kr.apply(t,ae);var De=Ae?Ph:Bp;return Cp(De(de,ae),c,I)}function sp(c,I,H,eA){return c===t||Bn(c,Ao[H])&&!Pe.call(eA,H)?I:c}function rp(c,I,H,eA,lA,uA){return Xe(c)&&Xe(I)&&(uA.set(I,c),Dr(c,I,t,rp,uA),uA.delete(I)),c}function hM(c){return es(c)?t:c}function ap(c,I,H,eA,lA,uA){var CA=H&T,IA=c.length,yA=I.length;if(IA!=yA&&!(CA&&yA>IA))return!1;var HA=uA.get(c),PA=uA.get(I);if(HA&&PA)return HA==I&&PA==c;var UA=-1,Ae=!0,ae=H&P?new wi:t;for(uA.set(c,I),uA.set(I,c);++UA<IA;){var de=c[UA],De=I[UA];if(eA)var he=CA?eA(De,de,UA,I,c,uA):eA(de,De,UA,c,I,uA);if(he!==t){if(he)continue;Ae=!1;break}if(ae){if(!fl(I,function(ve,Me){if(!Uo(ae,Me)&&(de===ve||lA(de,ve,H,eA,uA)))return ae.push(Me)})){Ae=!1;break}}else if(!(de===De||lA(de,De,H,eA,uA))){Ae=!1;break}}return uA.delete(c),uA.delete(I),Ae}function pM(c,I,H,eA,lA,uA,CA){switch(H){case WA:if(c.byteLength!=I.byteLength||c.byteOffset!=I.byteOffset)return!1;c=c.buffer,I=I.buffer;case LA:return!(c.byteLength!=I.byteLength||!uA(new ur(c),new ur(I)));case F:case X:case hA:return Bn(+c,+I);case V:return c.name==I.name&&c.message==I.message;case U:case AA:return c==I+"";case sA:var IA=kl;case O:var yA=eA&T;if(IA||(IA=sr),c.size!=I.size&&!yA)return!1;var HA=CA.get(c);if(HA)return HA==I;eA|=P,CA.set(c,I);var PA=ap(IA(c),IA(I),eA,lA,uA,CA);return CA.delete(c),PA;case aA:if(Jo)return Jo.call(c)==Jo.call(I)}return!1}function BM(c,I,H,eA,lA,uA){var CA=H&T,IA=Vl(c),yA=IA.length,HA=Vl(I),PA=HA.length;if(yA!=PA&&!CA)return!1;for(var UA=yA;UA--;){var Ae=IA[UA];if(!(CA?Ae in I:Pe.call(I,Ae)))return!1}var ae=uA.get(c),de=uA.get(I);if(ae&&de)return ae==I&&de==c;var De=!0;uA.set(c,I),uA.set(I,c);for(var he=CA;++UA<yA;){Ae=IA[UA];var ve=c[Ae],Me=I[Ae];if(eA)var Jt=CA?eA(Me,ve,Ae,I,c,uA):eA(ve,Me,Ae,c,I,uA);if(!(Jt===t?ve===Me||lA(ve,Me,H,eA,uA):Jt)){De=!1;break}he||(he=Ae=="constructor")}if(De&&!he){var _t=c.constructor,Zt=I.constructor;_t!=Zt&&"constructor"in c&&"constructor"in I&&!(typeof _t=="function"&&_t instanceof _t&&typeof Zt=="function"&&Zt instanceof Zt)&&(De=!1)}return uA.delete(c),uA.delete(I),De}function Hn(c){return rc(hp(c,t,wp),c+"")}function Vl(c){return kh(c,pt,nc)}function Ac(c){return kh(c,Rt,lp)}var ec=Er?function(c){return Er.get(c)}:mc;function xr(c){for(var I=c.name+"",H=to[I],eA=Pe.call(to,I)?H.length:0;eA--;){var lA=H[eA],uA=lA.func;if(uA==null||uA==c)return lA.name}return I}function so(c){var I=Pe.call(gA,"placeholder")?gA:c;return I.placeholder}function ue(){var c=gA.iteratee||Ec;return c=c===Ec?Sh:c,arguments.length?c(arguments[0],arguments[1]):c}function Nr(c,I){var H=c.__data__;return DM(I)?H[typeof I=="string"?"string":"hash"]:H.map}function tc(c){for(var I=pt(c),H=I.length;H--;){var eA=I[H],lA=c[eA];I[H]=[eA,lA,up(lA)]}return I}function yi(c,I){var H=v2(c,I);return Mh(H)?H:t}function CM(c){var I=Pe.call(c,Ii),H=c[Ii];try{c[Ii]=t;var eA=!0}catch{}var lA=cr.call(c);return eA&&(I?c[Ii]=H:delete c[Ii]),lA}var nc=Ml?function(c){return c==null?[]:(c=Ue(c),Xn(Ml(c),function(I){return ph.call(c,I)}))}:Ic,lp=Ml?function(c){for(var I=[];c;)Vn(I,nc(c)),c=dr(c);return I}:Ic,It=vt;(Sl&&It(new Sl(new ArrayBuffer(1)))!=WA||Yo&&It(new Yo)!=sA||xl&&It(xl.resolve())!=oA||eo&&It(new eo)!=O||Oo&&It(new Oo)!=wA)&&(It=function(c){var I=vt(c),H=I==iA?c.constructor:t,eA=H?vi(H):"";if(eA)switch(eA){case V2:return WA;case A8:return sA;case e8:return oA;case t8:return O;case n8:return wA}return I});function EM(c,I,H){for(var eA=-1,lA=H.length;++eA<lA;){var uA=H[eA],CA=uA.size;switch(uA.type){case"drop":c+=CA;break;case"dropRight":I-=CA;break;case"take":I=mt(I,c+CA);break;case"takeRight":c=gt(c,I-CA);break}}return{start:c,end:I}}function QM(c){var I=c.match(BA);return I?I[1].split(fA):[]}function cp(c,I,H){I=ii(I,c);for(var eA=-1,lA=I.length,uA=!1;++eA<lA;){var CA=bn(I[eA]);if(!(uA=c!=null&&H(c,CA)))break;c=c[CA]}return uA||++eA!=lA?uA:(lA=c==null?0:c.length,!!lA&&Kr(lA)&&Pn(CA,lA)&&(me(c)||ki(c)))}function mM(c){var I=c.length,H=new c.constructor(I);return I&&typeof c[0]=="string"&&Pe.call(c,"index")&&(H.index=c.index,H.input=c.input),H}function gp(c){return typeof c.constructor=="function"&&!Vo(c)?no(dr(c)):{}}function IM(c,I,H){var eA=c.constructor;switch(I){case LA:return jl(c);case F:case X:return new eA(+c);case WA:return iM(c,H);case jA:case ee:case zA:case DA:case QA:case NA:case XA:case re:case Ce:return Zh(c,H);case sA:return new eA;case hA:case AA:return new eA(c);case U:return oM(c);case O:return new eA;case aA:return sM(c)}}function fM(c,I){var H=I.length;if(!H)return c;var eA=H-1;return I[eA]=(H>1?"& ":"")+I[eA],I=I.join(H>2?", ":" "),c.replace(EA,`{
|
|
8
|
+
*/ts.exports,function(n,A){(function(){var t,i="4.17.21",Q=200,w="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",b="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",f=500,N="__lodash_placeholder__",G=1,K=2,J=4,T=1,P=2,_=1,m=2,L=4,k=8,y=16,C=32,u=64,p=128,l=256,g=512,r=30,d="...",h=800,s=16,o=1,B=2,E=3,M=1/0,D=9007199254740991,x=17976931348623157e292,R=NaN,$=4294967295,j=$-1,Z=$>>>1,Y=[["ary",p],["bind",_],["bindKey",m],["curry",k],["curryRight",y],["flip",g],["partial",C],["partialRight",u],["rearg",l]],q="[object Arguments]",v="[object Array]",W="[object AsyncFunction]",F="[object Boolean]",X="[object Date]",nA="[object DOMException]",V="[object Error]",tA="[object Function]",cA="[object GeneratorFunction]",sA="[object Map]",hA="[object Number]",z="[object Null]",iA="[object Object]",oA="[object Promise]",rA="[object Proxy]",U="[object RegExp]",O="[object Set]",AA="[object String]",aA="[object Symbol]",dA="[object Undefined]",wA="[object WeakMap]",FA="[object WeakSet]",LA="[object ArrayBuffer]",WA="[object DataView]",jA="[object Float32Array]",ee="[object Float64Array]",zA="[object Int8Array]",DA="[object Int16Array]",QA="[object Int32Array]",NA="[object Uint8Array]",XA="[object Uint8ClampedArray]",re="[object Uint16Array]",Ce="[object Uint32Array]",kA=/\b__p \+= '';/g,SA=/\b(__p \+=) '' \+/g,GA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ZA=/&(?:amp|lt|gt|quot|#39);/g,OA=/[&<>"']/g,VA=RegExp(ZA.source),ce=RegExp(OA.source),pA=/<%-([\s\S]+?)%>/g,mA=/<%([\s\S]+?)%>/g,vA=/<%=([\s\S]+?)%>/g,KA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,TA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,YA=/[\\^$.*+?()[\]{}|]/g,ge=RegExp(YA.source),Le=/^\s+/,ht=/\s/,EA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,BA=/\{\n\/\* \[wrapped with (.+)\] \*/,fA=/,? & /,MA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_A=/[()=,{}\[\]\/\s]/,oe=/\\(\\)?/g,se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,le=/\w*$/,xe=/^[-+]0x[0-9a-f]+$/i,je=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,Ee=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,et=/['\n\r\u2028\u2029\\]/g,He="\\ud800-\\udfff",In="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",xn=In+Xt+Vt,fn="\\u2700-\\u27bf",yt="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",Nn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",un="\\u2000-\\u206f",Ci=" \\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",Ho="A-Z\\xc0-\\xd6\\xd8-\\xde",Po="\\ufe0e\\ufe0f",Ei=An+Nn+un+Ci,jn="['’]",zi="["+He+"]",Ko="["+Ei+"]",Qi="["+xn+"]",qn="\\d+",Z_="["+fn+"]",Hd="["+yt+"]",Pd="[^"+He+Ei+qn+fn+yt+Ho+"]",hl="\\ud83c[\\udffb-\\udfff]",z_="(?:"+Qi+"|"+hl+")",Kd="[^"+He+"]",pl="(?:\\ud83c[\\udde6-\\uddff]){2}",Bl="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+Ho+"]",Ud="\\u200d",Td="(?:"+Hd+"|"+Pd+")",W_="(?:"+Wi+"|"+Pd+")",Yd="(?:"+jn+"(?:d|ll|m|re|s|t|ve))?",Od="(?:"+jn+"(?:D|LL|M|RE|S|T|VE))?",$d=z_+"?",Jd="["+Po+"]?",j_="(?:"+Ud+"(?:"+[Kd,pl,Bl].join("|")+")"+Jd+$d+")*",q_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",X_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zd=Jd+$d+j_,V_="(?:"+[Z_,pl,Bl].join("|")+")"+Zd,A2="(?:"+[Kd+Qi+"?",Qi,pl,Bl,zi].join("|")+")",e2=RegExp(jn,"g"),t2=RegExp(Qi,"g"),Cl=RegExp(hl+"(?="+hl+")|"+A2+Zd,"g"),n2=RegExp([Wi+"?"+Hd+"+"+Yd+"(?="+[Ko,Wi,"$"].join("|")+")",W_+"+"+Od+"(?="+[Ko,Wi+Td,"$"].join("|")+")",Wi+"?"+Td+"+"+Yd,Wi+"+"+Od,X_,q_,qn,V_].join("|"),"g"),i2=RegExp("["+Ud+He+xn+Po+"]"),o2=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,s2=["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"],r2=-1,Je={};Je[jA]=Je[ee]=Je[zA]=Je[DA]=Je[QA]=Je[NA]=Je[XA]=Je[re]=Je[Ce]=!0,Je[q]=Je[v]=Je[LA]=Je[F]=Je[WA]=Je[X]=Je[V]=Je[tA]=Je[sA]=Je[hA]=Je[iA]=Je[U]=Je[O]=Je[AA]=Je[wA]=!1;var Ye={};Ye[q]=Ye[v]=Ye[LA]=Ye[WA]=Ye[F]=Ye[X]=Ye[jA]=Ye[ee]=Ye[zA]=Ye[DA]=Ye[QA]=Ye[sA]=Ye[hA]=Ye[iA]=Ye[U]=Ye[O]=Ye[AA]=Ye[aA]=Ye[NA]=Ye[XA]=Ye[re]=Ye[Ce]=!0,Ye[V]=Ye[tA]=Ye[wA]=!1;var a2={À:"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"},l2={"&":"&","<":"<",">":">",'"':""","'":"'"},c2={"&":"&","<":"<",">":">",""":'"',"'":"'"},g2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},u2=parseFloat,d2=parseInt,zd=typeof co=="object"&&co&&co.Object===Object&&co,h2=typeof self=="object"&&self&&self.Object===Object&&self,Ct=zd||h2||Function("return this")(),El=A&&!A.nodeType&&A,mi=El&&!0&&n&&!n.nodeType&&n,Wd=mi&&mi.exports===El,Ql=Wd&&zd.process,en=function(){try{var bA=mi&&mi.require&&mi.require("util").types;return bA||Ql&&Ql.binding&&Ql.binding("util")}catch{}}(),jd=en&&en.isArrayBuffer,qd=en&&en.isDate,Xd=en&&en.isMap,Vd=en&&en.isRegExp,Ah=en&&en.isSet,eh=en&&en.isTypedArray;function Tt(bA,RA,xA){switch(xA.length){case 0:return bA.call(RA);case 1:return bA.call(RA,xA[0]);case 2:return bA.call(RA,xA[0],xA[1]);case 3:return bA.call(RA,xA[0],xA[1],xA[2])}return bA.apply(RA,xA)}function p2(bA,RA,xA,ie){for(var Qe=-1,Fe=bA==null?0:bA.length;++Qe<Fe;){var ct=bA[Qe];RA(ie,ct,xA(ct),bA)}return ie}function tn(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie&&RA(bA[xA],xA,bA)!==!1;);return bA}function B2(bA,RA){for(var xA=bA==null?0:bA.length;xA--&&RA(bA[xA],xA,bA)!==!1;);return bA}function th(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie;)if(!RA(bA[xA],xA,bA))return!1;return!0}function Xn(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length,Qe=0,Fe=[];++xA<ie;){var ct=bA[xA];RA(ct,xA,bA)&&(Fe[Qe++]=ct)}return Fe}function ir(bA,RA){var xA=bA==null?0:bA.length;return!!xA&&ji(bA,RA,0)>-1}function ml(bA,RA,xA){for(var ie=-1,Qe=bA==null?0:bA.length;++ie<Qe;)if(xA(RA,bA[ie]))return!0;return!1}function We(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length,Qe=Array(ie);++xA<ie;)Qe[xA]=RA(bA[xA],xA,bA);return Qe}function Vn(bA,RA){for(var xA=-1,ie=RA.length,Qe=bA.length;++xA<ie;)bA[Qe+xA]=RA[xA];return bA}function Il(bA,RA,xA,ie){var Qe=-1,Fe=bA==null?0:bA.length;for(ie&&Fe&&(xA=bA[++Qe]);++Qe<Fe;)xA=RA(xA,bA[Qe],Qe,bA);return xA}function C2(bA,RA,xA,ie){var Qe=bA==null?0:bA.length;for(ie&&Qe&&(xA=bA[--Qe]);Qe--;)xA=RA(xA,bA[Qe],Qe,bA);return xA}function fl(bA,RA){for(var xA=-1,ie=bA==null?0:bA.length;++xA<ie;)if(RA(bA[xA],xA,bA))return!0;return!1}var E2=wl("length");function Q2(bA){return bA.split("")}function m2(bA){return bA.match(MA)||[]}function nh(bA,RA,xA){var ie;return xA(bA,function(Qe,Fe,ct){if(RA(Qe,Fe,ct))return ie=Fe,!1}),ie}function or(bA,RA,xA,ie){for(var Qe=bA.length,Fe=xA+(ie?1:-1);ie?Fe--:++Fe<Qe;)if(RA(bA[Fe],Fe,bA))return Fe;return-1}function ji(bA,RA,xA){return RA===RA?x2(bA,RA,xA):or(bA,ih,xA)}function I2(bA,RA,xA,ie){for(var Qe=xA-1,Fe=bA.length;++Qe<Fe;)if(ie(bA[Qe],RA))return Qe;return-1}function ih(bA){return bA!==bA}function oh(bA,RA){var xA=bA==null?0:bA.length;return xA?bl(bA,RA)/xA:R}function wl(bA){return function(RA){return RA==null?t:RA[bA]}}function Dl(bA){return function(RA){return bA==null?t:bA[RA]}}function sh(bA,RA,xA,ie,Qe){return Qe(bA,function(Fe,ct,Ue){xA=ie?(ie=!1,Fe):RA(xA,Fe,ct,Ue)}),xA}function f2(bA,RA){var xA=bA.length;for(bA.sort(RA);xA--;)bA[xA]=bA[xA].value;return bA}function bl(bA,RA){for(var xA,ie=-1,Qe=bA.length;++ie<Qe;){var Fe=RA(bA[ie]);Fe!==t&&(xA=xA===t?Fe:xA+Fe)}return xA}function yl(bA,RA){for(var xA=-1,ie=Array(bA);++xA<bA;)ie[xA]=RA(xA);return ie}function w2(bA,RA){return We(RA,function(xA){return[xA,bA[xA]]})}function rh(bA){return bA&&bA.slice(0,gh(bA)+1).replace(Le,"")}function Yt(bA){return function(RA){return bA(RA)}}function vl(bA,RA){return We(RA,function(xA){return bA[xA]})}function Uo(bA,RA){return bA.has(RA)}function ah(bA,RA){for(var xA=-1,ie=bA.length;++xA<ie&&ji(RA,bA[xA],0)>-1;);return xA}function lh(bA,RA){for(var xA=bA.length;xA--&&ji(RA,bA[xA],0)>-1;);return xA}function D2(bA,RA){for(var xA=bA.length,ie=0;xA--;)bA[xA]===RA&&++ie;return ie}var b2=Dl(a2),y2=Dl(l2);function v2(bA){return"\\"+g2[bA]}function k2(bA,RA){return bA==null?t:bA[RA]}function qi(bA){return i2.test(bA)}function _2(bA){return o2.test(bA)}function M2(bA){for(var RA,xA=[];!(RA=bA.next()).done;)xA.push(RA.value);return xA}function kl(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie,Qe){xA[++RA]=[Qe,ie]}),xA}function ch(bA,RA){return function(xA){return bA(RA(xA))}}function Ai(bA,RA){for(var xA=-1,ie=bA.length,Qe=0,Fe=[];++xA<ie;){var ct=bA[xA];(ct===RA||ct===N)&&(bA[xA]=N,Fe[Qe++]=xA)}return Fe}function sr(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie){xA[++RA]=ie}),xA}function S2(bA){var RA=-1,xA=Array(bA.size);return bA.forEach(function(ie){xA[++RA]=[ie,ie]}),xA}function x2(bA,RA,xA){for(var ie=xA-1,Qe=bA.length;++ie<Qe;)if(bA[ie]===RA)return ie;return-1}function N2(bA,RA,xA){for(var ie=xA+1;ie--;)if(bA[ie]===RA)return ie;return ie}function Xi(bA){return qi(bA)?R2(bA):E2(bA)}function dn(bA){return qi(bA)?L2(bA):Q2(bA)}function gh(bA){for(var RA=bA.length;RA--&&ht.test(bA.charAt(RA)););return RA}var F2=Dl(c2);function R2(bA){for(var RA=Cl.lastIndex=0;Cl.test(bA);)++RA;return RA}function L2(bA){return bA.match(Cl)||[]}function G2(bA){return bA.match(n2)||[]}var H2=function bA(RA){RA=RA==null?Ct:Vi.defaults(Ct.Object(),RA,Vi.pick(Ct,s2));var xA=RA.Array,ie=RA.Date,Qe=RA.Error,Fe=RA.Function,ct=RA.Math,Ue=RA.Object,_l=RA.RegExp,P2=RA.String,nn=RA.TypeError,rr=xA.prototype,K2=Fe.prototype,Ao=Ue.prototype,ar=RA["__core-js_shared__"],lr=K2.toString,Pe=Ao.hasOwnProperty,U2=0,uh=function(){var c=/[^.]+$/.exec(ar&&ar.keys&&ar.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),cr=Ao.toString,T2=lr.call(Ue),Y2=Ct._,O2=_l("^"+lr.call(Pe).replace(YA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gr=Wd?RA.Buffer:t,ei=RA.Symbol,ur=RA.Uint8Array,dh=gr?gr.allocUnsafe:t,dr=ch(Ue.getPrototypeOf,Ue),hh=Ue.create,ph=Ao.propertyIsEnumerable,hr=rr.splice,Bh=ei?ei.isConcatSpreadable:t,To=ei?ei.iterator:t,Ii=ei?ei.toStringTag:t,pr=function(){try{var c=yi(Ue,"defineProperty");return c({},"",{}),c}catch{}}(),$2=RA.clearTimeout!==Ct.clearTimeout&&RA.clearTimeout,J2=ie&&ie.now!==Ct.Date.now&&ie.now,Z2=RA.setTimeout!==Ct.setTimeout&&RA.setTimeout,Br=ct.ceil,Cr=ct.floor,Ml=Ue.getOwnPropertySymbols,z2=gr?gr.isBuffer:t,Ch=RA.isFinite,W2=rr.join,j2=ch(Ue.keys,Ue),gt=ct.max,mt=ct.min,q2=ie.now,X2=RA.parseInt,Eh=ct.random,V2=rr.reverse,Sl=yi(RA,"DataView"),Yo=yi(RA,"Map"),xl=yi(RA,"Promise"),eo=yi(RA,"Set"),Oo=yi(RA,"WeakMap"),$o=yi(Ue,"create"),Er=Oo&&new Oo,to={},A8=vi(Sl),e8=vi(Yo),t8=vi(xl),n8=vi(eo),i8=vi(Oo),Qr=ei?ei.prototype:t,Jo=Qr?Qr.valueOf:t,Qh=Qr?Qr.toString:t;function gA(c){if(tt(c)&&!me(c)&&!(c instanceof _e)){if(c instanceof on)return c;if(Pe.call(c,"__wrapped__"))return mp(c)}return new on(c)}var no=function(){function c(){}return function(I){if(!Xe(I))return{};if(hh)return hh(I);c.prototype=I;var H=new c;return c.prototype=t,H}}();function mr(){}function on(c,I){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!I,this.__index__=0,this.__values__=t}gA.templateSettings={escape:pA,evaluate:mA,interpolate:vA,variable:"",imports:{_:gA}},gA.prototype=mr.prototype,gA.prototype.constructor=gA,on.prototype=no(mr.prototype),on.prototype.constructor=on;function _e(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function o8(){var c=new _e(this.__wrapped__);return c.__actions__=Nt(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Nt(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Nt(this.__views__),c}function s8(){if(this.__filtered__){var c=new _e(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function r8(){var c=this.__wrapped__.value(),I=this.__dir__,H=me(c),eA=I<0,lA=H?c.length:0,uA=QM(0,lA,this.__views__),CA=uA.start,IA=uA.end,yA=IA-CA,HA=eA?IA:CA-1,PA=this.__iteratees__,UA=PA.length,Ae=0,ae=mt(yA,this.__takeCount__);if(!H||!eA&&lA==yA&&ae==yA)return Yh(c,this.__actions__);var de=[];A:for(;yA--&&Ae<ae;){HA+=I;for(var De=-1,he=c[HA];++De<UA;){var ve=PA[De],Me=ve.iteratee,Jt=ve.type,_t=Me(he);if(Jt==B)he=_t;else if(!_t){if(Jt==o)continue A;break A}}de[Ae++]=he}return de}_e.prototype=no(mr.prototype),_e.prototype.constructor=_e;function fi(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function a8(){this.__data__=$o?$o(null):{},this.size=0}function l8(c){var I=this.has(c)&&delete this.__data__[c];return this.size-=I?1:0,I}function c8(c){var I=this.__data__;if($o){var H=I[c];return H===S?t:H}return Pe.call(I,c)?I[c]:t}function g8(c){var I=this.__data__;return $o?I[c]!==t:Pe.call(I,c)}function u8(c,I){var H=this.__data__;return this.size+=this.has(c)?0:1,H[c]=$o&&I===t?S:I,this}fi.prototype.clear=a8,fi.prototype.delete=l8,fi.prototype.get=c8,fi.prototype.has=g8,fi.prototype.set=u8;function Fn(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function d8(){this.__data__=[],this.size=0}function h8(c){var I=this.__data__,H=Ir(I,c);if(H<0)return!1;var eA=I.length-1;return H==eA?I.pop():hr.call(I,H,1),--this.size,!0}function p8(c){var I=this.__data__,H=Ir(I,c);return H<0?t:I[H][1]}function B8(c){return Ir(this.__data__,c)>-1}function C8(c,I){var H=this.__data__,eA=Ir(H,c);return eA<0?(++this.size,H.push([c,I])):H[eA][1]=I,this}Fn.prototype.clear=d8,Fn.prototype.delete=h8,Fn.prototype.get=p8,Fn.prototype.has=B8,Fn.prototype.set=C8;function Rn(c){var I=-1,H=c==null?0:c.length;for(this.clear();++I<H;){var eA=c[I];this.set(eA[0],eA[1])}}function E8(){this.size=0,this.__data__={hash:new fi,map:new(Yo||Fn),string:new fi}}function Q8(c){var I=Nr(this,c).delete(c);return this.size-=I?1:0,I}function m8(c){return Nr(this,c).get(c)}function I8(c){return Nr(this,c).has(c)}function f8(c,I){var H=Nr(this,c),eA=H.size;return H.set(c,I),this.size+=H.size==eA?0:1,this}Rn.prototype.clear=E8,Rn.prototype.delete=Q8,Rn.prototype.get=m8,Rn.prototype.has=I8,Rn.prototype.set=f8;function wi(c){var I=-1,H=c==null?0:c.length;for(this.__data__=new Rn;++I<H;)this.add(c[I])}function w8(c){return this.__data__.set(c,S),this}function D8(c){return this.__data__.has(c)}wi.prototype.add=wi.prototype.push=w8,wi.prototype.has=D8;function hn(c){var I=this.__data__=new Fn(c);this.size=I.size}function b8(){this.__data__=new Fn,this.size=0}function y8(c){var I=this.__data__,H=I.delete(c);return this.size=I.size,H}function v8(c){return this.__data__.get(c)}function k8(c){return this.__data__.has(c)}function _8(c,I){var H=this.__data__;if(H instanceof Fn){var eA=H.__data__;if(!Yo||eA.length<Q-1)return eA.push([c,I]),this.size=++H.size,this;H=this.__data__=new Rn(eA)}return H.set(c,I),this.size=H.size,this}hn.prototype.clear=b8,hn.prototype.delete=y8,hn.prototype.get=v8,hn.prototype.has=k8,hn.prototype.set=_8;function mh(c,I){var H=me(c),eA=!H&&ki(c),lA=!H&&!eA&&si(c),uA=!H&&!eA&&!lA&&ro(c),CA=H||eA||lA||uA,IA=CA?yl(c.length,P2):[],yA=IA.length;for(var HA in c)(I||Pe.call(c,HA))&&!(CA&&(HA=="length"||lA&&(HA=="offset"||HA=="parent")||uA&&(HA=="buffer"||HA=="byteLength"||HA=="byteOffset")||Pn(HA,yA)))&&IA.push(HA);return IA}function Ih(c){var I=c.length;return I?c[Yl(0,I-1)]:t}function M8(c,I){return Fr(Nt(c),Di(I,0,c.length))}function S8(c){return Fr(Nt(c))}function Nl(c,I,H){(H!==t&&!pn(c[I],H)||H===t&&!(I in c))&&Ln(c,I,H)}function Zo(c,I,H){var eA=c[I];(!(Pe.call(c,I)&&pn(eA,H))||H===t&&!(I in c))&&Ln(c,I,H)}function Ir(c,I){for(var H=c.length;H--;)if(pn(c[H][0],I))return H;return-1}function x8(c,I,H,eA){return ti(c,function(lA,uA,CA){I(eA,lA,H(lA),CA)}),eA}function fh(c,I){return c&&Dn(I,pt(I),c)}function N8(c,I){return c&&Dn(I,Rt(I),c)}function Ln(c,I,H){I=="__proto__"&&pr?pr(c,I,{configurable:!0,enumerable:!0,value:H,writable:!0}):c[I]=H}function Fl(c,I){for(var H=-1,eA=I.length,lA=xA(eA),uA=c==null;++H<eA;)lA[H]=uA?t:hc(c,I[H]);return lA}function Di(c,I,H){return c===c&&(H!==t&&(c=c<=H?c:H),I!==t&&(c=c>=I?c:I)),c}function sn(c,I,H,eA,lA,uA){var CA,IA=I&G,yA=I&K,HA=I&J;if(H&&(CA=lA?H(c,eA,lA,uA):H(c)),CA!==t)return CA;if(!Xe(c))return c;var PA=me(c);if(PA){if(CA=IM(c),!IA)return Nt(c,CA)}else{var UA=It(c),Ae=UA==tA||UA==cA;if(si(c))return Jh(c,IA);if(UA==iA||UA==q||Ae&&!lA){if(CA=yA||Ae?{}:gp(c),!IA)return yA?cM(c,N8(CA,c)):lM(c,fh(CA,c))}else{if(!Ye[UA])return lA?c:{};CA=fM(c,UA,IA)}}uA||(uA=new hn);var ae=uA.get(c);if(ae)return ae;uA.set(c,CA),Kp(c)?c.forEach(function(he){CA.add(sn(he,I,H,he,c,uA))}):Hp(c)&&c.forEach(function(he,ve){CA.set(ve,sn(he,I,H,ve,c,uA))});var de=HA?yA?Ac:Vl:yA?Rt:pt,De=PA?t:de(c);return tn(De||c,function(he,ve){De&&(ve=he,he=c[ve]),Zo(CA,ve,sn(he,I,H,ve,c,uA))}),CA}function F8(c){var I=pt(c);return function(H){return wh(H,c,I)}}function wh(c,I,H){var eA=H.length;if(c==null)return!eA;for(c=Ue(c);eA--;){var lA=H[eA],uA=I[lA],CA=c[lA];if(CA===t&&!(lA in c)||!uA(CA))return!1}return!0}function Dh(c,I,H){if(typeof c!="function")throw new nn(a);return As(function(){c.apply(t,H)},I)}function zo(c,I,H,eA){var lA=-1,uA=ir,CA=!0,IA=c.length,yA=[],HA=I.length;if(!IA)return yA;H&&(I=We(I,Yt(H))),eA?(uA=ml,CA=!1):I.length>=Q&&(uA=Uo,CA=!1,I=new wi(I));A:for(;++lA<IA;){var PA=c[lA],UA=H==null?PA:H(PA);if(PA=eA||PA!==0?PA:0,CA&&UA===UA){for(var Ae=HA;Ae--;)if(I[Ae]===UA)continue A;yA.push(PA)}else uA(I,UA,eA)||yA.push(PA)}return yA}var ti=qh(wn),bh=qh(Ll,!0);function R8(c,I){var H=!0;return ti(c,function(eA,lA,uA){return H=!!I(eA,lA,uA),H}),H}function fr(c,I,H){for(var eA=-1,lA=c.length;++eA<lA;){var uA=c[eA],CA=I(uA);if(CA!=null&&(IA===t?CA===CA&&!$t(CA):H(CA,IA)))var IA=CA,yA=uA}return yA}function L8(c,I,H,eA){var lA=c.length;for(H=we(H),H<0&&(H=-H>lA?0:lA+H),eA=eA===t||eA>lA?lA:we(eA),eA<0&&(eA+=lA),eA=H>eA?0:Tp(eA);H<eA;)c[H++]=I;return c}function yh(c,I){var H=[];return ti(c,function(eA,lA,uA){I(eA,lA,uA)&&H.push(eA)}),H}function Et(c,I,H,eA,lA){var uA=-1,CA=c.length;for(H||(H=DM),lA||(lA=[]);++uA<CA;){var IA=c[uA];I>0&&H(IA)?I>1?Et(IA,I-1,H,eA,lA):Vn(lA,IA):eA||(lA[lA.length]=IA)}return lA}var Rl=Xh(),vh=Xh(!0);function wn(c,I){return c&&Rl(c,I,pt)}function Ll(c,I){return c&&vh(c,I,pt)}function wr(c,I){return Xn(I,function(H){return Kn(c[H])})}function bi(c,I){I=ii(I,c);for(var H=0,eA=I.length;c!=null&&H<eA;)c=c[bn(I[H++])];return H&&H==eA?c:t}function kh(c,I,H){var eA=I(c);return me(c)?eA:Vn(eA,H(c))}function vt(c){return c==null?c===t?dA:z:Ii&&Ii in Ue(c)?EM(c):SM(c)}function Gl(c,I){return c>I}function G8(c,I){return c!=null&&Pe.call(c,I)}function H8(c,I){return c!=null&&I in Ue(c)}function P8(c,I,H){return c>=mt(I,H)&&c<gt(I,H)}function Hl(c,I,H){for(var eA=H?ml:ir,lA=c[0].length,uA=c.length,CA=uA,IA=xA(uA),yA=1/0,HA=[];CA--;){var PA=c[CA];CA&&I&&(PA=We(PA,Yt(I))),yA=mt(PA.length,yA),IA[CA]=!H&&(I||lA>=120&&PA.length>=120)?new wi(CA&&PA):t}PA=c[0];var UA=-1,Ae=IA[0];A:for(;++UA<lA&&HA.length<yA;){var ae=PA[UA],de=I?I(ae):ae;if(ae=H||ae!==0?ae:0,!(Ae?Uo(Ae,de):eA(HA,de,H))){for(CA=uA;--CA;){var De=IA[CA];if(!(De?Uo(De,de):eA(c[CA],de,H)))continue A}Ae&&Ae.push(de),HA.push(ae)}}return HA}function K8(c,I,H,eA){return wn(c,function(lA,uA,CA){I(eA,H(lA),uA,CA)}),eA}function Wo(c,I,H){I=ii(I,c),c=pp(c,I);var eA=c==null?c:c[bn(an(I))];return eA==null?t:Tt(eA,c,H)}function _h(c){return tt(c)&&vt(c)==q}function U8(c){return tt(c)&&vt(c)==LA}function T8(c){return tt(c)&&vt(c)==X}function jo(c,I,H,eA,lA){return c===I?!0:c==null||I==null||!tt(c)&&!tt(I)?c!==c&&I!==I:Y8(c,I,H,eA,jo,lA)}function Y8(c,I,H,eA,lA,uA){var CA=me(c),IA=me(I),yA=CA?v:It(c),HA=IA?v:It(I);yA=yA==q?iA:yA,HA=HA==q?iA:HA;var PA=yA==iA,UA=HA==iA,Ae=yA==HA;if(Ae&&si(c)){if(!si(I))return!1;CA=!0,PA=!1}if(Ae&&!PA)return uA||(uA=new hn),CA||ro(c)?ap(c,I,H,eA,lA,uA):BM(c,I,yA,H,eA,lA,uA);if(!(H&T)){var ae=PA&&Pe.call(c,"__wrapped__"),de=UA&&Pe.call(I,"__wrapped__");if(ae||de){var De=ae?c.value():c,he=de?I.value():I;return uA||(uA=new hn),lA(De,he,H,eA,uA)}}return Ae?(uA||(uA=new hn),CM(c,I,H,eA,lA,uA)):!1}function O8(c){return tt(c)&&It(c)==sA}function Pl(c,I,H,eA){var lA=H.length,uA=lA,CA=!eA;if(c==null)return!uA;for(c=Ue(c);lA--;){var IA=H[lA];if(CA&&IA[2]?IA[1]!==c[IA[0]]:!(IA[0]in c))return!1}for(;++lA<uA;){IA=H[lA];var yA=IA[0],HA=c[yA],PA=IA[1];if(CA&&IA[2]){if(HA===t&&!(yA in c))return!1}else{var UA=new hn;if(eA)var Ae=eA(HA,PA,yA,c,I,UA);if(!(Ae===t?jo(PA,HA,T|P,eA,UA):Ae))return!1}}return!0}function Mh(c){if(!Xe(c)||yM(c))return!1;var I=Kn(c)?O2:ye;return I.test(vi(c))}function $8(c){return tt(c)&&vt(c)==U}function J8(c){return tt(c)&&It(c)==O}function Z8(c){return tt(c)&&Kr(c.length)&&!!Je[vt(c)]}function Sh(c){return typeof c=="function"?c:c==null?Lt:typeof c=="object"?me(c)?Fh(c[0],c[1]):Nh(c):Vp(c)}function Kl(c){if(!Vo(c))return j2(c);var I=[];for(var H in Ue(c))Pe.call(c,H)&&H!="constructor"&&I.push(H);return I}function z8(c){if(!Xe(c))return MM(c);var I=Vo(c),H=[];for(var eA in c)eA=="constructor"&&(I||!Pe.call(c,eA))||H.push(eA);return H}function Ul(c,I){return c<I}function xh(c,I){var H=-1,eA=Ft(c)?xA(c.length):[];return ti(c,function(lA,uA,CA){eA[++H]=I(lA,uA,CA)}),eA}function Nh(c){var I=tc(c);return I.length==1&&I[0][2]?dp(I[0][0],I[0][1]):function(H){return H===c||Pl(H,c,I)}}function Fh(c,I){return ic(c)&&up(I)?dp(bn(c),I):function(H){var eA=hc(H,c);return eA===t&&eA===I?pc(H,c):jo(I,eA,T|P)}}function Dr(c,I,H,eA,lA){c!==I&&Rl(I,function(uA,CA){if(lA||(lA=new hn),Xe(uA))W8(c,I,CA,H,Dr,eA,lA);else{var IA=eA?eA(sc(c,CA),uA,CA+"",c,I,lA):t;IA===t&&(IA=uA),Nl(c,CA,IA)}},Rt)}function W8(c,I,H,eA,lA,uA,CA){var IA=sc(c,H),yA=sc(I,H),HA=CA.get(yA);if(HA){Nl(c,H,HA);return}var PA=uA?uA(IA,yA,H+"",c,I,CA):t,UA=PA===t;if(UA){var Ae=me(yA),ae=!Ae&&si(yA),de=!Ae&&!ae&&ro(yA);PA=yA,Ae||ae||de?me(IA)?PA=IA:nt(IA)?PA=Nt(IA):ae?(UA=!1,PA=Jh(yA,!0)):de?(UA=!1,PA=Zh(yA,!0)):PA=[]:es(yA)||ki(yA)?(PA=IA,ki(IA)?PA=Yp(IA):(!Xe(IA)||Kn(IA))&&(PA=gp(yA))):UA=!1}UA&&(CA.set(yA,PA),lA(PA,yA,eA,uA,CA),CA.delete(yA)),Nl(c,H,PA)}function Rh(c,I){var H=c.length;if(H)return I+=I<0?H:0,Pn(I,H)?c[I]:t}function Lh(c,I,H){I.length?I=We(I,function(uA){return me(uA)?function(CA){return bi(CA,uA.length===1?uA[0]:uA)}:uA}):I=[Lt];var eA=-1;I=We(I,Yt(ue()));var lA=xh(c,function(uA,CA,IA){var yA=We(I,function(HA){return HA(uA)});return{criteria:yA,index:++eA,value:uA}});return f2(lA,function(uA,CA){return aM(uA,CA,H)})}function j8(c,I){return Gh(c,I,function(H,eA){return pc(c,eA)})}function Gh(c,I,H){for(var eA=-1,lA=I.length,uA={};++eA<lA;){var CA=I[eA],IA=bi(c,CA);H(IA,CA)&&qo(uA,ii(CA,c),IA)}return uA}function q8(c){return function(I){return bi(I,c)}}function Tl(c,I,H,eA){var lA=eA?I2:ji,uA=-1,CA=I.length,IA=c;for(c===I&&(I=Nt(I)),H&&(IA=We(c,Yt(H)));++uA<CA;)for(var yA=0,HA=I[uA],PA=H?H(HA):HA;(yA=lA(IA,PA,yA,eA))>-1;)IA!==c&&hr.call(IA,yA,1),hr.call(c,yA,1);return c}function Hh(c,I){for(var H=c?I.length:0,eA=H-1;H--;){var lA=I[H];if(H==eA||lA!==uA){var uA=lA;Pn(lA)?hr.call(c,lA,1):Jl(c,lA)}}return c}function Yl(c,I){return c+Cr(Eh()*(I-c+1))}function X8(c,I,H,eA){for(var lA=-1,uA=gt(Br((I-c)/(H||1)),0),CA=xA(uA);uA--;)CA[eA?uA:++lA]=c,c+=H;return CA}function Ol(c,I){var H="";if(!c||I<1||I>D)return H;do I%2&&(H+=c),I=Cr(I/2),I&&(c+=c);while(I);return H}function be(c,I){return rc(hp(c,I,Lt),c+"")}function V8(c){return Ih(ao(c))}function AM(c,I){var H=ao(c);return Fr(H,Di(I,0,H.length))}function qo(c,I,H,eA){if(!Xe(c))return c;I=ii(I,c);for(var lA=-1,uA=I.length,CA=uA-1,IA=c;IA!=null&&++lA<uA;){var yA=bn(I[lA]),HA=H;if(yA==="__proto__"||yA==="constructor"||yA==="prototype")return c;if(lA!=CA){var PA=IA[yA];HA=eA?eA(PA,yA,IA):t,HA===t&&(HA=Xe(PA)?PA:Pn(I[lA+1])?[]:{})}Zo(IA,yA,HA),IA=IA[yA]}return c}var Ph=Er?function(c,I){return Er.set(c,I),c}:Lt,eM=pr?function(c,I){return pr(c,"toString",{configurable:!0,enumerable:!1,value:Cc(I),writable:!0})}:Lt;function tM(c){return Fr(ao(c))}function rn(c,I,H){var eA=-1,lA=c.length;I<0&&(I=-I>lA?0:lA+I),H=H>lA?lA:H,H<0&&(H+=lA),lA=I>H?0:H-I>>>0,I>>>=0;for(var uA=xA(lA);++eA<lA;)uA[eA]=c[eA+I];return uA}function nM(c,I){var H;return ti(c,function(eA,lA,uA){return H=I(eA,lA,uA),!H}),!!H}function br(c,I,H){var eA=0,lA=c==null?eA:c.length;if(typeof I=="number"&&I===I&&lA<=Z){for(;eA<lA;){var uA=eA+lA>>>1,CA=c[uA];CA!==null&&!$t(CA)&&(H?CA<=I:CA<I)?eA=uA+1:lA=uA}return lA}return $l(c,I,Lt,H)}function $l(c,I,H,eA){var lA=0,uA=c==null?0:c.length;if(uA===0)return 0;I=H(I);for(var CA=I!==I,IA=I===null,yA=$t(I),HA=I===t;lA<uA;){var PA=Cr((lA+uA)/2),UA=H(c[PA]),Ae=UA!==t,ae=UA===null,de=UA===UA,De=$t(UA);if(CA)var he=eA||de;else HA?he=de&&(eA||Ae):IA?he=de&&Ae&&(eA||!ae):yA?he=de&&Ae&&!ae&&(eA||!De):ae||De?he=!1:he=eA?UA<=I:UA<I;he?lA=PA+1:uA=PA}return mt(uA,j)}function Kh(c,I){for(var H=-1,eA=c.length,lA=0,uA=[];++H<eA;){var CA=c[H],IA=I?I(CA):CA;if(!H||!pn(IA,yA)){var yA=IA;uA[lA++]=CA===0?0:CA}}return uA}function Uh(c){return typeof c=="number"?c:$t(c)?R:+c}function Ot(c){if(typeof c=="string")return c;if(me(c))return We(c,Ot)+"";if($t(c))return Qh?Qh.call(c):"";var I=c+"";return I=="0"&&1/c==-M?"-0":I}function ni(c,I,H){var eA=-1,lA=ir,uA=c.length,CA=!0,IA=[],yA=IA;if(H)CA=!1,lA=ml;else if(uA>=Q){var HA=I?null:hM(c);if(HA)return sr(HA);CA=!1,lA=Uo,yA=new wi}else yA=I?[]:IA;A:for(;++eA<uA;){var PA=c[eA],UA=I?I(PA):PA;if(PA=H||PA!==0?PA:0,CA&&UA===UA){for(var Ae=yA.length;Ae--;)if(yA[Ae]===UA)continue A;I&&yA.push(UA),IA.push(PA)}else lA(yA,UA,H)||(yA!==IA&&yA.push(UA),IA.push(PA))}return IA}function Jl(c,I){return I=ii(I,c),c=pp(c,I),c==null||delete c[bn(an(I))]}function Th(c,I,H,eA){return qo(c,I,H(bi(c,I)),eA)}function yr(c,I,H,eA){for(var lA=c.length,uA=eA?lA:-1;(eA?uA--:++uA<lA)&&I(c[uA],uA,c););return H?rn(c,eA?0:uA,eA?uA+1:lA):rn(c,eA?uA+1:0,eA?lA:uA)}function Yh(c,I){var H=c;return H instanceof _e&&(H=H.value()),Il(I,function(eA,lA){return lA.func.apply(lA.thisArg,Vn([eA],lA.args))},H)}function Zl(c,I,H){var eA=c.length;if(eA<2)return eA?ni(c[0]):[];for(var lA=-1,uA=xA(eA);++lA<eA;)for(var CA=c[lA],IA=-1;++IA<eA;)IA!=lA&&(uA[lA]=zo(uA[lA]||CA,c[IA],I,H));return ni(Et(uA,1),I,H)}function Oh(c,I,H){for(var eA=-1,lA=c.length,uA=I.length,CA={};++eA<lA;){var IA=eA<uA?I[eA]:t;H(CA,c[eA],IA)}return CA}function zl(c){return nt(c)?c:[]}function Wl(c){return typeof c=="function"?c:Lt}function ii(c,I){return me(c)?c:ic(c,I)?[c]:Qp(Re(c))}var iM=be;function oi(c,I,H){var eA=c.length;return H=H===t?eA:H,!I&&H>=eA?c:rn(c,I,H)}var $h=$2||function(c){return Ct.clearTimeout(c)};function Jh(c,I){if(I)return c.slice();var H=c.length,eA=dh?dh(H):new c.constructor(H);return c.copy(eA),eA}function jl(c){var I=new c.constructor(c.byteLength);return new ur(I).set(new ur(c)),I}function oM(c,I){var H=I?jl(c.buffer):c.buffer;return new c.constructor(H,c.byteOffset,c.byteLength)}function sM(c){var I=new c.constructor(c.source,le.exec(c));return I.lastIndex=c.lastIndex,I}function rM(c){return Jo?Ue(Jo.call(c)):{}}function Zh(c,I){var H=I?jl(c.buffer):c.buffer;return new c.constructor(H,c.byteOffset,c.length)}function zh(c,I){if(c!==I){var H=c!==t,eA=c===null,lA=c===c,uA=$t(c),CA=I!==t,IA=I===null,yA=I===I,HA=$t(I);if(!IA&&!HA&&!uA&&c>I||uA&&CA&&yA&&!IA&&!HA||eA&&CA&&yA||!H&&yA||!lA)return 1;if(!eA&&!uA&&!HA&&c<I||HA&&H&&lA&&!eA&&!uA||IA&&H&&lA||!CA&&lA||!yA)return-1}return 0}function aM(c,I,H){for(var eA=-1,lA=c.criteria,uA=I.criteria,CA=lA.length,IA=H.length;++eA<CA;){var yA=zh(lA[eA],uA[eA]);if(yA){if(eA>=IA)return yA;var HA=H[eA];return yA*(HA=="desc"?-1:1)}}return c.index-I.index}function Wh(c,I,H,eA){for(var lA=-1,uA=c.length,CA=H.length,IA=-1,yA=I.length,HA=gt(uA-CA,0),PA=xA(yA+HA),UA=!eA;++IA<yA;)PA[IA]=I[IA];for(;++lA<CA;)(UA||lA<uA)&&(PA[H[lA]]=c[lA]);for(;HA--;)PA[IA++]=c[lA++];return PA}function jh(c,I,H,eA){for(var lA=-1,uA=c.length,CA=-1,IA=H.length,yA=-1,HA=I.length,PA=gt(uA-IA,0),UA=xA(PA+HA),Ae=!eA;++lA<PA;)UA[lA]=c[lA];for(var ae=lA;++yA<HA;)UA[ae+yA]=I[yA];for(;++CA<IA;)(Ae||lA<uA)&&(UA[ae+H[CA]]=c[lA++]);return UA}function Nt(c,I){var H=-1,eA=c.length;for(I||(I=xA(eA));++H<eA;)I[H]=c[H];return I}function Dn(c,I,H,eA){var lA=!H;H||(H={});for(var uA=-1,CA=I.length;++uA<CA;){var IA=I[uA],yA=eA?eA(H[IA],c[IA],IA,H,c):t;yA===t&&(yA=c[IA]),lA?Ln(H,IA,yA):Zo(H,IA,yA)}return H}function lM(c,I){return Dn(c,nc(c),I)}function cM(c,I){return Dn(c,lp(c),I)}function vr(c,I){return function(H,eA){var lA=me(H)?p2:x8,uA=I?I():{};return lA(H,c,ue(eA,2),uA)}}function io(c){return be(function(I,H){var eA=-1,lA=H.length,uA=lA>1?H[lA-1]:t,CA=lA>2?H[2]:t;for(uA=c.length>3&&typeof uA=="function"?(lA--,uA):t,CA&&kt(H[0],H[1],CA)&&(uA=lA<3?t:uA,lA=1),I=Ue(I);++eA<lA;){var IA=H[eA];IA&&c(I,IA,eA,uA)}return I})}function qh(c,I){return function(H,eA){if(H==null)return H;if(!Ft(H))return c(H,eA);for(var lA=H.length,uA=I?lA:-1,CA=Ue(H);(I?uA--:++uA<lA)&&eA(CA[uA],uA,CA)!==!1;);return H}}function Xh(c){return function(I,H,eA){for(var lA=-1,uA=Ue(I),CA=eA(I),IA=CA.length;IA--;){var yA=CA[c?IA:++lA];if(H(uA[yA],yA,uA)===!1)break}return I}}function gM(c,I,H){var eA=I&_,lA=Xo(c);function uA(){var CA=this&&this!==Ct&&this instanceof uA?lA:c;return CA.apply(eA?H:this,arguments)}return uA}function Vh(c){return function(I){I=Re(I);var H=qi(I)?dn(I):t,eA=H?H[0]:I.charAt(0),lA=H?oi(H,1).join(""):I.slice(1);return eA[c]()+lA}}function oo(c){return function(I){return Il(qp(jp(I).replace(e2,"")),c,"")}}function Xo(c){return function(){var I=arguments;switch(I.length){case 0:return new c;case 1:return new c(I[0]);case 2:return new c(I[0],I[1]);case 3:return new c(I[0],I[1],I[2]);case 4:return new c(I[0],I[1],I[2],I[3]);case 5:return new c(I[0],I[1],I[2],I[3],I[4]);case 6:return new c(I[0],I[1],I[2],I[3],I[4],I[5]);case 7:return new c(I[0],I[1],I[2],I[3],I[4],I[5],I[6])}var H=no(c.prototype),eA=c.apply(H,I);return Xe(eA)?eA:H}}function uM(c,I,H){var eA=Xo(c);function lA(){for(var uA=arguments.length,CA=xA(uA),IA=uA,yA=so(lA);IA--;)CA[IA]=arguments[IA];var HA=uA<3&&CA[0]!==yA&&CA[uA-1]!==yA?[]:Ai(CA,yA);if(uA-=HA.length,uA<H)return ip(c,I,kr,lA.placeholder,t,CA,HA,t,t,H-uA);var PA=this&&this!==Ct&&this instanceof lA?eA:c;return Tt(PA,this,CA)}return lA}function Ap(c){return function(I,H,eA){var lA=Ue(I);if(!Ft(I)){var uA=ue(H,3);I=pt(I),H=function(IA){return uA(lA[IA],IA,lA)}}var CA=c(I,H,eA);return CA>-1?lA[uA?I[CA]:CA]:t}}function ep(c){return Hn(function(I){var H=I.length,eA=H,lA=on.prototype.thru;for(c&&I.reverse();eA--;){var uA=I[eA];if(typeof uA!="function")throw new nn(a);if(lA&&!CA&&xr(uA)=="wrapper")var CA=new on([],!0)}for(eA=CA?eA:H;++eA<H;){uA=I[eA];var IA=xr(uA),yA=IA=="wrapper"?ec(uA):t;yA&&oc(yA[0])&&yA[1]==(p|k|C|l)&&!yA[4].length&&yA[9]==1?CA=CA[xr(yA[0])].apply(CA,yA[3]):CA=uA.length==1&&oc(uA)?CA[IA]():CA.thru(uA)}return function(){var HA=arguments,PA=HA[0];if(CA&&HA.length==1&&me(PA))return CA.plant(PA).value();for(var UA=0,Ae=H?I[UA].apply(this,HA):PA;++UA<H;)Ae=I[UA].call(this,Ae);return Ae}})}function kr(c,I,H,eA,lA,uA,CA,IA,yA,HA){var PA=I&p,UA=I&_,Ae=I&m,ae=I&(k|y),de=I&g,De=Ae?t:Xo(c);function he(){for(var ve=arguments.length,Me=xA(ve),Jt=ve;Jt--;)Me[Jt]=arguments[Jt];if(ae)var _t=so(he),Zt=D2(Me,_t);if(eA&&(Me=Wh(Me,eA,lA,ae)),uA&&(Me=jh(Me,uA,CA,ae)),ve-=Zt,ae&&ve<HA){var it=Ai(Me,_t);return ip(c,I,kr,he.placeholder,H,Me,it,IA,yA,HA-ve)}var Bn=UA?H:this,Tn=Ae?Bn[c]:c;return ve=Me.length,IA?Me=xM(Me,IA):de&&ve>1&&Me.reverse(),PA&&yA<ve&&(Me.length=yA),this&&this!==Ct&&this instanceof he&&(Tn=De||Xo(Tn)),Tn.apply(Bn,Me)}return he}function tp(c,I){return function(H,eA){return K8(H,c,I(eA),{})}}function _r(c,I){return function(H,eA){var lA;if(H===t&&eA===t)return I;if(H!==t&&(lA=H),eA!==t){if(lA===t)return eA;typeof H=="string"||typeof eA=="string"?(H=Ot(H),eA=Ot(eA)):(H=Uh(H),eA=Uh(eA)),lA=c(H,eA)}return lA}}function ql(c){return Hn(function(I){return I=We(I,Yt(ue())),be(function(H){var eA=this;return c(I,function(lA){return Tt(lA,eA,H)})})})}function Mr(c,I){I=I===t?" ":Ot(I);var H=I.length;if(H<2)return H?Ol(I,c):I;var eA=Ol(I,Br(c/Xi(I)));return qi(I)?oi(dn(eA),0,c).join(""):eA.slice(0,c)}function dM(c,I,H,eA){var lA=I&_,uA=Xo(c);function CA(){for(var IA=-1,yA=arguments.length,HA=-1,PA=eA.length,UA=xA(PA+yA),Ae=this&&this!==Ct&&this instanceof CA?uA:c;++HA<PA;)UA[HA]=eA[HA];for(;yA--;)UA[HA++]=arguments[++IA];return Tt(Ae,lA?H:this,UA)}return CA}function np(c){return function(I,H,eA){return eA&&typeof eA!="number"&&kt(I,H,eA)&&(H=eA=t),I=Un(I),H===t?(H=I,I=0):H=Un(H),eA=eA===t?I<H?1:-1:Un(eA),X8(I,H,eA,c)}}function Sr(c){return function(I,H){return typeof I=="string"&&typeof H=="string"||(I=ln(I),H=ln(H)),c(I,H)}}function ip(c,I,H,eA,lA,uA,CA,IA,yA,HA){var PA=I&k,UA=PA?CA:t,Ae=PA?t:CA,ae=PA?uA:t,de=PA?t:uA;I|=PA?C:u,I&=~(PA?u:C),I&L||(I&=~(_|m));var De=[c,I,lA,ae,UA,de,Ae,IA,yA,HA],he=H.apply(t,De);return oc(c)&&Bp(he,De),he.placeholder=eA,Cp(he,c,I)}function Xl(c){var I=ct[c];return function(H,eA){if(H=ln(H),eA=eA==null?0:mt(we(eA),292),eA&&Ch(H)){var lA=(Re(H)+"e").split("e"),uA=I(lA[0]+"e"+(+lA[1]+eA));return lA=(Re(uA)+"e").split("e"),+(lA[0]+"e"+(+lA[1]-eA))}return I(H)}}var hM=eo&&1/sr(new eo([,-0]))[1]==M?function(c){return new eo(c)}:mc;function op(c){return function(I){var H=It(I);return H==sA?kl(I):H==O?S2(I):w2(I,c(I))}}function Gn(c,I,H,eA,lA,uA,CA,IA){var yA=I&m;if(!yA&&typeof c!="function")throw new nn(a);var HA=eA?eA.length:0;if(HA||(I&=~(C|u),eA=lA=t),CA=CA===t?CA:gt(we(CA),0),IA=IA===t?IA:we(IA),HA-=lA?lA.length:0,I&u){var PA=eA,UA=lA;eA=lA=t}var Ae=yA?t:ec(c),ae=[c,I,H,eA,lA,PA,UA,uA,CA,IA];if(Ae&&_M(ae,Ae),c=ae[0],I=ae[1],H=ae[2],eA=ae[3],lA=ae[4],IA=ae[9]=ae[9]===t?yA?0:c.length:gt(ae[9]-HA,0),!IA&&I&(k|y)&&(I&=~(k|y)),!I||I==_)var de=gM(c,I,H);else I==k||I==y?de=uM(c,I,IA):(I==C||I==(_|C))&&!lA.length?de=dM(c,I,H,eA):de=kr.apply(t,ae);var De=Ae?Ph:Bp;return Cp(De(de,ae),c,I)}function sp(c,I,H,eA){return c===t||pn(c,Ao[H])&&!Pe.call(eA,H)?I:c}function rp(c,I,H,eA,lA,uA){return Xe(c)&&Xe(I)&&(uA.set(I,c),Dr(c,I,t,rp,uA),uA.delete(I)),c}function pM(c){return es(c)?t:c}function ap(c,I,H,eA,lA,uA){var CA=H&T,IA=c.length,yA=I.length;if(IA!=yA&&!(CA&&yA>IA))return!1;var HA=uA.get(c),PA=uA.get(I);if(HA&&PA)return HA==I&&PA==c;var UA=-1,Ae=!0,ae=H&P?new wi:t;for(uA.set(c,I),uA.set(I,c);++UA<IA;){var de=c[UA],De=I[UA];if(eA)var he=CA?eA(De,de,UA,I,c,uA):eA(de,De,UA,c,I,uA);if(he!==t){if(he)continue;Ae=!1;break}if(ae){if(!fl(I,function(ve,Me){if(!Uo(ae,Me)&&(de===ve||lA(de,ve,H,eA,uA)))return ae.push(Me)})){Ae=!1;break}}else if(!(de===De||lA(de,De,H,eA,uA))){Ae=!1;break}}return uA.delete(c),uA.delete(I),Ae}function BM(c,I,H,eA,lA,uA,CA){switch(H){case WA:if(c.byteLength!=I.byteLength||c.byteOffset!=I.byteOffset)return!1;c=c.buffer,I=I.buffer;case LA:return!(c.byteLength!=I.byteLength||!uA(new ur(c),new ur(I)));case F:case X:case hA:return pn(+c,+I);case V:return c.name==I.name&&c.message==I.message;case U:case AA:return c==I+"";case sA:var IA=kl;case O:var yA=eA&T;if(IA||(IA=sr),c.size!=I.size&&!yA)return!1;var HA=CA.get(c);if(HA)return HA==I;eA|=P,CA.set(c,I);var PA=ap(IA(c),IA(I),eA,lA,uA,CA);return CA.delete(c),PA;case aA:if(Jo)return Jo.call(c)==Jo.call(I)}return!1}function CM(c,I,H,eA,lA,uA){var CA=H&T,IA=Vl(c),yA=IA.length,HA=Vl(I),PA=HA.length;if(yA!=PA&&!CA)return!1;for(var UA=yA;UA--;){var Ae=IA[UA];if(!(CA?Ae in I:Pe.call(I,Ae)))return!1}var ae=uA.get(c),de=uA.get(I);if(ae&&de)return ae==I&&de==c;var De=!0;uA.set(c,I),uA.set(I,c);for(var he=CA;++UA<yA;){Ae=IA[UA];var ve=c[Ae],Me=I[Ae];if(eA)var Jt=CA?eA(Me,ve,Ae,I,c,uA):eA(ve,Me,Ae,c,I,uA);if(!(Jt===t?ve===Me||lA(ve,Me,H,eA,uA):Jt)){De=!1;break}he||(he=Ae=="constructor")}if(De&&!he){var _t=c.constructor,Zt=I.constructor;_t!=Zt&&"constructor"in c&&"constructor"in I&&!(typeof _t=="function"&&_t instanceof _t&&typeof Zt=="function"&&Zt instanceof Zt)&&(De=!1)}return uA.delete(c),uA.delete(I),De}function Hn(c){return rc(hp(c,t,wp),c+"")}function Vl(c){return kh(c,pt,nc)}function Ac(c){return kh(c,Rt,lp)}var ec=Er?function(c){return Er.get(c)}:mc;function xr(c){for(var I=c.name+"",H=to[I],eA=Pe.call(to,I)?H.length:0;eA--;){var lA=H[eA],uA=lA.func;if(uA==null||uA==c)return lA.name}return I}function so(c){var I=Pe.call(gA,"placeholder")?gA:c;return I.placeholder}function ue(){var c=gA.iteratee||Ec;return c=c===Ec?Sh:c,arguments.length?c(arguments[0],arguments[1]):c}function Nr(c,I){var H=c.__data__;return bM(I)?H[typeof I=="string"?"string":"hash"]:H.map}function tc(c){for(var I=pt(c),H=I.length;H--;){var eA=I[H],lA=c[eA];I[H]=[eA,lA,up(lA)]}return I}function yi(c,I){var H=k2(c,I);return Mh(H)?H:t}function EM(c){var I=Pe.call(c,Ii),H=c[Ii];try{c[Ii]=t;var eA=!0}catch{}var lA=cr.call(c);return eA&&(I?c[Ii]=H:delete c[Ii]),lA}var nc=Ml?function(c){return c==null?[]:(c=Ue(c),Xn(Ml(c),function(I){return ph.call(c,I)}))}:Ic,lp=Ml?function(c){for(var I=[];c;)Vn(I,nc(c)),c=dr(c);return I}:Ic,It=vt;(Sl&&It(new Sl(new ArrayBuffer(1)))!=WA||Yo&&It(new Yo)!=sA||xl&&It(xl.resolve())!=oA||eo&&It(new eo)!=O||Oo&&It(new Oo)!=wA)&&(It=function(c){var I=vt(c),H=I==iA?c.constructor:t,eA=H?vi(H):"";if(eA)switch(eA){case A8:return WA;case e8:return sA;case t8:return oA;case n8:return O;case i8:return wA}return I});function QM(c,I,H){for(var eA=-1,lA=H.length;++eA<lA;){var uA=H[eA],CA=uA.size;switch(uA.type){case"drop":c+=CA;break;case"dropRight":I-=CA;break;case"take":I=mt(I,c+CA);break;case"takeRight":c=gt(c,I-CA);break}}return{start:c,end:I}}function mM(c){var I=c.match(BA);return I?I[1].split(fA):[]}function cp(c,I,H){I=ii(I,c);for(var eA=-1,lA=I.length,uA=!1;++eA<lA;){var CA=bn(I[eA]);if(!(uA=c!=null&&H(c,CA)))break;c=c[CA]}return uA||++eA!=lA?uA:(lA=c==null?0:c.length,!!lA&&Kr(lA)&&Pn(CA,lA)&&(me(c)||ki(c)))}function IM(c){var I=c.length,H=new c.constructor(I);return I&&typeof c[0]=="string"&&Pe.call(c,"index")&&(H.index=c.index,H.input=c.input),H}function gp(c){return typeof c.constructor=="function"&&!Vo(c)?no(dr(c)):{}}function fM(c,I,H){var eA=c.constructor;switch(I){case LA:return jl(c);case F:case X:return new eA(+c);case WA:return oM(c,H);case jA:case ee:case zA:case DA:case QA:case NA:case XA:case re:case Ce:return Zh(c,H);case sA:return new eA;case hA:case AA:return new eA(c);case U:return sM(c);case O:return new eA;case aA:return rM(c)}}function wM(c,I){var H=I.length;if(!H)return c;var eA=H-1;return I[eA]=(H>1?"& ":"")+I[eA],I=I.join(H>2?", ":" "),c.replace(EA,`{
|
|
9
9
|
/* [wrapped with `+I+`] */
|
|
10
|
-
`)}function wM(c){return me(c)||ki(c)||!!(Bh&&c&&c[Bh])}function Pn(c,I){var H=typeof c;return I=I??D,!!I&&(H=="number"||H!="symbol"&&qe.test(c))&&c>-1&&c%1==0&&c<I}function kt(c,I,H){if(!Xe(H))return!1;var eA=typeof I;return(eA=="number"?Ft(H)&&Pn(I,H.length):eA=="string"&&I in H)?Bn(H[I],c):!1}function ic(c,I){if(me(c))return!1;var H=typeof c;return H=="number"||H=="symbol"||H=="boolean"||c==null||$t(c)?!0:ne.test(c)||!KA.test(c)||I!=null&&c in Ue(I)}function DM(c){var I=typeof c;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?c!=="__proto__":c===null}function oc(c){var I=xr(c),H=gA[I];if(typeof H!="function"||!(I in _e.prototype))return!1;if(c===H)return!0;var eA=ec(H);return!!eA&&c===eA[0]}function bM(c){return!!uh&&uh in c}var yM=ar?Kn:fc;function Vo(c){var I=c&&c.constructor,H=typeof I=="function"&&I.prototype||Ao;return c===H}function up(c){return c===c&&!Xe(c)}function dp(c,I){return function(H){return H==null?!1:H[c]===I&&(I!==t||c in Ue(H))}}function vM(c){var I=Hr(c,function(eA){return H.size===f&&H.clear(),eA}),H=I.cache;return I}function kM(c,I){var H=c[1],eA=I[1],lA=H|eA,uA=lA<(_|m|p),CA=eA==p&&H==k||eA==p&&H==l&&c[7].length<=I[8]||eA==(p|l)&&I[7].length<=I[8]&&H==k;if(!(uA||CA))return c;eA&_&&(c[2]=I[2],lA|=H&_?0:L);var IA=I[3];if(IA){var yA=c[3];c[3]=yA?Wh(yA,IA,I[4]):IA,c[4]=yA?Ai(c[3],N):I[4]}return IA=I[5],IA&&(yA=c[5],c[5]=yA?jh(yA,IA,I[6]):IA,c[6]=yA?Ai(c[5],N):I[6]),IA=I[7],IA&&(c[7]=IA),eA&p&&(c[8]=c[8]==null?I[8]:mt(c[8],I[8])),c[9]==null&&(c[9]=I[9]),c[0]=I[0],c[1]=lA,c}function _M(c){var I=[];if(c!=null)for(var H in Ue(c))I.push(H);return I}function MM(c){return cr.call(c)}function hp(c,I,H){return I=gt(I===t?c.length-1:I,0),function(){for(var eA=arguments,lA=-1,uA=gt(eA.length-I,0),CA=xA(uA);++lA<uA;)CA[lA]=eA[I+lA];lA=-1;for(var IA=xA(I+1);++lA<I;)IA[lA]=eA[lA];return IA[I]=H(CA),Tt(c,this,IA)}}function pp(c,I){return I.length<2?c:bi(c,rn(I,0,-1))}function SM(c,I){for(var H=c.length,eA=mt(I.length,H),lA=Nt(c);eA--;){var uA=I[eA];c[eA]=Pn(uA,H)?lA[uA]:t}return c}function sc(c,I){if(!(I==="constructor"&&typeof c[I]=="function")&&I!="__proto__")return c[I]}var Bp=Ep(Ph),As=J2||function(c,I){return Ct.setTimeout(c,I)},rc=Ep(AM);function Cp(c,I,H){var eA=I+"";return rc(c,fM(eA,xM(QM(eA),H)))}function Ep(c){var I=0,H=0;return function(){var eA=j2(),lA=s-(eA-H);if(H=eA,lA>0){if(++I>=h)return arguments[0]}else I=0;return c.apply(t,arguments)}}function Fr(c,I){var H=-1,eA=c.length,lA=eA-1;for(I=I===t?eA:I;++H<I;){var uA=Yl(H,lA),CA=c[uA];c[uA]=c[H],c[H]=CA}return c.length=I,c}var Qp=vM(function(c){var I=[];return c.charCodeAt(0)===46&&I.push(""),c.replace(TA,function(H,eA,lA,uA){I.push(lA?uA.replace(oe,"$1"):eA||H)}),I});function bn(c){if(typeof c=="string"||$t(c))return c;var I=c+"";return I=="0"&&1/c==-M?"-0":I}function vi(c){if(c!=null){try{return lr.call(c)}catch{}try{return c+""}catch{}}return""}function xM(c,I){return tn(Y,function(H){var eA="_."+H[0];I&H[1]&&!ir(c,eA)&&c.push(eA)}),c.sort()}function mp(c){if(c instanceof _e)return c.clone();var I=new on(c.__wrapped__,c.__chain__);return I.__actions__=Nt(c.__actions__),I.__index__=c.__index__,I.__values__=c.__values__,I}function NM(c,I,H){(H?kt(c,I,H):I===t)?I=1:I=gt(we(I),0);var eA=c==null?0:c.length;if(!eA||I<1)return[];for(var lA=0,uA=0,CA=xA(Br(eA/I));lA<eA;)CA[uA++]=rn(c,lA,lA+=I);return CA}function FM(c){for(var I=-1,H=c==null?0:c.length,eA=0,lA=[];++I<H;){var uA=c[I];uA&&(lA[eA++]=uA)}return lA}function RM(){var c=arguments.length;if(!c)return[];for(var I=xA(c-1),H=arguments[0],eA=c;eA--;)I[eA-1]=arguments[eA];return Vn(me(H)?Nt(H):[H],Et(I,1))}var LM=be(function(c,I){return nt(c)?zo(c,Et(I,1,nt,!0)):[]}),GM=be(function(c,I){var H=an(I);return nt(H)&&(H=t),nt(c)?zo(c,Et(I,1,nt,!0),ue(H,2)):[]}),HM=be(function(c,I){var H=an(I);return nt(H)&&(H=t),nt(c)?zo(c,Et(I,1,nt,!0),t,H):[]});function PM(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),rn(c,I<0?0:I,eA)):[]}function KM(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),I=eA-I,rn(c,0,I<0?0:I)):[]}function UM(c,I){return c&&c.length?yr(c,ue(I,3),!0,!0):[]}function TM(c,I){return c&&c.length?yr(c,ue(I,3),!0):[]}function YM(c,I,H,eA){var lA=c==null?0:c.length;return lA?(H&&typeof H!="number"&&kt(c,I,H)&&(H=0,eA=lA),R8(c,I,H,eA)):[]}function Ip(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=H==null?0:we(H);return lA<0&&(lA=gt(eA+lA,0)),or(c,ue(I,3),lA)}function fp(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=eA-1;return H!==t&&(lA=we(H),lA=H<0?gt(eA+lA,0):mt(lA,eA-1)),or(c,ue(I,3),lA,!0)}function wp(c){var I=c==null?0:c.length;return I?Et(c,1):[]}function OM(c){var I=c==null?0:c.length;return I?Et(c,M):[]}function $M(c,I){var H=c==null?0:c.length;return H?(I=I===t?1:we(I),Et(c,I)):[]}function JM(c){for(var I=-1,H=c==null?0:c.length,eA={};++I<H;){var lA=c[I];eA[lA[0]]=lA[1]}return eA}function Dp(c){return c&&c.length?c[0]:t}function ZM(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=H==null?0:we(H);return lA<0&&(lA=gt(eA+lA,0)),ji(c,I,lA)}function zM(c){var I=c==null?0:c.length;return I?rn(c,0,-1):[]}var WM=be(function(c){var I=We(c,zl);return I.length&&I[0]===c[0]?Hl(I):[]}),jM=be(function(c){var I=an(c),H=We(c,zl);return I===an(H)?I=t:H.pop(),H.length&&H[0]===c[0]?Hl(H,ue(I,2)):[]}),qM=be(function(c){var I=an(c),H=We(c,zl);return I=typeof I=="function"?I:t,I&&H.pop(),H.length&&H[0]===c[0]?Hl(H,t,I):[]});function XM(c,I){return c==null?"":z2.call(c,I)}function an(c){var I=c==null?0:c.length;return I?c[I-1]:t}function VM(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=eA;return H!==t&&(lA=we(H),lA=lA<0?gt(eA+lA,0):mt(lA,eA-1)),I===I?x2(c,I,lA):or(c,ih,lA,!0)}function AS(c,I){return c&&c.length?Rh(c,we(I)):t}var eS=be(bp);function bp(c,I){return c&&c.length&&I&&I.length?Tl(c,I):c}function tS(c,I,H){return c&&c.length&&I&&I.length?Tl(c,I,ue(H,2)):c}function nS(c,I,H){return c&&c.length&&I&&I.length?Tl(c,I,t,H):c}var iS=Hn(function(c,I){var H=c==null?0:c.length,eA=Fl(c,I);return Hh(c,We(I,function(lA){return Pn(lA,H)?+lA:lA}).sort(zh)),eA});function oS(c,I){var H=[];if(!(c&&c.length))return H;var eA=-1,lA=[],uA=c.length;for(I=ue(I,3);++eA<uA;){var CA=c[eA];I(CA,eA,c)&&(H.push(CA),lA.push(eA))}return Hh(c,lA),H}function ac(c){return c==null?c:X2.call(c)}function sS(c,I,H){var eA=c==null?0:c.length;return eA?(H&&typeof H!="number"&&kt(c,I,H)?(I=0,H=eA):(I=I==null?0:we(I),H=H===t?eA:we(H)),rn(c,I,H)):[]}function rS(c,I){return br(c,I)}function aS(c,I,H){return $l(c,I,ue(H,2))}function lS(c,I){var H=c==null?0:c.length;if(H){var eA=br(c,I);if(eA<H&&Bn(c[eA],I))return eA}return-1}function cS(c,I){return br(c,I,!0)}function gS(c,I,H){return $l(c,I,ue(H,2),!0)}function uS(c,I){var H=c==null?0:c.length;if(H){var eA=br(c,I,!0)-1;if(Bn(c[eA],I))return eA}return-1}function dS(c){return c&&c.length?Kh(c):[]}function hS(c,I){return c&&c.length?Kh(c,ue(I,2)):[]}function pS(c){var I=c==null?0:c.length;return I?rn(c,1,I):[]}function BS(c,I,H){return c&&c.length?(I=H||I===t?1:we(I),rn(c,0,I<0?0:I)):[]}function CS(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),I=eA-I,rn(c,I<0?0:I,eA)):[]}function ES(c,I){return c&&c.length?yr(c,ue(I,3),!1,!0):[]}function QS(c,I){return c&&c.length?yr(c,ue(I,3)):[]}var mS=be(function(c){return ni(Et(c,1,nt,!0))}),IS=be(function(c){var I=an(c);return nt(I)&&(I=t),ni(Et(c,1,nt,!0),ue(I,2))}),fS=be(function(c){var I=an(c);return I=typeof I=="function"?I:t,ni(Et(c,1,nt,!0),t,I)});function wS(c){return c&&c.length?ni(c):[]}function DS(c,I){return c&&c.length?ni(c,ue(I,2)):[]}function bS(c,I){return I=typeof I=="function"?I:t,c&&c.length?ni(c,t,I):[]}function lc(c){if(!(c&&c.length))return[];var I=0;return c=Xn(c,function(H){if(nt(H))return I=gt(H.length,I),!0}),yl(I,function(H){return We(c,wl(H))})}function yp(c,I){if(!(c&&c.length))return[];var H=lc(c);return I==null?H:We(H,function(eA){return Tt(I,t,eA)})}var yS=be(function(c,I){return nt(c)?zo(c,I):[]}),vS=be(function(c){return Zl(Xn(c,nt))}),kS=be(function(c){var I=an(c);return nt(I)&&(I=t),Zl(Xn(c,nt),ue(I,2))}),_S=be(function(c){var I=an(c);return I=typeof I=="function"?I:t,Zl(Xn(c,nt),t,I)}),MS=be(lc);function SS(c,I){return Oh(c||[],I||[],Zo)}function xS(c,I){return Oh(c||[],I||[],qo)}var NS=be(function(c){var I=c.length,H=I>1?c[I-1]:t;return H=typeof H=="function"?(c.pop(),H):t,yp(c,H)});function vp(c){var I=gA(c);return I.__chain__=!0,I}function FS(c,I){return I(c),c}function Rr(c,I){return I(c)}var RS=Hn(function(c){var I=c.length,H=I?c[0]:0,eA=this.__wrapped__,lA=function(uA){return Fl(uA,c)};return I>1||this.__actions__.length||!(eA instanceof _e)||!Pn(H)?this.thru(lA):(eA=eA.slice(H,+H+(I?1:0)),eA.__actions__.push({func:Rr,args:[lA],thisArg:t}),new on(eA,this.__chain__).thru(function(uA){return I&&!uA.length&&uA.push(t),uA}))});function LS(){return vp(this)}function GS(){return new on(this.value(),this.__chain__)}function HS(){this.__values__===t&&(this.__values__=Up(this.value()));var c=this.__index__>=this.__values__.length,I=c?t:this.__values__[this.__index__++];return{done:c,value:I}}function PS(){return this}function KS(c){for(var I,H=this;H instanceof mr;){var eA=mp(H);eA.__index__=0,eA.__values__=t,I?lA.__wrapped__=eA:I=eA;var lA=eA;H=H.__wrapped__}return lA.__wrapped__=c,I}function US(){var c=this.__wrapped__;if(c instanceof _e){var I=c;return this.__actions__.length&&(I=new _e(this)),I=I.reverse(),I.__actions__.push({func:Rr,args:[ac],thisArg:t}),new on(I,this.__chain__)}return this.thru(ac)}function TS(){return Yh(this.__wrapped__,this.__actions__)}var YS=vr(function(c,I,H){Pe.call(c,H)?++c[H]:Ln(c,H,1)});function OS(c,I,H){var eA=me(c)?th:F8;return H&&kt(c,I,H)&&(I=t),eA(c,ue(I,3))}function $S(c,I){var H=me(c)?Xn:yh;return H(c,ue(I,3))}var JS=Ap(Ip),ZS=Ap(fp);function zS(c,I){return Et(Lr(c,I),1)}function WS(c,I){return Et(Lr(c,I),M)}function jS(c,I,H){return H=H===t?1:we(H),Et(Lr(c,I),H)}function kp(c,I){var H=me(c)?tn:ti;return H(c,ue(I,3))}function _p(c,I){var H=me(c)?p2:bh;return H(c,ue(I,3))}var qS=vr(function(c,I,H){Pe.call(c,H)?c[H].push(I):Ln(c,H,[I])});function XS(c,I,H,eA){c=Ft(c)?c:ao(c),H=H&&!eA?we(H):0;var lA=c.length;return H<0&&(H=gt(lA+H,0)),Ur(c)?H<=lA&&c.indexOf(I,H)>-1:!!lA&&ji(c,I,H)>-1}var VS=be(function(c,I,H){var eA=-1,lA=typeof I=="function",uA=Ft(c)?xA(c.length):[];return ti(c,function(CA){uA[++eA]=lA?Tt(I,CA,H):Wo(CA,I,H)}),uA}),Ax=vr(function(c,I,H){Ln(c,H,I)});function Lr(c,I){var H=me(c)?We:xh;return H(c,ue(I,3))}function ex(c,I,H,eA){return c==null?[]:(me(I)||(I=I==null?[]:[I]),H=eA?t:H,me(H)||(H=H==null?[]:[H]),Lh(c,I,H))}var tx=vr(function(c,I,H){c[H?0:1].push(I)},function(){return[[],[]]});function nx(c,I,H){var eA=me(c)?Il:sh,lA=arguments.length<3;return eA(c,ue(I,4),H,lA,ti)}function ix(c,I,H){var eA=me(c)?B2:sh,lA=arguments.length<3;return eA(c,ue(I,4),H,lA,bh)}function ox(c,I){var H=me(c)?Xn:yh;return H(c,Pr(ue(I,3)))}function sx(c){var I=me(c)?Ih:X8;return I(c)}function rx(c,I,H){(H?kt(c,I,H):I===t)?I=1:I=we(I);var eA=me(c)?_8:V8;return eA(c,I)}function ax(c){var I=me(c)?M8:eM;return I(c)}function lx(c){if(c==null)return 0;if(Ft(c))return Ur(c)?Xi(c):c.length;var I=It(c);return I==sA||I==O?c.size:Kl(c).length}function cx(c,I,H){var eA=me(c)?fl:tM;return H&&kt(c,I,H)&&(I=t),eA(c,ue(I,3))}var gx=be(function(c,I){if(c==null)return[];var H=I.length;return H>1&&kt(c,I[0],I[1])?I=[]:H>2&&kt(I[0],I[1],I[2])&&(I=[I[0]]),Lh(c,Et(I,1),[])}),Gr=$2||function(){return Ct.Date.now()};function ux(c,I){if(typeof I!="function")throw new nn(a);return c=we(c),function(){if(--c<1)return I.apply(this,arguments)}}function Mp(c,I,H){return I=H?t:I,I=c&&I==null?c.length:I,Gn(c,p,t,t,t,t,I)}function Sp(c,I){var H;if(typeof I!="function")throw new nn(a);return c=we(c),function(){return--c>0&&(H=I.apply(this,arguments)),c<=1&&(I=t),H}}var cc=be(function(c,I,H){var eA=_;if(H.length){var lA=Ai(H,so(cc));eA|=C}return Gn(c,eA,I,H,lA)}),xp=be(function(c,I,H){var eA=_|m;if(H.length){var lA=Ai(H,so(xp));eA|=C}return Gn(I,eA,c,H,lA)});function Np(c,I,H){I=H?t:I;var eA=Gn(c,k,t,t,t,t,t,I);return eA.placeholder=Np.placeholder,eA}function Fp(c,I,H){I=H?t:I;var eA=Gn(c,y,t,t,t,t,t,I);return eA.placeholder=Fp.placeholder,eA}function Rp(c,I,H){var eA,lA,uA,CA,IA,yA,HA=0,PA=!1,UA=!1,Ae=!0;if(typeof c!="function")throw new nn(a);I=ln(I)||0,Xe(H)&&(PA=!!H.leading,UA="maxWait"in H,uA=UA?gt(ln(H.maxWait)||0,I):uA,Ae="trailing"in H?!!H.trailing:Ae);function ae(it){var Cn=eA,Tn=lA;return eA=lA=t,HA=it,CA=c.apply(Tn,Cn),CA}function de(it){return HA=it,IA=As(ve,I),PA?ae(it):CA}function De(it){var Cn=it-yA,Tn=it-HA,AB=I-Cn;return UA?mt(AB,uA-Tn):AB}function he(it){var Cn=it-yA,Tn=it-HA;return yA===t||Cn>=I||Cn<0||UA&&Tn>=uA}function ve(){var it=Gr();if(he(it))return Me(it);IA=As(ve,De(it))}function Me(it){return IA=t,Ae&&eA?ae(it):(eA=lA=t,CA)}function Jt(){IA!==t&&$h(IA),HA=0,eA=yA=lA=IA=t}function _t(){return IA===t?CA:Me(Gr())}function Zt(){var it=Gr(),Cn=he(it);if(eA=arguments,lA=this,yA=it,Cn){if(IA===t)return de(yA);if(UA)return $h(IA),IA=As(ve,I),ae(yA)}return IA===t&&(IA=As(ve,I)),CA}return Zt.cancel=Jt,Zt.flush=_t,Zt}var dx=be(function(c,I){return Dh(c,1,I)}),hx=be(function(c,I,H){return Dh(c,ln(I)||0,H)});function px(c){return Gn(c,g)}function Hr(c,I){if(typeof c!="function"||I!=null&&typeof I!="function")throw new nn(a);var H=function(){var eA=arguments,lA=I?I.apply(this,eA):eA[0],uA=H.cache;if(uA.has(lA))return uA.get(lA);var CA=c.apply(this,eA);return H.cache=uA.set(lA,CA)||uA,CA};return H.cache=new(Hr.Cache||Rn),H}Hr.Cache=Rn;function Pr(c){if(typeof c!="function")throw new nn(a);return function(){var I=arguments;switch(I.length){case 0:return!c.call(this);case 1:return!c.call(this,I[0]);case 2:return!c.call(this,I[0],I[1]);case 3:return!c.call(this,I[0],I[1],I[2])}return!c.apply(this,I)}}function Bx(c){return Sp(2,c)}var Cx=nM(function(c,I){I=I.length==1&&me(I[0])?We(I[0],Yt(ue())):We(Et(I,1),Yt(ue()));var H=I.length;return be(function(eA){for(var lA=-1,uA=mt(eA.length,H);++lA<uA;)eA[lA]=I[lA].call(this,eA[lA]);return Tt(c,this,eA)})}),gc=be(function(c,I){var H=Ai(I,so(gc));return Gn(c,C,t,I,H)}),Lp=be(function(c,I){var H=Ai(I,so(Lp));return Gn(c,u,t,I,H)}),Ex=Hn(function(c,I){return Gn(c,l,t,t,t,I)});function Qx(c,I){if(typeof c!="function")throw new nn(a);return I=I===t?I:we(I),be(c,I)}function mx(c,I){if(typeof c!="function")throw new nn(a);return I=I==null?0:gt(we(I),0),be(function(H){var eA=H[I],lA=oi(H,0,I);return eA&&Vn(lA,eA),Tt(c,this,lA)})}function Ix(c,I,H){var eA=!0,lA=!0;if(typeof c!="function")throw new nn(a);return Xe(H)&&(eA="leading"in H?!!H.leading:eA,lA="trailing"in H?!!H.trailing:lA),Rp(c,I,{leading:eA,maxWait:I,trailing:lA})}function fx(c){return Mp(c,1)}function wx(c,I){return gc(Wl(I),c)}function Dx(){if(!arguments.length)return[];var c=arguments[0];return me(c)?c:[c]}function bx(c){return sn(c,J)}function yx(c,I){return I=typeof I=="function"?I:t,sn(c,J,I)}function vx(c){return sn(c,G|J)}function kx(c,I){return I=typeof I=="function"?I:t,sn(c,G|J,I)}function _x(c,I){return I==null||wh(c,I,pt(I))}function Bn(c,I){return c===I||c!==c&&I!==I}var Mx=Sr(Gl),Sx=Sr(function(c,I){return c>=I}),ki=_h(function(){return arguments}())?_h:function(c){return tt(c)&&Pe.call(c,"callee")&&!ph.call(c,"callee")},me=xA.isArray,xx=jd?Yt(jd):K8;function Ft(c){return c!=null&&Kr(c.length)&&!Kn(c)}function nt(c){return tt(c)&&Ft(c)}function Nx(c){return c===!0||c===!1||tt(c)&&vt(c)==F}var si=Z2||fc,Fx=qd?Yt(qd):U8;function Rx(c){return tt(c)&&c.nodeType===1&&!es(c)}function Lx(c){if(c==null)return!0;if(Ft(c)&&(me(c)||typeof c=="string"||typeof c.splice=="function"||si(c)||ro(c)||ki(c)))return!c.length;var I=It(c);if(I==sA||I==O)return!c.size;if(Vo(c))return!Kl(c).length;for(var H in c)if(Pe.call(c,H))return!1;return!0}function Gx(c,I){return jo(c,I)}function Hx(c,I,H){H=typeof H=="function"?H:t;var eA=H?H(c,I):t;return eA===t?jo(c,I,t,H):!!eA}function uc(c){if(!tt(c))return!1;var I=vt(c);return I==V||I==nA||typeof c.message=="string"&&typeof c.name=="string"&&!es(c)}function Px(c){return typeof c=="number"&&Ch(c)}function Kn(c){if(!Xe(c))return!1;var I=vt(c);return I==tA||I==cA||I==W||I==rA}function Gp(c){return typeof c=="number"&&c==we(c)}function Kr(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=D}function Xe(c){var I=typeof c;return c!=null&&(I=="object"||I=="function")}function tt(c){return c!=null&&typeof c=="object"}var Hp=Xd?Yt(Xd):Y8;function Kx(c,I){return c===I||Pl(c,I,tc(I))}function Ux(c,I,H){return H=typeof H=="function"?H:t,Pl(c,I,tc(I),H)}function Tx(c){return Pp(c)&&c!=+c}function Yx(c){if(yM(c))throw new Qe(w);return Mh(c)}function Ox(c){return c===null}function $x(c){return c==null}function Pp(c){return typeof c=="number"||tt(c)&&vt(c)==hA}function es(c){if(!tt(c)||vt(c)!=iA)return!1;var I=dr(c);if(I===null)return!0;var H=Pe.call(I,"constructor")&&I.constructor;return typeof H=="function"&&H instanceof H&&lr.call(H)==U2}var dc=Vd?Yt(Vd):O8;function Jx(c){return Gp(c)&&c>=-D&&c<=D}var Kp=Ah?Yt(Ah):$8;function Ur(c){return typeof c=="string"||!me(c)&&tt(c)&&vt(c)==AA}function $t(c){return typeof c=="symbol"||tt(c)&&vt(c)==aA}var ro=eh?Yt(eh):J8;function Zx(c){return c===t}function zx(c){return tt(c)&&It(c)==wA}function Wx(c){return tt(c)&&vt(c)==FA}var jx=Sr(Ul),qx=Sr(function(c,I){return c<=I});function Up(c){if(!c)return[];if(Ft(c))return Ur(c)?hn(c):Nt(c);if(To&&c[To])return _2(c[To]());var I=It(c),H=I==sA?kl:I==O?sr:ao;return H(c)}function Un(c){if(!c)return c===0?c:0;if(c=ln(c),c===M||c===-M){var I=c<0?-1:1;return I*x}return c===c?c:0}function we(c){var I=Un(c),H=I%1;return I===I?H?I-H:I:0}function Tp(c){return c?Di(we(c),0,$):0}function ln(c){if(typeof c=="number")return c;if($t(c))return R;if(Xe(c)){var I=typeof c.valueOf=="function"?c.valueOf():c;c=Xe(I)?I+"":I}if(typeof c!="string")return c===0?c:+c;c=rh(c);var H=je.test(c);return H||Ke.test(c)?u2(c.slice(2),H?2:8):xe.test(c)?R:+c}function Yp(c){return Dn(c,Rt(c))}function Xx(c){return c?Di(we(c),-D,D):c===0?c:0}function Re(c){return c==null?"":Ot(c)}var Vx=io(function(c,I){if(Vo(I)||Ft(I)){Dn(I,pt(I),c);return}for(var H in I)Pe.call(I,H)&&Zo(c,H,I[H])}),Op=io(function(c,I){Dn(I,Rt(I),c)}),Tr=io(function(c,I,H,eA){Dn(I,Rt(I),c,eA)}),A4=io(function(c,I,H,eA){Dn(I,pt(I),c,eA)}),e4=Hn(Fl);function t4(c,I){var H=no(c);return I==null?H:fh(H,I)}var n4=be(function(c,I){c=Ue(c);var H=-1,eA=I.length,lA=eA>2?I[2]:t;for(lA&&kt(I[0],I[1],lA)&&(eA=1);++H<eA;)for(var uA=I[H],CA=Rt(uA),IA=-1,yA=CA.length;++IA<yA;){var HA=CA[IA],PA=c[HA];(PA===t||Bn(PA,Ao[HA])&&!Pe.call(c,HA))&&(c[HA]=uA[HA])}return c}),i4=be(function(c){return c.push(t,rp),Tt($p,t,c)});function o4(c,I){return nh(c,ue(I,3),wn)}function s4(c,I){return nh(c,ue(I,3),Ll)}function r4(c,I){return c==null?c:Rl(c,ue(I,3),Rt)}function a4(c,I){return c==null?c:vh(c,ue(I,3),Rt)}function l4(c,I){return c&&wn(c,ue(I,3))}function c4(c,I){return c&&Ll(c,ue(I,3))}function g4(c){return c==null?[]:wr(c,pt(c))}function u4(c){return c==null?[]:wr(c,Rt(c))}function hc(c,I,H){var eA=c==null?t:bi(c,I);return eA===t?H:eA}function d4(c,I){return c!=null&&cp(c,I,L8)}function pc(c,I){return c!=null&&cp(c,I,G8)}var h4=tp(function(c,I,H){I!=null&&typeof I.toString!="function"&&(I=cr.call(I)),c[I]=H},Cc(Lt)),p4=tp(function(c,I,H){I!=null&&typeof I.toString!="function"&&(I=cr.call(I)),Pe.call(c,I)?c[I].push(H):c[I]=[H]},ue),B4=be(Wo);function pt(c){return Ft(c)?mh(c):Kl(c)}function Rt(c){return Ft(c)?mh(c,!0):Z8(c)}function C4(c,I){var H={};return I=ue(I,3),wn(c,function(eA,lA,uA){Ln(H,I(eA,lA,uA),eA)}),H}function E4(c,I){var H={};return I=ue(I,3),wn(c,function(eA,lA,uA){Ln(H,lA,I(eA,lA,uA))}),H}var Q4=io(function(c,I,H){Dr(c,I,H)}),$p=io(function(c,I,H,eA){Dr(c,I,H,eA)}),m4=Hn(function(c,I){var H={};if(c==null)return H;var eA=!1;I=We(I,function(uA){return uA=ii(uA,c),eA||(eA=uA.length>1),uA}),Dn(c,Ac(c),H),eA&&(H=sn(H,G|K|J,hM));for(var lA=I.length;lA--;)Jl(H,I[lA]);return H});function I4(c,I){return Jp(c,Pr(ue(I)))}var f4=Hn(function(c,I){return c==null?{}:W8(c,I)});function Jp(c,I){if(c==null)return{};var H=We(Ac(c),function(eA){return[eA]});return I=ue(I),Gh(c,H,function(eA,lA){return I(eA,lA[0])})}function w4(c,I,H){I=ii(I,c);var eA=-1,lA=I.length;for(lA||(lA=1,c=t);++eA<lA;){var uA=c==null?t:c[bn(I[eA])];uA===t&&(eA=lA,uA=H),c=Kn(uA)?uA.call(c):uA}return c}function D4(c,I,H){return c==null?c:qo(c,I,H)}function b4(c,I,H,eA){return eA=typeof eA=="function"?eA:t,c==null?c:qo(c,I,H,eA)}var Zp=op(pt),zp=op(Rt);function y4(c,I,H){var eA=me(c),lA=eA||si(c)||ro(c);if(I=ue(I,4),H==null){var uA=c&&c.constructor;lA?H=eA?new uA:[]:Xe(c)?H=Kn(uA)?no(dr(c)):{}:H={}}return(lA?tn:wn)(c,function(CA,IA,yA){return I(H,CA,IA,yA)}),H}function v4(c,I){return c==null?!0:Jl(c,I)}function k4(c,I,H){return c==null?c:Th(c,I,Wl(H))}function _4(c,I,H,eA){return eA=typeof eA=="function"?eA:t,c==null?c:Th(c,I,Wl(H),eA)}function ao(c){return c==null?[]:vl(c,pt(c))}function M4(c){return c==null?[]:vl(c,Rt(c))}function S4(c,I,H){return H===t&&(H=I,I=t),H!==t&&(H=ln(H),H=H===H?H:0),I!==t&&(I=ln(I),I=I===I?I:0),Di(ln(c),I,H)}function x4(c,I,H){return I=Un(I),H===t?(H=I,I=0):H=Un(H),c=ln(c),H8(c,I,H)}function N4(c,I,H){if(H&&typeof H!="boolean"&&kt(c,I,H)&&(I=H=t),H===t&&(typeof I=="boolean"?(H=I,I=t):typeof c=="boolean"&&(H=c,c=t)),c===t&&I===t?(c=0,I=1):(c=Un(c),I===t?(I=c,c=0):I=Un(I)),c>I){var eA=c;c=I,I=eA}if(H||c%1||I%1){var lA=Eh();return mt(c+lA*(I-c+g2("1e-"+((lA+"").length-1))),I)}return Yl(c,I)}var F4=oo(function(c,I,H){return I=I.toLowerCase(),c+(H?Wp(I):I)});function Wp(c){return Bc(Re(c).toLowerCase())}function jp(c){return c=Re(c),c&&c.replace(Ee,D2).replace(e2,"")}function R4(c,I,H){c=Re(c),I=Ot(I);var eA=c.length;H=H===t?eA:Di(we(H),0,eA);var lA=H;return H-=I.length,H>=0&&c.slice(H,lA)==I}function L4(c){return c=Re(c),c&&ce.test(c)?c.replace(OA,b2):c}function G4(c){return c=Re(c),c&&ge.test(c)?c.replace(YA,"\\$&"):c}var H4=oo(function(c,I,H){return c+(H?"-":"")+I.toLowerCase()}),P4=oo(function(c,I,H){return c+(H?" ":"")+I.toLowerCase()}),K4=Vh("toLowerCase");function U4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;if(!I||eA>=I)return c;var lA=(I-eA)/2;return Mr(Cr(lA),H)+c+Mr(Br(lA),H)}function T4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;return I&&eA<I?c+Mr(I-eA,H):c}function Y4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;return I&&eA<I?Mr(I-eA,H)+c:c}function O4(c,I,H){return H||I==null?I=0:I&&(I=+I),q2(Re(c).replace(Le,""),I||0)}function $4(c,I,H){return(H?kt(c,I,H):I===t)?I=1:I=we(I),Ol(Re(c),I)}function J4(){var c=arguments,I=Re(c[0]);return c.length<3?I:I.replace(c[1],c[2])}var Z4=oo(function(c,I,H){return c+(H?"_":"")+I.toLowerCase()});function z4(c,I,H){return H&&typeof H!="number"&&kt(c,I,H)&&(I=H=t),H=H===t?$:H>>>0,H?(c=Re(c),c&&(typeof I=="string"||I!=null&&!dc(I))&&(I=Ot(I),!I&&qi(c))?oi(hn(c),0,H):c.split(I,H)):[]}var W4=oo(function(c,I,H){return c+(H?" ":"")+Bc(I)});function j4(c,I,H){return c=Re(c),H=H==null?0:Di(we(H),0,c.length),I=Ot(I),c.slice(H,H+I.length)==I}function q4(c,I,H){var eA=gA.templateSettings;H&&kt(c,I,H)&&(I=t),c=Re(c),I=Tr({},I,eA,sp);var lA=Tr({},I.imports,eA.imports,sp),uA=pt(lA),CA=vl(lA,uA),IA,yA,HA=0,PA=I.interpolate||Ge,UA="__p += '",Ae=_l((I.escape||Ge).source+"|"+PA.source+"|"+(PA===vA?se:Ge).source+"|"+(I.evaluate||Ge).source+"|$","g"),ae="//# sourceURL="+(Pe.call(I,"sourceURL")?(I.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++s2+"]")+`
|
|
11
|
-
`;c.replace(Ae,function(he,ve,Me,Jt,_t,Zt){return Me||(Me=Jt),UA+=c.slice(HA,Zt).replace(et,
|
|
10
|
+
`)}function DM(c){return me(c)||ki(c)||!!(Bh&&c&&c[Bh])}function Pn(c,I){var H=typeof c;return I=I??D,!!I&&(H=="number"||H!="symbol"&&qe.test(c))&&c>-1&&c%1==0&&c<I}function kt(c,I,H){if(!Xe(H))return!1;var eA=typeof I;return(eA=="number"?Ft(H)&&Pn(I,H.length):eA=="string"&&I in H)?pn(H[I],c):!1}function ic(c,I){if(me(c))return!1;var H=typeof c;return H=="number"||H=="symbol"||H=="boolean"||c==null||$t(c)?!0:ne.test(c)||!KA.test(c)||I!=null&&c in Ue(I)}function bM(c){var I=typeof c;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?c!=="__proto__":c===null}function oc(c){var I=xr(c),H=gA[I];if(typeof H!="function"||!(I in _e.prototype))return!1;if(c===H)return!0;var eA=ec(H);return!!eA&&c===eA[0]}function yM(c){return!!uh&&uh in c}var vM=ar?Kn:fc;function Vo(c){var I=c&&c.constructor,H=typeof I=="function"&&I.prototype||Ao;return c===H}function up(c){return c===c&&!Xe(c)}function dp(c,I){return function(H){return H==null?!1:H[c]===I&&(I!==t||c in Ue(H))}}function kM(c){var I=Hr(c,function(eA){return H.size===f&&H.clear(),eA}),H=I.cache;return I}function _M(c,I){var H=c[1],eA=I[1],lA=H|eA,uA=lA<(_|m|p),CA=eA==p&&H==k||eA==p&&H==l&&c[7].length<=I[8]||eA==(p|l)&&I[7].length<=I[8]&&H==k;if(!(uA||CA))return c;eA&_&&(c[2]=I[2],lA|=H&_?0:L);var IA=I[3];if(IA){var yA=c[3];c[3]=yA?Wh(yA,IA,I[4]):IA,c[4]=yA?Ai(c[3],N):I[4]}return IA=I[5],IA&&(yA=c[5],c[5]=yA?jh(yA,IA,I[6]):IA,c[6]=yA?Ai(c[5],N):I[6]),IA=I[7],IA&&(c[7]=IA),eA&p&&(c[8]=c[8]==null?I[8]:mt(c[8],I[8])),c[9]==null&&(c[9]=I[9]),c[0]=I[0],c[1]=lA,c}function MM(c){var I=[];if(c!=null)for(var H in Ue(c))I.push(H);return I}function SM(c){return cr.call(c)}function hp(c,I,H){return I=gt(I===t?c.length-1:I,0),function(){for(var eA=arguments,lA=-1,uA=gt(eA.length-I,0),CA=xA(uA);++lA<uA;)CA[lA]=eA[I+lA];lA=-1;for(var IA=xA(I+1);++lA<I;)IA[lA]=eA[lA];return IA[I]=H(CA),Tt(c,this,IA)}}function pp(c,I){return I.length<2?c:bi(c,rn(I,0,-1))}function xM(c,I){for(var H=c.length,eA=mt(I.length,H),lA=Nt(c);eA--;){var uA=I[eA];c[eA]=Pn(uA,H)?lA[uA]:t}return c}function sc(c,I){if(!(I==="constructor"&&typeof c[I]=="function")&&I!="__proto__")return c[I]}var Bp=Ep(Ph),As=Z2||function(c,I){return Ct.setTimeout(c,I)},rc=Ep(eM);function Cp(c,I,H){var eA=I+"";return rc(c,wM(eA,NM(mM(eA),H)))}function Ep(c){var I=0,H=0;return function(){var eA=q2(),lA=s-(eA-H);if(H=eA,lA>0){if(++I>=h)return arguments[0]}else I=0;return c.apply(t,arguments)}}function Fr(c,I){var H=-1,eA=c.length,lA=eA-1;for(I=I===t?eA:I;++H<I;){var uA=Yl(H,lA),CA=c[uA];c[uA]=c[H],c[H]=CA}return c.length=I,c}var Qp=kM(function(c){var I=[];return c.charCodeAt(0)===46&&I.push(""),c.replace(TA,function(H,eA,lA,uA){I.push(lA?uA.replace(oe,"$1"):eA||H)}),I});function bn(c){if(typeof c=="string"||$t(c))return c;var I=c+"";return I=="0"&&1/c==-M?"-0":I}function vi(c){if(c!=null){try{return lr.call(c)}catch{}try{return c+""}catch{}}return""}function NM(c,I){return tn(Y,function(H){var eA="_."+H[0];I&H[1]&&!ir(c,eA)&&c.push(eA)}),c.sort()}function mp(c){if(c instanceof _e)return c.clone();var I=new on(c.__wrapped__,c.__chain__);return I.__actions__=Nt(c.__actions__),I.__index__=c.__index__,I.__values__=c.__values__,I}function FM(c,I,H){(H?kt(c,I,H):I===t)?I=1:I=gt(we(I),0);var eA=c==null?0:c.length;if(!eA||I<1)return[];for(var lA=0,uA=0,CA=xA(Br(eA/I));lA<eA;)CA[uA++]=rn(c,lA,lA+=I);return CA}function RM(c){for(var I=-1,H=c==null?0:c.length,eA=0,lA=[];++I<H;){var uA=c[I];uA&&(lA[eA++]=uA)}return lA}function LM(){var c=arguments.length;if(!c)return[];for(var I=xA(c-1),H=arguments[0],eA=c;eA--;)I[eA-1]=arguments[eA];return Vn(me(H)?Nt(H):[H],Et(I,1))}var GM=be(function(c,I){return nt(c)?zo(c,Et(I,1,nt,!0)):[]}),HM=be(function(c,I){var H=an(I);return nt(H)&&(H=t),nt(c)?zo(c,Et(I,1,nt,!0),ue(H,2)):[]}),PM=be(function(c,I){var H=an(I);return nt(H)&&(H=t),nt(c)?zo(c,Et(I,1,nt,!0),t,H):[]});function KM(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),rn(c,I<0?0:I,eA)):[]}function UM(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),I=eA-I,rn(c,0,I<0?0:I)):[]}function TM(c,I){return c&&c.length?yr(c,ue(I,3),!0,!0):[]}function YM(c,I){return c&&c.length?yr(c,ue(I,3),!0):[]}function OM(c,I,H,eA){var lA=c==null?0:c.length;return lA?(H&&typeof H!="number"&&kt(c,I,H)&&(H=0,eA=lA),L8(c,I,H,eA)):[]}function Ip(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=H==null?0:we(H);return lA<0&&(lA=gt(eA+lA,0)),or(c,ue(I,3),lA)}function fp(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=eA-1;return H!==t&&(lA=we(H),lA=H<0?gt(eA+lA,0):mt(lA,eA-1)),or(c,ue(I,3),lA,!0)}function wp(c){var I=c==null?0:c.length;return I?Et(c,1):[]}function $M(c){var I=c==null?0:c.length;return I?Et(c,M):[]}function JM(c,I){var H=c==null?0:c.length;return H?(I=I===t?1:we(I),Et(c,I)):[]}function ZM(c){for(var I=-1,H=c==null?0:c.length,eA={};++I<H;){var lA=c[I];eA[lA[0]]=lA[1]}return eA}function Dp(c){return c&&c.length?c[0]:t}function zM(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=H==null?0:we(H);return lA<0&&(lA=gt(eA+lA,0)),ji(c,I,lA)}function WM(c){var I=c==null?0:c.length;return I?rn(c,0,-1):[]}var jM=be(function(c){var I=We(c,zl);return I.length&&I[0]===c[0]?Hl(I):[]}),qM=be(function(c){var I=an(c),H=We(c,zl);return I===an(H)?I=t:H.pop(),H.length&&H[0]===c[0]?Hl(H,ue(I,2)):[]}),XM=be(function(c){var I=an(c),H=We(c,zl);return I=typeof I=="function"?I:t,I&&H.pop(),H.length&&H[0]===c[0]?Hl(H,t,I):[]});function VM(c,I){return c==null?"":W2.call(c,I)}function an(c){var I=c==null?0:c.length;return I?c[I-1]:t}function AS(c,I,H){var eA=c==null?0:c.length;if(!eA)return-1;var lA=eA;return H!==t&&(lA=we(H),lA=lA<0?gt(eA+lA,0):mt(lA,eA-1)),I===I?N2(c,I,lA):or(c,ih,lA,!0)}function eS(c,I){return c&&c.length?Rh(c,we(I)):t}var tS=be(bp);function bp(c,I){return c&&c.length&&I&&I.length?Tl(c,I):c}function nS(c,I,H){return c&&c.length&&I&&I.length?Tl(c,I,ue(H,2)):c}function iS(c,I,H){return c&&c.length&&I&&I.length?Tl(c,I,t,H):c}var oS=Hn(function(c,I){var H=c==null?0:c.length,eA=Fl(c,I);return Hh(c,We(I,function(lA){return Pn(lA,H)?+lA:lA}).sort(zh)),eA});function sS(c,I){var H=[];if(!(c&&c.length))return H;var eA=-1,lA=[],uA=c.length;for(I=ue(I,3);++eA<uA;){var CA=c[eA];I(CA,eA,c)&&(H.push(CA),lA.push(eA))}return Hh(c,lA),H}function ac(c){return c==null?c:V2.call(c)}function rS(c,I,H){var eA=c==null?0:c.length;return eA?(H&&typeof H!="number"&&kt(c,I,H)?(I=0,H=eA):(I=I==null?0:we(I),H=H===t?eA:we(H)),rn(c,I,H)):[]}function aS(c,I){return br(c,I)}function lS(c,I,H){return $l(c,I,ue(H,2))}function cS(c,I){var H=c==null?0:c.length;if(H){var eA=br(c,I);if(eA<H&&pn(c[eA],I))return eA}return-1}function gS(c,I){return br(c,I,!0)}function uS(c,I,H){return $l(c,I,ue(H,2),!0)}function dS(c,I){var H=c==null?0:c.length;if(H){var eA=br(c,I,!0)-1;if(pn(c[eA],I))return eA}return-1}function hS(c){return c&&c.length?Kh(c):[]}function pS(c,I){return c&&c.length?Kh(c,ue(I,2)):[]}function BS(c){var I=c==null?0:c.length;return I?rn(c,1,I):[]}function CS(c,I,H){return c&&c.length?(I=H||I===t?1:we(I),rn(c,0,I<0?0:I)):[]}function ES(c,I,H){var eA=c==null?0:c.length;return eA?(I=H||I===t?1:we(I),I=eA-I,rn(c,I<0?0:I,eA)):[]}function QS(c,I){return c&&c.length?yr(c,ue(I,3),!1,!0):[]}function mS(c,I){return c&&c.length?yr(c,ue(I,3)):[]}var IS=be(function(c){return ni(Et(c,1,nt,!0))}),fS=be(function(c){var I=an(c);return nt(I)&&(I=t),ni(Et(c,1,nt,!0),ue(I,2))}),wS=be(function(c){var I=an(c);return I=typeof I=="function"?I:t,ni(Et(c,1,nt,!0),t,I)});function DS(c){return c&&c.length?ni(c):[]}function bS(c,I){return c&&c.length?ni(c,ue(I,2)):[]}function yS(c,I){return I=typeof I=="function"?I:t,c&&c.length?ni(c,t,I):[]}function lc(c){if(!(c&&c.length))return[];var I=0;return c=Xn(c,function(H){if(nt(H))return I=gt(H.length,I),!0}),yl(I,function(H){return We(c,wl(H))})}function yp(c,I){if(!(c&&c.length))return[];var H=lc(c);return I==null?H:We(H,function(eA){return Tt(I,t,eA)})}var vS=be(function(c,I){return nt(c)?zo(c,I):[]}),kS=be(function(c){return Zl(Xn(c,nt))}),_S=be(function(c){var I=an(c);return nt(I)&&(I=t),Zl(Xn(c,nt),ue(I,2))}),MS=be(function(c){var I=an(c);return I=typeof I=="function"?I:t,Zl(Xn(c,nt),t,I)}),SS=be(lc);function xS(c,I){return Oh(c||[],I||[],Zo)}function NS(c,I){return Oh(c||[],I||[],qo)}var FS=be(function(c){var I=c.length,H=I>1?c[I-1]:t;return H=typeof H=="function"?(c.pop(),H):t,yp(c,H)});function vp(c){var I=gA(c);return I.__chain__=!0,I}function RS(c,I){return I(c),c}function Rr(c,I){return I(c)}var LS=Hn(function(c){var I=c.length,H=I?c[0]:0,eA=this.__wrapped__,lA=function(uA){return Fl(uA,c)};return I>1||this.__actions__.length||!(eA instanceof _e)||!Pn(H)?this.thru(lA):(eA=eA.slice(H,+H+(I?1:0)),eA.__actions__.push({func:Rr,args:[lA],thisArg:t}),new on(eA,this.__chain__).thru(function(uA){return I&&!uA.length&&uA.push(t),uA}))});function GS(){return vp(this)}function HS(){return new on(this.value(),this.__chain__)}function PS(){this.__values__===t&&(this.__values__=Up(this.value()));var c=this.__index__>=this.__values__.length,I=c?t:this.__values__[this.__index__++];return{done:c,value:I}}function KS(){return this}function US(c){for(var I,H=this;H instanceof mr;){var eA=mp(H);eA.__index__=0,eA.__values__=t,I?lA.__wrapped__=eA:I=eA;var lA=eA;H=H.__wrapped__}return lA.__wrapped__=c,I}function TS(){var c=this.__wrapped__;if(c instanceof _e){var I=c;return this.__actions__.length&&(I=new _e(this)),I=I.reverse(),I.__actions__.push({func:Rr,args:[ac],thisArg:t}),new on(I,this.__chain__)}return this.thru(ac)}function YS(){return Yh(this.__wrapped__,this.__actions__)}var OS=vr(function(c,I,H){Pe.call(c,H)?++c[H]:Ln(c,H,1)});function $S(c,I,H){var eA=me(c)?th:R8;return H&&kt(c,I,H)&&(I=t),eA(c,ue(I,3))}function JS(c,I){var H=me(c)?Xn:yh;return H(c,ue(I,3))}var ZS=Ap(Ip),zS=Ap(fp);function WS(c,I){return Et(Lr(c,I),1)}function jS(c,I){return Et(Lr(c,I),M)}function qS(c,I,H){return H=H===t?1:we(H),Et(Lr(c,I),H)}function kp(c,I){var H=me(c)?tn:ti;return H(c,ue(I,3))}function _p(c,I){var H=me(c)?B2:bh;return H(c,ue(I,3))}var XS=vr(function(c,I,H){Pe.call(c,H)?c[H].push(I):Ln(c,H,[I])});function VS(c,I,H,eA){c=Ft(c)?c:ao(c),H=H&&!eA?we(H):0;var lA=c.length;return H<0&&(H=gt(lA+H,0)),Ur(c)?H<=lA&&c.indexOf(I,H)>-1:!!lA&&ji(c,I,H)>-1}var Ax=be(function(c,I,H){var eA=-1,lA=typeof I=="function",uA=Ft(c)?xA(c.length):[];return ti(c,function(CA){uA[++eA]=lA?Tt(I,CA,H):Wo(CA,I,H)}),uA}),ex=vr(function(c,I,H){Ln(c,H,I)});function Lr(c,I){var H=me(c)?We:xh;return H(c,ue(I,3))}function tx(c,I,H,eA){return c==null?[]:(me(I)||(I=I==null?[]:[I]),H=eA?t:H,me(H)||(H=H==null?[]:[H]),Lh(c,I,H))}var nx=vr(function(c,I,H){c[H?0:1].push(I)},function(){return[[],[]]});function ix(c,I,H){var eA=me(c)?Il:sh,lA=arguments.length<3;return eA(c,ue(I,4),H,lA,ti)}function ox(c,I,H){var eA=me(c)?C2:sh,lA=arguments.length<3;return eA(c,ue(I,4),H,lA,bh)}function sx(c,I){var H=me(c)?Xn:yh;return H(c,Pr(ue(I,3)))}function rx(c){var I=me(c)?Ih:V8;return I(c)}function ax(c,I,H){(H?kt(c,I,H):I===t)?I=1:I=we(I);var eA=me(c)?M8:AM;return eA(c,I)}function lx(c){var I=me(c)?S8:tM;return I(c)}function cx(c){if(c==null)return 0;if(Ft(c))return Ur(c)?Xi(c):c.length;var I=It(c);return I==sA||I==O?c.size:Kl(c).length}function gx(c,I,H){var eA=me(c)?fl:nM;return H&&kt(c,I,H)&&(I=t),eA(c,ue(I,3))}var ux=be(function(c,I){if(c==null)return[];var H=I.length;return H>1&&kt(c,I[0],I[1])?I=[]:H>2&&kt(I[0],I[1],I[2])&&(I=[I[0]]),Lh(c,Et(I,1),[])}),Gr=J2||function(){return Ct.Date.now()};function dx(c,I){if(typeof I!="function")throw new nn(a);return c=we(c),function(){if(--c<1)return I.apply(this,arguments)}}function Mp(c,I,H){return I=H?t:I,I=c&&I==null?c.length:I,Gn(c,p,t,t,t,t,I)}function Sp(c,I){var H;if(typeof I!="function")throw new nn(a);return c=we(c),function(){return--c>0&&(H=I.apply(this,arguments)),c<=1&&(I=t),H}}var cc=be(function(c,I,H){var eA=_;if(H.length){var lA=Ai(H,so(cc));eA|=C}return Gn(c,eA,I,H,lA)}),xp=be(function(c,I,H){var eA=_|m;if(H.length){var lA=Ai(H,so(xp));eA|=C}return Gn(I,eA,c,H,lA)});function Np(c,I,H){I=H?t:I;var eA=Gn(c,k,t,t,t,t,t,I);return eA.placeholder=Np.placeholder,eA}function Fp(c,I,H){I=H?t:I;var eA=Gn(c,y,t,t,t,t,t,I);return eA.placeholder=Fp.placeholder,eA}function Rp(c,I,H){var eA,lA,uA,CA,IA,yA,HA=0,PA=!1,UA=!1,Ae=!0;if(typeof c!="function")throw new nn(a);I=ln(I)||0,Xe(H)&&(PA=!!H.leading,UA="maxWait"in H,uA=UA?gt(ln(H.maxWait)||0,I):uA,Ae="trailing"in H?!!H.trailing:Ae);function ae(it){var Bn=eA,Tn=lA;return eA=lA=t,HA=it,CA=c.apply(Tn,Bn),CA}function de(it){return HA=it,IA=As(ve,I),PA?ae(it):CA}function De(it){var Bn=it-yA,Tn=it-HA,AB=I-Bn;return UA?mt(AB,uA-Tn):AB}function he(it){var Bn=it-yA,Tn=it-HA;return yA===t||Bn>=I||Bn<0||UA&&Tn>=uA}function ve(){var it=Gr();if(he(it))return Me(it);IA=As(ve,De(it))}function Me(it){return IA=t,Ae&&eA?ae(it):(eA=lA=t,CA)}function Jt(){IA!==t&&$h(IA),HA=0,eA=yA=lA=IA=t}function _t(){return IA===t?CA:Me(Gr())}function Zt(){var it=Gr(),Bn=he(it);if(eA=arguments,lA=this,yA=it,Bn){if(IA===t)return de(yA);if(UA)return $h(IA),IA=As(ve,I),ae(yA)}return IA===t&&(IA=As(ve,I)),CA}return Zt.cancel=Jt,Zt.flush=_t,Zt}var hx=be(function(c,I){return Dh(c,1,I)}),px=be(function(c,I,H){return Dh(c,ln(I)||0,H)});function Bx(c){return Gn(c,g)}function Hr(c,I){if(typeof c!="function"||I!=null&&typeof I!="function")throw new nn(a);var H=function(){var eA=arguments,lA=I?I.apply(this,eA):eA[0],uA=H.cache;if(uA.has(lA))return uA.get(lA);var CA=c.apply(this,eA);return H.cache=uA.set(lA,CA)||uA,CA};return H.cache=new(Hr.Cache||Rn),H}Hr.Cache=Rn;function Pr(c){if(typeof c!="function")throw new nn(a);return function(){var I=arguments;switch(I.length){case 0:return!c.call(this);case 1:return!c.call(this,I[0]);case 2:return!c.call(this,I[0],I[1]);case 3:return!c.call(this,I[0],I[1],I[2])}return!c.apply(this,I)}}function Cx(c){return Sp(2,c)}var Ex=iM(function(c,I){I=I.length==1&&me(I[0])?We(I[0],Yt(ue())):We(Et(I,1),Yt(ue()));var H=I.length;return be(function(eA){for(var lA=-1,uA=mt(eA.length,H);++lA<uA;)eA[lA]=I[lA].call(this,eA[lA]);return Tt(c,this,eA)})}),gc=be(function(c,I){var H=Ai(I,so(gc));return Gn(c,C,t,I,H)}),Lp=be(function(c,I){var H=Ai(I,so(Lp));return Gn(c,u,t,I,H)}),Qx=Hn(function(c,I){return Gn(c,l,t,t,t,I)});function mx(c,I){if(typeof c!="function")throw new nn(a);return I=I===t?I:we(I),be(c,I)}function Ix(c,I){if(typeof c!="function")throw new nn(a);return I=I==null?0:gt(we(I),0),be(function(H){var eA=H[I],lA=oi(H,0,I);return eA&&Vn(lA,eA),Tt(c,this,lA)})}function fx(c,I,H){var eA=!0,lA=!0;if(typeof c!="function")throw new nn(a);return Xe(H)&&(eA="leading"in H?!!H.leading:eA,lA="trailing"in H?!!H.trailing:lA),Rp(c,I,{leading:eA,maxWait:I,trailing:lA})}function wx(c){return Mp(c,1)}function Dx(c,I){return gc(Wl(I),c)}function bx(){if(!arguments.length)return[];var c=arguments[0];return me(c)?c:[c]}function yx(c){return sn(c,J)}function vx(c,I){return I=typeof I=="function"?I:t,sn(c,J,I)}function kx(c){return sn(c,G|J)}function _x(c,I){return I=typeof I=="function"?I:t,sn(c,G|J,I)}function Mx(c,I){return I==null||wh(c,I,pt(I))}function pn(c,I){return c===I||c!==c&&I!==I}var Sx=Sr(Gl),xx=Sr(function(c,I){return c>=I}),ki=_h(function(){return arguments}())?_h:function(c){return tt(c)&&Pe.call(c,"callee")&&!ph.call(c,"callee")},me=xA.isArray,Nx=jd?Yt(jd):U8;function Ft(c){return c!=null&&Kr(c.length)&&!Kn(c)}function nt(c){return tt(c)&&Ft(c)}function Fx(c){return c===!0||c===!1||tt(c)&&vt(c)==F}var si=z2||fc,Rx=qd?Yt(qd):T8;function Lx(c){return tt(c)&&c.nodeType===1&&!es(c)}function Gx(c){if(c==null)return!0;if(Ft(c)&&(me(c)||typeof c=="string"||typeof c.splice=="function"||si(c)||ro(c)||ki(c)))return!c.length;var I=It(c);if(I==sA||I==O)return!c.size;if(Vo(c))return!Kl(c).length;for(var H in c)if(Pe.call(c,H))return!1;return!0}function Hx(c,I){return jo(c,I)}function Px(c,I,H){H=typeof H=="function"?H:t;var eA=H?H(c,I):t;return eA===t?jo(c,I,t,H):!!eA}function uc(c){if(!tt(c))return!1;var I=vt(c);return I==V||I==nA||typeof c.message=="string"&&typeof c.name=="string"&&!es(c)}function Kx(c){return typeof c=="number"&&Ch(c)}function Kn(c){if(!Xe(c))return!1;var I=vt(c);return I==tA||I==cA||I==W||I==rA}function Gp(c){return typeof c=="number"&&c==we(c)}function Kr(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=D}function Xe(c){var I=typeof c;return c!=null&&(I=="object"||I=="function")}function tt(c){return c!=null&&typeof c=="object"}var Hp=Xd?Yt(Xd):O8;function Ux(c,I){return c===I||Pl(c,I,tc(I))}function Tx(c,I,H){return H=typeof H=="function"?H:t,Pl(c,I,tc(I),H)}function Yx(c){return Pp(c)&&c!=+c}function Ox(c){if(vM(c))throw new Qe(w);return Mh(c)}function $x(c){return c===null}function Jx(c){return c==null}function Pp(c){return typeof c=="number"||tt(c)&&vt(c)==hA}function es(c){if(!tt(c)||vt(c)!=iA)return!1;var I=dr(c);if(I===null)return!0;var H=Pe.call(I,"constructor")&&I.constructor;return typeof H=="function"&&H instanceof H&&lr.call(H)==T2}var dc=Vd?Yt(Vd):$8;function Zx(c){return Gp(c)&&c>=-D&&c<=D}var Kp=Ah?Yt(Ah):J8;function Ur(c){return typeof c=="string"||!me(c)&&tt(c)&&vt(c)==AA}function $t(c){return typeof c=="symbol"||tt(c)&&vt(c)==aA}var ro=eh?Yt(eh):Z8;function zx(c){return c===t}function Wx(c){return tt(c)&&It(c)==wA}function jx(c){return tt(c)&&vt(c)==FA}var qx=Sr(Ul),Xx=Sr(function(c,I){return c<=I});function Up(c){if(!c)return[];if(Ft(c))return Ur(c)?dn(c):Nt(c);if(To&&c[To])return M2(c[To]());var I=It(c),H=I==sA?kl:I==O?sr:ao;return H(c)}function Un(c){if(!c)return c===0?c:0;if(c=ln(c),c===M||c===-M){var I=c<0?-1:1;return I*x}return c===c?c:0}function we(c){var I=Un(c),H=I%1;return I===I?H?I-H:I:0}function Tp(c){return c?Di(we(c),0,$):0}function ln(c){if(typeof c=="number")return c;if($t(c))return R;if(Xe(c)){var I=typeof c.valueOf=="function"?c.valueOf():c;c=Xe(I)?I+"":I}if(typeof c!="string")return c===0?c:+c;c=rh(c);var H=je.test(c);return H||Ke.test(c)?d2(c.slice(2),H?2:8):xe.test(c)?R:+c}function Yp(c){return Dn(c,Rt(c))}function Vx(c){return c?Di(we(c),-D,D):c===0?c:0}function Re(c){return c==null?"":Ot(c)}var A4=io(function(c,I){if(Vo(I)||Ft(I)){Dn(I,pt(I),c);return}for(var H in I)Pe.call(I,H)&&Zo(c,H,I[H])}),Op=io(function(c,I){Dn(I,Rt(I),c)}),Tr=io(function(c,I,H,eA){Dn(I,Rt(I),c,eA)}),e4=io(function(c,I,H,eA){Dn(I,pt(I),c,eA)}),t4=Hn(Fl);function n4(c,I){var H=no(c);return I==null?H:fh(H,I)}var i4=be(function(c,I){c=Ue(c);var H=-1,eA=I.length,lA=eA>2?I[2]:t;for(lA&&kt(I[0],I[1],lA)&&(eA=1);++H<eA;)for(var uA=I[H],CA=Rt(uA),IA=-1,yA=CA.length;++IA<yA;){var HA=CA[IA],PA=c[HA];(PA===t||pn(PA,Ao[HA])&&!Pe.call(c,HA))&&(c[HA]=uA[HA])}return c}),o4=be(function(c){return c.push(t,rp),Tt($p,t,c)});function s4(c,I){return nh(c,ue(I,3),wn)}function r4(c,I){return nh(c,ue(I,3),Ll)}function a4(c,I){return c==null?c:Rl(c,ue(I,3),Rt)}function l4(c,I){return c==null?c:vh(c,ue(I,3),Rt)}function c4(c,I){return c&&wn(c,ue(I,3))}function g4(c,I){return c&&Ll(c,ue(I,3))}function u4(c){return c==null?[]:wr(c,pt(c))}function d4(c){return c==null?[]:wr(c,Rt(c))}function hc(c,I,H){var eA=c==null?t:bi(c,I);return eA===t?H:eA}function h4(c,I){return c!=null&&cp(c,I,G8)}function pc(c,I){return c!=null&&cp(c,I,H8)}var p4=tp(function(c,I,H){I!=null&&typeof I.toString!="function"&&(I=cr.call(I)),c[I]=H},Cc(Lt)),B4=tp(function(c,I,H){I!=null&&typeof I.toString!="function"&&(I=cr.call(I)),Pe.call(c,I)?c[I].push(H):c[I]=[H]},ue),C4=be(Wo);function pt(c){return Ft(c)?mh(c):Kl(c)}function Rt(c){return Ft(c)?mh(c,!0):z8(c)}function E4(c,I){var H={};return I=ue(I,3),wn(c,function(eA,lA,uA){Ln(H,I(eA,lA,uA),eA)}),H}function Q4(c,I){var H={};return I=ue(I,3),wn(c,function(eA,lA,uA){Ln(H,lA,I(eA,lA,uA))}),H}var m4=io(function(c,I,H){Dr(c,I,H)}),$p=io(function(c,I,H,eA){Dr(c,I,H,eA)}),I4=Hn(function(c,I){var H={};if(c==null)return H;var eA=!1;I=We(I,function(uA){return uA=ii(uA,c),eA||(eA=uA.length>1),uA}),Dn(c,Ac(c),H),eA&&(H=sn(H,G|K|J,pM));for(var lA=I.length;lA--;)Jl(H,I[lA]);return H});function f4(c,I){return Jp(c,Pr(ue(I)))}var w4=Hn(function(c,I){return c==null?{}:j8(c,I)});function Jp(c,I){if(c==null)return{};var H=We(Ac(c),function(eA){return[eA]});return I=ue(I),Gh(c,H,function(eA,lA){return I(eA,lA[0])})}function D4(c,I,H){I=ii(I,c);var eA=-1,lA=I.length;for(lA||(lA=1,c=t);++eA<lA;){var uA=c==null?t:c[bn(I[eA])];uA===t&&(eA=lA,uA=H),c=Kn(uA)?uA.call(c):uA}return c}function b4(c,I,H){return c==null?c:qo(c,I,H)}function y4(c,I,H,eA){return eA=typeof eA=="function"?eA:t,c==null?c:qo(c,I,H,eA)}var Zp=op(pt),zp=op(Rt);function v4(c,I,H){var eA=me(c),lA=eA||si(c)||ro(c);if(I=ue(I,4),H==null){var uA=c&&c.constructor;lA?H=eA?new uA:[]:Xe(c)?H=Kn(uA)?no(dr(c)):{}:H={}}return(lA?tn:wn)(c,function(CA,IA,yA){return I(H,CA,IA,yA)}),H}function k4(c,I){return c==null?!0:Jl(c,I)}function _4(c,I,H){return c==null?c:Th(c,I,Wl(H))}function M4(c,I,H,eA){return eA=typeof eA=="function"?eA:t,c==null?c:Th(c,I,Wl(H),eA)}function ao(c){return c==null?[]:vl(c,pt(c))}function S4(c){return c==null?[]:vl(c,Rt(c))}function x4(c,I,H){return H===t&&(H=I,I=t),H!==t&&(H=ln(H),H=H===H?H:0),I!==t&&(I=ln(I),I=I===I?I:0),Di(ln(c),I,H)}function N4(c,I,H){return I=Un(I),H===t?(H=I,I=0):H=Un(H),c=ln(c),P8(c,I,H)}function F4(c,I,H){if(H&&typeof H!="boolean"&&kt(c,I,H)&&(I=H=t),H===t&&(typeof I=="boolean"?(H=I,I=t):typeof c=="boolean"&&(H=c,c=t)),c===t&&I===t?(c=0,I=1):(c=Un(c),I===t?(I=c,c=0):I=Un(I)),c>I){var eA=c;c=I,I=eA}if(H||c%1||I%1){var lA=Eh();return mt(c+lA*(I-c+u2("1e-"+((lA+"").length-1))),I)}return Yl(c,I)}var R4=oo(function(c,I,H){return I=I.toLowerCase(),c+(H?Wp(I):I)});function Wp(c){return Bc(Re(c).toLowerCase())}function jp(c){return c=Re(c),c&&c.replace(Ee,b2).replace(t2,"")}function L4(c,I,H){c=Re(c),I=Ot(I);var eA=c.length;H=H===t?eA:Di(we(H),0,eA);var lA=H;return H-=I.length,H>=0&&c.slice(H,lA)==I}function G4(c){return c=Re(c),c&&ce.test(c)?c.replace(OA,y2):c}function H4(c){return c=Re(c),c&&ge.test(c)?c.replace(YA,"\\$&"):c}var P4=oo(function(c,I,H){return c+(H?"-":"")+I.toLowerCase()}),K4=oo(function(c,I,H){return c+(H?" ":"")+I.toLowerCase()}),U4=Vh("toLowerCase");function T4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;if(!I||eA>=I)return c;var lA=(I-eA)/2;return Mr(Cr(lA),H)+c+Mr(Br(lA),H)}function Y4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;return I&&eA<I?c+Mr(I-eA,H):c}function O4(c,I,H){c=Re(c),I=we(I);var eA=I?Xi(c):0;return I&&eA<I?Mr(I-eA,H)+c:c}function $4(c,I,H){return H||I==null?I=0:I&&(I=+I),X2(Re(c).replace(Le,""),I||0)}function J4(c,I,H){return(H?kt(c,I,H):I===t)?I=1:I=we(I),Ol(Re(c),I)}function Z4(){var c=arguments,I=Re(c[0]);return c.length<3?I:I.replace(c[1],c[2])}var z4=oo(function(c,I,H){return c+(H?"_":"")+I.toLowerCase()});function W4(c,I,H){return H&&typeof H!="number"&&kt(c,I,H)&&(I=H=t),H=H===t?$:H>>>0,H?(c=Re(c),c&&(typeof I=="string"||I!=null&&!dc(I))&&(I=Ot(I),!I&&qi(c))?oi(dn(c),0,H):c.split(I,H)):[]}var j4=oo(function(c,I,H){return c+(H?" ":"")+Bc(I)});function q4(c,I,H){return c=Re(c),H=H==null?0:Di(we(H),0,c.length),I=Ot(I),c.slice(H,H+I.length)==I}function X4(c,I,H){var eA=gA.templateSettings;H&&kt(c,I,H)&&(I=t),c=Re(c),I=Tr({},I,eA,sp);var lA=Tr({},I.imports,eA.imports,sp),uA=pt(lA),CA=vl(lA,uA),IA,yA,HA=0,PA=I.interpolate||Ge,UA="__p += '",Ae=_l((I.escape||Ge).source+"|"+PA.source+"|"+(PA===vA?se:Ge).source+"|"+(I.evaluate||Ge).source+"|$","g"),ae="//# sourceURL="+(Pe.call(I,"sourceURL")?(I.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++r2+"]")+`
|
|
11
|
+
`;c.replace(Ae,function(he,ve,Me,Jt,_t,Zt){return Me||(Me=Jt),UA+=c.slice(HA,Zt).replace(et,v2),ve&&(IA=!0,UA+=`' +
|
|
12
12
|
__e(`+ve+`) +
|
|
13
13
|
'`),_t&&(yA=!0,UA+=`';
|
|
14
14
|
`+_t+`;
|
|
@@ -24,7 +24,7 @@ __p += '`),Me&&(UA+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+UA+`return __p
|
|
27
|
-
}`;var De=Xp(function(){return Fe(uA,ae+"return "+UA).apply(t,CA)});if(De.source=UA,uc(De))throw De;return De}function X4(c){return Re(c).toLowerCase()}function V4(c){return Re(c).toUpperCase()}function AN(c,I,H){if(c=Re(c),c&&(H||I===t))return rh(c);if(!c||!(I=Ot(I)))return c;var eA=hn(c),lA=hn(I),uA=ah(eA,lA),CA=lh(eA,lA)+1;return oi(eA,uA,CA).join("")}function eN(c,I,H){if(c=Re(c),c&&(H||I===t))return c.slice(0,gh(c)+1);if(!c||!(I=Ot(I)))return c;var eA=hn(c),lA=lh(eA,hn(I))+1;return oi(eA,0,lA).join("")}function tN(c,I,H){if(c=Re(c),c&&(H||I===t))return c.replace(Le,"");if(!c||!(I=Ot(I)))return c;var eA=hn(c),lA=ah(eA,hn(I));return oi(eA,lA).join("")}function nN(c,I){var H=r,eA=d;if(Xe(I)){var lA="separator"in I?I.separator:lA;H="length"in I?we(I.length):H,eA="omission"in I?Ot(I.omission):eA}c=Re(c);var uA=c.length;if(qi(c)){var CA=hn(c);uA=CA.length}if(H>=uA)return c;var IA=H-Xi(eA);if(IA<1)return eA;var yA=CA?oi(CA,0,IA).join(""):c.slice(0,IA);if(lA===t)return yA+eA;if(CA&&(IA+=yA.length-IA),dc(lA)){if(c.slice(IA).search(lA)){var HA,PA=yA;for(lA.global||(lA=_l(lA.source,Re(le.exec(lA))+"g")),lA.lastIndex=0;HA=lA.exec(PA);)var UA=HA.index;yA=yA.slice(0,UA===t?IA:UA)}}else if(c.indexOf(Ot(lA),IA)!=IA){var Ae=yA.lastIndexOf(lA);Ae>-1&&(yA=yA.slice(0,Ae))}return yA+eA}function iN(c){return c=Re(c),c&&VA.test(c)?c.replace(ZA,N2):c}var oN=oo(function(c,I,H){return c+(H?" ":"")+I.toUpperCase()}),Bc=Vh("toUpperCase");function qp(c,I,H){return c=Re(c),I=H?t:I,I===t?k2(c)?L2(c):Q2(c):c.match(I)||[]}var Xp=be(function(c,I){try{return Tt(c,t,I)}catch(H){return uc(H)?H:new Qe(H)}}),sN=Hn(function(c,I){return tn(I,function(H){H=bn(H),Ln(c,H,cc(c[H],c))}),c});function rN(c){var I=c==null?0:c.length,H=ue();return c=I?We(c,function(eA){if(typeof eA[1]!="function")throw new nn(a);return[H(eA[0]),eA[1]]}):[],be(function(eA){for(var lA=-1;++lA<I;){var uA=c[lA];if(Tt(uA[0],this,eA))return Tt(uA[1],this,eA)}})}function aN(c){return N8(sn(c,G))}function Cc(c){return function(){return c}}function lN(c,I){return c==null||c!==c?I:c}var cN=ep(),gN=ep(!0);function Lt(c){return c}function Ec(c){return Sh(typeof c=="function"?c:sn(c,G))}function uN(c){return Nh(sn(c,G))}function dN(c,I){return Fh(c,sn(I,G))}var hN=be(function(c,I){return function(H){return Wo(H,c,I)}}),pN=be(function(c,I){return function(H){return Wo(c,H,I)}});function Qc(c,I,H){var eA=pt(I),lA=wr(I,eA);H==null&&!(Xe(I)&&(lA.length||!eA.length))&&(H=I,I=c,c=this,lA=wr(I,pt(I)));var uA=!(Xe(H)&&"chain"in H)||!!H.chain,CA=Kn(c);return tn(lA,function(IA){var yA=I[IA];c[IA]=yA,CA&&(c.prototype[IA]=function(){var HA=this.__chain__;if(uA||HA){var PA=c(this.__wrapped__),UA=PA.__actions__=Nt(this.__actions__);return UA.push({func:yA,args:arguments,thisArg:c}),PA.__chain__=HA,PA}return yA.apply(c,Vn([this.value()],arguments))})}),c}function BN(){return Ct._===this&&(Ct._=T2),this}function mc(){}function CN(c){return c=we(c),be(function(I){return Rh(I,c)})}var EN=ql(We),QN=ql(th),mN=ql(fl);function Vp(c){return ic(c)?wl(bn(c)):j8(c)}function IN(c){return function(I){return c==null?t:bi(c,I)}}var fN=np(),wN=np(!0);function Ic(){return[]}function fc(){return!1}function DN(){return{}}function bN(){return""}function yN(){return!0}function vN(c,I){if(c=we(c),c<1||c>D)return[];var H=$,eA=mt(c,$);I=ue(I),c-=$;for(var lA=yl(eA,I);++H<c;)I(H);return lA}function kN(c){return me(c)?We(c,bn):$t(c)?[c]:Nt(Qp(Re(c)))}function _N(c){var I=++K2;return Re(c)+I}var MN=_r(function(c,I){return c+I},0),SN=Xl("ceil"),xN=_r(function(c,I){return c/I},1),NN=Xl("floor");function FN(c){return c&&c.length?fr(c,Lt,Gl):t}function RN(c,I){return c&&c.length?fr(c,ue(I,2),Gl):t}function LN(c){return oh(c,Lt)}function GN(c,I){return oh(c,ue(I,2))}function HN(c){return c&&c.length?fr(c,Lt,Ul):t}function PN(c,I){return c&&c.length?fr(c,ue(I,2),Ul):t}var KN=_r(function(c,I){return c*I},1),UN=Xl("round"),TN=_r(function(c,I){return c-I},0);function YN(c){return c&&c.length?bl(c,Lt):0}function ON(c,I){return c&&c.length?bl(c,ue(I,2)):0}return gA.after=ux,gA.ary=Mp,gA.assign=Vx,gA.assignIn=Op,gA.assignInWith=Tr,gA.assignWith=A4,gA.at=e4,gA.before=Sp,gA.bind=cc,gA.bindAll=sN,gA.bindKey=xp,gA.castArray=Dx,gA.chain=vp,gA.chunk=NM,gA.compact=FM,gA.concat=RM,gA.cond=rN,gA.conforms=aN,gA.constant=Cc,gA.countBy=YS,gA.create=t4,gA.curry=Np,gA.curryRight=Fp,gA.debounce=Rp,gA.defaults=n4,gA.defaultsDeep=i4,gA.defer=dx,gA.delay=hx,gA.difference=LM,gA.differenceBy=GM,gA.differenceWith=HM,gA.drop=PM,gA.dropRight=KM,gA.dropRightWhile=UM,gA.dropWhile=TM,gA.fill=YM,gA.filter=$S,gA.flatMap=zS,gA.flatMapDeep=WS,gA.flatMapDepth=jS,gA.flatten=wp,gA.flattenDeep=OM,gA.flattenDepth=$M,gA.flip=px,gA.flow=cN,gA.flowRight=gN,gA.fromPairs=JM,gA.functions=g4,gA.functionsIn=u4,gA.groupBy=qS,gA.initial=zM,gA.intersection=WM,gA.intersectionBy=jM,gA.intersectionWith=qM,gA.invert=h4,gA.invertBy=p4,gA.invokeMap=VS,gA.iteratee=Ec,gA.keyBy=Ax,gA.keys=pt,gA.keysIn=Rt,gA.map=Lr,gA.mapKeys=C4,gA.mapValues=E4,gA.matches=uN,gA.matchesProperty=dN,gA.memoize=Hr,gA.merge=Q4,gA.mergeWith=$p,gA.method=hN,gA.methodOf=pN,gA.mixin=Qc,gA.negate=Pr,gA.nthArg=CN,gA.omit=m4,gA.omitBy=I4,gA.once=Bx,gA.orderBy=ex,gA.over=EN,gA.overArgs=Cx,gA.overEvery=QN,gA.overSome=mN,gA.partial=gc,gA.partialRight=Lp,gA.partition=tx,gA.pick=f4,gA.pickBy=Jp,gA.property=Vp,gA.propertyOf=IN,gA.pull=eS,gA.pullAll=bp,gA.pullAllBy=tS,gA.pullAllWith=nS,gA.pullAt=iS,gA.range=fN,gA.rangeRight=wN,gA.rearg=Ex,gA.reject=ox,gA.remove=oS,gA.rest=Qx,gA.reverse=ac,gA.sampleSize=rx,gA.set=D4,gA.setWith=b4,gA.shuffle=ax,gA.slice=sS,gA.sortBy=gx,gA.sortedUniq=dS,gA.sortedUniqBy=hS,gA.split=z4,gA.spread=mx,gA.tail=pS,gA.take=BS,gA.takeRight=CS,gA.takeRightWhile=ES,gA.takeWhile=QS,gA.tap=FS,gA.throttle=Ix,gA.thru=Rr,gA.toArray=Up,gA.toPairs=Zp,gA.toPairsIn=zp,gA.toPath=kN,gA.toPlainObject=Yp,gA.transform=y4,gA.unary=fx,gA.union=mS,gA.unionBy=IS,gA.unionWith=fS,gA.uniq=wS,gA.uniqBy=DS,gA.uniqWith=bS,gA.unset=v4,gA.unzip=lc,gA.unzipWith=yp,gA.update=k4,gA.updateWith=_4,gA.values=ao,gA.valuesIn=M4,gA.without=yS,gA.words=qp,gA.wrap=wx,gA.xor=vS,gA.xorBy=kS,gA.xorWith=_S,gA.zip=MS,gA.zipObject=SS,gA.zipObjectDeep=xS,gA.zipWith=NS,gA.entries=Zp,gA.entriesIn=zp,gA.extend=Op,gA.extendWith=Tr,Qc(gA,gA),gA.add=MN,gA.attempt=Xp,gA.camelCase=F4,gA.capitalize=Wp,gA.ceil=SN,gA.clamp=S4,gA.clone=bx,gA.cloneDeep=vx,gA.cloneDeepWith=kx,gA.cloneWith=yx,gA.conformsTo=_x,gA.deburr=jp,gA.defaultTo=lN,gA.divide=xN,gA.endsWith=R4,gA.eq=Bn,gA.escape=L4,gA.escapeRegExp=G4,gA.every=OS,gA.find=JS,gA.findIndex=Ip,gA.findKey=o4,gA.findLast=ZS,gA.findLastIndex=fp,gA.findLastKey=s4,gA.floor=NN,gA.forEach=kp,gA.forEachRight=_p,gA.forIn=r4,gA.forInRight=a4,gA.forOwn=l4,gA.forOwnRight=c4,gA.get=hc,gA.gt=Mx,gA.gte=Sx,gA.has=d4,gA.hasIn=pc,gA.head=Dp,gA.identity=Lt,gA.includes=XS,gA.indexOf=ZM,gA.inRange=x4,gA.invoke=B4,gA.isArguments=ki,gA.isArray=me,gA.isArrayBuffer=xx,gA.isArrayLike=Ft,gA.isArrayLikeObject=nt,gA.isBoolean=Nx,gA.isBuffer=si,gA.isDate=Fx,gA.isElement=Rx,gA.isEmpty=Lx,gA.isEqual=Gx,gA.isEqualWith=Hx,gA.isError=uc,gA.isFinite=Px,gA.isFunction=Kn,gA.isInteger=Gp,gA.isLength=Kr,gA.isMap=Hp,gA.isMatch=Kx,gA.isMatchWith=Ux,gA.isNaN=Tx,gA.isNative=Yx,gA.isNil=$x,gA.isNull=Ox,gA.isNumber=Pp,gA.isObject=Xe,gA.isObjectLike=tt,gA.isPlainObject=es,gA.isRegExp=dc,gA.isSafeInteger=Jx,gA.isSet=Kp,gA.isString=Ur,gA.isSymbol=$t,gA.isTypedArray=ro,gA.isUndefined=Zx,gA.isWeakMap=zx,gA.isWeakSet=Wx,gA.join=XM,gA.kebabCase=H4,gA.last=an,gA.lastIndexOf=VM,gA.lowerCase=P4,gA.lowerFirst=K4,gA.lt=jx,gA.lte=qx,gA.max=FN,gA.maxBy=RN,gA.mean=LN,gA.meanBy=GN,gA.min=HN,gA.minBy=PN,gA.stubArray=Ic,gA.stubFalse=fc,gA.stubObject=DN,gA.stubString=bN,gA.stubTrue=yN,gA.multiply=KN,gA.nth=AS,gA.noConflict=BN,gA.noop=mc,gA.now=Gr,gA.pad=U4,gA.padEnd=T4,gA.padStart=Y4,gA.parseInt=O4,gA.random=N4,gA.reduce=nx,gA.reduceRight=ix,gA.repeat=$4,gA.replace=J4,gA.result=w4,gA.round=UN,gA.runInContext=bA,gA.sample=sx,gA.size=lx,gA.snakeCase=Z4,gA.some=cx,gA.sortedIndex=rS,gA.sortedIndexBy=aS,gA.sortedIndexOf=lS,gA.sortedLastIndex=cS,gA.sortedLastIndexBy=gS,gA.sortedLastIndexOf=uS,gA.startCase=W4,gA.startsWith=j4,gA.subtract=TN,gA.sum=YN,gA.sumBy=ON,gA.template=q4,gA.times=vN,gA.toFinite=Un,gA.toInteger=we,gA.toLength=Tp,gA.toLower=X4,gA.toNumber=ln,gA.toSafeInteger=Xx,gA.toString=Re,gA.toUpper=V4,gA.trim=AN,gA.trimEnd=eN,gA.trimStart=tN,gA.truncate=nN,gA.unescape=iN,gA.uniqueId=_N,gA.upperCase=oN,gA.upperFirst=Bc,gA.each=kp,gA.eachRight=_p,gA.first=Dp,Qc(gA,function(){var c={};return wn(gA,function(I,H){Pe.call(gA.prototype,H)||(c[H]=I)}),c}(),{chain:!1}),gA.VERSION=i,tn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){gA[c].placeholder=gA}),tn(["drop","take"],function(c,I){_e.prototype[c]=function(H){H=H===t?1:gt(we(H),0);var eA=this.__filtered__&&!I?new _e(this):this.clone();return eA.__filtered__?eA.__takeCount__=mt(H,eA.__takeCount__):eA.__views__.push({size:mt(H,$),type:c+(eA.__dir__<0?"Right":"")}),eA},_e.prototype[c+"Right"]=function(H){return this.reverse()[c](H).reverse()}}),tn(["filter","map","takeWhile"],function(c,I){var H=I+1,eA=H==o||H==E;_e.prototype[c]=function(lA){var uA=this.clone();return uA.__iteratees__.push({iteratee:ue(lA,3),type:H}),uA.__filtered__=uA.__filtered__||eA,uA}}),tn(["head","last"],function(c,I){var H="take"+(I?"Right":"");_e.prototype[c]=function(){return this[H](1).value()[0]}}),tn(["initial","tail"],function(c,I){var H="drop"+(I?"":"Right");_e.prototype[c]=function(){return this.__filtered__?new _e(this):this[H](1)}}),_e.prototype.compact=function(){return this.filter(Lt)},_e.prototype.find=function(c){return this.filter(c).head()},_e.prototype.findLast=function(c){return this.reverse().find(c)},_e.prototype.invokeMap=be(function(c,I){return typeof c=="function"?new _e(this):this.map(function(H){return Wo(H,c,I)})}),_e.prototype.reject=function(c){return this.filter(Pr(ue(c)))},_e.prototype.slice=function(c,I){c=we(c);var H=this;return H.__filtered__&&(c>0||I<0)?new _e(H):(c<0?H=H.takeRight(-c):c&&(H=H.drop(c)),I!==t&&(I=we(I),H=I<0?H.dropRight(-I):H.take(I-c)),H)},_e.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},_e.prototype.toArray=function(){return this.take($)},wn(_e.prototype,function(c,I){var H=/^(?:filter|find|map|reject)|While$/.test(I),eA=/^(?:head|last)$/.test(I),lA=gA[eA?"take"+(I=="last"?"Right":""):I],uA=eA||/^find/.test(I);lA&&(gA.prototype[I]=function(){var CA=this.__wrapped__,IA=eA?[1]:arguments,yA=CA instanceof _e,HA=IA[0],PA=yA||me(CA),UA=function(ve){var Me=lA.apply(gA,Vn([ve],IA));return eA&&Ae?Me[0]:Me};PA&&H&&typeof HA=="function"&&HA.length!=1&&(yA=PA=!1);var Ae=this.__chain__,ae=!!this.__actions__.length,de=uA&&!Ae,De=yA&&!ae;if(!uA&&PA){CA=De?CA:new _e(this);var he=c.apply(CA,IA);return he.__actions__.push({func:Rr,args:[UA],thisArg:t}),new on(he,Ae)}return de&&De?c.apply(this,IA):(he=this.thru(UA),de?eA?he.value()[0]:he.value():he)})}),tn(["pop","push","shift","sort","splice","unshift"],function(c){var I=rr[c],H=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",eA=/^(?:pop|shift)$/.test(c);gA.prototype[c]=function(){var lA=arguments;if(eA&&!this.__chain__){var uA=this.value();return I.apply(me(uA)?uA:[],lA)}return this[H](function(CA){return I.apply(me(CA)?CA:[],lA)})}}),wn(_e.prototype,function(c,I){var H=gA[I];if(H){var eA=H.name+"";Pe.call(to,eA)||(to[eA]=[]),to[eA].push({name:I,func:H})}}),to[kr(t,m).name]=[{name:"wrapper",func:t}],_e.prototype.clone=i8,_e.prototype.reverse=o8,_e.prototype.value=s8,gA.prototype.at=RS,gA.prototype.chain=LS,gA.prototype.commit=GS,gA.prototype.next=HS,gA.prototype.plant=KS,gA.prototype.reverse=US,gA.prototype.toJSON=gA.prototype.valueOf=gA.prototype.value=TS,gA.prototype.first=gA.prototype.head,To&&(gA.prototype[To]=PS),gA},Vi=G2();mi?((mi.exports=Vi)._=Vi,El._=Vi):Ct._=Vi}).call(co)}(ts,ts.exports);var Oe=ts.exports;const sB=(n,A)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(A).join(","),"return "+t[1])(...Object.values(A))}catch{return n}else return n},zt=(n,A)=>Oe.isString(n)?sB(n,A):Oe.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:zt(n[i],A)}),{}):Oe.isArray(n)?n.map(t=>zt(t,A)):n,_i=(n,A,t)=>{if(A===".")return t;const i=Oe.cloneDeep(n),Q=A.split(".");function w(a,b,S){if(b.length===1){a[b[0]]=S;return}const f=b[0],N=b[1];a[f]||(isNaN(Number(N))?a[f]={}:a[f]=[]),w(a[f],b.slice(1),S)}return w(i,Q,t),i},ns=(n,A="data")=>{if(A==="."||typeof A!="string")return n;const t=A.split(".");let i=n;for(const Q of t)if(i&&typeof i=="object"&&Q in i)i=i[Q];else return;return i},Yn=n=>{const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const Q=Math.floor(Math.random()*A.length);t+=A.charAt(Q)}return t};function rB(n){return/[.*+?^${}()|[\]\\]/.test(n)}function aB(n){const A=n.match(/^\/(.*)\/([gimsuy]*)$/);if(A){const t=A[1],i=A[2];return new RegExp(t,i)}return null}const bc=(n,A)=>n.filter(A).map(i=>i.children?{...i,children:bc(i.children,A)}:i),is=(n,A)=>{for(const t of n){if(t.name===A)return t;if(t.children&&t.children.length>0){const i=is(t.children,A);if(i)return i}}return null};/**
|
|
27
|
+
}`;var De=Xp(function(){return Fe(uA,ae+"return "+UA).apply(t,CA)});if(De.source=UA,uc(De))throw De;return De}function V4(c){return Re(c).toLowerCase()}function AN(c){return Re(c).toUpperCase()}function eN(c,I,H){if(c=Re(c),c&&(H||I===t))return rh(c);if(!c||!(I=Ot(I)))return c;var eA=dn(c),lA=dn(I),uA=ah(eA,lA),CA=lh(eA,lA)+1;return oi(eA,uA,CA).join("")}function tN(c,I,H){if(c=Re(c),c&&(H||I===t))return c.slice(0,gh(c)+1);if(!c||!(I=Ot(I)))return c;var eA=dn(c),lA=lh(eA,dn(I))+1;return oi(eA,0,lA).join("")}function nN(c,I,H){if(c=Re(c),c&&(H||I===t))return c.replace(Le,"");if(!c||!(I=Ot(I)))return c;var eA=dn(c),lA=ah(eA,dn(I));return oi(eA,lA).join("")}function iN(c,I){var H=r,eA=d;if(Xe(I)){var lA="separator"in I?I.separator:lA;H="length"in I?we(I.length):H,eA="omission"in I?Ot(I.omission):eA}c=Re(c);var uA=c.length;if(qi(c)){var CA=dn(c);uA=CA.length}if(H>=uA)return c;var IA=H-Xi(eA);if(IA<1)return eA;var yA=CA?oi(CA,0,IA).join(""):c.slice(0,IA);if(lA===t)return yA+eA;if(CA&&(IA+=yA.length-IA),dc(lA)){if(c.slice(IA).search(lA)){var HA,PA=yA;for(lA.global||(lA=_l(lA.source,Re(le.exec(lA))+"g")),lA.lastIndex=0;HA=lA.exec(PA);)var UA=HA.index;yA=yA.slice(0,UA===t?IA:UA)}}else if(c.indexOf(Ot(lA),IA)!=IA){var Ae=yA.lastIndexOf(lA);Ae>-1&&(yA=yA.slice(0,Ae))}return yA+eA}function oN(c){return c=Re(c),c&&VA.test(c)?c.replace(ZA,F2):c}var sN=oo(function(c,I,H){return c+(H?" ":"")+I.toUpperCase()}),Bc=Vh("toUpperCase");function qp(c,I,H){return c=Re(c),I=H?t:I,I===t?_2(c)?G2(c):m2(c):c.match(I)||[]}var Xp=be(function(c,I){try{return Tt(c,t,I)}catch(H){return uc(H)?H:new Qe(H)}}),rN=Hn(function(c,I){return tn(I,function(H){H=bn(H),Ln(c,H,cc(c[H],c))}),c});function aN(c){var I=c==null?0:c.length,H=ue();return c=I?We(c,function(eA){if(typeof eA[1]!="function")throw new nn(a);return[H(eA[0]),eA[1]]}):[],be(function(eA){for(var lA=-1;++lA<I;){var uA=c[lA];if(Tt(uA[0],this,eA))return Tt(uA[1],this,eA)}})}function lN(c){return F8(sn(c,G))}function Cc(c){return function(){return c}}function cN(c,I){return c==null||c!==c?I:c}var gN=ep(),uN=ep(!0);function Lt(c){return c}function Ec(c){return Sh(typeof c=="function"?c:sn(c,G))}function dN(c){return Nh(sn(c,G))}function hN(c,I){return Fh(c,sn(I,G))}var pN=be(function(c,I){return function(H){return Wo(H,c,I)}}),BN=be(function(c,I){return function(H){return Wo(c,H,I)}});function Qc(c,I,H){var eA=pt(I),lA=wr(I,eA);H==null&&!(Xe(I)&&(lA.length||!eA.length))&&(H=I,I=c,c=this,lA=wr(I,pt(I)));var uA=!(Xe(H)&&"chain"in H)||!!H.chain,CA=Kn(c);return tn(lA,function(IA){var yA=I[IA];c[IA]=yA,CA&&(c.prototype[IA]=function(){var HA=this.__chain__;if(uA||HA){var PA=c(this.__wrapped__),UA=PA.__actions__=Nt(this.__actions__);return UA.push({func:yA,args:arguments,thisArg:c}),PA.__chain__=HA,PA}return yA.apply(c,Vn([this.value()],arguments))})}),c}function CN(){return Ct._===this&&(Ct._=Y2),this}function mc(){}function EN(c){return c=we(c),be(function(I){return Rh(I,c)})}var QN=ql(We),mN=ql(th),IN=ql(fl);function Vp(c){return ic(c)?wl(bn(c)):q8(c)}function fN(c){return function(I){return c==null?t:bi(c,I)}}var wN=np(),DN=np(!0);function Ic(){return[]}function fc(){return!1}function bN(){return{}}function yN(){return""}function vN(){return!0}function kN(c,I){if(c=we(c),c<1||c>D)return[];var H=$,eA=mt(c,$);I=ue(I),c-=$;for(var lA=yl(eA,I);++H<c;)I(H);return lA}function _N(c){return me(c)?We(c,bn):$t(c)?[c]:Nt(Qp(Re(c)))}function MN(c){var I=++U2;return Re(c)+I}var SN=_r(function(c,I){return c+I},0),xN=Xl("ceil"),NN=_r(function(c,I){return c/I},1),FN=Xl("floor");function RN(c){return c&&c.length?fr(c,Lt,Gl):t}function LN(c,I){return c&&c.length?fr(c,ue(I,2),Gl):t}function GN(c){return oh(c,Lt)}function HN(c,I){return oh(c,ue(I,2))}function PN(c){return c&&c.length?fr(c,Lt,Ul):t}function KN(c,I){return c&&c.length?fr(c,ue(I,2),Ul):t}var UN=_r(function(c,I){return c*I},1),TN=Xl("round"),YN=_r(function(c,I){return c-I},0);function ON(c){return c&&c.length?bl(c,Lt):0}function $N(c,I){return c&&c.length?bl(c,ue(I,2)):0}return gA.after=dx,gA.ary=Mp,gA.assign=A4,gA.assignIn=Op,gA.assignInWith=Tr,gA.assignWith=e4,gA.at=t4,gA.before=Sp,gA.bind=cc,gA.bindAll=rN,gA.bindKey=xp,gA.castArray=bx,gA.chain=vp,gA.chunk=FM,gA.compact=RM,gA.concat=LM,gA.cond=aN,gA.conforms=lN,gA.constant=Cc,gA.countBy=OS,gA.create=n4,gA.curry=Np,gA.curryRight=Fp,gA.debounce=Rp,gA.defaults=i4,gA.defaultsDeep=o4,gA.defer=hx,gA.delay=px,gA.difference=GM,gA.differenceBy=HM,gA.differenceWith=PM,gA.drop=KM,gA.dropRight=UM,gA.dropRightWhile=TM,gA.dropWhile=YM,gA.fill=OM,gA.filter=JS,gA.flatMap=WS,gA.flatMapDeep=jS,gA.flatMapDepth=qS,gA.flatten=wp,gA.flattenDeep=$M,gA.flattenDepth=JM,gA.flip=Bx,gA.flow=gN,gA.flowRight=uN,gA.fromPairs=ZM,gA.functions=u4,gA.functionsIn=d4,gA.groupBy=XS,gA.initial=WM,gA.intersection=jM,gA.intersectionBy=qM,gA.intersectionWith=XM,gA.invert=p4,gA.invertBy=B4,gA.invokeMap=Ax,gA.iteratee=Ec,gA.keyBy=ex,gA.keys=pt,gA.keysIn=Rt,gA.map=Lr,gA.mapKeys=E4,gA.mapValues=Q4,gA.matches=dN,gA.matchesProperty=hN,gA.memoize=Hr,gA.merge=m4,gA.mergeWith=$p,gA.method=pN,gA.methodOf=BN,gA.mixin=Qc,gA.negate=Pr,gA.nthArg=EN,gA.omit=I4,gA.omitBy=f4,gA.once=Cx,gA.orderBy=tx,gA.over=QN,gA.overArgs=Ex,gA.overEvery=mN,gA.overSome=IN,gA.partial=gc,gA.partialRight=Lp,gA.partition=nx,gA.pick=w4,gA.pickBy=Jp,gA.property=Vp,gA.propertyOf=fN,gA.pull=tS,gA.pullAll=bp,gA.pullAllBy=nS,gA.pullAllWith=iS,gA.pullAt=oS,gA.range=wN,gA.rangeRight=DN,gA.rearg=Qx,gA.reject=sx,gA.remove=sS,gA.rest=mx,gA.reverse=ac,gA.sampleSize=ax,gA.set=b4,gA.setWith=y4,gA.shuffle=lx,gA.slice=rS,gA.sortBy=ux,gA.sortedUniq=hS,gA.sortedUniqBy=pS,gA.split=W4,gA.spread=Ix,gA.tail=BS,gA.take=CS,gA.takeRight=ES,gA.takeRightWhile=QS,gA.takeWhile=mS,gA.tap=RS,gA.throttle=fx,gA.thru=Rr,gA.toArray=Up,gA.toPairs=Zp,gA.toPairsIn=zp,gA.toPath=_N,gA.toPlainObject=Yp,gA.transform=v4,gA.unary=wx,gA.union=IS,gA.unionBy=fS,gA.unionWith=wS,gA.uniq=DS,gA.uniqBy=bS,gA.uniqWith=yS,gA.unset=k4,gA.unzip=lc,gA.unzipWith=yp,gA.update=_4,gA.updateWith=M4,gA.values=ao,gA.valuesIn=S4,gA.without=vS,gA.words=qp,gA.wrap=Dx,gA.xor=kS,gA.xorBy=_S,gA.xorWith=MS,gA.zip=SS,gA.zipObject=xS,gA.zipObjectDeep=NS,gA.zipWith=FS,gA.entries=Zp,gA.entriesIn=zp,gA.extend=Op,gA.extendWith=Tr,Qc(gA,gA),gA.add=SN,gA.attempt=Xp,gA.camelCase=R4,gA.capitalize=Wp,gA.ceil=xN,gA.clamp=x4,gA.clone=yx,gA.cloneDeep=kx,gA.cloneDeepWith=_x,gA.cloneWith=vx,gA.conformsTo=Mx,gA.deburr=jp,gA.defaultTo=cN,gA.divide=NN,gA.endsWith=L4,gA.eq=pn,gA.escape=G4,gA.escapeRegExp=H4,gA.every=$S,gA.find=ZS,gA.findIndex=Ip,gA.findKey=s4,gA.findLast=zS,gA.findLastIndex=fp,gA.findLastKey=r4,gA.floor=FN,gA.forEach=kp,gA.forEachRight=_p,gA.forIn=a4,gA.forInRight=l4,gA.forOwn=c4,gA.forOwnRight=g4,gA.get=hc,gA.gt=Sx,gA.gte=xx,gA.has=h4,gA.hasIn=pc,gA.head=Dp,gA.identity=Lt,gA.includes=VS,gA.indexOf=zM,gA.inRange=N4,gA.invoke=C4,gA.isArguments=ki,gA.isArray=me,gA.isArrayBuffer=Nx,gA.isArrayLike=Ft,gA.isArrayLikeObject=nt,gA.isBoolean=Fx,gA.isBuffer=si,gA.isDate=Rx,gA.isElement=Lx,gA.isEmpty=Gx,gA.isEqual=Hx,gA.isEqualWith=Px,gA.isError=uc,gA.isFinite=Kx,gA.isFunction=Kn,gA.isInteger=Gp,gA.isLength=Kr,gA.isMap=Hp,gA.isMatch=Ux,gA.isMatchWith=Tx,gA.isNaN=Yx,gA.isNative=Ox,gA.isNil=Jx,gA.isNull=$x,gA.isNumber=Pp,gA.isObject=Xe,gA.isObjectLike=tt,gA.isPlainObject=es,gA.isRegExp=dc,gA.isSafeInteger=Zx,gA.isSet=Kp,gA.isString=Ur,gA.isSymbol=$t,gA.isTypedArray=ro,gA.isUndefined=zx,gA.isWeakMap=Wx,gA.isWeakSet=jx,gA.join=VM,gA.kebabCase=P4,gA.last=an,gA.lastIndexOf=AS,gA.lowerCase=K4,gA.lowerFirst=U4,gA.lt=qx,gA.lte=Xx,gA.max=RN,gA.maxBy=LN,gA.mean=GN,gA.meanBy=HN,gA.min=PN,gA.minBy=KN,gA.stubArray=Ic,gA.stubFalse=fc,gA.stubObject=bN,gA.stubString=yN,gA.stubTrue=vN,gA.multiply=UN,gA.nth=eS,gA.noConflict=CN,gA.noop=mc,gA.now=Gr,gA.pad=T4,gA.padEnd=Y4,gA.padStart=O4,gA.parseInt=$4,gA.random=F4,gA.reduce=ix,gA.reduceRight=ox,gA.repeat=J4,gA.replace=Z4,gA.result=D4,gA.round=TN,gA.runInContext=bA,gA.sample=rx,gA.size=cx,gA.snakeCase=z4,gA.some=gx,gA.sortedIndex=aS,gA.sortedIndexBy=lS,gA.sortedIndexOf=cS,gA.sortedLastIndex=gS,gA.sortedLastIndexBy=uS,gA.sortedLastIndexOf=dS,gA.startCase=j4,gA.startsWith=q4,gA.subtract=YN,gA.sum=ON,gA.sumBy=$N,gA.template=X4,gA.times=kN,gA.toFinite=Un,gA.toInteger=we,gA.toLength=Tp,gA.toLower=V4,gA.toNumber=ln,gA.toSafeInteger=Vx,gA.toString=Re,gA.toUpper=AN,gA.trim=eN,gA.trimEnd=tN,gA.trimStart=nN,gA.truncate=iN,gA.unescape=oN,gA.uniqueId=MN,gA.upperCase=sN,gA.upperFirst=Bc,gA.each=kp,gA.eachRight=_p,gA.first=Dp,Qc(gA,function(){var c={};return wn(gA,function(I,H){Pe.call(gA.prototype,H)||(c[H]=I)}),c}(),{chain:!1}),gA.VERSION=i,tn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){gA[c].placeholder=gA}),tn(["drop","take"],function(c,I){_e.prototype[c]=function(H){H=H===t?1:gt(we(H),0);var eA=this.__filtered__&&!I?new _e(this):this.clone();return eA.__filtered__?eA.__takeCount__=mt(H,eA.__takeCount__):eA.__views__.push({size:mt(H,$),type:c+(eA.__dir__<0?"Right":"")}),eA},_e.prototype[c+"Right"]=function(H){return this.reverse()[c](H).reverse()}}),tn(["filter","map","takeWhile"],function(c,I){var H=I+1,eA=H==o||H==E;_e.prototype[c]=function(lA){var uA=this.clone();return uA.__iteratees__.push({iteratee:ue(lA,3),type:H}),uA.__filtered__=uA.__filtered__||eA,uA}}),tn(["head","last"],function(c,I){var H="take"+(I?"Right":"");_e.prototype[c]=function(){return this[H](1).value()[0]}}),tn(["initial","tail"],function(c,I){var H="drop"+(I?"":"Right");_e.prototype[c]=function(){return this.__filtered__?new _e(this):this[H](1)}}),_e.prototype.compact=function(){return this.filter(Lt)},_e.prototype.find=function(c){return this.filter(c).head()},_e.prototype.findLast=function(c){return this.reverse().find(c)},_e.prototype.invokeMap=be(function(c,I){return typeof c=="function"?new _e(this):this.map(function(H){return Wo(H,c,I)})}),_e.prototype.reject=function(c){return this.filter(Pr(ue(c)))},_e.prototype.slice=function(c,I){c=we(c);var H=this;return H.__filtered__&&(c>0||I<0)?new _e(H):(c<0?H=H.takeRight(-c):c&&(H=H.drop(c)),I!==t&&(I=we(I),H=I<0?H.dropRight(-I):H.take(I-c)),H)},_e.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},_e.prototype.toArray=function(){return this.take($)},wn(_e.prototype,function(c,I){var H=/^(?:filter|find|map|reject)|While$/.test(I),eA=/^(?:head|last)$/.test(I),lA=gA[eA?"take"+(I=="last"?"Right":""):I],uA=eA||/^find/.test(I);lA&&(gA.prototype[I]=function(){var CA=this.__wrapped__,IA=eA?[1]:arguments,yA=CA instanceof _e,HA=IA[0],PA=yA||me(CA),UA=function(ve){var Me=lA.apply(gA,Vn([ve],IA));return eA&&Ae?Me[0]:Me};PA&&H&&typeof HA=="function"&&HA.length!=1&&(yA=PA=!1);var Ae=this.__chain__,ae=!!this.__actions__.length,de=uA&&!Ae,De=yA&&!ae;if(!uA&&PA){CA=De?CA:new _e(this);var he=c.apply(CA,IA);return he.__actions__.push({func:Rr,args:[UA],thisArg:t}),new on(he,Ae)}return de&&De?c.apply(this,IA):(he=this.thru(UA),de?eA?he.value()[0]:he.value():he)})}),tn(["pop","push","shift","sort","splice","unshift"],function(c){var I=rr[c],H=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",eA=/^(?:pop|shift)$/.test(c);gA.prototype[c]=function(){var lA=arguments;if(eA&&!this.__chain__){var uA=this.value();return I.apply(me(uA)?uA:[],lA)}return this[H](function(CA){return I.apply(me(CA)?CA:[],lA)})}}),wn(_e.prototype,function(c,I){var H=gA[I];if(H){var eA=H.name+"";Pe.call(to,eA)||(to[eA]=[]),to[eA].push({name:I,func:H})}}),to[kr(t,m).name]=[{name:"wrapper",func:t}],_e.prototype.clone=o8,_e.prototype.reverse=s8,_e.prototype.value=r8,gA.prototype.at=LS,gA.prototype.chain=GS,gA.prototype.commit=HS,gA.prototype.next=PS,gA.prototype.plant=US,gA.prototype.reverse=TS,gA.prototype.toJSON=gA.prototype.valueOf=gA.prototype.value=YS,gA.prototype.first=gA.prototype.head,To&&(gA.prototype[To]=KS),gA},Vi=H2();mi?((mi.exports=Vi)._=Vi,El._=Vi):Ct._=Vi}).call(co)}(ts,ts.exports);var Oe=ts.exports;const sB=(n,A)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(A).join(","),"return "+t[1])(...Object.values(A))}catch{return n}else return n},zt=(n,A)=>Oe.isString(n)?sB(n,A):Oe.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:zt(n[i],A)}),{}):Oe.isArray(n)?n.map(t=>zt(t,A)):n,_i=(n,A,t)=>{if(A===".")return t;const i=Oe.cloneDeep(n),Q=A.split(".");function w(a,b,S){if(b.length===1){a[b[0]]=S;return}const f=b[0],N=b[1];a[f]||(isNaN(Number(N))?a[f]={}:a[f]=[]),w(a[f],b.slice(1),S)}return w(i,Q,t),i},ns=(n,A="data")=>{if(A==="."||typeof A!="string")return n;const t=A.split(".");let i=n;for(const Q of t)if(i&&typeof i=="object"&&Q in i)i=i[Q];else return;return i},Yn=n=>{const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const Q=Math.floor(Math.random()*A.length);t+=A.charAt(Q)}return t};function rB(n){return/[.*+?^${}()|[\]\\]/.test(n)}function aB(n){const A=n.match(/^\/(.*)\/([gimsuy]*)$/);if(A){const t=A[1],i=A[2];return new RegExp(t,i)}return null}const bc=(n,A)=>n.filter(A).map(i=>i.children?{...i,children:bc(i.children,A)}:i),is=(n,A)=>{for(const t of n){if(t.name===A)return t;if(t.children&&t.children.length>0){const i=is(t.children,A);if(i)return i}}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 a},n.prototype._is_valid_selec
|
|
|
77
77
|
`+g)}p&&(y?y=p+y+`
|
|
78
78
|
`+l:y=p+l),_.print_newline(!1),y&&(m.text=y,m.whitespace_before="",m.newlines=0,_.add_raw_token(m),_.print_newline(!0))}},K.prototype._handle_tag_open=function(_,m,L,k,y){var C=this._get_tag_open_token(m);if((L.is_unformatted||L.is_content_unformatted)&&!L.is_empty_element&&m.type===i.TAG_OPEN&&!C.is_start_tag?(_.add_raw_token(m),C.start_tag_token=this._tag_stack.try_pop(C.tag_name)):(_.traverse_whitespace(m),this._set_tag_position(_,m,C,L,k),C.is_inline_element||_.set_wrap_point(),_.print_token(m)),C.is_start_tag&&this._is_wrap_attributes_force){var u=0,p;do p=y.peek(u),p.type===i.ATTRIBUTE&&(C.attr_count+=1),u+=1;while(p.type!==i.EOF&&p.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(C.alignment_size=m.text.length+1),!C.tag_complete&&!C.is_unformatted&&(_.alignment_size=C.alignment_size),C};var J=function(_,m){if(this.parent=_||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 L;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(L=m.text.match(/^<([^\s>]*)/),this.tag_check=L?L[1]:""):(L=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=L?L[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)))}};K.prototype._get_tag_open_token=function(_){var m=new J(this._tag_stack.get_parser_token(),_);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||f(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&&f(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&f(m.tag_check,this._options.content_unformatted),m.is_inline_element=f(m.tag_name,this._options.inline)||this._options.inline_custom_elements&&m.tag_name.includes("-")||m.tag_start_char==="{",m},K.prototype._set_tag_position=function(_,m,L,k,y){if(L.is_empty_element||(L.is_end_tag?L.start_tag_token=this._tag_stack.try_pop(L.tag_name):(this._do_optional_end_element(L)&&(L.is_inline_element||_.print_newline(!1)),this._tag_stack.record_tag(L),(L.tag_name==="script"||L.tag_name==="style")&&!(L.is_unformatted||L.is_content_unformatted)&&(L.custom_beautifier_name=S(L.tag_check,m)))),f(L.tag_check,this._options.extra_liners)&&(_.print_newline(!1),_._output.just_added_blankline()||_.print_newline(!0)),L.is_empty_element){if(L.tag_start_char==="{"&&L.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),L.indent_content=!0;var C=_.current_line_has_match(/{{#if/);C||_.print_newline(!1)}L.tag_name==="!--"&&y.type===i.TAG_CLOSE&&k.is_end_tag&&L.text.indexOf(`
|
|
79
79
|
`)===-1||(L.is_inline_element||L.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,L))}else if(L.is_end_tag){var u=!1;u=L.start_tag_token&&L.start_tag_token.multiline_content,u=u||!L.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(y.type===i.TAG_CLOSE&&L.start_tag_token===k)&&y.type!=="TK_CONTENT",(L.is_content_unformatted||L.is_unformatted)&&(u=!1),u&&_.print_newline(!1)}else L.indent_content=!L.custom_beautifier_name,L.tag_start_char==="<"&&(L.tag_name==="html"?L.indent_content=this._options.indent_inner_html:L.tag_name==="head"?L.indent_content=this._options.indent_head_inner_html:L.tag_name==="body"&&(L.indent_content=this._options.indent_body_inner_html)),!(L.is_inline_element||L.is_unformatted)&&(y.type!=="TK_CONTENT"||L.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,L)},K.prototype._calcluate_parent_multiline=function(_,m){m.parent&&_._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var T=["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"],P=["a","audio","del","ins","map","noscript","video"];return K.prototype._do_optional_end_element=function(_){var m=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")m=m||this._tag_stack.try_pop("head");else if(_.tag_name==="li")m=m||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")m=m||this._tag_stack.try_pop("dt",["dl"]),m=m||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&T.indexOf(_.tag_name)!==-1){var L=_.parent.parent;(!L||P.indexOf(L.tag_name)===-1)&&(m=m||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(m=m||this._tag_stack.try_pop("rt",["ruby","rtc"]),m=m||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?m=m||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?m=m||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?m=m||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.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"])):_.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"])):(_.tag_name==="th"||_.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 _.parent=this._tag_stack.get_parser_token(),m}},pa.Beautifier=K,pa}var Sg;function dC(){if(Sg)return Bs.exports;Sg=1;var n=uC().Beautifier,A=vg().Options;function t(i,Q,w,a){var b=new n(i,Q,w,a);return b.beautify()}return Bs.exports=t,Bs.exports.defaultOptions=function(){return new A},Bs.exports}var xg;function hC(){if(xg)return ho;xg=1;var n=lC(),A=gC(),t=dC();function i(Q,w,a,b){return a=a||n,b=b||A,t(Q,w,a,b)}return i.defaultOptions=t.defaultOptions,ho.js=n,ho.css=A,ho.html=i,ho}(function(n){function A(t,i,Q){var w=function(a,b){return t.js_beautify(a,b)};return w.js=t.js_beautify,w.css=i.css_beautify,w.html=Q.html_beautify,w.js_beautify=t.js_beautify,w.css_beautify=i.css_beautify,w.html_beautify=Q.html_beautify,w}(function(t){var i=hC();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=A(i,i,i)})(n)})(tg);var pC=tg.exports,BC=oC(pC),Ng=function(){function n(A){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],Q=t.attributes().disabled!==void 0,w=go(t.element)&&i.includes(t.element.tagName);return Q&&w},this.wrapperElement=A}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(A){var t=this.getRootNodes().filter(go);if(t.length===0)return[];var i=Kc([],t.filter(function(Q){return Q.matches(A)}));return t.forEach(function(Q){i.push.apply(i,Array.from(Q.querySelectorAll(A)))}),i},n.prototype.find=function(A){if(typeof A=="object"&&"ref"in A){var t=this.getCurrentComponent();if(!t)return On("DOMWrapper");var i=t.refs[A.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?uo(i):On("DOMWrapper")}var Q=this.findAll(A);return Q.length>0?Q[0]:On("DOMWrapper")},n.prototype.findComponent=function(A){var t=this.getCurrentComponent();if(!t)return On("VueWrapper");if(typeof A=="object"&&"ref"in A){var i=t.refs[A.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?qr(null,i):On("VueWrapper")}if(Vc(t.vnode,A)&&this.element.contains(t.vnode.el))return qr(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var Q=this.findAllComponents(A)[0];return Q??On("VueWrapper")},n.prototype.findAllComponents=function(A){var t=this.getCurrentComponent();if(!t)return[];var i=eC(t.subTree,A);return i.map(function(Q){return Q.proxy?qr(null,Q.proxy):uo(Q.vnode.el)})},n.prototype.html=function(A){var t=this.getRootNodes().map(function(i){return iC(i)});return A!=null&&A.raw?t.join(""):t.map(function(i){return BC.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(A){var t=go(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(go(this.element))for(var i=Array.from(this.element.attributes),Q=0,w=i;Q<w.length;Q++){var a=w[Q];t[a.localName]=a.value}return A?t[A]:t},n.prototype.text=function(){return this.getRootNodes().map(RB).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var t=this.find(A);if(t.exists())return t;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var t=this.findComponent(A);if(t.exists())return t;var i="Unable to get ";throw typeof A=="string"?i+="component with selector ".concat(A):"name"in A?i+="component with name ".concat(A.name):"ref"in A?i+="component with ref ".concat(A.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return go(this.element)&&Ag(this.element)},n.prototype.trigger=function(A,t){return zr(this,void 0,void 0,function(){var i;return Wr(this,function(Q){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=ZB(A,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,e.nextTick()]})})},n}(),CC=function(n){Pc(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Tc.plugins.DOMWrapper.extend(i),i):On("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.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},A.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&HB(t)?this.element.contains(i.element)?i:On("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),uo):[]},A.prototype.findAllComponents=function(t){var i=this,Q=n.prototype.findAllComponents.call(this,t);return Q.filter(function(w){return i.element.contains(w.element)})},A.prototype.setChecked=function(){return zr(this,arguments,void 0,function(t){var i,Q;return t===void 0&&(t=!0),Wr(this,function(w){if(i=this.element,Q=this.attributes().type,Q==="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")])})})},A.prototype.setValue=function(t){var i=this.element,Q=i.tagName,w=this.attributes().type;if(Q==="OPTION")return this.setSelected(),Promise.resolve();if(Q==="INPUT"&&w==="checkbox")return this.setChecked(t);if(Q==="INPUT"&&w==="radio")return this.setChecked(t);if(Q==="SELECT"){if(Array.isArray(t))for(var a=i,b=0;b<a.options.length;b++){var S=a.options[b];S.selected=t.includes(S.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(Q==="INPUT"||Q==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(Q))}},A.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var Q=new A(i);return Q.trigger("input"),Q.trigger("change")}},A}(Ng);eg(xi.DOMWrapper,function(n){return new CC(n)});function Es(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Es(A)}else{if(n.shapeFlag&128)return Es(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 Q=n.children.flat();return Q.flatMap(function(w){return Es(w)}).filter(GB)}}return[]}var ai={};function EC(n,A){var t=n.$.uid,i=ai[t]||{};return A?i?i[A]:void 0:i}var QC=function(n,A,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var Q=i.uid;Q in ai||(ai[Q]={}),A in ai[Q]||(ai[Q][A]=[]),ai[Q][A].push(t)},mC=function(n){var A=n.$.uid;delete ai[A]};function IC(n,A){return new Proxy(n,{get:function(t,i,Q){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,Q):i in A?Reflect.get(A,i,Q):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,Q):t.$.ctx[i]},set:function(t,i,Q,w){return i in A?Reflect.set(A,i,Q,w):Reflect.set(t,i,Q,w)},has:function(t,i){return Reflect.has(A,i)||Reflect.has(t,i)},defineProperty:function(t,i,Q){return i in A?Reflect.defineProperty(A,i,Q):Reflect.defineProperty(t,i,Q)},getOwnPropertyDescriptor:function(t,i){return i in A?Reflect.getOwnPropertyDescriptor(A,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in A?Reflect.deleteProperty(A,i):Reflect.deleteProperty(t,i)}})}var fC=function(n){Pc(A,n);function A(t,i,Q){var w=n.call(this,i==null?void 0:i.$el)||this;return w.cleanUpCallbacks=[],w.__app=t,w.rootVM=i==null?void 0:i.$root,PB(i)?w.componentVM=IC(i,i.$.setupState):w.componentVM=i,w.__setProps=Q,w.attachNativeEventListener(),Tc.plugins.VueWrapper.extend(w),w}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var Q;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((Q=i.component)===null||Q===void 0)&&Q.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Es(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(t){return this.findAllDOMElements(t).map(uo)},A.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):[],Q=this.getRootNodes().filter(function(G){return G instanceof Element});if(Q.length===1)for(var w=Q[0],a=function(G){if(i.includes(G))return"continue";var K=function(){for(var J=[],T=0;T<arguments.length;T++)J[T]=arguments[T];QC(t.$,G,J)};w.addEventListener(G,K),b.cleanUpCallbacks.push(function(){w.removeEventListener(G,K)})},b=this,S=0,f=Object.keys(Oc);S<f.length;S++){var N=f[S];a(N)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},A.prototype.emitted=function(t){return EC(this.vm,t)},A.prototype.isVisible=function(){var t=uo(this.element);return t.isVisible()},A.prototype.setData=function(t){return Yc(this.componentVM.$data,t),e.nextTick()},A.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),e.nextTick()},A.prototype.setValue=function(t,i){var Q=i||"modelValue";return this.vm.$emit("update:".concat(Q),t),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");mC(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Ng);eg(xi.VueWrapper,function(n,A,t){return new fC(n,A,t)});var wC={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};e.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,t,i=e.computed(function(){return wC}),Q=(t=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||t===void 0?void 0:t.call(A,{route:i,href:e.computed(function(){return i.value.href}),isActive:e.computed(function(){return!1}),isExactActive:e.computed(function(){return!1}),navigate:function(){return zr(n,void 0,void 0,function(){return Wr(this,function(w){return[2]})})}});return this.custom?Q:e.h("a",void 0,Q)}}),typeof setImmediate=="function"&&setImmediate;const gn=Symbol(),Fg=Symbol(),Rg=Symbol(),Lg={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:"表单设置"}}},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"}}}},Qs=[{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"}]}],DC=[{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"}],bC="vfc",ke=(n="")=>`${bC}-${n}`,Ca=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const Q=Ca(i.children,A);if(Q)return Q}return t},null),Gg=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Gg(t.children,A)}:t),Hg=n=>n.map(A=>{const t={...Oe.cloneDeep(A),designKey:`form-${Yn(4)}`,name:Yn(8)};return A.children&&(t.children=Hg(A.children)),t}),Pg=(n,A)=>n.reduce((t,i)=>{var Q;if(i.children?t.push({...i,children:Pg(i.children,A)}):t.push(i),i.designKey===A){const w={...Oe.cloneDeep(i),designKey:`form-${Yn(4)}`,name:`${i.name}-${Yn(2)}`};i.children&&(w.children=Hg(i.children)),i.label&&!((Q=w.label)!=null&&Q.includes("copy"))&&(w.label=w.label+" copy"),t.push(w)}return t},[]),Kg=n=>n.map(A=>{if(!A.render)return A;const t={component:A.component,designKey:A.designKey||`design-${Yn(4)}`,name:A.name||`form-${Yn(4)}`};return A.children&&(t.children=Kg(A.children)),t}),ut=()=>{const n=e.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 e.inject(Fg,n)},yC=()=>{const{fetchOptionsFn:n}=e.inject(gn);return n},Bo=n=>{const A=ut(),t=yC(),i=e.ref([]),Q=e.ref(!1),w=Oe.debounce(async()=>{if(t&&n.apiParams&&!Object.values(n.apiParams).some(f=>f===void 0)){Q.value=!0;try{const f=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(i.value=[...i.value,...f],n.filters&&(i.value=i.value.filter(N=>Array.isArray(n.filters)?!n.filters.includes(N[n.valueKey||"value"]):!0)),n.name){const N=is(A.schema.items,n.name);N&&N.props&&(N.props.options=i.value)}}finally{Q.value=!1}}},300);e.onMounted(()=>{const{mode:f,options:N=[]}=n;f==="static"&&(i.value=N),f==="remote"&&w()}),e.watch(()=>n.apiParams,(f,N)=>{Oe.isEqual(f,N)||(i.value=[],w())}),e.watch(()=>n.options,(f=[])=>{n.mode==="static"&&(i.value=f)}),e.watch(()=>n.mode,f=>{f==="static"&&(i.value=n.options||[]),f==="remote"&&(i.value=[],w())});const{mode:a,dependentFields:b}=n;if(a==="remote"&&Array.isArray(b))for(const f of b)e.watch(()=>A.formValues[f],(N,G)=>{w()});return{selectChange:f=>{const{valueKey:N="value",multiple:G,name:K}=n;let J={};G&&Array.isArray(f)?J=i.value.filter(T=>f.includes(T[N])):J=i.value.find(T=>T[N]===f)||{},A.selectData&&K&&A.updateSelectData(K,J)},currentOptions:i,loading:Q,fetchData:w}};function Ea(){const n=e.inject(gn),A=e.inject("asiaint-lang",e.ref("zh"));return n!=null&&n.lang?e.ref(n.lang):A}function $n(){const n=Ea();return e.computed(()=>Lg[(n==null?void 0:n.value)||"en"])}const JA=(n,A)=>{const t=n.__vccOpts||n;for(const[i,Q]of A)t[i]=Q;return t},vC={},kC={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 _C(n,A){return e.openBlock(),e.createElementBlock("svg",kC,A[0]||(A[0]=[e.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:"#18AAF8","p-id":"4620"},null,-1),e.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:"#18AAF8","p-id":"4621"},null,-1),e.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:"#18AAF8","p-id":"4622"},null,-1)]))}const MC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vC,[["render",_C]])},Symbol.toStringTag,{value:"Module"})),SC={},xC={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 NC(n,A){return e.openBlock(),e.createElementBlock("svg",xC,A[0]||(A[0]=[e.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),e.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),e.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 FC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SC,[["render",NC]])},Symbol.toStringTag,{value:"Module"})),RC={},LC={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 GC(n,A){return e.openBlock(),e.createElementBlock("svg",LC,A[0]||(A[0]=[e.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),e.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 HC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RC,[["render",GC]])},Symbol.toStringTag,{value:"Module"})),PC={},KC={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 UC(n,A){return e.openBlock(),e.createElementBlock("svg",KC,A[0]||(A[0]=[e.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),e.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),e.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),e.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 TC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PC,[["render",UC]])},Symbol.toStringTag,{value:"Module"})),YC={},OC={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 $C(n,A){return e.openBlock(),e.createElementBlock("svg",OC,A[0]||(A[0]=[e.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),e.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 JC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(YC,[["render",$C]])},Symbol.toStringTag,{value:"Module"})),ZC={},zC={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 WC(n,A){return e.openBlock(),e.createElementBlock("svg",zC,A[0]||(A[0]=[e.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 jC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(ZC,[["render",WC]])},Symbol.toStringTag,{value:"Module"})),qC={},XC={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 VC(n,A){return e.openBlock(),e.createElementBlock("svg",XC,A[0]||(A[0]=[e.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),e.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),e.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 AE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(qC,[["render",VC]])},Symbol.toStringTag,{value:"Module"})),eE={},tE={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 nE(n,A){return e.openBlock(),e.createElementBlock("svg",tE,A[0]||(A[0]=[e.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),e.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 iE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(eE,[["render",nE]])},Symbol.toStringTag,{value:"Module"})),oE={},sE={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 rE(n,A){return e.openBlock(),e.createElementBlock("svg",sE,A[0]||(A[0]=[e.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 aE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(oE,[["render",rE]])},Symbol.toStringTag,{value:"Module"})),lE={},cE={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 gE(n,A){return e.openBlock(),e.createElementBlock("svg",cE,A[0]||(A[0]=[e.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 uE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(lE,[["render",gE]])},Symbol.toStringTag,{value:"Module"})),dE={},hE={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 pE(n,A){return e.openBlock(),e.createElementBlock("svg",hE,A[0]||(A[0]=[e.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 BE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(dE,[["render",pE]])},Symbol.toStringTag,{value:"Module"})),CE={},EE={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 QE(n,A){return e.openBlock(),e.createElementBlock("svg",EE,A[0]||(A[0]=[e.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),e.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),e.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(CE,[["render",QE]])},Symbol.toStringTag,{value:"Module"})),IE={},fE={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 wE(n,A){return e.openBlock(),e.createElementBlock("svg",fE,A[0]||(A[0]=[e.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),e.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),e.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),e.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 DE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(IE,[["render",wE]])},Symbol.toStringTag,{value:"Module"})),bE={},yE={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 vE(n,A){return e.openBlock(),e.createElementBlock("svg",yE,A[0]||(A[0]=[e.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),e.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),e.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),e.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),e.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const kE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(bE,[["render",vE]])},Symbol.toStringTag,{value:"Module"})),_E={},ME={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 SE(n,A){return e.openBlock(),e.createElementBlock("svg",ME,A[0]||(A[0]=[e.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const xE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(_E,[["render",SE]])},Symbol.toStringTag,{value:"Module"})),NE={},FE={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 RE(n,A){return e.openBlock(),e.createElementBlock("svg",FE,A[0]||(A[0]=[e.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),e.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 LE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(NE,[["render",RE]])},Symbol.toStringTag,{value:"Module"})),GE={},HE={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 PE(n,A){return e.openBlock(),e.createElementBlock("svg",HE,A[0]||(A[0]=[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clipPath6999889763"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),e.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[e.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 KE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(GE,[["render",PE]])},Symbol.toStringTag,{value:"Module"})),UE={},TE={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 YE(n,A){return e.openBlock(),e.createElementBlock("svg",TE,A[0]||(A[0]=[e.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 OE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(UE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={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 ZE(n,A){return e.openBlock(),e.createElementBlock("svg",JE,A[0]||(A[0]=[e.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 zE=Object.freeze(Object.defineProperty({__proto__:null,default:JA($E,[["render",ZE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={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 qE(n,A){return e.openBlock(),e.createElementBlock("svg",jE,A[0]||(A[0]=[e.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 XE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,A){return e.openBlock(),e.createElementBlock("svg",AQ,A[0]||(A[0]=[e.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 tQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,A){return e.openBlock(),e.createElementBlock("svg",iQ,A[0]||(A[0]=[e.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 sQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),rQ={},aQ={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 lQ(n,A){return e.openBlock(),e.createElementBlock("svg",aQ,A[0]||(A[0]=[e.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 cQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(rQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,A){return e.openBlock(),e.createElementBlock("svg",uQ,A[0]||(A[0]=[e.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 hQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={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 CQ(n,A){return e.openBlock(),e.createElementBlock("svg",BQ,A[0]||(A[0]=[e.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 EQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),QQ={},mQ={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 IQ(n,A){return e.openBlock(),e.createElementBlock("svg",mQ,A[0]||(A[0]=[e.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 fQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(QQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},DQ={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 bQ(n,A){return e.openBlock(),e.createElementBlock("svg",DQ,A[0]||(A[0]=[e.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 yQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(wQ,[["render",bQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={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 _Q(n,A){return e.openBlock(),e.createElementBlock("svg",kQ,A[0]||(A[0]=[e.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),e.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 MQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),SQ={},xQ={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 NQ(n,A){return e.openBlock(),e.createElementBlock("svg",xQ,A[0]||(A[0]=[e.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 FQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,A){return e.openBlock(),e.createElementBlock("svg",LQ,A[0]||(A[0]=[e.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 HQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),PQ={},KQ={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 UQ(n,A){return e.openBlock(),e.createElementBlock("svg",KQ,A[0]||(A[0]=[e.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 TQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PQ,[["render",UQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,A){return e.openBlock(),e.createElementBlock("svg",OQ,A[0]||(A[0]=[e.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 JQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),ZQ={},zQ={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 WQ(n,A){return e.openBlock(),e.createElementBlock("svg",zQ,A[0]||(A[0]=[e.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 jQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(ZQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,A){return e.openBlock(),e.createElementBlock("svg",XQ,A[0]||(A[0]=[e.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),e.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 Am=Object.freeze(Object.defineProperty({__proto__:null,default:JA(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),em={},tm={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 nm(n,A){return e.openBlock(),e.createElementBlock("svg",tm,A[0]||(A[0]=[e.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),e.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 im=Object.freeze(Object.defineProperty({__proto__:null,default:JA(em,[["render",nm]])},Symbol.toStringTag,{value:"Module"})),om={},sm={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 rm(n,A){return e.openBlock(),e.createElementBlock("svg",sm,A[0]||(A[0]=[e.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 am=Object.freeze(Object.defineProperty({__proto__:null,default:JA(om,[["render",rm]])},Symbol.toStringTag,{value:"Module"})),lm={},cm={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 gm(n,A){return e.openBlock(),e.createElementBlock("svg",cm,A[0]||(A[0]=[e.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 um=Object.freeze(Object.defineProperty({__proto__:null,default:JA(lm,[["render",gm]])},Symbol.toStringTag,{value:"Module"})),dm={},hm={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 pm(n,A){return e.openBlock(),e.createElementBlock("svg",hm,A[0]||(A[0]=[e.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),e.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 Bm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(dm,[["render",pm]])},Symbol.toStringTag,{value:"Module"})),Cm={},Em={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 Qm(n,A){return e.openBlock(),e.createElementBlock("svg",Em,A[0]||(A[0]=[e.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 mm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Cm,[["render",Qm]])},Symbol.toStringTag,{value:"Module"})),Im={},fm={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 wm(n,A){return e.openBlock(),e.createElementBlock("svg",fm,A[0]||(A[0]=[e.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 Dm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Im,[["render",wm]])},Symbol.toStringTag,{value:"Module"})),bm={},ym={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 vm(n,A){return e.openBlock(),e.createElementBlock("svg",ym,A[0]||(A[0]=[e.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 km=Object.freeze(Object.defineProperty({__proto__:null,default:JA(bm,[["render",vm]])},Symbol.toStringTag,{value:"Module"})),_m={},Mm={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 Sm(n,A){return e.openBlock(),e.createElementBlock("svg",Mm,A[0]||(A[0]=[e.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 xm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(_m,[["render",Sm]])},Symbol.toStringTag,{value:"Module"})),Nm={},Fm={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 Rm(n,A){return e.openBlock(),e.createElementBlock("svg",Fm,A[0]||(A[0]=[e.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),e.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 Lm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Nm,[["render",Rm]])},Symbol.toStringTag,{value:"Module"})),Gm={},Hm={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 Pm(n,A){return e.openBlock(),e.createElementBlock("svg",Hm,A[0]||(A[0]=[e.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 Km=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Gm,[["render",Pm]])},Symbol.toStringTag,{value:"Module"})),Um={},Tm={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 Ym(n,A){return e.openBlock(),e.createElementBlock("svg",Tm,A[0]||(A[0]=[e.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),e.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 Om=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Um,[["render",Ym]])},Symbol.toStringTag,{value:"Module"})),$m={},Jm={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 Zm(n,A){return e.openBlock(),e.createElementBlock("svg",Jm,A[0]||(A[0]=[e.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),e.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),e.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 zm=Object.freeze(Object.defineProperty({__proto__:null,default:JA($m,[["render",Zm]])},Symbol.toStringTag,{value:"Module"})),Wm={},jm={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 qm(n,A){return e.openBlock(),e.createElementBlock("svg",jm,A[0]||(A[0]=[e.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),e.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),e.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),e.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 Xm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Wm,[["render",qm]])},Symbol.toStringTag,{value:"Module"})),Vm={},AI={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 eI(n,A){return e.openBlock(),e.createElementBlock("svg",AI,A[0]||(A[0]=[e.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),e.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 tI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Vm,[["render",eI]])},Symbol.toStringTag,{value:"Module"})),nI={},iI={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 oI(n,A){return e.openBlock(),e.createElementBlock("svg",iI,A[0]||(A[0]=[e.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),e.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),e.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 sI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(nI,[["render",oI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={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 lI(n,A){return e.openBlock(),e.createElementBlock("svg",aI,A[0]||(A[0]=[e.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),e.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),e.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 cI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(rI,[["render",lI]])},Symbol.toStringTag,{value:"Module"})),gI={},uI={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 dI(n,A){return e.openBlock(),e.createElementBlock("svg",uI,A[0]||(A[0]=[e.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(gI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),pI={},BI={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 CI(n,A){return e.openBlock(),e.createElementBlock("svg",BI,A[0]||(A[0]=[e.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 EI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(pI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),QI={},mI={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 II(n,A){return e.openBlock(),e.createElementBlock("svg",mI,A[0]||(A[0]=[e.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 fI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(QI,[["render",II]])},Symbol.toStringTag,{value:"Module"})),wI={},DI={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 bI(n,A){return e.openBlock(),e.createElementBlock("svg",DI,A[0]||(A[0]=[e.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 yI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(wI,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),vI={},kI={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 _I(n,A){return e.openBlock(),e.createElementBlock("svg",kI,A[0]||(A[0]=[e.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),e.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 MI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vI,[["render",_I]])},Symbol.toStringTag,{value:"Module"})),SI={},xI={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 NI(n,A){return e.openBlock(),e.createElementBlock("svg",xI,A[0]||(A[0]=[e.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),e.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),e.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 FI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SI,[["render",NI]])},Symbol.toStringTag,{value:"Module"})),RI={},LI={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 GI(n,A){return e.openBlock(),e.createElementBlock("svg",LI,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),e.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),e.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),e.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 HI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RI,[["render",GI]])},Symbol.toStringTag,{value:"Module"})),PI={},KI={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 UI(n,A){return e.openBlock(),e.createElementBlock("svg",KI,A[0]||(A[0]=[e.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 TI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PI,[["render",UI]])},Symbol.toStringTag,{value:"Module"})),te=e.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":MC,"./icons/alert.vue":FC,"./icons/button.vue":HC,"./icons/card.vue":TC,"./icons/cascader.vue":JC,"./icons/checkbox.vue":jC,"./icons/clear.vue":AE,"./icons/collapse.vue":iE,"./icons/colorPicker.vue":aE,"./icons/copy.vue":uE,"./icons/custom.vue":BE,"./icons/datePicker.vue":mE,"./icons/delete.vue":DE,"./icons/design.vue":kE,"./icons/divider.vue":xE,"./icons/document.vue":LE,"./icons/dropdown.vue":KE,"./icons/esign.vue":OE,"./icons/eye.vue":zE,"./icons/formList.vue":XE,"./icons/github.vue":tQ,"./icons/grid.vue":sQ,"./icons/help.vue":cQ,"./icons/hidden.vue":hQ,"./icons/icon.vue":EQ,"./icons/inline.vue":fQ,"./icons/input.vue":yQ,"./icons/inputNumber.vue":MQ,"./icons/itemGroup.vue":FQ,"./icons/jsonEdit.vue":HQ,"./icons/library.vue":TQ,"./icons/markdown.vue":JQ,"./icons/move.vue":jQ,"./icons/password.vue":Am,"./icons/radio.vue":im,"./icons/rate.vue":am,"./icons/reduce.vue":um,"./icons/rich.vue":Bm,"./icons/save.vue":mm,"./icons/script.vue":Dm,"./icons/search.vue":km,"./icons/searchSelect.vue":xm,"./icons/select.vue":Lm,"./icons/slider.vue":Km,"./icons/switch.vue":Om,"./icons/tableEmpty.vue":zm,"./icons/tabs.vue":Xm,"./icons/tag.vue":tI,"./icons/text.vue":sI,"./icons/textarea.vue":cI,"./icons/title.vue":hI,"./icons/transfer.vue":EI,"./icons/trash.vue":fI,"./icons/tree.vue":yI,"./icons/upload.vue":MI,"./icons/uploadImage.vue":FI,"./icons/verifyCode.vue":HI,"./icons/vue.vue":TI})).reduce((i,[Q,w])=>{const a=Q.split("/").pop(),b=a==null?void 0:a.split(".")[0];return i[b]=w.default,i},{});return(i,Q)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t)[i.name]),e.mergeProps({class:e.unref(ke)("icon-render")},i.$attrs),null,16,["class"]))}}),YI={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"}]},OI={key:0},$I=e.defineComponent({__name:"Input",props:e.mergeModels({onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=e.useAttrs(),a=S=>{const f=["E","e","+","-"];w.type==="number"&&f.includes(S.key)&&S.preventDefault()},b=S=>{if(t.onInput&&i)try{i[t.onInput](Q,S)}catch(f){console.error(f)}};return(S,f)=>{const N=e.resolveComponent("el-input");return S.read?(e.openBlock(),e.createElementBlock("span",OI,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(N,e.mergeProps({key:1},S.$attrs,{class:`el-input--${S.$attrs.styleType} el-input`,modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=G=>A.value=G),onInput:b,onKeydown:a}),null,16,["class","modelValue"]))}}}),JI={title:"单行文本",component:"Input",icon:e.h(te,{name:"input"}),type:"basic",order:1,attrSchema:YI,render:$I},ZI={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}]},zI={title:"多行文本",component:"TextArea",icon:e.h(te,{name:"textarea"}),type:"basic",order:2,attrSchema:ZI,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>O1))},WI={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"}]},jI={title:"提示框",component:"Alert",icon:e.h(te,{name:"alert"}),type:"assist",order:2,attrSchema:WI,render:"ElAlert"},qI={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>z1)),icon:e.h(te,{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"}]}},XI={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"}]}]},VI={title:"级联选择器",icon:e.h(te,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:XI,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>W1))},Af={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}]},ef={title:"JSON编辑",component:"JsonEdit",icon:e.h(te,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Af,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>tk))},tf={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"},...Qs]},nf={title:"多选框组",icon:e.h(te,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ik)),order:4,attrSchema:tf},of={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"}]},sf={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(te,{name:"colorPicker"}),type:"basic",order:9,attrSchema:of},rf={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"}]},af={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>sk)),icon:e.h(te,{name:"colorPicker"}),type:"high",order:2,attrSchema:rf},lf={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"}]},cf={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ak)),icon:e.h(te,{name:"custom"}),type:"high",order:99,attrSchema:lf},gf={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"}]}}]},uf={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ck)),icon:e.h(te,{name:"datePicker"}),type:"basic",order:9,attrSchema:gf},df={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"}]},hf={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>gk)),icon:e.h(te,{name:"divider"}),type:"assist",order:6,attrSchema:df},pf={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"}]},Bf={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Qk)),icon:e.h(te,{name:"esign"}),type:"basic",order:11,attrSchema:pf},Cf={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"},...Qs]},Ef={title:"单选框组",icon:e.h(te,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ik)),order:3.5,attrSchema:Cf},Qf={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"}]},mf={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>vk)),icon:e.h(te,{name:"formList"}),type:"high",order:20,attrSchema:Qf},If={title:"栅格布局",type:"layout",icon:e.h(te,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>kk)),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"}]}}]}},ff={title:"行内布局",icon:e.h(te,{name:"inline"}),type:"layout",component:"Inline",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>_k)),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"}]}},wf={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"}]},Df={title:"计数器",icon:e.h(te,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Sk)),attrSchema:wf},bf={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"}]},yf={key:0},vf={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=ut();return(i,Q)=>{var a;const w=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",yf,e.toDisplayString((a=A.value)==null?void 0:a.replace(/./g,"*")),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:e.h(te,{name:"password"}),type:"basic",order:3,attrSchema:bf},kf={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"},...Qs]},_f={title:"下拉选择框",type:"basic",icon:e.h(te,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Fk)),order:3,attrSchema:kf},Mf={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"}]},Sf={title:"评分",component:"Rate",render:"ElRate",icon:e.h(te,{name:"rate"}),type:"basic",order:12,attrSchema:Mf},xf={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"}}]},Nf={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Lk)),icon:e.h(te,{name:"input"}),type:"high",order:1,attrSchema:xf},Ff={title:"滑块",render:"ElSlider",component:"Slider",icon:e.h(te,{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}]}},Rf={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}]}}]},Lf={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Gk)),component:"Switch",icon:e.h(te,{name:"switch"}),type:"basic",order:8,attrSchema:Rf},Gf={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Hk)),icon:e.h(te,{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"}]}}]}},Hf={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"}]},Pf={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Pk)),icon:e.h(te,{name:"text"}),type:"assist",order:1,attrSchema:Hf},Kf={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Kk)),icon:e.h(te,{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"}]}},Uf={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"}]}}]},Tf={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Yk)),icon:e.h(te,{name:"upload"}),type:"basic",order:10,attrSchema:Uf},Yf={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"}]},Of={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Zk)),icon:e.h(te,{name:"verifyCode"}),type:"high",order:18,attrSchema:Yf},$f={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>zk)),icon:e.h(te,{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"}]}},Jf={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Wk)),icon:e.h(te,{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"}]}},Zf={title:"对象容器",icon:e.h(te,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Xk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},zf={},Wf={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 jf(n,A){return e.openBlock(),e.createElementBlock("svg",Wf,A[0]||(A[0]=[e.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 qf=JA(zf,[["render",jf]]),Xf={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"}}]},Vf={key:0},Aw={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=ut(),i=e.useModel(n,"modelValue"),Q=w=>{const a=w.map(b=>A.data.find(S=>S.key===b));t.updateSelectData(A.name,a)};return(w,a)=>{var S;const b=e.resolveComponent("el-transfer");return e.unref(t).read?(e.openBlock(),e.createElementBlock("div",Vf,e.toDisplayString((S=i.value)==null?void 0:S.map(f=>{var N;return(N=w.data.find(G=>G.key===f))==null?void 0:N.label}).join("、")),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},w.$attrs,{data:w.data,onChange:Q,modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=f=>i.value=f)}),null,16,["data","modelValue"]))}}}),icon:qf,type:"basic",order:12,attrSchema:Xf},ew={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"}]},tw={key:0},nw=JA(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=S=>{if(t.onInput&&i)try{i[t.onInput](Q,S)}catch(f){console.error(f)}},a=()=>{if(t.onSearch&&i)try{i[t.onSearch](Q)}catch(S){console.error(S)}},b=()=>{if(t.onClear&&i)try{i[t.onClear](Q)}catch(S){console.error(S)}};return(S,f)=>{const N=e.resolveComponent("el-button"),G=e.resolveComponent("el-input");return S.read?(e.openBlock(),e.createElementBlock("span",tw,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(G,e.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=K=>A.value=K),onInput:w,disabled:S.disabled}),{append:e.withCtx(()=>[e.createVNode(N,{onClick:a,disabled:S.disabled},{default:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"search"})]),_:1},8,["disabled"])]),suffix:e.withCtx(()=>[S.onClear&&A.value&&!S.disabled?(e.openBlock(),e.createBlock(e.unref(te),{key:0,name:"clear",onClick:b,class:"clear-icon"})):e.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-82f56229"]]),iw={title:"搜索输入",component:"SearchInput",icon:e.h(te,{name:"search"}),type:"high",order:5,attrSchema:ew,render:nw},ow={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"},...Qs]},sw={title:"选择+搜索",type:"high",icon:e.h(te,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n_)),order:3,attrSchema:ow},rw={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"}]},aw=["xlink:href"],$e=JA(e.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,t=e.computed(()=>A.color?{color:A.color}:void 0);return(i,Q)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,aw)],6))}}),[["__scopeId","data-v-3107108f"]]),lw=JA(e.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.ref(!1),w=async()=>{if(A.onClick&&t){try{Q.value=!0,await t[A.onClick](i)}catch(a){console.error(a)}Q.value=!1}};return(a,b)=>{const S=e.resolveComponent("el-button");return a.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(S,e.mergeProps({key:0},a.$attrs,{onClick:w,color:a.orange?"#FAA21E":"",class:{orangeBtn:a.orange},plain:!a.orange&&a.$attrs.type!=="primary",loading:Q.value}),{default:e.withCtx(()=>[a.icon?(e.openBlock(),e.createBlock($e,{key:0,name:a.icon.name,color:a.icon.color,class:e.normalizeClass({btnicon:a.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(a.buttonText),1)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-a2081a25"]]),cw={title:"按钮",component:"Button",icon:e.h(te,{name:"button"}),type:"assist",order:1,attrSchema:rw,render:lw},gw={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"}]},uw={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>a_)),icon:e.h(te,{name:"tree"}),type:"assist",order:7,attrSchema:gw},dw={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"}]},hw={title:"表格",component:"Table",icon:e.h(te,{name:"library"}),type:"assist",order:8,attrSchema:dw,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>h_))},pw={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>I_)),icon:e.h(te,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Bw={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>f_)),icon:e.h(te,{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"}]}},Cw={class:"card-list-item"},Ew={class:"card-list-item-header"},Qw={class:"card-list-item-header-title"},mw={style:{display:"ruby"}},Iw=["title"],fw=["title"],ww={key:0,class:"card-list-item-header-title__sub"},Dw={class:"card-list-item-header-btns"},bw=["onClick"],yw={class:"card-list-item-content"},vw={class:"card-list-item-content-item-label"},kw={class:"card-list-item-content-item-value"},_w={key:0,class:"card-list-item-footer"},Mw={class:"card-list-item-footer-text"},Ug=JA(e.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.inject("getGlobalParams",()=>{}),w=a=>{if(a)try{t[a](i,A.data.originalData,A.index)}catch(b){console.error(b)}};return(a,b)=>{const S=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Cw,[e.createElementVNode("div",Ew,[e.createElementVNode("div",Qw,[e.createElementVNode("div",mw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.data.tag,f=>(e.openBlock(),e.createElementBlock("div",{key:f.label,class:"card-list-item-header-title__tag",style:e.normalizeStyle({color:f.color}),title:f.value},e.toDisplayString(f.value),13,Iw))),128))]),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-header-title__text",{"link-style":a.data.titleType==="link"}]),style:e.normalizeStyle({color:a.data.titleColor}),title:a.data.title,onClick:b[0]||(b[0]=f=>w(a.data.onClick))},e.toDisplayString(a.data.title),15,fw),a.data.subTitle?(e.openBlock(),e.createElementBlock("div",ww,[e.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:e.normalizeStyle({backgroundColor:a.data.subTitleColor||"#3EBF17"})},null,4),e.createElementVNode("span",null,e.toDisplayString(a.data.subTitle),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.btns,(f,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[f.condition===void 0||f.condition===null||e.unref(zt)(f.condition,{$row:a.data.originalData,$globalParams:e.unref(Q)()})?(e.openBlock(),e.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:G=>w(f.onClick)},[f.label?(e.openBlock(),e.createBlock(S,{key:0,class:"box-item",effect:"dark",content:f.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[e.createVNode($e,{name:f.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,name:f.icon},null,8,["name"]))],8,bw)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",yw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.data.content,f=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:f.label},[e.createElementVNode("div",vw,e.toDisplayString(f.label)+":",1),e.createElementVNode("div",kw,e.toDisplayString(f.value||"- -"),1)]))),128))]),a.data.footer?(e.openBlock(),e.createElementBlock("div",_w,[e.createVNode($e,{name:a.data.footer.icon},null,8,["name"]),e.createElementVNode("span",Mw,e.toDisplayString(a.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-1dfad32d"]]),Sw={key:0,class:"empty-content"},ms=JA(e.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:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,t=e.computed(()=>A.rowBtns?A.rowBtns.map(S=>({condition:S.condition,icon:S.icon&&S.icon.name?S.icon.name:"icon-tishi",label:S.label,onClick:S.onClick})):[]),i=A.columns.find(S=>S.position==="title"),Q=A.columns.find(S=>S.position==="subTitle"),w=A.columns.find(S=>S.position==="footer");A.columns.find(S=>S.position==="tag");const a=e.computed(()=>{const S=A.columns.find(f=>f.type==="link"&&f.onClick);return A.data?A.data.map(f=>{const N={content:[],tag:[],originalData:f};if(i&&S&&S.key===i.key&&(N.titleType="link",N.onClick=S.onClick),i&&(N.title=A.getColText(i,f)),Q&&(N.subTitle=A.getColText(Q,f),N.subTitleColor=f[Q.key+"Color"]),w){const G=A.getColText(w,f);N.footer={icon:w.footerIcon||"icon-tishi",text:`${w.label}: ${G||"- -"}`}}return A.columns.forEach(G=>{G.position==="content"?N.content.push({label:G.label,value:A.getColText(G,f)}):G.position==="tag"&&N.tag.push({label:G.label,value:A.getColText(G,f)})}),N}):[]}),b=e.inject(gn);return b&&b.translateFn,(S,f)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":S.gridColumns,"--gap":S.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(N,G)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:G},[e.createVNode(Ug,{data:N,btns:t.value,index:G},null,8,["data","btns","index"])]))),128))],4),!S.data||S.data.length===0?(e.openBlock(),e.createElementBlock("div",Sw,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),f[0]||(f[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-d7c09f63"]]),xw={title:"卡片列表",component:"CardList",render:ms,icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Nw={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>N_)),icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Fw={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>H_)),icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Rw={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>$_)),icon:e.h(te,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},Lw=Object.freeze(Object.defineProperty({__proto__:null,Alert:jI,Button:cw,Card:qI,CardList:xw,Cascader:VI,Checkbox:nf,Collapse:$f,ColorInput:af,ColorPicker:sf,CurdCard:pw,Custom:cf,DatePicker:uf,Divider:hf,Esign:Bf,FormList:mf,Grid:If,Inline:ff,Input:JI,InputNumber:Df,JsonEdit:ef,LogList:Rw,ObjGroup:Zf,OfferDetails:Nw,OrderProgress:Fw,Password:vf,Radio:Ef,Rate:Sf,SearchInput:iw,SearchSelect:sw,Select:_f,SelectInput:Nf,Slider:Ff,Switch:Lf,Table:hw,Tabs:Jf,Tag:Gf,Text:Pf,TextArea:zI,Title:Kf,Transfer:Aw,Tree:uw,Upload:Tf,VerifyCode:Of,Wrapper:Bw},Symbol.toStringTag,{value:"Module"})),Fi=()=>{const n=e.inject(gn),A={...Lw};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Wt=()=>e.inject(Rg),Gw=e.defineComponent({__name:"Footer",setup(n){const A=ut(),t=e.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(i,Q)=>{const w=e.resolveComponent("el-button");return e.unref(A).footer?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.value)},[e.createVNode(w,{type:"primary",onClick:e.unref(A).submit,name:"submit-btn"},{default:e.withCtx(()=>Q[1]||(Q[1]=[e.createTextVNode("提交")])),_:1},8,["onClick"]),e.createVNode(w,{onClick:Q[0]||(Q[0]=()=>e.unref(A).resetFields()),name:"reset-btn"},{default:e.withCtx(()=>Q[2]||(Q[2]=[e.createTextVNode("重置")])),_:1})],4)):e.createCommentVNode("",!0)}}}),Hw=JA(e.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,t)=>A.disabled?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=e.createElementVNode("div",{class:"mask"},null,-1)),e.renderSlot(A.$slots,"default",{},void 0,!0)],16)):e.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let li=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Qa=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function Pw(){return 2147483648}function Kw(){return typeof performance<"u"?performance.now():Date.now()}const Uw=(n,A)=>n+(A-n%A)%A;async function Tw(n){let A,t;const i={};function Q(J){t=J,i.HEAPU8=new Uint8Array(J),i.HEAPU32=new Uint32Array(J)}function w(J,T,P){i.HEAPU8.copyWithin(J,T,T+P)}function a(J){try{return A.grow(J-t.byteLength+65535>>>16),Q(A.buffer),1}catch{}}function b(J){const T=i.HEAPU8.length;J=J>>>0;const P=Pw();if(J>P)return!1;for(let _=1;_<=4;_*=2){let m=T*(1+.2/_);m=Math.min(m,J+100663296);const L=Math.min(P,Uw(Math.max(J,m),65536));if(a(L))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(J,T,P=1024){const _=T+P;let m=T;for(;J[m]&&!(m>=_);)++m;if(m-T>16&&J.buffer&&S)return S.decode(J.subarray(T,m));let L="";for(;T<m;){let k=J[T++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=J[T++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const C=J[T++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|C:k=(k&7)<<18|y<<12|C<<6|J[T++]&63,k<65536)L+=String.fromCharCode(k);else{const u=k-65536;L+=String.fromCharCode(55296|u>>10,56320|u&1023)}}return L}function N(J,T){return J?f(i.HEAPU8,J,T):""}const G={emscripten_get_now:Kw,emscripten_memcpy_big:w,emscripten_resize_heap:b,fd_write:()=>0};async function K(){const T=await n({env:G,wasi_snapshot_preview1:G});A=T.memory,Q(A.buffer),Object.assign(i,T),i.UTF8ToString=N}return await K(),i}let dt=null;function Yw(n){throw new Qa(n.UTF8ToString(n.getLastOnigError()))}class Is{constructor(A){Ze(this,"utf16Length");Ze(this,"utf8Length");Ze(this,"utf16Value");Ze(this,"utf8Value");Ze(this,"utf16OffsetToUtf8");Ze(this,"utf8OffsetToUtf16");const t=A.length,i=Is._utf8ByteLength(A),Q=i!==t,w=Q?new Uint32Array(t+1):null;Q&&(w[t]=i);const a=Q?new Uint32Array(i+1):null;Q&&(a[i]=t);const b=new Uint8Array(i);let S=0;for(let f=0;f<t;f++){const N=A.charCodeAt(f);let G=N,K=!1;if(N>=55296&&N<=56319&&f+1<t){const J=A.charCodeAt(f+1);J>=56320&&J<=57343&&(G=(N-55296<<10)+65536|J-56320,K=!0)}Q&&(w[f]=S,K&&(w[f+1]=S),G<=127?a[S+0]=f:G<=2047?(a[S+0]=f,a[S+1]=f):G<=65535?(a[S+0]=f,a[S+1]=f,a[S+2]=f):(a[S+0]=f,a[S+1]=f,a[S+2]=f,a[S+3]=f)),G<=127?b[S++]=G:G<=2047?(b[S++]=192|(G&1984)>>>6,b[S++]=128|(G&63)>>>0):G<=65535?(b[S++]=224|(G&61440)>>>12,b[S++]=128|(G&4032)>>>6,b[S++]=128|(G&63)>>>0):(b[S++]=240|(G&1835008)>>>18,b[S++]=128|(G&258048)>>>12,b[S++]=128|(G&4032)>>>6,b[S++]=128|(G&63)>>>0),K&&f++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=w,this.utf8OffsetToUtf16=a}static _utf8ByteLength(A){let t=0;for(let i=0,Q=A.length;i<Q;i++){const w=A.charCodeAt(i);let a=w,b=!1;if(w>=55296&&w<=56319&&i+1<Q){const S=A.charCodeAt(i+1);S>=56320&&S<=57343&&(a=(w-55296<<10)+65536|S-56320,b=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,b&&i++}return t}createString(A){const t=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,t),t}}const xt=class xt{constructor(A){Ze(this,"id",++xt.LAST_ID);Ze(this,"_onigBinding");Ze(this,"content");Ze(this,"utf16Length");Ze(this,"utf8Length");Ze(this,"utf16OffsetToUtf8");Ze(this,"utf8OffsetToUtf16");Ze(this,"ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");this._onigBinding=dt,this.content=A;const t=new Is(A);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!xt._sharedPtrInUse?(xt._sharedPtr||(xt._sharedPtr=dt.omalloc(1e4)),xt._sharedPtrInUse=!0,dt.HEAPU8.set(t.utf8Value,xt._sharedPtr),this.ptr=xt._sharedPtr):this.ptr=t.createString(dt)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===xt._sharedPtr?xt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ze(xt,"LAST_ID",0),Ze(xt,"_sharedPtr",0),Ze(xt,"_sharedPtrInUse",!1);let fs=xt;class Ow{constructor(A){Ze(this,"_onigBinding");Ze(this,"_ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,S=A.length;b<S;b++){const f=new Is(A[b]);t[b]=f.createString(dt),i[b]=f.utf8Length}const Q=dt.omalloc(4*A.length);dt.HEAPU32.set(t,Q/4);const w=dt.omalloc(4*A.length);dt.HEAPU32.set(i,w/4);const a=dt.createOnigScanner(Q,w,A.length);for(let b=0,S=A.length;b<S;b++)dt.ofree(t[b]);dt.ofree(w),dt.ofree(Q),a===0&&Yw(dt),this._onigBinding=dt,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,t,i){let Q=0;if(typeof i=="number"&&(Q=i),typeof A=="string"){A=new fs(A);const w=this._findNextMatchSync(A,t,!1,Q);return A.dispose(),w}return this._findNextMatchSync(A,t,!1,Q)}_findNextMatchSync(A,t,i,Q){const w=this._onigBinding,a=w.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(t),Q);if(a===0)return null;const b=w.HEAPU32;let S=a/4;const f=b[S++],N=b[S++],G=[];for(let K=0;K<N;K++){const J=A.convertUtf8OffsetToUtf16(b[S++]),T=A.convertUtf8OffsetToUtf16(b[S++]);G[K]={start:J,end:T,length:T-J}}return{index:f,captureIndices:G}}}function $w(n){return typeof n.instantiator=="function"}function Jw(n){return typeof n.default=="function"}function Zw(n){return typeof n.data<"u"}function zw(n){return typeof Response<"u"&&n instanceof Response}function Ww(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let ws;function jw(n){if(ws)return ws;async function A(){dt=await Tw(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),$w(i)?i=await i.instantiator(t):Jw(i)?i=await i.default(t):(Zw(i)&&(i=i.data),zw(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await qw(i)(t):i=await Xw(i)(t):Ww(i)?i=await ma(i)(t):i instanceof WebAssembly.Module?i=await ma(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await ma(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return ws=A(),ws}function ma(n){return A=>WebAssembly.instantiate(n,A)}function qw(n){return A=>WebAssembly.instantiateStreaming(n,A)}function Xw(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let Vw;function A0(){return Vw}async function e0(n){return n&&await jw(n),{createScanner(A){return new Ow(A)},createString(A){return new fs(A)}}}function t0(n){return Ia(n)}function Ia(n){return Array.isArray(n)?n0(n):typeof n=="object"?i0(n):n}function n0(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=Ia(n[t]);return A}function i0(n){let A={};for(let t in n)A[t]=Ia(n[t]);return A}function Tg(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Yg(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Yg(n.substring(0,n.length-1)):n.substr(~A+1)}var fa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ds=class{static hasCaptures(n){return n===null?!1:(fa.lastIndex=0,fa.test(n))}static replaceCaptures(n,A,t){return n.replace(fa,(i,Q,w,a)=>{let b=t[parseInt(Q||w,10)];if(b){let S=A.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(a){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return i})}};function Og(n,A){return n<A?-1:n>A?1:0}function $g(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let t=n.length,i=A.length;if(t===i){for(let Q=0;Q<t;Q++){let w=Og(n[Q],A[Q]);if(w!==0)return w}return 0}return t-i}function Jg(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 Zg(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zg=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},bs=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new zg(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(r0(n),A)}static createFromParsedTheme(n,A){return l0(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,i=this._cachedMatchRoot.get(A).find(Q=>o0(n.parent,Q.parentScopes));return i?new Wg(i.fontStyle,i.foreground,i.background):null}},wa=class Yr{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new Yr(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new Yr(t,A[i]);return t}push(A){return new Yr(this,A)}getSegments(){let A=this;const t=[];for(;A;)t.push(A.scopeName),A=A.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const t=[];let i=this;for(;i&&i!==A;)t.push(i.scopeName),i=i.parent;return i===A?t.reverse():void 0}};function o0(n,A){if(A.length===0)return!0;for(let t=0;t<A.length;t++){let i=A[t],Q=!1;if(i===">"){if(t===A.length-1)return!1;i=A[++t],Q=!0}for(;n&&!s0(n.scopeName,i);){if(Q)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function s0(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Wg=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function r0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,t=[],i=0;for(let Q=0,w=A.length;Q<w;Q++){let a=A[Q];if(!a.settings)continue;let b;if(typeof a.scope=="string"){let G=a.scope;G=G.replace(/^[,]+/,""),G=G.replace(/[,]+$/,""),b=G.split(",")}else Array.isArray(a.scope)?b=a.scope:b=[""];let S=-1;if(typeof a.settings.fontStyle=="string"){S=0;let G=a.settings.fontStyle.split(" ");for(let K=0,J=G.length;K<J;K++)switch(G[K]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof a.settings.foreground=="string"&&Jg(a.settings.foreground)&&(f=a.settings.foreground);let N=null;typeof a.settings.background=="string"&&Jg(a.settings.background)&&(N=a.settings.background);for(let G=0,K=b.length;G<K;G++){let T=b[G].trim().split(" "),P=T[T.length-1],_=null;T.length>1&&(_=T.slice(0,T.length-1),_.reverse()),t[i++]=new a0(P,_,Q,S,f,N)}}return t}var a0=class{constructor(n,A,t,i,Q,w){this.scope=n,this.parentScopes=A,this.index=t,this.fontStyle=i,this.foreground=Q,this.background=w}},vn=(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))(vn||{});function l0(n,A){n.sort((S,f)=>{let N=Og(S.scope,f.scope);return N!==0||(N=$g(S.parentScopes,f.parentScopes),N!==0)?N:S.index-f.index});let t=0,i="#000000",Q="#ffffff";for(;n.length>=1&&n[0].scope==="";){let S=n.shift();S.fontStyle!==-1&&(t=S.fontStyle),S.foreground!==null&&(i=S.foreground),S.background!==null&&(Q=S.background)}let w=new c0(A),a=new Wg(t,w.getId(i),w.getId(Q)),b=new u0(new Da(0,null,-1,0,0),[]);for(let S=0,f=n.length;S<f;S++){let N=n[S];b.insert(0,N.scope,N.parentScopes,N.fontStyle,w.getId(N.foreground),w.getId(N.background))}return new bs(w,a,b)}var c0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,t=n.length;A<t;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},g0=Object.freeze([]),Da=class eB{constructor(A,t,i,Q,w){this.scopeDepth=A,this.parentScopes=t||g0,this.fontStyle=i,this.foreground=Q,this.background=w}clone(){return new eB(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let t=[];for(let i=0,Q=A.length;i<Q;i++)t[i]=A[i].clone();return t}acceptOverwrite(A,t,i,Q){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),Q!==0&&(this.background=Q)}},u0=class wc{constructor(A,t=[],i={}){this._mainRule=A,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(A,t){if(A.scopeDepth!==t.scopeDepth)return t.scopeDepth-A.scopeDepth;let i=0,Q=0;for(;A.parentScopes[i]===">"&&i++,t.parentScopes[Q]===">"&&Q++,!(i>=A.parentScopes.length||Q>=t.parentScopes.length);){const w=t.parentScopes[Q].length-A.parentScopes[i].length;if(w!==0)return w;i++,Q++}return t.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let i=A.indexOf("."),Q,w;if(i===-1?(Q=A,w=""):(Q=A.substring(0,i),w=A.substring(i+1)),this._children.hasOwnProperty(Q))return this._children[Q].match(w)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(wc._cmpBySpecificity),t}insert(A,t,i,Q,w,a){if(t===""){this._doInsertHere(A,i,Q,w,a);return}let b=t.indexOf("."),S,f;b===-1?(S=t,f=""):(S=t.substring(0,b),f=t.substring(b+1));let N;this._children.hasOwnProperty(S)?N=this._children[S]:(N=new wc(this._mainRule.clone(),Da.cloneArr(this._rulesWithParentScopes)),this._children[S]=N),N.insert(A+1,f,i,Q,w,a)}_doInsertHere(A,t,i,Q,w){if(t===null){this._mainRule.acceptOverwrite(A,i,Q,w);return}for(let a=0,b=this._rulesWithParentScopes.length;a<b;a++){let S=this._rulesWithParentScopes[a];if($g(S.parentScopes,t)===0){S.acceptOverwrite(A,i,Q,w);return}}i===-1&&(i=this._mainRule.fontStyle),Q===0&&(Q=this._mainRule.foreground),w===0&&(w=this._mainRule.background),this._rulesWithParentScopes.push(new Da(A,t,i,Q,w))}},Ri=class cn{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const t=cn.getLanguageId(A),i=cn.getTokenType(A),Q=cn.getFontStyle(A),w=cn.getForeground(A),a=cn.getBackground(A);console.log({languageId:t,tokenType:i,fontStyle:Q,foreground:w,background:a})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,t,i,Q,w,a,b){let S=cn.getLanguageId(A),f=cn.getTokenType(A),N=cn.containsBalancedBrackets(A)?1:0,G=cn.getFontStyle(A),K=cn.getForeground(A),J=cn.getBackground(A);return t!==0&&(S=t),i!==8&&(f=i),Q!==null&&(N=Q?1:0),w!==-1&&(G=w),a!==0&&(K=a),b!==0&&(J=b),(S<<0|f<<8|N<<10|G<<11|K<<15|J<<24)>>>0}};function pR(n){return n}function BR(n){return n}function ys(n,A){const t=[],i=d0(n);let Q=i.next();for(;Q!==null;){let S=0;if(Q.length===2&&Q.charAt(1)===":"){switch(Q.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${Q} in scope selector`)}Q=i.next()}let f=a();if(t.push({matcher:f,priority:S}),Q!==",")break;Q=i.next()}return t;function w(){if(Q==="-"){Q=i.next();const S=w();return f=>!!S&&!S(f)}if(Q==="("){Q=i.next();const S=b();return Q===")"&&(Q=i.next()),S}if(jg(Q)){const S=[];do S.push(Q),Q=i.next();while(jg(Q));return f=>A(S,f)}return null}function a(){const S=[];let f=w();for(;f;)S.push(f),f=w();return N=>S.every(G=>G(N))}function b(){const S=[];let f=a();for(;f&&(S.push(f),Q==="|"||Q===",");){do Q=i.next();while(Q==="|"||Q===",");f=a()}return N=>S.some(G=>G(N))}}function jg(n){return!!n&&!!n.match(/[\w\.:]+/)}function d0(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=A.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=A.exec(n),i}}}function qg(n){typeof n.dispose=="function"&&n.dispose()}var Co=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},h0=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},p0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},B0=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Co(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new p0;for(const t of n)C0(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Co){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 C0(n,A,t,i){const Q=t.lookup(n.scopeName);if(!Q){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const w=t.lookup(A);n instanceof Co?vs({baseGrammar:w,selfGrammar:Q},i):ba(n.ruleName,{baseGrammar:w,selfGrammar:Q,repository:Q.repository},i);const a=t.injections(n.scopeName);if(a)for(const b of a)i.add(new Co(b))}function ba(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];ks([i],A,t)}}function vs(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ks(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&ks(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function ks(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const Q=i.repository?Tg({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&ks(i.patterns,{...A,repository:Q},t);const w=i.include;if(!w)continue;const a=Xg(w);switch(a.kind){case 0:vs({...A,selfGrammar:A.baseGrammar},t);break;case 1:vs(A,t);break;case 2:ba(a.ruleName,{...A,repository:Q},t);break;case 3:case 4:const b=a.scopeName===A.selfGrammar.scopeName?A.selfGrammar:a.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const S={baseGrammar:A.baseGrammar,selfGrammar:b,repository:Q};a.kind===4?ba(a.ruleName,S,t):vs(S,t)}else a.kind===4?t.add(new h0(a.scopeName,a.ruleName)):t.add(new Co(a.scopeName));break}}}var E0=class{constructor(){this.kind=0}},Q0=class{constructor(){this.kind=1}},m0=class{constructor(n){this.ruleName=n,this.kind=2}},I0=class{constructor(n){this.scopeName=n,this.kind=3}},f0=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Xg(n){if(n==="$base")return new E0;if(n==="$self")return new Q0;const A=n.indexOf("#");if(A===-1)return new I0(n);if(A===0)return new m0(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new f0(t,i)}}var w0=/\\(\d+)/,Vg=/\\(\d+)/g,D0=-1,Au=-2;function CR(n){return n}function ER(n){return n}var Eo=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=Ds.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ds.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Yg(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:Ds.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ds.replaceCaptures(this._contentName,n,A)}},b0=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,i),this.retokenizeCapturedWithRuleId=Q}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,t,i){throw new Error("Not supported!")}},y0=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,null),this._match=new Qo(i,this.id),this.captures=Q,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eu=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,i),this.patterns=Q.patterns,this.hasMissingPatterns=Q.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const t of this.patterns)n.getRule(t).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ya=class extends Eo{constructor(n,A,t,i,Q,w,a,b,S,f){super(n,A,t,i),this._begin=new Qo(Q,this.id),this.beginCaptures=w,this._end=new Qo(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n,A).compileAG(n,t,i)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;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,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},_s=class extends Eo{constructor(n,A,t,i,Q,w,a,b,S){super(n,A,t,i),this._begin=new Qo(Q,this.id),this.beginCaptures=w,this.whileCaptures=b,this._while=new Qo(a,Au),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.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,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,t,i){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new mo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},tu=class ft{static createCaptureRule(A,t,i,Q,w){return A.registerRule(a=>new b0(t,a,i,Q,w))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(Q=>{if(A.id=Q,A.match)return new y0(A.$vscodeTextmateLocation,A.id,A.name,A.match,ft._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Tg({},i,A.repository));let w=A.patterns;return typeof w>"u"&&A.include&&(w=[{include:A.include}]),new eu(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,ft._compilePatterns(w,t,i))}return A.while?new _s(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,ft._compileCaptures(A.whileCaptures||A.captures,t,i),ft._compilePatterns(A.patterns,t,i)):new ya(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,ft._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,ft._compilePatterns(A.patterns,t,i))}),A.id}static _compileCaptures(A,t,i){let Q=[];if(A){let w=0;for(const a in A){if(a==="$vscodeTextmateLocation")continue;const b=parseInt(a,10);b>w&&(w=b)}for(let a=0;a<=w;a++)Q[a]=null;for(const a in A){if(a==="$vscodeTextmateLocation")continue;const b=parseInt(a,10);let S=0;A[a].patterns&&(S=ft.getCompiledRuleId(A[a],t,i)),Q[b]=ft.createCaptureRule(t,A[a].$vscodeTextmateLocation,A[a].name,A[a].contentName,S)}}return Q}static _compilePatterns(A,t,i){let Q=[];if(A)for(let w=0,a=A.length;w<a;w++){const b=A[w];let S=-1;if(b.include){const f=Xg(b.include);switch(f.kind){case 0:case 1:S=ft.getCompiledRuleId(i[b.include],t,i);break;case 2:let N=i[f.ruleName];N&&(S=ft.getCompiledRuleId(N,t,i));break;case 3:case 4:const G=f.scopeName,K=f.kind===4?f.ruleName:null,J=t.getExternalGrammar(G,i);if(J)if(K){let T=J.repository[K];T&&(S=ft.getCompiledRuleId(T,t,J.repository))}else S=ft.getCompiledRuleId(J.repository.$self,t,J.repository);break}}else S=ft.getCompiledRuleId(b,t,i);if(S!==-1){const f=t.getRule(S);let N=!1;if((f instanceof eu||f instanceof ya||f instanceof _s)&&f.hasMissingPatterns&&f.patterns.length===0&&(N=!0),N)continue;Q.push(S)}}return{patterns:Q,hasMissingPatterns:(A?A.length:0)!==Q.length}}},Qo=class tB{constructor(A,t){if(A){const i=A.length;let Q=0,w=[],a=!1;for(let b=0;b<i;b++)if(A.charAt(b)==="\\"&&b+1<i){const f=A.charAt(b+1);f==="z"?(w.push(A.substring(Q,b)),w.push("$(?!\\n)(?<!\\n)"),Q=b+2):(f==="A"||f==="G")&&(a=!0),b++}this.hasAnchor=a,Q===0?this.source=A:(w.push(A.substring(Q,i)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=w0.test(this.source)}clone(){return new tB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,t){let i=t.map(Q=>A.substring(Q.start,Q.end));return Vg.lastIndex=0,this.source.replace(Vg,(Q,w)=>Zg(i[parseInt(w,10)]||""))}_buildAnchorCache(){let A=[],t=[],i=[],Q=[],w,a,b,S;for(w=0,a=this.source.length;w<a;w++)b=this.source.charAt(w),A[w]=b,t[w]=b,i[w]=b,Q[w]=b,b==="\\"&&w+1<a&&(S=this.source.charAt(w+1),S==="A"?(A[w+1]="",t[w+1]="",i[w+1]="A",Q[w+1]="A"):S==="G"?(A[w+1]="",t[w+1]="G",i[w+1]="",Q[w+1]="G"):(A[w+1]=S,t[w+1]=S,i[w+1]=S,Q[w+1]=S),w++);return{A0_G0:A.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:Q.join("")}}resolveAnchors(A,t){return!this.hasAnchor||!this._anchorCache?this.source:A?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},mo=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,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(t=>t.source);this._cached=new nu(n,A,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,A,t){return this._hasAnchors?A?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,t){let i=this._items.map(Q=>Q.resolveAnchors(A,t));return new nu(n,i,this._items.map(Q=>Q.ruleId))}},nu=class{constructor(n,A,t){this.regExps=A,this.rules=t,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,t=this.rules.length;A<t;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
|
|
80
|
+
`)},n.prototype.classes=function(A){var t=go(this.element)?Array.from(this.element.classList):[];return A?t.includes(A):t},n.prototype.attributes=function(A){var t={};if(go(this.element))for(var i=Array.from(this.element.attributes),Q=0,w=i;Q<w.length;Q++){var a=w[Q];t[a.localName]=a.value}return A?t[A]:t},n.prototype.text=function(){return this.getRootNodes().map(RB).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var t=this.find(A);if(t.exists())return t;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var t=this.findComponent(A);if(t.exists())return t;var i="Unable to get ";throw typeof A=="string"?i+="component with selector ".concat(A):"name"in A?i+="component with name ".concat(A.name):"ref"in A?i+="component with ref ".concat(A.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return go(this.element)&&Ag(this.element)},n.prototype.trigger=function(A,t){return zr(this,void 0,void 0,function(){var i;return Wr(this,function(Q){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=ZB(A,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,e.nextTick()]})})},n}(),CC=function(n){Pc(A,n);function A(t){var i=this;return t?(i=n.call(this,t)||this,Tc.plugins.DOMWrapper.extend(i),i):On("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.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},A.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&HB(t)?this.element.contains(i.element)?i:On("DOMWrapper"):i},A.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),uo):[]},A.prototype.findAllComponents=function(t){var i=this,Q=n.prototype.findAllComponents.call(this,t);return Q.filter(function(w){return i.element.contains(w.element)})},A.prototype.setChecked=function(){return zr(this,arguments,void 0,function(t){var i,Q;return t===void 0&&(t=!0),Wr(this,function(w){if(i=this.element,Q=this.attributes().type,Q==="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")])})})},A.prototype.setValue=function(t){var i=this.element,Q=i.tagName,w=this.attributes().type;if(Q==="OPTION")return this.setSelected(),Promise.resolve();if(Q==="INPUT"&&w==="checkbox")return this.setChecked(t);if(Q==="INPUT"&&w==="radio")return this.setChecked(t);if(Q==="SELECT"){if(Array.isArray(t))for(var a=i,b=0;b<a.options.length;b++){var S=a.options[b];S.selected=t.includes(S.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(Q==="INPUT"||Q==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(Q))}},A.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var Q=new A(i);return Q.trigger("input"),Q.trigger("change")}},A}(Ng);eg(xi.DOMWrapper,function(n){return new CC(n)});function Es(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Es(A)}else{if(n.shapeFlag&128)return Es(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 Q=n.children.flat();return Q.flatMap(function(w){return Es(w)}).filter(GB)}}return[]}var ai={};function EC(n,A){var t=n.$.uid,i=ai[t]||{};return A?i?i[A]:void 0:i}var QC=function(n,A,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var Q=i.uid;Q in ai||(ai[Q]={}),A in ai[Q]||(ai[Q][A]=[]),ai[Q][A].push(t)},mC=function(n){var A=n.$.uid;delete ai[A]};function IC(n,A){return new Proxy(n,{get:function(t,i,Q){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,Q):i in A?Reflect.get(A,i,Q):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,Q):t.$.ctx[i]},set:function(t,i,Q,w){return i in A?Reflect.set(A,i,Q,w):Reflect.set(t,i,Q,w)},has:function(t,i){return Reflect.has(A,i)||Reflect.has(t,i)},defineProperty:function(t,i,Q){return i in A?Reflect.defineProperty(A,i,Q):Reflect.defineProperty(t,i,Q)},getOwnPropertyDescriptor:function(t,i){return i in A?Reflect.getOwnPropertyDescriptor(A,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in A?Reflect.deleteProperty(A,i):Reflect.deleteProperty(t,i)}})}var fC=function(n){Pc(A,n);function A(t,i,Q){var w=n.call(this,i==null?void 0:i.$el)||this;return w.cleanUpCallbacks=[],w.__app=t,w.rootVM=i==null?void 0:i.$root,PB(i)?w.componentVM=IC(i,i.$.setupState):w.componentVM=i,w.__setProps=Q,w.attachNativeEventListener(),Tc.plugins.VueWrapper.extend(w),w}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var Q;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((Q=i.component)===null||Q===void 0)&&Q.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Es(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(t){return this.findAllDOMElements(t).map(uo)},A.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):[],Q=this.getRootNodes().filter(function(G){return G instanceof Element});if(Q.length===1)for(var w=Q[0],a=function(G){if(i.includes(G))return"continue";var K=function(){for(var J=[],T=0;T<arguments.length;T++)J[T]=arguments[T];QC(t.$,G,J)};w.addEventListener(G,K),b.cleanUpCallbacks.push(function(){w.removeEventListener(G,K)})},b=this,S=0,f=Object.keys(Oc);S<f.length;S++){var N=f[S];a(N)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},A.prototype.emitted=function(t){return EC(this.vm,t)},A.prototype.isVisible=function(){var t=uo(this.element);return t.isVisible()},A.prototype.setData=function(t){return Yc(this.componentVM.$data,t),e.nextTick()},A.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),e.nextTick()},A.prototype.setValue=function(t,i){var Q=i||"modelValue";return this.vm.$emit("update:".concat(Q),t),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");mC(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Ng);eg(xi.VueWrapper,function(n,A,t){return new fC(n,A,t)});var wC={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};e.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,t,i=e.computed(function(){return wC}),Q=(t=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||t===void 0?void 0:t.call(A,{route:i,href:e.computed(function(){return i.value.href}),isActive:e.computed(function(){return!1}),isExactActive:e.computed(function(){return!1}),navigate:function(){return zr(n,void 0,void 0,function(){return Wr(this,function(w){return[2]})})}});return this.custom?Q:e.h("a",void 0,Q)}}),typeof setImmediate=="function"&&setImmediate;const Cn=Symbol(),Fg=Symbol(),Rg=Symbol(),Lg={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:"表单设置"}}},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"}}}},Qs=[{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"}]}],DC=[{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"}],bC="vfc",ke=(n="")=>`${bC}-${n}`,Ca=(n,A)=>n.reduce((t,i)=>{if(i.designKey===A)return i;if(i.children){const Q=Ca(i.children,A);if(Q)return Q}return t},null),Gg=(n,A)=>n.map(t=>t.designKey===A.designKey?A:t.children?{...t,children:Gg(t.children,A)}:t),Hg=n=>n.map(A=>{const t={...Oe.cloneDeep(A),designKey:`form-${Yn(4)}`,name:Yn(8)};return A.children&&(t.children=Hg(A.children)),t}),Pg=(n,A)=>n.reduce((t,i)=>{var Q;if(i.children?t.push({...i,children:Pg(i.children,A)}):t.push(i),i.designKey===A){const w={...Oe.cloneDeep(i),designKey:`form-${Yn(4)}`,name:`${i.name}-${Yn(2)}`};i.children&&(w.children=Hg(i.children)),i.label&&!((Q=w.label)!=null&&Q.includes("copy"))&&(w.label=w.label+" copy"),t.push(w)}return t},[]),Kg=n=>n.map(A=>{if(!A.render)return A;const t={component:A.component,designKey:A.designKey||`design-${Yn(4)}`,name:A.name||`form-${Yn(4)}`};return A.children&&(t.children=Kg(A.children)),t}),ut=()=>{const n=e.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 e.inject(Fg,n)},yC=()=>{const{fetchOptionsFn:n}=e.inject(Cn);return n},Bo=n=>{const A=ut(),t=yC(),i=e.ref([]),Q=e.ref(!1),w=Oe.debounce(async()=>{if(t&&n.apiParams&&!Object.values(n.apiParams).some(f=>f===void 0)){Q.value=!0;try{const f=await t({formItemProps:e.toRaw(n),formSchema:e.toRaw(A.schema)});if(i.value=[...i.value,...f],n.filters&&(i.value=i.value.filter(N=>Array.isArray(n.filters)?!n.filters.includes(N[n.valueKey||"value"]):!0)),n.name){const N=is(A.schema.items,n.name);N&&N.props&&(N.props.options=i.value)}}finally{Q.value=!1}}},300);e.onMounted(()=>{const{mode:f,options:N=[]}=n;f==="static"&&(i.value=N),f==="remote"&&w()}),e.watch(()=>n.apiParams,(f,N)=>{Oe.isEqual(f,N)||(i.value=[],w())}),e.watch(()=>n.options,(f=[])=>{n.mode==="static"&&(i.value=f)}),e.watch(()=>n.mode,f=>{f==="static"&&(i.value=n.options||[]),f==="remote"&&(i.value=[],w())});const{mode:a,dependentFields:b}=n;if(a==="remote"&&Array.isArray(b))for(const f of b)e.watch(()=>A.formValues[f],(N,G)=>{w()});return{selectChange:f=>{const{valueKey:N="value",multiple:G,name:K}=n;let J={};G&&Array.isArray(f)?J=i.value.filter(T=>f.includes(T[N])):J=i.value.find(T=>T[N]===f)||{},A.selectData&&K&&A.updateSelectData(K,J)},currentOptions:i,loading:Q,fetchData:w}};function Ea(){const n=e.inject(Cn),A=e.inject("asiaint-lang",e.ref("zh"));return n!=null&&n.lang?e.ref(n.lang):A}function $n(){const n=Ea();return e.computed(()=>Lg[(n==null?void 0:n.value)||"en"])}const JA=(n,A)=>{const t=n.__vccOpts||n;for(const[i,Q]of A)t[i]=Q;return t},vC={},kC={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 _C(n,A){return e.openBlock(),e.createElementBlock("svg",kC,A[0]||(A[0]=[e.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:"#18AAF8","p-id":"4620"},null,-1),e.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:"#18AAF8","p-id":"4621"},null,-1),e.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:"#18AAF8","p-id":"4622"},null,-1)]))}const MC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vC,[["render",_C]])},Symbol.toStringTag,{value:"Module"})),SC={},xC={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 NC(n,A){return e.openBlock(),e.createElementBlock("svg",xC,A[0]||(A[0]=[e.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),e.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),e.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 FC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SC,[["render",NC]])},Symbol.toStringTag,{value:"Module"})),RC={},LC={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 GC(n,A){return e.openBlock(),e.createElementBlock("svg",LC,A[0]||(A[0]=[e.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),e.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 HC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RC,[["render",GC]])},Symbol.toStringTag,{value:"Module"})),PC={},KC={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 UC(n,A){return e.openBlock(),e.createElementBlock("svg",KC,A[0]||(A[0]=[e.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),e.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),e.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),e.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 TC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PC,[["render",UC]])},Symbol.toStringTag,{value:"Module"})),YC={},OC={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 $C(n,A){return e.openBlock(),e.createElementBlock("svg",OC,A[0]||(A[0]=[e.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),e.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 JC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(YC,[["render",$C]])},Symbol.toStringTag,{value:"Module"})),ZC={},zC={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 WC(n,A){return e.openBlock(),e.createElementBlock("svg",zC,A[0]||(A[0]=[e.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 jC=Object.freeze(Object.defineProperty({__proto__:null,default:JA(ZC,[["render",WC]])},Symbol.toStringTag,{value:"Module"})),qC={},XC={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 VC(n,A){return e.openBlock(),e.createElementBlock("svg",XC,A[0]||(A[0]=[e.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),e.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),e.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 AE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(qC,[["render",VC]])},Symbol.toStringTag,{value:"Module"})),eE={},tE={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 nE(n,A){return e.openBlock(),e.createElementBlock("svg",tE,A[0]||(A[0]=[e.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),e.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 iE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(eE,[["render",nE]])},Symbol.toStringTag,{value:"Module"})),oE={},sE={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 rE(n,A){return e.openBlock(),e.createElementBlock("svg",sE,A[0]||(A[0]=[e.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 aE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(oE,[["render",rE]])},Symbol.toStringTag,{value:"Module"})),lE={},cE={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 gE(n,A){return e.openBlock(),e.createElementBlock("svg",cE,A[0]||(A[0]=[e.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 uE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(lE,[["render",gE]])},Symbol.toStringTag,{value:"Module"})),dE={},hE={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 pE(n,A){return e.openBlock(),e.createElementBlock("svg",hE,A[0]||(A[0]=[e.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 BE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(dE,[["render",pE]])},Symbol.toStringTag,{value:"Module"})),CE={},EE={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 QE(n,A){return e.openBlock(),e.createElementBlock("svg",EE,A[0]||(A[0]=[e.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),e.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),e.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(CE,[["render",QE]])},Symbol.toStringTag,{value:"Module"})),IE={},fE={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 wE(n,A){return e.openBlock(),e.createElementBlock("svg",fE,A[0]||(A[0]=[e.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),e.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),e.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),e.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 DE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(IE,[["render",wE]])},Symbol.toStringTag,{value:"Module"})),bE={},yE={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 vE(n,A){return e.openBlock(),e.createElementBlock("svg",yE,A[0]||(A[0]=[e.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),e.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),e.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),e.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),e.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const kE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(bE,[["render",vE]])},Symbol.toStringTag,{value:"Module"})),_E={},ME={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 SE(n,A){return e.openBlock(),e.createElementBlock("svg",ME,A[0]||(A[0]=[e.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const xE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(_E,[["render",SE]])},Symbol.toStringTag,{value:"Module"})),NE={},FE={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 RE(n,A){return e.openBlock(),e.createElementBlock("svg",FE,A[0]||(A[0]=[e.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),e.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 LE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(NE,[["render",RE]])},Symbol.toStringTag,{value:"Module"})),GE={},HE={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 PE(n,A){return e.openBlock(),e.createElementBlock("svg",HE,A[0]||(A[0]=[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clipPath6999889763"},[e.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),e.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[e.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 KE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(GE,[["render",PE]])},Symbol.toStringTag,{value:"Module"})),UE={},TE={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 YE(n,A){return e.openBlock(),e.createElementBlock("svg",TE,A[0]||(A[0]=[e.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 OE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(UE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={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 ZE(n,A){return e.openBlock(),e.createElementBlock("svg",JE,A[0]||(A[0]=[e.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 zE=Object.freeze(Object.defineProperty({__proto__:null,default:JA($E,[["render",ZE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={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 qE(n,A){return e.openBlock(),e.createElementBlock("svg",jE,A[0]||(A[0]=[e.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 XE=Object.freeze(Object.defineProperty({__proto__:null,default:JA(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,A){return e.openBlock(),e.createElementBlock("svg",AQ,A[0]||(A[0]=[e.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 tQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,A){return e.openBlock(),e.createElementBlock("svg",iQ,A[0]||(A[0]=[e.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 sQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),rQ={},aQ={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 lQ(n,A){return e.openBlock(),e.createElementBlock("svg",aQ,A[0]||(A[0]=[e.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 cQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(rQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,A){return e.openBlock(),e.createElementBlock("svg",uQ,A[0]||(A[0]=[e.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 hQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={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 CQ(n,A){return e.openBlock(),e.createElementBlock("svg",BQ,A[0]||(A[0]=[e.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 EQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),QQ={},mQ={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 IQ(n,A){return e.openBlock(),e.createElementBlock("svg",mQ,A[0]||(A[0]=[e.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 fQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(QQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},DQ={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 bQ(n,A){return e.openBlock(),e.createElementBlock("svg",DQ,A[0]||(A[0]=[e.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 yQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(wQ,[["render",bQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={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 _Q(n,A){return e.openBlock(),e.createElementBlock("svg",kQ,A[0]||(A[0]=[e.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),e.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 MQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),SQ={},xQ={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 NQ(n,A){return e.openBlock(),e.createElementBlock("svg",xQ,A[0]||(A[0]=[e.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 FQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,A){return e.openBlock(),e.createElementBlock("svg",LQ,A[0]||(A[0]=[e.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 HQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),PQ={},KQ={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 UQ(n,A){return e.openBlock(),e.createElementBlock("svg",KQ,A[0]||(A[0]=[e.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 TQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PQ,[["render",UQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,A){return e.openBlock(),e.createElementBlock("svg",OQ,A[0]||(A[0]=[e.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 JQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),ZQ={},zQ={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 WQ(n,A){return e.openBlock(),e.createElementBlock("svg",zQ,A[0]||(A[0]=[e.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 jQ=Object.freeze(Object.defineProperty({__proto__:null,default:JA(ZQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,A){return e.openBlock(),e.createElementBlock("svg",XQ,A[0]||(A[0]=[e.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),e.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 Am=Object.freeze(Object.defineProperty({__proto__:null,default:JA(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),em={},tm={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 nm(n,A){return e.openBlock(),e.createElementBlock("svg",tm,A[0]||(A[0]=[e.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),e.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 im=Object.freeze(Object.defineProperty({__proto__:null,default:JA(em,[["render",nm]])},Symbol.toStringTag,{value:"Module"})),om={},sm={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 rm(n,A){return e.openBlock(),e.createElementBlock("svg",sm,A[0]||(A[0]=[e.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 am=Object.freeze(Object.defineProperty({__proto__:null,default:JA(om,[["render",rm]])},Symbol.toStringTag,{value:"Module"})),lm={},cm={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 gm(n,A){return e.openBlock(),e.createElementBlock("svg",cm,A[0]||(A[0]=[e.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 um=Object.freeze(Object.defineProperty({__proto__:null,default:JA(lm,[["render",gm]])},Symbol.toStringTag,{value:"Module"})),dm={},hm={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 pm(n,A){return e.openBlock(),e.createElementBlock("svg",hm,A[0]||(A[0]=[e.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),e.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 Bm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(dm,[["render",pm]])},Symbol.toStringTag,{value:"Module"})),Cm={},Em={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 Qm(n,A){return e.openBlock(),e.createElementBlock("svg",Em,A[0]||(A[0]=[e.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 mm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Cm,[["render",Qm]])},Symbol.toStringTag,{value:"Module"})),Im={},fm={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 wm(n,A){return e.openBlock(),e.createElementBlock("svg",fm,A[0]||(A[0]=[e.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 Dm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Im,[["render",wm]])},Symbol.toStringTag,{value:"Module"})),bm={},ym={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 vm(n,A){return e.openBlock(),e.createElementBlock("svg",ym,A[0]||(A[0]=[e.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 km=Object.freeze(Object.defineProperty({__proto__:null,default:JA(bm,[["render",vm]])},Symbol.toStringTag,{value:"Module"})),_m={},Mm={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 Sm(n,A){return e.openBlock(),e.createElementBlock("svg",Mm,A[0]||(A[0]=[e.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 xm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(_m,[["render",Sm]])},Symbol.toStringTag,{value:"Module"})),Nm={},Fm={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 Rm(n,A){return e.openBlock(),e.createElementBlock("svg",Fm,A[0]||(A[0]=[e.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),e.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 Lm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Nm,[["render",Rm]])},Symbol.toStringTag,{value:"Module"})),Gm={},Hm={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 Pm(n,A){return e.openBlock(),e.createElementBlock("svg",Hm,A[0]||(A[0]=[e.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 Km=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Gm,[["render",Pm]])},Symbol.toStringTag,{value:"Module"})),Um={},Tm={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 Ym(n,A){return e.openBlock(),e.createElementBlock("svg",Tm,A[0]||(A[0]=[e.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),e.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 Om=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Um,[["render",Ym]])},Symbol.toStringTag,{value:"Module"})),$m={},Jm={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 Zm(n,A){return e.openBlock(),e.createElementBlock("svg",Jm,A[0]||(A[0]=[e.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),e.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),e.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 zm=Object.freeze(Object.defineProperty({__proto__:null,default:JA($m,[["render",Zm]])},Symbol.toStringTag,{value:"Module"})),Wm={},jm={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 qm(n,A){return e.openBlock(),e.createElementBlock("svg",jm,A[0]||(A[0]=[e.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),e.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),e.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),e.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 Xm=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Wm,[["render",qm]])},Symbol.toStringTag,{value:"Module"})),Vm={},AI={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 eI(n,A){return e.openBlock(),e.createElementBlock("svg",AI,A[0]||(A[0]=[e.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),e.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 tI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(Vm,[["render",eI]])},Symbol.toStringTag,{value:"Module"})),nI={},iI={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 oI(n,A){return e.openBlock(),e.createElementBlock("svg",iI,A[0]||(A[0]=[e.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),e.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),e.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 sI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(nI,[["render",oI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={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 lI(n,A){return e.openBlock(),e.createElementBlock("svg",aI,A[0]||(A[0]=[e.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),e.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),e.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 cI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(rI,[["render",lI]])},Symbol.toStringTag,{value:"Module"})),gI={},uI={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 dI(n,A){return e.openBlock(),e.createElementBlock("svg",uI,A[0]||(A[0]=[e.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(gI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),pI={},BI={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 CI(n,A){return e.openBlock(),e.createElementBlock("svg",BI,A[0]||(A[0]=[e.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 EI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(pI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),QI={},mI={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 II(n,A){return e.openBlock(),e.createElementBlock("svg",mI,A[0]||(A[0]=[e.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 fI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(QI,[["render",II]])},Symbol.toStringTag,{value:"Module"})),wI={},DI={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 bI(n,A){return e.openBlock(),e.createElementBlock("svg",DI,A[0]||(A[0]=[e.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 yI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(wI,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),vI={},kI={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 _I(n,A){return e.openBlock(),e.createElementBlock("svg",kI,A[0]||(A[0]=[e.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),e.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 MI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(vI,[["render",_I]])},Symbol.toStringTag,{value:"Module"})),SI={},xI={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 NI(n,A){return e.openBlock(),e.createElementBlock("svg",xI,A[0]||(A[0]=[e.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),e.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),e.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 FI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(SI,[["render",NI]])},Symbol.toStringTag,{value:"Module"})),RI={},LI={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 GI(n,A){return e.openBlock(),e.createElementBlock("svg",LI,A[0]||(A[0]=[e.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),e.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),e.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),e.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 HI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(RI,[["render",GI]])},Symbol.toStringTag,{value:"Module"})),PI={},KI={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 UI(n,A){return e.openBlock(),e.createElementBlock("svg",KI,A[0]||(A[0]=[e.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 TI=Object.freeze(Object.defineProperty({__proto__:null,default:JA(PI,[["render",UI]])},Symbol.toStringTag,{value:"Module"})),te=e.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":MC,"./icons/alert.vue":FC,"./icons/button.vue":HC,"./icons/card.vue":TC,"./icons/cascader.vue":JC,"./icons/checkbox.vue":jC,"./icons/clear.vue":AE,"./icons/collapse.vue":iE,"./icons/colorPicker.vue":aE,"./icons/copy.vue":uE,"./icons/custom.vue":BE,"./icons/datePicker.vue":mE,"./icons/delete.vue":DE,"./icons/design.vue":kE,"./icons/divider.vue":xE,"./icons/document.vue":LE,"./icons/dropdown.vue":KE,"./icons/esign.vue":OE,"./icons/eye.vue":zE,"./icons/formList.vue":XE,"./icons/github.vue":tQ,"./icons/grid.vue":sQ,"./icons/help.vue":cQ,"./icons/hidden.vue":hQ,"./icons/icon.vue":EQ,"./icons/inline.vue":fQ,"./icons/input.vue":yQ,"./icons/inputNumber.vue":MQ,"./icons/itemGroup.vue":FQ,"./icons/jsonEdit.vue":HQ,"./icons/library.vue":TQ,"./icons/markdown.vue":JQ,"./icons/move.vue":jQ,"./icons/password.vue":Am,"./icons/radio.vue":im,"./icons/rate.vue":am,"./icons/reduce.vue":um,"./icons/rich.vue":Bm,"./icons/save.vue":mm,"./icons/script.vue":Dm,"./icons/search.vue":km,"./icons/searchSelect.vue":xm,"./icons/select.vue":Lm,"./icons/slider.vue":Km,"./icons/switch.vue":Om,"./icons/tableEmpty.vue":zm,"./icons/tabs.vue":Xm,"./icons/tag.vue":tI,"./icons/text.vue":sI,"./icons/textarea.vue":cI,"./icons/title.vue":hI,"./icons/transfer.vue":EI,"./icons/trash.vue":fI,"./icons/tree.vue":yI,"./icons/upload.vue":MI,"./icons/uploadImage.vue":FI,"./icons/verifyCode.vue":HI,"./icons/vue.vue":TI})).reduce((i,[Q,w])=>{const a=Q.split("/").pop(),b=a==null?void 0:a.split(".")[0];return i[b]=w.default,i},{});return(i,Q)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(t)[i.name]),e.mergeProps({class:e.unref(ke)("icon-render")},i.$attrs),null,16,["class"]))}}),YI={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"}]},OI={key:0},$I=e.defineComponent({__name:"Input",props:e.mergeModels({onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=e.useAttrs(),a=S=>{const f=["E","e","+","-"];w.type==="number"&&f.includes(S.key)&&S.preventDefault()},b=S=>{if(t.onInput&&i)try{i[t.onInput](Q,S)}catch(f){console.error(f)}};return(S,f)=>{const N=e.resolveComponent("el-input");return S.read?(e.openBlock(),e.createElementBlock("span",OI,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(N,e.mergeProps({key:1},S.$attrs,{class:`el-input--${S.$attrs.styleType} el-input`,modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=G=>A.value=G),onInput:b,onKeydown:a}),null,16,["class","modelValue"]))}}}),JI={title:"单行文本",component:"Input",icon:e.h(te,{name:"input"}),type:"basic",order:1,attrSchema:YI,render:$I},ZI={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}]},zI={title:"多行文本",component:"TextArea",icon:e.h(te,{name:"textarea"}),type:"basic",order:2,attrSchema:ZI,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>O1))},WI={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"}]},jI={title:"提示框",component:"Alert",icon:e.h(te,{name:"alert"}),type:"assist",order:2,attrSchema:WI,render:"ElAlert"},qI={title:"卡片",component:"Card",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>z1)),icon:e.h(te,{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"}]}},XI={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"}]}]},VI={title:"级联选择器",icon:e.h(te,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:XI,order:7,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>W1))},Af={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}]},ef={title:"JSON编辑",component:"JsonEdit",icon:e.h(te,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Af,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>tk))},tf={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"},...Qs]},nf={title:"多选框组",icon:e.h(te,{name:"checkbox"}),type:"basic",component:"Checkbox",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ik)),order:4,attrSchema:tf},of={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"}]},sf={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:e.h(te,{name:"colorPicker"}),type:"basic",order:9,attrSchema:of},rf={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"}]},af={title:"颜色输入框",component:"ColorInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>sk)),icon:e.h(te,{name:"colorPicker"}),type:"high",order:2,attrSchema:rf},lf={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"}]},cf={title:"自定义组件",component:"Custom",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ak)),icon:e.h(te,{name:"custom"}),type:"high",order:99,attrSchema:lf},gf={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"}]}}]},uf={title:"日期选择器",component:"DatePicker",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>ck)),icon:e.h(te,{name:"datePicker"}),type:"basic",order:9,attrSchema:gf},df={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"}]},hf={title:"分割线",component:"Divider",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>gk)),icon:e.h(te,{name:"divider"}),type:"assist",order:6,attrSchema:df},pf={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"}]},Bf={title:"电子签名",component:"Esign",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Qk)),icon:e.h(te,{name:"esign"}),type:"basic",order:11,attrSchema:pf},Cf={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"},...Qs]},Ef={title:"单选框组",icon:e.h(te,{name:"radio"}),type:"basic",component:"Radio",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Ik)),order:3.5,attrSchema:Cf},Qf={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"}]},mf={title:"自增容器",component:"FormList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>vk)),icon:e.h(te,{name:"formList"}),type:"high",order:20,attrSchema:Qf},If={title:"栅格布局",type:"layout",icon:e.h(te,{name:"grid"}),component:"Grid",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>kk)),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"}]}}]}},ff={title:"行内布局",icon:e.h(te,{name:"inline"}),type:"layout",component:"Inline",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>_k)),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"}]}},wf={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"}]},Df={title:"计数器",icon:e.h(te,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Sk)),attrSchema:wf},bf={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"}]},yf={key:0},vf={title:"密码输入框",component:"Password",render:e.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=ut();return(i,Q)=>{var a;const w=e.resolveComponent("el-input");return e.unref(t).read?(e.openBlock(),e.createElementBlock("span",yf,e.toDisplayString((a=A.value)==null?void 0:a.replace(/./g,"*")),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:e.h(te,{name:"password"}),type:"basic",order:3,attrSchema:bf},kf={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"},...Qs]},_f={title:"下拉选择框",type:"basic",icon:e.h(te,{name:"select"}),component:"Select",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Fk)),order:3,attrSchema:kf},Mf={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"}]},Sf={title:"评分",component:"Rate",render:"ElRate",icon:e.h(te,{name:"rate"}),type:"basic",order:12,attrSchema:Mf},xf={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"}}]},Nf={title:"选择+输入",component:"SelectInput",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Lk)),icon:e.h(te,{name:"input"}),type:"high",order:1,attrSchema:xf},Ff={title:"滑块",render:"ElSlider",component:"Slider",icon:e.h(te,{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}]}},Rf={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}]}}]},Lf={title:"开关",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Gk)),component:"Switch",icon:e.h(te,{name:"switch"}),type:"basic",order:8,attrSchema:Rf},Gf={title:"标签",component:"Tag",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Hk)),icon:e.h(te,{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"}]}}]}},Hf={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"}]},Pf={title:"文本",component:"Text",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Pk)),icon:e.h(te,{name:"text"}),type:"assist",order:1,attrSchema:Hf},Kf={title:"标题",component:"Title",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Kk)),icon:e.h(te,{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"}]}},Uf={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"}]}}]},Tf={title:"上传",component:"Upload",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Yk)),icon:e.h(te,{name:"upload"}),type:"basic",order:10,attrSchema:Uf},Yf={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"}]},Of={title:"图形验证码",component:"VerifyCode",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Zk)),icon:e.h(te,{name:"verifyCode"}),type:"high",order:18,attrSchema:Yf},$f={title:"折叠面板",component:"Collapse",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>zk)),icon:e.h(te,{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"}]}},Jf={title:"选项卡",component:"Tabs",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Wk)),icon:e.h(te,{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"}]}},Zf={title:"对象容器",icon:e.h(te,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>Xk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},zf={},Wf={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 jf(n,A){return e.openBlock(),e.createElementBlock("svg",Wf,A[0]||(A[0]=[e.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 qf=JA(zf,[["render",jf]]),Xf={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"}}]},Vf={key:0},Aw={title:"穿梭框",component:"Transfer",render:e.defineComponent({__name:"Transfer",props:e.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=ut(),i=e.useModel(n,"modelValue"),Q=w=>{const a=w.map(b=>A.data.find(S=>S.key===b));t.updateSelectData(A.name,a)};return(w,a)=>{var S;const b=e.resolveComponent("el-transfer");return e.unref(t).read?(e.openBlock(),e.createElementBlock("div",Vf,e.toDisplayString((S=i.value)==null?void 0:S.map(f=>{var N;return(N=w.data.find(G=>G.key===f))==null?void 0:N.label}).join("、")),1)):(e.openBlock(),e.createBlock(b,e.mergeProps({key:1},w.$attrs,{data:w.data,onChange:Q,modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=f=>i.value=f)}),null,16,["data","modelValue"]))}}}),icon:qf,type:"basic",order:12,attrSchema:Xf},ew={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"}]},tw={key:0},nw=JA(e.defineComponent({__name:"SearchInput",props:e.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=n,i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=S=>{if(t.onInput&&i)try{i[t.onInput](Q,S)}catch(f){console.error(f)}},a=()=>{if(t.onSearch&&i)try{i[t.onSearch](Q)}catch(S){console.error(S)}},b=()=>{if(t.onClear&&i)try{i[t.onClear](Q)}catch(S){console.error(S)}};return(S,f)=>{const N=e.resolveComponent("el-button"),G=e.resolveComponent("el-input");return S.read?(e.openBlock(),e.createElementBlock("span",tw,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(G,e.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=K=>A.value=K),onInput:w,disabled:S.disabled}),{append:e.withCtx(()=>[e.createVNode(N,{onClick:a,disabled:S.disabled},{default:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"search"})]),_:1},8,["disabled"])]),suffix:e.withCtx(()=>[S.onClear&&A.value&&!S.disabled?(e.openBlock(),e.createBlock(e.unref(te),{key:0,name:"clear",onClick:b,class:"clear-icon"})):e.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-82f56229"]]),iw={title:"搜索输入",component:"SearchInput",icon:e.h(te,{name:"search"}),type:"high",order:5,attrSchema:ew,render:nw},ow={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"},...Qs]},sw={title:"选择+搜索",type:"high",icon:e.h(te,{name:"searchSelect"}),component:"SearchSelect",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n_)),order:3,attrSchema:ow},rw={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"}]},aw=["xlink:href"],$e=JA(e.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,t=e.computed(()=>A.color?{color:A.color}:void 0);return(i,Q)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal"}]),"aria-hidden":"true",style:e.normalizeStyle(t.value)},[e.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,aw)],6))}}),[["__scopeId","data-v-3107108f"]]),lw=JA(e.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.ref(!1),w=async()=>{if(A.onClick&&t){try{Q.value=!0,await t[A.onClick](i)}catch(a){console.error(a)}Q.value=!1}};return(a,b)=>{const S=e.resolveComponent("el-button");return a.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(S,e.mergeProps({key:0},a.$attrs,{onClick:w,color:a.orange?"#FAA21E":"",class:{orangeBtn:a.orange},plain:!a.orange&&a.$attrs.type!=="primary",loading:Q.value}),{default:e.withCtx(()=>[a.icon?(e.openBlock(),e.createBlock($e,{key:0,name:a.icon.name,color:a.icon.color,class:e.normalizeClass({btnicon:a.buttonText})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(a.buttonText),1)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-a2081a25"]]),cw={title:"按钮",component:"Button",icon:e.h(te,{name:"button"}),type:"assist",order:1,attrSchema:rw,render:lw},gw={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"}]},uw={title:"树",component:"Tree",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>a_)),icon:e.h(te,{name:"tree"}),type:"assist",order:7,attrSchema:gw},dw={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"}]},hw={title:"表格",component:"Table",icon:e.h(te,{name:"library"}),type:"assist",order:8,attrSchema:dw,render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>p_))},pw={title:"curd模版卡片",component:"CurdCard",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>f_)),icon:e.h(te,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Bw={title:"普通div容器",component:"Wrapper",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>w_)),icon:e.h(te,{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"}]}},Cw={class:"card-list-item"},Ew={class:"card-list-item-header"},Qw={class:"card-list-item-header-title"},mw={style:{display:"ruby"}},Iw=["title"],fw=["title"],ww={key:0,class:"card-list-item-header-title__sub"},Dw={class:"card-list-item-header-btns"},bw=["onClick"],yw={class:"card-list-item-content"},vw={class:"card-list-item-content-item-label"},kw={class:"card-list-item-content-item-value"},_w={key:0,class:"card-list-item-footer"},Mw={class:"card-list-item-footer-text"},Ug=JA(e.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.inject("getGlobalParams",()=>{}),w=a=>{if(a)try{t[a](i,A.data.originalData,A.index)}catch(b){console.error(b)}};return(a,b)=>{const S=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("div",Cw,[e.createElementVNode("div",Ew,[e.createElementVNode("div",Qw,[e.createElementVNode("div",mw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.data.tag,f=>(e.openBlock(),e.createElementBlock("div",{key:f.label,class:"card-list-item-header-title__tag",style:e.normalizeStyle({color:f.color}),title:f.value},e.toDisplayString(f.value),13,Iw))),128))]),e.createElementVNode("div",{class:e.normalizeClass(["card-list-item-header-title__text",{"link-style":a.data.titleType==="link","click-style":a.data.onClick}]),style:e.normalizeStyle({color:a.data.titleColor}),title:a.data.title,onClick:b[0]||(b[0]=f=>w(a.data.onClick))},e.toDisplayString(a.data.title),15,fw),a.data.subTitle?(e.openBlock(),e.createElementBlock("div",ww,[e.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:e.normalizeStyle({backgroundColor:a.data.subTitleColor||"#3EBF17"})},null,4),e.createElementVNode("span",null,e.toDisplayString(a.data.subTitle),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.btns,(f,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[f.condition===void 0||f.condition===null||e.unref(zt)(f.condition,{$row:a.data.originalData,$globalParams:e.unref(Q)()})?(e.openBlock(),e.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:G=>w(f.onClick)},[f.label?(e.openBlock(),e.createBlock(S,{key:0,class:"box-item",effect:"dark",content:f.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[e.createVNode($e,{name:f.icon},null,8,["name"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,name:f.icon},null,8,["name"]))],8,bw)):e.createCommentVNode("",!0)],64))),128))])]),e.createElementVNode("div",yw,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.data.content,f=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item-content-item",key:f.label},[e.createElementVNode("div",vw,e.toDisplayString(f.label)+":",1),e.createElementVNode("div",kw,e.toDisplayString(f.value||"- -"),1)]))),128))]),a.data.footer?(e.openBlock(),e.createElementBlock("div",_w,[e.createVNode($e,{name:a.data.footer.icon},null,8,["name"]),e.createElementVNode("span",Mw,e.toDisplayString(a.data.footer.text||"- -"),1)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-546548cd"]]),Sw={key:0,class:"empty-content"},ms=JA(e.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:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,t=e.computed(()=>A.rowBtns?A.rowBtns.map(b=>({condition:b.condition,icon:b.icon&&b.icon.name?b.icon.name:"icon-tishi",label:b.label,onClick:b.onClick})):[]),i=A.columns.find(b=>b.position==="title"),Q=A.columns.find(b=>b.position==="subTitle"),w=A.columns.find(b=>b.position==="footer");A.columns.find(b=>b.position==="tag");const a=e.computed(()=>{const b=A.columns.find(S=>S.type==="link");return A.data?A.data.map(S=>{const f={content:[],tag:[],originalData:S};if(i&&b&&b.key===i.key&&(f.titleType="link",f.onClick=b.onClick),i&&(f.title=A.getColText(i,S)),Q&&(f.subTitle=A.getColText(Q,S),f.subTitleColor=S[Q.key+"Color"]),w){const N=A.getColText(w,S);f.footer={icon:w.footerIcon||"icon-tishi",text:`${w.label}: ${N||"- -"}`}}return A.columns.forEach(N=>{N.position==="content"?f.content.push({label:N.label,value:A.getColText(N,S)}):N.position==="tag"&&f.tag.push({label:N.label,value:A.getColText(N,S)})}),f}):[]});return(b,S)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":b.gridColumns,"--gap":b.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(f,N)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:N},[e.createVNode(Ug,{data:f,btns:t.value,index:N},null,8,["data","btns","index"])]))),128))],4),!b.data||b.data.length===0?(e.openBlock(),e.createElementBlock("div",Sw,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),S[0]||(S[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-cae2104a"]]),xw={title:"卡片列表",component:"CardList",render:ms,icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Nw={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>F_)),icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Fw={title:"定制化组件(Progress)",component:"Progress",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>P_)),icon:e.h(te,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Rw={title:"日志列表",component:"LogList",render:e.defineAsyncComponent(()=>Promise.resolve().then(()=>J_)),icon:e.h(te,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},Lw=Object.freeze(Object.defineProperty({__proto__:null,Alert:jI,Button:cw,Card:qI,CardList:xw,Cascader:VI,Checkbox:nf,Collapse:$f,ColorInput:af,ColorPicker:sf,CurdCard:pw,Custom:cf,DatePicker:uf,Divider:hf,Esign:Bf,FormList:mf,Grid:If,Inline:ff,Input:JI,InputNumber:Df,JsonEdit:ef,LogList:Rw,ObjGroup:Zf,OfferDetails:Nw,OrderProgress:Fw,Password:vf,Radio:Ef,Rate:Sf,SearchInput:iw,SearchSelect:sw,Select:_f,SelectInput:Nf,Slider:Ff,Switch:Lf,Table:hw,Tabs:Jf,Tag:Gf,Text:Pf,TextArea:zI,Title:Kf,Transfer:Aw,Tree:uw,Upload:Tf,VerifyCode:Of,Wrapper:Bw},Symbol.toStringTag,{value:"Module"})),Fi=()=>{const n=e.inject(Cn),A={...Lw};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},Wt=()=>e.inject(Rg),Gw=e.defineComponent({__name:"Footer",setup(n){const A=ut(),t=e.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(i,Q)=>{const w=e.resolveComponent("el-button");return e.unref(A).footer?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(t.value)},[e.createVNode(w,{type:"primary",onClick:e.unref(A).submit,name:"submit-btn"},{default:e.withCtx(()=>Q[1]||(Q[1]=[e.createTextVNode("提交")])),_:1},8,["onClick"]),e.createVNode(w,{onClick:Q[0]||(Q[0]=()=>e.unref(A).resetFields()),name:"reset-btn"},{default:e.withCtx(()=>Q[2]||(Q[2]=[e.createTextVNode("重置")])),_:1})],4)):e.createCommentVNode("",!0)}}}),Hw=JA(e.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,t)=>A.disabled?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=e.createElementVNode("div",{class:"mask"},null,-1)),e.renderSlot(A.$slots,"default",{},void 0,!0)],16)):e.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let li=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Qa=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function Pw(){return 2147483648}function Kw(){return typeof performance<"u"?performance.now():Date.now()}const Uw=(n,A)=>n+(A-n%A)%A;async function Tw(n){let A,t;const i={};function Q(J){t=J,i.HEAPU8=new Uint8Array(J),i.HEAPU32=new Uint32Array(J)}function w(J,T,P){i.HEAPU8.copyWithin(J,T,T+P)}function a(J){try{return A.grow(J-t.byteLength+65535>>>16),Q(A.buffer),1}catch{}}function b(J){const T=i.HEAPU8.length;J=J>>>0;const P=Pw();if(J>P)return!1;for(let _=1;_<=4;_*=2){let m=T*(1+.2/_);m=Math.min(m,J+100663296);const L=Math.min(P,Uw(Math.max(J,m),65536));if(a(L))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(J,T,P=1024){const _=T+P;let m=T;for(;J[m]&&!(m>=_);)++m;if(m-T>16&&J.buffer&&S)return S.decode(J.subarray(T,m));let L="";for(;T<m;){let k=J[T++];if(!(k&128)){L+=String.fromCharCode(k);continue}const y=J[T++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|y);continue}const C=J[T++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|C:k=(k&7)<<18|y<<12|C<<6|J[T++]&63,k<65536)L+=String.fromCharCode(k);else{const u=k-65536;L+=String.fromCharCode(55296|u>>10,56320|u&1023)}}return L}function N(J,T){return J?f(i.HEAPU8,J,T):""}const G={emscripten_get_now:Kw,emscripten_memcpy_big:w,emscripten_resize_heap:b,fd_write:()=>0};async function K(){const T=await n({env:G,wasi_snapshot_preview1:G});A=T.memory,Q(A.buffer),Object.assign(i,T),i.UTF8ToString=N}return await K(),i}let dt=null;function Yw(n){throw new Qa(n.UTF8ToString(n.getLastOnigError()))}class Is{constructor(A){Ze(this,"utf16Length");Ze(this,"utf8Length");Ze(this,"utf16Value");Ze(this,"utf8Value");Ze(this,"utf16OffsetToUtf8");Ze(this,"utf8OffsetToUtf16");const t=A.length,i=Is._utf8ByteLength(A),Q=i!==t,w=Q?new Uint32Array(t+1):null;Q&&(w[t]=i);const a=Q?new Uint32Array(i+1):null;Q&&(a[i]=t);const b=new Uint8Array(i);let S=0;for(let f=0;f<t;f++){const N=A.charCodeAt(f);let G=N,K=!1;if(N>=55296&&N<=56319&&f+1<t){const J=A.charCodeAt(f+1);J>=56320&&J<=57343&&(G=(N-55296<<10)+65536|J-56320,K=!0)}Q&&(w[f]=S,K&&(w[f+1]=S),G<=127?a[S+0]=f:G<=2047?(a[S+0]=f,a[S+1]=f):G<=65535?(a[S+0]=f,a[S+1]=f,a[S+2]=f):(a[S+0]=f,a[S+1]=f,a[S+2]=f,a[S+3]=f)),G<=127?b[S++]=G:G<=2047?(b[S++]=192|(G&1984)>>>6,b[S++]=128|(G&63)>>>0):G<=65535?(b[S++]=224|(G&61440)>>>12,b[S++]=128|(G&4032)>>>6,b[S++]=128|(G&63)>>>0):(b[S++]=240|(G&1835008)>>>18,b[S++]=128|(G&258048)>>>12,b[S++]=128|(G&4032)>>>6,b[S++]=128|(G&63)>>>0),K&&f++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=w,this.utf8OffsetToUtf16=a}static _utf8ByteLength(A){let t=0;for(let i=0,Q=A.length;i<Q;i++){const w=A.charCodeAt(i);let a=w,b=!1;if(w>=55296&&w<=56319&&i+1<Q){const S=A.charCodeAt(i+1);S>=56320&&S<=57343&&(a=(w-55296<<10)+65536|S-56320,b=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,b&&i++}return t}createString(A){const t=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,t),t}}const xt=class xt{constructor(A){Ze(this,"id",++xt.LAST_ID);Ze(this,"_onigBinding");Ze(this,"content");Ze(this,"utf16Length");Ze(this,"utf8Length");Ze(this,"utf16OffsetToUtf8");Ze(this,"utf8OffsetToUtf16");Ze(this,"ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");this._onigBinding=dt,this.content=A;const t=new Is(A);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!xt._sharedPtrInUse?(xt._sharedPtr||(xt._sharedPtr=dt.omalloc(1e4)),xt._sharedPtrInUse=!0,dt.HEAPU8.set(t.utf8Value,xt._sharedPtr),this.ptr=xt._sharedPtr):this.ptr=t.createString(dt)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===xt._sharedPtr?xt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ze(xt,"LAST_ID",0),Ze(xt,"_sharedPtr",0),Ze(xt,"_sharedPtrInUse",!1);let fs=xt;class Ow{constructor(A){Ze(this,"_onigBinding");Ze(this,"_ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,S=A.length;b<S;b++){const f=new Is(A[b]);t[b]=f.createString(dt),i[b]=f.utf8Length}const Q=dt.omalloc(4*A.length);dt.HEAPU32.set(t,Q/4);const w=dt.omalloc(4*A.length);dt.HEAPU32.set(i,w/4);const a=dt.createOnigScanner(Q,w,A.length);for(let b=0,S=A.length;b<S;b++)dt.ofree(t[b]);dt.ofree(w),dt.ofree(Q),a===0&&Yw(dt),this._onigBinding=dt,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,t,i){let Q=0;if(typeof i=="number"&&(Q=i),typeof A=="string"){A=new fs(A);const w=this._findNextMatchSync(A,t,!1,Q);return A.dispose(),w}return this._findNextMatchSync(A,t,!1,Q)}_findNextMatchSync(A,t,i,Q){const w=this._onigBinding,a=w.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(t),Q);if(a===0)return null;const b=w.HEAPU32;let S=a/4;const f=b[S++],N=b[S++],G=[];for(let K=0;K<N;K++){const J=A.convertUtf8OffsetToUtf16(b[S++]),T=A.convertUtf8OffsetToUtf16(b[S++]);G[K]={start:J,end:T,length:T-J}}return{index:f,captureIndices:G}}}function $w(n){return typeof n.instantiator=="function"}function Jw(n){return typeof n.default=="function"}function Zw(n){return typeof n.data<"u"}function zw(n){return typeof Response<"u"&&n instanceof Response}function Ww(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let ws;function jw(n){if(ws)return ws;async function A(){dt=await Tw(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),$w(i)?i=await i.instantiator(t):Jw(i)?i=await i.default(t):(Zw(i)&&(i=i.data),zw(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await qw(i)(t):i=await Xw(i)(t):Ww(i)?i=await ma(i)(t):i instanceof WebAssembly.Module?i=await ma(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await ma(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return ws=A(),ws}function ma(n){return A=>WebAssembly.instantiate(n,A)}function qw(n){return A=>WebAssembly.instantiateStreaming(n,A)}function Xw(n){return async A=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,A)}}let Vw;function A0(){return Vw}async function e0(n){return n&&await jw(n),{createScanner(A){return new Ow(A)},createString(A){return new fs(A)}}}function t0(n){return Ia(n)}function Ia(n){return Array.isArray(n)?n0(n):typeof n=="object"?i0(n):n}function n0(n){let A=[];for(let t=0,i=n.length;t<i;t++)A[t]=Ia(n[t]);return A}function i0(n){let A={};for(let t in n)A[t]=Ia(n[t]);return A}function Tg(n,...A){return A.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Yg(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Yg(n.substring(0,n.length-1)):n.substr(~A+1)}var fa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ds=class{static hasCaptures(n){return n===null?!1:(fa.lastIndex=0,fa.test(n))}static replaceCaptures(n,A,t){return n.replace(fa,(i,Q,w,a)=>{let b=t[parseInt(Q||w,10)];if(b){let S=A.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(a){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return i})}};function Og(n,A){return n<A?-1:n>A?1:0}function $g(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let t=n.length,i=A.length;if(t===i){for(let Q=0;Q<t;Q++){let w=Og(n[Q],A[Q]);if(w!==0)return w}return 0}return t-i}function Jg(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 Zg(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zg=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},bs=class{constructor(n,A,t){this._colorMap=n,this._defaults=A,this._root=t,this._cachedMatchRoot=new zg(i=>this._root.match(i))}static createFromRawTheme(n,A){return this.createFromParsedTheme(r0(n),A)}static createFromParsedTheme(n,A){return l0(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,i=this._cachedMatchRoot.get(A).find(Q=>o0(n.parent,Q.parentScopes));return i?new Wg(i.fontStyle,i.foreground,i.background):null}},wa=class Yr{constructor(A,t){this.parent=A,this.scopeName=t}static push(A,t){for(const i of t)A=new Yr(A,i);return A}static from(...A){let t=null;for(let i=0;i<A.length;i++)t=new Yr(t,A[i]);return t}push(A){return new Yr(this,A)}getSegments(){let A=this;const t=[];for(;A;)t.push(A.scopeName),A=A.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const t=[];let i=this;for(;i&&i!==A;)t.push(i.scopeName),i=i.parent;return i===A?t.reverse():void 0}};function o0(n,A){if(A.length===0)return!0;for(let t=0;t<A.length;t++){let i=A[t],Q=!1;if(i===">"){if(t===A.length-1)return!1;i=A[++t],Q=!0}for(;n&&!s0(n.scopeName,i);){if(Q)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function s0(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Wg=class{constructor(n,A,t){this.fontStyle=n,this.foregroundId=A,this.backgroundId=t}};function r0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,t=[],i=0;for(let Q=0,w=A.length;Q<w;Q++){let a=A[Q];if(!a.settings)continue;let b;if(typeof a.scope=="string"){let G=a.scope;G=G.replace(/^[,]+/,""),G=G.replace(/[,]+$/,""),b=G.split(",")}else Array.isArray(a.scope)?b=a.scope:b=[""];let S=-1;if(typeof a.settings.fontStyle=="string"){S=0;let G=a.settings.fontStyle.split(" ");for(let K=0,J=G.length;K<J;K++)switch(G[K]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof a.settings.foreground=="string"&&Jg(a.settings.foreground)&&(f=a.settings.foreground);let N=null;typeof a.settings.background=="string"&&Jg(a.settings.background)&&(N=a.settings.background);for(let G=0,K=b.length;G<K;G++){let T=b[G].trim().split(" "),P=T[T.length-1],_=null;T.length>1&&(_=T.slice(0,T.length-1),_.reverse()),t[i++]=new a0(P,_,Q,S,f,N)}}return t}var a0=class{constructor(n,A,t,i,Q,w){this.scope=n,this.parentScopes=A,this.index=t,this.fontStyle=i,this.foreground=Q,this.background=w}},vn=(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))(vn||{});function l0(n,A){n.sort((S,f)=>{let N=Og(S.scope,f.scope);return N!==0||(N=$g(S.parentScopes,f.parentScopes),N!==0)?N:S.index-f.index});let t=0,i="#000000",Q="#ffffff";for(;n.length>=1&&n[0].scope==="";){let S=n.shift();S.fontStyle!==-1&&(t=S.fontStyle),S.foreground!==null&&(i=S.foreground),S.background!==null&&(Q=S.background)}let w=new c0(A),a=new Wg(t,w.getId(i),w.getId(Q)),b=new u0(new Da(0,null,-1,0,0),[]);for(let S=0,f=n.length;S<f;S++){let N=n[S];b.insert(0,N.scope,N.parentScopes,N.fontStyle,w.getId(N.foreground),w.getId(N.background))}return new bs(w,a,b)}var c0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,t=n.length;A<t;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},g0=Object.freeze([]),Da=class eB{constructor(A,t,i,Q,w){this.scopeDepth=A,this.parentScopes=t||g0,this.fontStyle=i,this.foreground=Q,this.background=w}clone(){return new eB(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let t=[];for(let i=0,Q=A.length;i<Q;i++)t[i]=A[i].clone();return t}acceptOverwrite(A,t,i,Q){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),Q!==0&&(this.background=Q)}},u0=class wc{constructor(A,t=[],i={}){this._mainRule=A,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(A,t){if(A.scopeDepth!==t.scopeDepth)return t.scopeDepth-A.scopeDepth;let i=0,Q=0;for(;A.parentScopes[i]===">"&&i++,t.parentScopes[Q]===">"&&Q++,!(i>=A.parentScopes.length||Q>=t.parentScopes.length);){const w=t.parentScopes[Q].length-A.parentScopes[i].length;if(w!==0)return w;i++,Q++}return t.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let i=A.indexOf("."),Q,w;if(i===-1?(Q=A,w=""):(Q=A.substring(0,i),w=A.substring(i+1)),this._children.hasOwnProperty(Q))return this._children[Q].match(w)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(wc._cmpBySpecificity),t}insert(A,t,i,Q,w,a){if(t===""){this._doInsertHere(A,i,Q,w,a);return}let b=t.indexOf("."),S,f;b===-1?(S=t,f=""):(S=t.substring(0,b),f=t.substring(b+1));let N;this._children.hasOwnProperty(S)?N=this._children[S]:(N=new wc(this._mainRule.clone(),Da.cloneArr(this._rulesWithParentScopes)),this._children[S]=N),N.insert(A+1,f,i,Q,w,a)}_doInsertHere(A,t,i,Q,w){if(t===null){this._mainRule.acceptOverwrite(A,i,Q,w);return}for(let a=0,b=this._rulesWithParentScopes.length;a<b;a++){let S=this._rulesWithParentScopes[a];if($g(S.parentScopes,t)===0){S.acceptOverwrite(A,i,Q,w);return}}i===-1&&(i=this._mainRule.fontStyle),Q===0&&(Q=this._mainRule.foreground),w===0&&(w=this._mainRule.background),this._rulesWithParentScopes.push(new Da(A,t,i,Q,w))}},Ri=class cn{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const t=cn.getLanguageId(A),i=cn.getTokenType(A),Q=cn.getFontStyle(A),w=cn.getForeground(A),a=cn.getBackground(A);console.log({languageId:t,tokenType:i,fontStyle:Q,foreground:w,background:a})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,t,i,Q,w,a,b){let S=cn.getLanguageId(A),f=cn.getTokenType(A),N=cn.containsBalancedBrackets(A)?1:0,G=cn.getFontStyle(A),K=cn.getForeground(A),J=cn.getBackground(A);return t!==0&&(S=t),i!==8&&(f=i),Q!==null&&(N=Q?1:0),w!==-1&&(G=w),a!==0&&(K=a),b!==0&&(J=b),(S<<0|f<<8|N<<10|G<<11|K<<15|J<<24)>>>0}};function BR(n){return n}function CR(n){return n}function ys(n,A){const t=[],i=d0(n);let Q=i.next();for(;Q!==null;){let S=0;if(Q.length===2&&Q.charAt(1)===":"){switch(Q.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${Q} in scope selector`)}Q=i.next()}let f=a();if(t.push({matcher:f,priority:S}),Q!==",")break;Q=i.next()}return t;function w(){if(Q==="-"){Q=i.next();const S=w();return f=>!!S&&!S(f)}if(Q==="("){Q=i.next();const S=b();return Q===")"&&(Q=i.next()),S}if(jg(Q)){const S=[];do S.push(Q),Q=i.next();while(jg(Q));return f=>A(S,f)}return null}function a(){const S=[];let f=w();for(;f;)S.push(f),f=w();return N=>S.every(G=>G(N))}function b(){const S=[];let f=a();for(;f&&(S.push(f),Q==="|"||Q===",");){do Q=i.next();while(Q==="|"||Q===",");f=a()}return N=>S.some(G=>G(N))}}function jg(n){return!!n&&!!n.match(/[\w\.:]+/)}function d0(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=A.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=A.exec(n),i}}}function qg(n){typeof n.dispose=="function"&&n.dispose()}var Co=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},h0=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},p0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},B0=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Co(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new p0;for(const t of n)C0(t,this.initialScopeName,this.repo,A);for(const t of A.references)if(t instanceof Co){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 C0(n,A,t,i){const Q=t.lookup(n.scopeName);if(!Q){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const w=t.lookup(A);n instanceof Co?vs({baseGrammar:w,selfGrammar:Q},i):ba(n.ruleName,{baseGrammar:w,selfGrammar:Q,repository:Q.repository},i);const a=t.injections(n.scopeName);if(a)for(const b of a)i.add(new Co(b))}function ba(n,A,t){if(A.repository&&A.repository[n]){const i=A.repository[n];ks([i],A,t)}}function vs(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ks(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&ks(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function ks(n,A,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const Q=i.repository?Tg({},A.repository,i.repository):A.repository;Array.isArray(i.patterns)&&ks(i.patterns,{...A,repository:Q},t);const w=i.include;if(!w)continue;const a=Xg(w);switch(a.kind){case 0:vs({...A,selfGrammar:A.baseGrammar},t);break;case 1:vs(A,t);break;case 2:ba(a.ruleName,{...A,repository:Q},t);break;case 3:case 4:const b=a.scopeName===A.selfGrammar.scopeName?A.selfGrammar:a.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const S={baseGrammar:A.baseGrammar,selfGrammar:b,repository:Q};a.kind===4?ba(a.ruleName,S,t):vs(S,t)}else a.kind===4?t.add(new h0(a.scopeName,a.ruleName)):t.add(new Co(a.scopeName));break}}}var E0=class{constructor(){this.kind=0}},Q0=class{constructor(){this.kind=1}},m0=class{constructor(n){this.ruleName=n,this.kind=2}},I0=class{constructor(n){this.scopeName=n,this.kind=3}},f0=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Xg(n){if(n==="$base")return new E0;if(n==="$self")return new Q0;const A=n.indexOf("#");if(A===-1)return new I0(n);if(A===0)return new m0(n.substring(1));{const t=n.substring(0,A),i=n.substring(A+1);return new f0(t,i)}}var w0=/\\(\d+)/,Vg=/\\(\d+)/g,D0=-1,Au=-2;function ER(n){return n}function QR(n){return n}var Eo=class{constructor(n,A,t,i){this.$location=n,this.id=A,this._name=t||null,this._nameIsCapturing=Ds.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ds.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Yg(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:Ds.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ds.replaceCaptures(this._contentName,n,A)}},b0=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,i),this.retokenizeCapturedWithRuleId=Q}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,t,i){throw new Error("Not supported!")}},y0=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,null),this._match=new Qo(i,this.id),this.captures=Q,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eu=class extends Eo{constructor(n,A,t,i,Q){super(n,A,t,i),this.patterns=Q.patterns,this.hasMissingPatterns=Q.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const t of this.patterns)n.getRule(t).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ya=class extends Eo{constructor(n,A,t,i,Q,w,a,b,S,f){super(n,A,t,i),this._begin=new Qo(Q,this.id),this.beginCaptures=w,this._end=new Qo(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n,A).compileAG(n,t,i)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;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,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},_s=class extends Eo{constructor(n,A,t,i,Q,w,a,b,S){super(n,A,t,i),this._begin=new Qo(Q,this.id),this.beginCaptures=w,this.whileCaptures=b,this._while=new Qo(a,Au),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.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,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,t,i){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new mo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},tu=class ft{static createCaptureRule(A,t,i,Q,w){return A.registerRule(a=>new b0(t,a,i,Q,w))}static getCompiledRuleId(A,t,i){return A.id||t.registerRule(Q=>{if(A.id=Q,A.match)return new y0(A.$vscodeTextmateLocation,A.id,A.name,A.match,ft._compileCaptures(A.captures,t,i));if(typeof A.begin>"u"){A.repository&&(i=Tg({},i,A.repository));let w=A.patterns;return typeof w>"u"&&A.include&&(w=[{include:A.include}]),new eu(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,ft._compilePatterns(w,t,i))}return A.while?new _s(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,t,i),A.while,ft._compileCaptures(A.whileCaptures||A.captures,t,i),ft._compilePatterns(A.patterns,t,i)):new ya(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,t,i),A.end,ft._compileCaptures(A.endCaptures||A.captures,t,i),A.applyEndPatternLast,ft._compilePatterns(A.patterns,t,i))}),A.id}static _compileCaptures(A,t,i){let Q=[];if(A){let w=0;for(const a in A){if(a==="$vscodeTextmateLocation")continue;const b=parseInt(a,10);b>w&&(w=b)}for(let a=0;a<=w;a++)Q[a]=null;for(const a in A){if(a==="$vscodeTextmateLocation")continue;const b=parseInt(a,10);let S=0;A[a].patterns&&(S=ft.getCompiledRuleId(A[a],t,i)),Q[b]=ft.createCaptureRule(t,A[a].$vscodeTextmateLocation,A[a].name,A[a].contentName,S)}}return Q}static _compilePatterns(A,t,i){let Q=[];if(A)for(let w=0,a=A.length;w<a;w++){const b=A[w];let S=-1;if(b.include){const f=Xg(b.include);switch(f.kind){case 0:case 1:S=ft.getCompiledRuleId(i[b.include],t,i);break;case 2:let N=i[f.ruleName];N&&(S=ft.getCompiledRuleId(N,t,i));break;case 3:case 4:const G=f.scopeName,K=f.kind===4?f.ruleName:null,J=t.getExternalGrammar(G,i);if(J)if(K){let T=J.repository[K];T&&(S=ft.getCompiledRuleId(T,t,J.repository))}else S=ft.getCompiledRuleId(J.repository.$self,t,J.repository);break}}else S=ft.getCompiledRuleId(b,t,i);if(S!==-1){const f=t.getRule(S);let N=!1;if((f instanceof eu||f instanceof ya||f instanceof _s)&&f.hasMissingPatterns&&f.patterns.length===0&&(N=!0),N)continue;Q.push(S)}}return{patterns:Q,hasMissingPatterns:(A?A.length:0)!==Q.length}}},Qo=class tB{constructor(A,t){if(A){const i=A.length;let Q=0,w=[],a=!1;for(let b=0;b<i;b++)if(A.charAt(b)==="\\"&&b+1<i){const f=A.charAt(b+1);f==="z"?(w.push(A.substring(Q,b)),w.push("$(?!\\n)(?<!\\n)"),Q=b+2):(f==="A"||f==="G")&&(a=!0),b++}this.hasAnchor=a,Q===0?this.source=A:(w.push(A.substring(Q,i)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=w0.test(this.source)}clone(){return new tB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,t){let i=t.map(Q=>A.substring(Q.start,Q.end));return Vg.lastIndex=0,this.source.replace(Vg,(Q,w)=>Zg(i[parseInt(w,10)]||""))}_buildAnchorCache(){let A=[],t=[],i=[],Q=[],w,a,b,S;for(w=0,a=this.source.length;w<a;w++)b=this.source.charAt(w),A[w]=b,t[w]=b,i[w]=b,Q[w]=b,b==="\\"&&w+1<a&&(S=this.source.charAt(w+1),S==="A"?(A[w+1]="",t[w+1]="",i[w+1]="A",Q[w+1]="A"):S==="G"?(A[w+1]="",t[w+1]="G",i[w+1]="",Q[w+1]="G"):(A[w+1]=S,t[w+1]=S,i[w+1]=S,Q[w+1]=S),w++);return{A0_G0:A.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:Q.join("")}}resolveAnchors(A,t){return!this.hasAnchor||!this._anchorCache?this.source:A?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},mo=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,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(t=>t.source);this._cached=new nu(n,A,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,A,t){return this._hasAnchors?A?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,t){let i=this._items.map(Q=>Q.resolveAnchors(A,t));return new nu(n,i,this._items.map(Q=>Q.ruleId))}},nu=class{constructor(n,A,t){this.regExps=A,this.rules=t,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,t=this.rules.length;A<t;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
|
|
81
81
|
`)}findNextMatchSync(n,A,t){const i=this.scanner.findNextMatchSync(n,A,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},va=class{constructor(n,A){this.languageId=n,this.tokenType=A}},ka=class Dc{constructor(A,t){this._getBasicScopeAttributes=new zg(i=>{const Q=this._scopeToLanguage(i),w=this._toStandardTokenType(i);return new va(Q,w)}),this._defaultAttributes=new va(A,8),this._embeddedLanguagesMatcher=new k0(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(A){return A===null?Dc._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(A)}_scopeToLanguage(A){return this._embeddedLanguagesMatcher.match(A)||0}_toStandardTokenType(A){const t=A.match(Dc.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!")}};ka._NULL_SCOPE_METADATA=new va(0,0),ka.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var v0=ka,k0=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const A=n.map(([t,i])=>Zg(t));A.sort(),A.reverse(),this.scopesRegExp=new RegExp(`^((${A.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const A=n.match(this.scopesRegExp);if(A)return this.values.get(A[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var iu=class{constructor(n,A){this.stack=n,this.stoppedEarly=A}};function ou(n,A,t,i,Q,w,a,b){const S=A.content.length;let f=!1,N=-1;if(a){const J=_0(n,A,t,i,Q,w);Q=J.stack,i=J.linePos,t=J.isFirstLine,N=J.anchorPosition}const G=Date.now();for(;!f;){if(b!==0&&Date.now()-G>b)return new iu(Q,!0);K()}return new iu(Q,!1);function K(){const J=M0(n,A,t,i,Q,N);if(!J){w.produce(Q,S),f=!0;return}const T=J.captureIndices,P=J.matchedRuleId,_=T&&T.length>0?T[0].end>i:!1;if(P===D0){const m=Q.getRule(n);w.produce(Q,T[0].start),Q=Q.withContentNameScopesList(Q.nameScopesList),Io(n,A,t,Q,w,m.endCaptures,T),w.produce(Q,T[0].end);const L=Q;if(Q=Q.parent,N=L.getAnchorPos(),!_&&L.getEnterPos()===i){Q=L,w.produce(Q,S),f=!0;return}}else{const m=n.getRule(P);w.produce(Q,T[0].start);const L=Q,k=m.getName(A.content,T),y=Q.contentNameScopesList.pushAttributed(k,n);if(Q=Q.push(P,i,N,T[0].end===S,null,y,y),m instanceof ya){const C=m;Io(n,A,t,Q,w,C.beginCaptures,T),w.produce(Q,T[0].end),N=T[0].end;const u=C.getContentName(A.content,T),p=y.pushAttributed(u,n);if(Q=Q.withContentNameScopesList(p),C.endHasBackReferences&&(Q=Q.withEndRule(C.getEndWithResolvedBackReferences(A.content,T))),!_&&L.hasSameRuleAs(Q)){Q=Q.pop(),w.produce(Q,S),f=!0;return}}else if(m instanceof _s){const C=m;Io(n,A,t,Q,w,C.beginCaptures,T),w.produce(Q,T[0].end),N=T[0].end;const u=C.getContentName(A.content,T),p=y.pushAttributed(u,n);if(Q=Q.withContentNameScopesList(p),C.whileHasBackReferences&&(Q=Q.withEndRule(C.getWhileWithResolvedBackReferences(A.content,T))),!_&&L.hasSameRuleAs(Q)){Q=Q.pop(),w.produce(Q,S),f=!0;return}}else if(Io(n,A,t,Q,w,m.captures,T),w.produce(Q,T[0].end),Q=Q.pop(),!_){Q=Q.safePop(),w.produce(Q,S),f=!0;return}}T[0].end>i&&(i=T[0].end,t=!1)}}function _0(n,A,t,i,Q,w){let a=Q.beginRuleCapturedEOL?0:-1;const b=[];for(let S=Q;S;S=S.pop()){const f=S.getRule(n);f instanceof _s&&b.push({rule:f,stack:S})}for(let S=b.pop();S;S=b.pop()){const{ruleScanner:f,findOptions:N}=N0(S.rule,n,S.stack.endRule,t,i===a),G=f.findNextMatchSync(A,i,N);if(G){if(G.ruleId!==Au){Q=S.stack.pop();break}G.captureIndices&&G.captureIndices.length&&(w.produce(S.stack,G.captureIndices[0].start),Io(n,A,t,S.stack,w,S.rule.whileCaptures,G.captureIndices),w.produce(S.stack,G.captureIndices[0].end),a=G.captureIndices[0].end,G.captureIndices[0].end>i&&(i=G.captureIndices[0].end,t=!1))}else{Q=S.stack.pop();break}}return{stack:Q,linePos:i,anchorPosition:a,isFirstLine:t}}function M0(n,A,t,i,Q,w){const a=S0(n,A,t,i,Q,w),b=n.getInjections();if(b.length===0)return a;const S=x0(b,n,A,t,i,Q,w);if(!S)return a;if(!a)return S;const f=a.captureIndices[0].start,N=S.captureIndices[0].start;return N<f||S.priorityMatch&&N===f?S:a}function S0(n,A,t,i,Q,w){const a=Q.getRule(n),{ruleScanner:b,findOptions:S}=su(a,n,Q.endRule,t,i===w),f=b.findNextMatchSync(A,i,S);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function x0(n,A,t,i,Q,w,a){let b=Number.MAX_VALUE,S=null,f,N=0;const G=w.contentNameScopesList.getScopeNames();for(let K=0,J=n.length;K<J;K++){const T=n[K];if(!T.matcher(G))continue;const P=A.getRule(T.ruleId),{ruleScanner:_,findOptions:m}=su(P,A,null,i,Q===a),L=_.findNextMatchSync(t,Q,m);if(!L)continue;const k=L.captureIndices[0].start;if(!(k>=b)&&(b=k,S=L.captureIndices,f=L.ruleId,N=T.priority,b===Q))break}return S?{priorityMatch:N===-1,captureIndices:S,matchedRuleId:f}:null}function su(n,A,t,i,Q){return{ruleScanner:n.compileAG(A,t,i,Q),findOptions:0}}function N0(n,A,t,i,Q){return{ruleScanner:n.compileWhileAG(A,t,i,Q),findOptions:0}}function Io(n,A,t,i,Q,w,a){if(w.length===0)return;const b=A.content,S=Math.min(w.length,a.length),f=[],N=a[0].end;for(let G=0;G<S;G++){const K=w[G];if(K===null)continue;const J=a[G];if(J.length===0)continue;if(J.start>N)break;for(;f.length>0&&f[f.length-1].endPos<=J.start;)Q.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?Q.produceFromScopes(f[f.length-1].scopes,J.start):Q.produce(i,J.start),K.retokenizeCapturedWithRuleId){const P=K.getName(b,a),_=i.contentNameScopesList.pushAttributed(P,n),m=K.getContentName(b,a),L=_.pushAttributed(m,n),k=i.push(K.retokenizeCapturedWithRuleId,J.start,-1,!1,null,_,L),y=n.createOnigString(b.substring(0,J.end));ou(n,y,t&&J.start===0,J.start,k,Q,!1,0),qg(y);continue}const T=K.getName(b,a);if(T!==null){const _=(f.length>0?f[f.length-1].scopes:i.contentNameScopesList).pushAttributed(T,n);f.push(new F0(_,J.end))}}for(;f.length>0;)Q.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var F0=class{constructor(n,A){this.scopes=n,this.endPos=A}};function R0(n,A,t,i,Q,w,a,b){return new G0(n,A,t,i,Q,w,a,b)}function ru(n,A,t,i,Q){const w=ys(A,Ms),a=tu.getCompiledRuleId(t,i,Q.repository);for(const b of w)n.push({debugSelector:A,matcher:b.matcher,ruleId:a,grammar:Q,priority:b.priority})}function Ms(n,A){if(A.length<n.length)return!1;let t=0;return n.every(i=>{for(let Q=t;Q<A.length;Q++)if(L0(A[Q],i))return t=Q+1,!0;return!1})}function L0(n,A){if(!n)return!1;if(n===A)return!0;const t=A.length;return n.length>t&&n.substr(0,t)===A&&n[t]==="."}var G0=class{constructor(n,A,t,i,Q,w,a,b){if(this._rootScopeName=n,this.balancedBracketSelectors=w,this._onigLib=b,this._basicScopeAttributesProvider=new v0(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=au(A,null),this._injections=null,this._tokenTypeMatchers=[],Q)for(const S of Object.keys(Q)){const f=ys(S,Ms);for(const N of f)this._tokenTypeMatchers.push({matcher:N.matcher,type:Q[S]})}}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:Q=>Q===this._rootScopeName?this._grammar:this.getExternalGrammar(Q),injections:Q=>this._grammarRepository.injections(Q)},A=[],t=this._rootScopeName,i=n.lookup(t);if(i){const Q=i.injections;if(Q)for(let a in Q)ru(A,a,Q[a],this,i);const w=this._grammarRepository.injections(t);w&&w.forEach(a=>{const b=this.getExternalGrammar(a);if(b){const S=b.injectionSelector;S&&ru(A,S,b,this,b)}})}return A.sort((Q,w)=>Q.priority-w.priority),A}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const A=++this._lastRuleId,t=n(A);return this._ruleId2desc[A]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,A){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=au(t,A&&A.$base),this._includedGrammars[n]}}tokenizeLine(n,A,t=0){const i=this._tokenize(n,A,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,A,t=0){const i=this._tokenize(n,A,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,A,t,i){this._rootId===-1&&(this._rootId=tu.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let Q;if(!A||A===Ma.NULL){Q=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),N=this.themeProvider.getDefaults(),G=Ri.set(0,f.languageId,f.tokenType,null,N.fontStyle,N.foregroundId,N.backgroundId),K=this.getRule(this._rootId).getName(null,null);let J;K?J=fo.createRootAndLookUpScopeName(K,G,this):J=fo.createRoot("unknown",G),A=new Ma(null,this._rootId,-1,-1,!1,null,J,J)}else Q=!1,A.reset();n=n+`
|
|
82
82
|
`;const w=this.createOnigString(n),a=w.content.length,b=new P0(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),S=ou(this,w,Q,0,A,b,!0,i);return qg(w),{lineLength:a,lineTokens:b,ruleStack:S.stack,stoppedEarly:S.stoppedEarly}}};function au(n,A){return n=t0(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=A||n.repository.$self,n}var fo=class yn{constructor(A,t,i){this.parent=A,this.scopePath=t,this.tokenAttributes=i}static fromExtension(A,t){let i=A,Q=(A==null?void 0:A.scopePath)??null;for(const w of t)Q=wa.push(Q,w.scopeNames),i=new yn(i,Q,w.encodedTokenAttributes);return i}static createRoot(A,t){return new yn(null,new wa(null,A),t)}static createRootAndLookUpScopeName(A,t,i){const Q=i.getMetadataForScope(A),w=new wa(null,A),a=i.themeProvider.themeMatch(w),b=yn.mergeAttributes(t,Q,a);return new yn(null,w,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(A){return yn.equals(this,A)}static equals(A,t){do{if(A===t||!A&&!t)return!0;if(!A||!t||A.scopeName!==t.scopeName||A.tokenAttributes!==t.tokenAttributes)return!1;A=A.parent,t=t.parent}while(!0)}static mergeAttributes(A,t,i){let Q=-1,w=0,a=0;return i!==null&&(Q=i.fontStyle,w=i.foregroundId,a=i.backgroundId),Ri.set(A,t.languageId,t.tokenType,null,Q,w,a)}pushAttributed(A,t){if(A===null)return this;if(A.indexOf(" ")===-1)return yn._pushAttributed(this,A,t);const i=A.split(/ /g);let Q=this;for(const w of i)Q=yn._pushAttributed(Q,w,t);return Q}static _pushAttributed(A,t,i){const Q=i.getMetadataForScope(t),w=A.scopePath.push(t),a=i.themeProvider.themeMatch(w),b=yn.mergeAttributes(A.tokenAttributes,Q,a);return new yn(A,w,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(A){var Q;const t=[];let i=this;for(;i&&i!==A;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((Q=i.parent)==null?void 0:Q.scopePath)??null)}),i=i.parent;return i===A?t.reverse():void 0}},_a=class lo{constructor(A,t,i,Q,w,a,b,S){this.parent=A,this.ruleId=t,this.beginRuleCapturedEOL=w,this.endRule=a,this.nameScopesList=b,this.contentNameScopesList=S,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=Q}equals(A){return A===null?!1:lo._equals(this,A)}static _equals(A,t){return A===t?!0:this._structuralEquals(A,t)?fo.equals(A.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(A,t){do{if(A===t||!A&&!t)return!0;if(!A||!t||A.depth!==t.depth||A.ruleId!==t.ruleId||A.endRule!==t.endRule)return!1;A=A.parent,t=t.parent}while(!0)}clone(){return this}static _reset(A){for(;A;)A._enterPos=-1,A._anchorPos=-1,A=A.parent}reset(){lo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(A,t,i,Q,w,a,b){return new lo(this,A,t,i,Q,w,a,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(A){return A.getRule(this.ruleId)}toString(){const A=[];return this._writeString(A,0),"["+A.join(",")+"]"}_writeString(A,t){var i,Q;return this.parent&&(t=this.parent._writeString(A,t)),A[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(Q=this.contentNameScopesList)==null?void 0:Q.toString()})`,t}withContentNameScopesList(A){return this.contentNameScopesList===A?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,A)}withEndRule(A){return this.endRule===A?this:new lo(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,A,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(A){let t=this;for(;t&&t._enterPos===A._enterPos;){if(t.ruleId===A.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var A,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((A=this.parent)==null?void 0:A.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(A,t){const i=fo.fromExtension((A==null?void 0:A.nameScopesList)??null,t.nameScopesList);return new lo(A,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,fo.fromExtension(i,t.contentNameScopesList))}};_a.NULL=new _a(null,0,0,0,!1,null,null,null);var Ma=_a,H0=class{constructor(n,A){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):ys(t,Ms).map(i=>i.matcher)),this.unbalancedBracketScopes=A.flatMap(t=>ys(t,Ms).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 A of this.unbalancedBracketScopes)if(A(n))return!1;for(const A of this.balancedBracketScopes)if(A(n))return!0;return this.allowAny}},P0=class{constructor(n,A,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,A){this.produceFromScopes(n.contentNameScopesList,A)}produceFromScopes(n,A){var i;if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let Q=(n==null?void 0:n.tokenAttributes)??0,w=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(w=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(a)&&(Q=Ri.set(Q,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(w=this.balancedBracketSelectors.match(a))}if(w&&(Q=Ri.set(Q,0,8,w,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===Q){this._lastTokenEndIndex=A;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(Q),this._lastTokenEndIndex=A;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:t}),this._lastTokenEndIndex=A}getResult(n,A){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===A-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,A){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===A-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,A),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,Q=this._binaryTokens.length;i<Q;i++)t[i]=this._binaryTokens[i];return t}},K0=class{constructor(n,A){this._onigLib=A,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,A){this._rawGrammars.set(n.scopeName,n),A&&this._injectionGrammars.set(n.scopeName,A)}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,A,t,i,Q){if(!this._grammars.has(n)){let w=this._rawGrammars.get(n);if(!w)return null;this._grammars.set(n,R0(n,w,A,t,i,Q,this,this._onigLib))}return this._grammars.get(n)}},U0=class{constructor(A){this._options=A,this._syncRegistry=new K0(bs.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,t){this._syncRegistry.setTheme(bs.createFromRawTheme(A,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(A,t,i){return this.loadGrammarWithConfiguration(A,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(A,t,i){return this._loadGrammar(A,t,i.embeddedLanguages,i.tokenTypes,new H0(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}_loadGrammar(A,t,i,Q,w){const a=new B0(this._syncRegistry,A);for(;a.Q.length>0;)a.Q.map(b=>this._loadSingleGrammar(b.scopeName)),a.processQueue();return this._grammarForScopeName(A,t,i,Q,w)}_loadSingleGrammar(A){this._ensureGrammarCache.has(A)||(this._doLoadSingleGrammar(A),this._ensureGrammarCache.set(A,!0))}_doLoadSingleGrammar(A){const t=this._options.loadGrammar(A);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(A):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(A,t=[],i=0,Q=null){return this._syncRegistry.addGrammar(A,t),this._grammarForScopeName(A.scopeName,i,Q)}_grammarForScopeName(A,t=0,i=null,Q=null,w=null){return this._syncRegistry.grammarForScopeName(A,t,i,Q,w)}},Sa=Ma.NULL;const T0=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class wo{constructor(A,t,i){this.property=A,this.normal=t,i&&(this.space=i)}}wo.prototype.property={},wo.prototype.normal={},wo.prototype.space=null;function lu(n,A){const t={},i={};let Q=-1;for(;++Q<n.length;)Object.assign(t,n[Q].property),Object.assign(i,n[Q].normal);return new wo(t,i,A)}function xa(n){return n.toLowerCase()}class jt{constructor(A,t){this.property=A,this.attribute=t}}jt.prototype.space=null,jt.prototype.boolean=!1,jt.prototype.booleanish=!1,jt.prototype.overloadedBoolean=!1,jt.prototype.number=!1,jt.prototype.commaSeparated=!1,jt.prototype.spaceSeparated=!1,jt.prototype.commaOrSpaceSeparated=!1,jt.prototype.mustUseProperty=!1,jt.prototype.defined=!1;let Y0=0;const Ie=ci(),st=ci(),cu=ci(),$A=ci(),Te=ci(),Li=ci(),Gt=ci();function ci(){return 2**++Y0}const Na=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:st,commaOrSpaceSeparated:Gt,commaSeparated:Li,number:$A,overloadedBoolean:cu,spaceSeparated:Te},Symbol.toStringTag,{value:"Module"})),Fa=Object.keys(Na);class Ra extends jt{constructor(A,t,i,Q){let w=-1;if(super(A,t),gu(this,"space",Q),typeof i=="number")for(;++w<Fa.length;){const a=Fa[w];gu(this,Fa[w],(i&Na[a])===Na[a])}}}Ra.prototype.defined=!0;function gu(n,A,t){t&&(n[A]=t)}const O0={}.hasOwnProperty;function Gi(n){const A={},t={};let i;for(i in n.properties)if(O0.call(n.properties,i)){const Q=n.properties[i],w=new Ra(i,n.transform(n.attributes||{},i),Q,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(w.mustUseProperty=!0),A[i]=w,t[xa(i)]=i,t[xa(w.attribute)]=i}return new wo(A,t,n.space)}const uu=Gi({space:"xlink",transform(n,A){return"xlink:"+A.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),du=Gi({space:"xml",transform(n,A){return"xml:"+A.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function hu(n,A){return A in n?n[A]:A}function pu(n,A){return hu(n,A.toLowerCase())}const Bu=Gi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pu,properties:{xmlns:null,xmlnsXLink:null}}),Cu=Gi({transform(n,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:$A,ariaColIndex:$A,ariaColSpan:$A,ariaControls:Te,ariaCurrent:null,ariaDescribedBy:Te,ariaDetails:null,ariaDisabled:st,ariaDropEffect:Te,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:Te,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Te,ariaLevel:$A,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:Te,ariaPlaceholder:null,ariaPosInSet:$A,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:Te,ariaRowCount:$A,ariaRowIndex:$A,ariaRowSpan:$A,ariaSelected:st,ariaSetSize:$A,ariaSort:null,ariaValueMax:$A,ariaValueMin:$A,ariaValueNow:$A,ariaValueText:null,role:null}}),$0=Gi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Li,acceptCharset:Te,accessKey:Te,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:Te,autoFocus:Ie,autoPlay:Ie,blocking:Te,capture:null,charSet:null,checked:Ie,cite:null,className:Te,cols:$A,colSpan:null,content:null,contentEditable:st,controls:Ie,controlsList:Te,coords:$A|Li,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:cu,draggable:st,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:Te,height:$A,hidden:Ie,high:$A,href:null,hrefLang:null,htmlFor:Te,httpEquiv:Te,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:Te,itemRef:Te,itemScope:Ie,itemType:Te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:$A,manifest:null,max:null,maxLength:$A,media:null,method:null,min:null,minLength:$A,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,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:Ie,optimum:$A,pattern:null,ping:Te,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:Te,required:Ie,reversed:Ie,rows:$A,rowSpan:$A,sandbox:Te,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:$A,sizes:null,slot:null,span:$A,spellCheck:st,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$A,step:null,style:null,tabIndex:$A,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:st,width:$A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Te,axis:null,background:null,bgColor:null,border:$A,borderColor:null,bottomMargin:$A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:$A,leftMargin:$A,link:null,longDesc:null,lowSrc:null,marginHeight:$A,marginWidth:$A,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:$A,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:$A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:$A,security:null,unselectable:null}}),J0=Gi({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:hu,properties:{about:Gt,accentHeight:$A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$A,amplitude:$A,arabicForm:null,ascent:$A,attributeName:null,attributeType:null,azimuth:$A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$A,by:null,calcMode:null,capHeight:$A,className:Te,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:$A,diffuseConstant:$A,direction:null,display:null,dur:null,divisor:$A,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:$A,enableBackground:null,end:null,event:null,exponent:$A,externalResourcesRequired:null,fill:null,fillOpacity:$A,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:Li,g2:Li,glyphName:Li,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$A,horizOriginX:$A,horizOriginY:$A,id:null,ideographic:$A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$A,k:$A,k1:$A,k2:$A,k3:$A,k4:$A,kernelMatrix:Gt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$A,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:$A,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:$A,overlineThickness:$A,paintOrder:null,panose1:null,path:null,pathLength:$A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$A,pointsAtY:$A,pointsAtZ:$A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gt,rev:Gt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gt,requiredFeatures:Gt,requiredFonts:Gt,requiredFormats:Gt,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:$A,specularExponent:$A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$A,strikethroughThickness:$A,string:null,stroke:null,strokeDashArray:Gt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$A,strokeOpacity:$A,strokeWidth:null,style:null,surfaceScale:$A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gt,tabIndex:$A,tableValues:null,target:null,targetX:$A,targetY:$A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$A,underlineThickness:$A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$A,values:null,vAlphabetic:$A,vMathematical:$A,vectorEffect:null,vHanging:$A,vIdeographic:$A,version:null,vertAdvY:$A,vertOriginX:$A,vertOriginY:$A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Z0=/^data[-\w.:]+$/i,Eu=/-[a-z]/g,z0=/[A-Z]/g;function W0(n,A){const t=xa(A);let i=A,Q=jt;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Z0.test(A)){if(A.charAt(4)==="-"){const w=A.slice(5).replace(Eu,q0);i="data"+w.charAt(0).toUpperCase()+w.slice(1)}else{const w=A.slice(4);if(!Eu.test(w)){let a=w.replace(z0,j0);a.charAt(0)!=="-"&&(a="-"+a),A="data"+a}}Q=Ra}return new Q(i,A)}function j0(n){return"-"+n.toLowerCase()}function q0(n){return n.charAt(1).toUpperCase()}const X0=lu([du,uu,Bu,Cu,$0],"html"),Qu=lu([du,uu,Bu,Cu,J0],"svg"),mu={}.hasOwnProperty;function V0(n,A){const t=A||{};function i(Q,...w){let a=i.invalid;const b=i.handlers;if(Q&&mu.call(Q,n)){const S=String(Q[n]);a=mu.call(b,S)?b[S]:i.unknown}if(a)return a.call(this,Q,...w)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const AD=/["&'<>`]/g,eD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tD=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,nD=/[|\\{}()[\]^$+*?.]/g,Iu=new WeakMap;function iD(n,A){if(n=n.replace(A.subset?oD(A.subset):AD,i),A.subset||A.escapeOnly)return n;return n.replace(eD,t).replace(tD,i);function t(Q,w,a){return A.format((Q.charCodeAt(0)-55296)*1024+Q.charCodeAt(1)-56320+65536,a.charCodeAt(w+2),A)}function i(Q,w,a){return A.format(Q.charCodeAt(0),a.charCodeAt(w+1),A)}}function oD(n){let A=Iu.get(n);return A||(A=sD(n),Iu.set(n,A)),A}function sD(n){const A=[];let t=-1;for(;++t<n.length;)A.push(n[t].replace(nD,"\\$&"));return new RegExp("(?:"+A.join("|")+")","g")}const rD=/[\dA-Fa-f]/;function aD(n,A,t){const i="&#x"+n.toString(16).toUpperCase();return t&&A&&!rD.test(String.fromCharCode(A))?i:i+";"}const lD=/\d/;function cD(n,A,t){const i="&#"+String(n);return t&&A&&!lD.test(String.fromCharCode(A))?i:i+";"}const gD=["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"],La={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:"€"},uD=["cent","copy","divide","gt","lt","not","para","times"],fu={}.hasOwnProperty,Ga={};let Ss;for(Ss in La)fu.call(La,Ss)&&(Ga[La[Ss]]=Ss);const dD=/[^\dA-Za-z]/;function hD(n,A,t,i){const Q=String.fromCharCode(n);if(fu.call(Ga,Q)){const w=Ga[Q],a="&"+w;return t&&gD.includes(w)&&!uD.includes(w)&&(!i||A&&A!==61&&dD.test(String.fromCharCode(A)))?a:a+";"}return""}function pD(n,A,t){let i=aD(n,A,t.omitOptionalSemicolons),Q;if((t.useNamedReferences||t.useShortestReferences)&&(Q=hD(n,A,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!Q)&&t.useShortestReferences){const w=cD(n,A,t.omitOptionalSemicolons);w.length<i.length&&(i=w)}return Q&&(!t.useShortestReferences||Q.length<i.length)?Q:i}function Hi(n,A){return iD(n,Object.assign({format:pD},A))}const BD=/^>|^->|<!--|-->|--!>|<!-$/g,CD=[">"],ED=["<",">"];function QD(n,A,t,i){return i.settings.bogusComments?"<?"+Hi(n.value,Object.assign({},i.settings.characterReferences,{subset:CD}))+">":"<!--"+n.value.replace(BD,Q)+"-->";function Q(w){return Hi(w,Object.assign({},i.settings.characterReferences,{subset:ED}))}}function mD(n,A,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function wu(n,A){const t=String(n);if(typeof A!="string")throw new TypeError("Expected character");let i=0,Q=t.indexOf(A);for(;Q!==-1;)i++,Q=t.indexOf(A,Q+A.length);return i}function ID(n,A){const t=A||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function fD(n){return n.join(" ").trim()}const wD=/[ \t\n\f\r]/g;function Ha(n){return typeof n=="object"?n.type==="text"?Du(n.value):!1:Du(n)}function Du(n){return n.replace(wD,"")===""}const at=yu(1),bu=yu(-1),DD=[];function yu(n){return A;function A(t,i,Q){const w=t?t.children:DD;let a=(i||0)+n,b=w[a];if(!Q)for(;b&&Ha(b);)a+=n,b=w[a];return b}}const bD={}.hasOwnProperty;function vu(n){return A;function A(t,i,Q){return bD.call(n,t.tagName)&&n[t.tagName](t,i,Q)}}const Pa=vu({body:vD,caption:Ka,colgroup:Ka,dd:SD,dt:MD,head:Ka,html:yD,li:_D,optgroup:xD,option:ND,p:kD,rp:ku,rt:ku,tbody:RD,td:_u,tfoot:LD,th:_u,thead:FD,tr:GD});function Ka(n,A,t){const i=at(t,A,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Ha(i.value.charAt(0)))}function yD(n,A,t){const i=at(t,A);return!i||i.type!=="comment"}function vD(n,A,t){const i=at(t,A);return!i||i.type!=="comment"}function kD(n,A,t){const i=at(t,A);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 _D(n,A,t){const i=at(t,A);return!i||i.type==="element"&&i.tagName==="li"}function MD(n,A,t){const i=at(t,A);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function SD(n,A,t){const i=at(t,A);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function ku(n,A,t){const i=at(t,A);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function xD(n,A,t){const i=at(t,A);return!i||i.type==="element"&&i.tagName==="optgroup"}function ND(n,A,t){const i=at(t,A);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function FD(n,A,t){const i=at(t,A);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function RD(n,A,t){const i=at(t,A);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function LD(n,A,t){return!at(t,A)}function GD(n,A,t){const i=at(t,A);return!i||i.type==="element"&&i.tagName==="tr"}function _u(n,A,t){const i=at(t,A);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const HD=vu({body:UD,colgroup:TD,head:KD,html:PD,tbody:YD});function PD(n){const A=at(n,-1);return!A||A.type!=="comment"}function KD(n){const A=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(A.has(i.tagName))return!1;A.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function UD(n){const A=at(n,-1,!0);return!A||A.type!=="comment"&&!(A.type==="text"&&Ha(A.value.charAt(0)))&&!(A.type==="element"&&(A.tagName==="meta"||A.tagName==="link"||A.tagName==="script"||A.tagName==="style"||A.tagName==="template"))}function TD(n,A,t){const i=bu(t,A),Q=at(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&Pa(i,t.children.indexOf(i),t)?!1:!!(Q&&Q.type==="element"&&Q.tagName==="col")}function YD(n,A,t){const i=bu(t,A),Q=at(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&Pa(i,t.children.indexOf(i),t)?!1:!!(Q&&Q.type==="element"&&Q.tagName==="tr")}const xs={name:[[`
|
|
83
83
|
\f\r &/=>`.split(""),`
|
|
@@ -93,7 +93,7 @@ You passed in: '`+this.raw_options[i]+"'");return a},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 ju(n,A){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);A&&(i=i.filter(function(Q){return Object.getOwnPropertyDescriptor(n,Q).enumerable})),t.push.apply(t,i)}return t}function En(n){for(var A=1;A<arguments.length;A++){var t=arguments[A]!=null?arguments[A]:{};A%2?ju(Object(t),!0).forEach(function(i){cy(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ju(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Us(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Us=function(A){return typeof A}:Us=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Us(n)}function cy(n,A,t){return A in n?Object.defineProperty(n,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[A]=t,n}function kn(){return kn=Object.assign||function(n){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},kn.apply(this,arguments)}function gy(n,A){if(n==null)return{};var t={},i=Object.keys(n),Q,w;for(w=0;w<i.length;w++)Q=i[w],!(A.indexOf(Q)>=0)&&(t[Q]=n[Q]);return t}function uy(n,A){if(n==null)return{};var t=gy(n,A),i,Q;if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(n);for(Q=0;Q<w.length;Q++)i=w[Q],!(A.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var dy="1.14.0";function _n(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Mn=_n(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ko=_n(/Edge/i),qu=_n(/firefox/i),_o=_n(/safari/i)&&!_n(/chrome/i)&&!_n(/android/i),Xu=_n(/iP(ad|od|hone)/i),hy=_n(/chrome/i)&&_n(/android/i),Vu={capture:!1,passive:!1};function Ne(n,A,t){n.addEventListener(A,t,!Mn&&Vu)}function Se(n,A,t){n.removeEventListener(A,t,!Mn&&Vu)}function Ts(n,A){if(A){if(A[0]===">"&&(A=A.substring(1)),n)try{if(n.matches)return n.matches(A);if(n.msMatchesSelector)return n.msMatchesSelector(A);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(A)}catch{return!1}return!1}}function py(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Qn(n,A,t,i){if(n){t=t||document;do{if(A!=null&&(A[0]===">"?n.parentNode===t&&Ts(n,A):Ts(n,A))||i&&n===t)return n;if(n===t)break}while(n=py(n))}return null}var Ad=/\s+/g;function Ht(n,A,t){if(n&&A)if(n.classList)n.classList[t?"add":"remove"](A);else{var i=(" "+n.className+" ").replace(Ad," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(Ad," ")}}function pe(n,A,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),A===void 0?t:t[A];!(A in i)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),i[A]=t+(typeof t=="string"?"":"px")}}function Ki(n,A){var t="";if(typeof n=="string")t=n;else do{var i=pe(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!A&&(n=n.parentNode));var Q=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return Q&&new Q(t)}function ed(n,A,t){if(n){var i=n.getElementsByTagName(A),Q=0,w=i.length;if(t)for(;Q<w;Q++)t(i[Q],Q);return i}return[]}function mn(){var n=document.scrollingElement;return n||document.documentElement}function lt(n,A,t,i,Q){if(!(!n.getBoundingClientRect&&n!==window)){var w,a,b,S,f,N,G;if(n!==window&&n.parentNode&&n!==mn()?(w=n.getBoundingClientRect(),a=w.top,b=w.left,S=w.bottom,f=w.right,N=w.height,G=w.width):(a=0,b=0,S=window.innerHeight,f=window.innerWidth,N=window.innerHeight,G=window.innerWidth),(A||t)&&n!==window&&(Q=Q||n.parentNode,!Mn))do if(Q&&Q.getBoundingClientRect&&(pe(Q,"transform")!=="none"||t&&pe(Q,"position")!=="static")){var K=Q.getBoundingClientRect();a-=K.top+parseInt(pe(Q,"border-top-width")),b-=K.left+parseInt(pe(Q,"border-left-width")),S=a+w.height,f=b+w.width;break}while(Q=Q.parentNode);if(i&&n!==window){var J=Ki(Q||n),T=J&&J.a,P=J&&J.d;J&&(a/=P,b/=T,G/=T,N/=P,S=a+N,f=b+G)}return{top:a,left:b,bottom:S,right:f,width:G,height:N}}}function td(n,A,t){for(var i=Jn(n,!0),Q=lt(n)[A];i;){var w=lt(i)[t],a=void 0;if(a=Q>=w,!a)return i;if(i===mn())break;i=Jn(i,!1)}return!1}function Ui(n,A,t,i){for(var Q=0,w=0,a=n.children;w<a.length;){if(a[w].style.display!=="none"&&a[w]!==Be.ghost&&(i||a[w]!==Be.dragged)&&Qn(a[w],t.draggable,n,!1)){if(Q===A)return a[w];Q++}w++}return null}function Ja(n,A){for(var t=n.lastElementChild;t&&(t===Be.ghost||pe(t,"display")==="none"||A&&!Ts(t,A));)t=t.previousElementSibling;return t||null}function qt(n,A){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Be.clone&&(!A||Ts(n,A))&&t++;return t}function nd(n){var A=0,t=0,i=mn();if(n)do{var Q=Ki(n),w=Q.a,a=Q.d;A+=n.scrollLeft*w,t+=n.scrollTop*a}while(n!==i&&(n=n.parentNode));return[A,t]}function By(n,A){for(var t in n)if(n.hasOwnProperty(t)){for(var i in A)if(A.hasOwnProperty(i)&&A[i]===n[t][i])return Number(t)}return-1}function Jn(n,A){if(!n||!n.getBoundingClientRect)return mn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var Q=pe(t);if(t.clientWidth<t.scrollWidth&&(Q.overflowX=="auto"||Q.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(Q.overflowY=="auto"||Q.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return mn();if(i||A)return t;i=!0}}while(t=t.parentNode);return mn()}function Cy(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function Za(n,A){return Math.round(n.top)===Math.round(A.top)&&Math.round(n.left)===Math.round(A.left)&&Math.round(n.height)===Math.round(A.height)&&Math.round(n.width)===Math.round(A.width)}var Mo;function id(n,A){return function(){if(!Mo){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mo=setTimeout(function(){Mo=void 0},A)}}}function Ey(){clearTimeout(Mo),Mo=void 0}function od(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function sd(n){var A=window.Polymer,t=window.jQuery||window.Zepto;return A&&A.dom?A.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Pt="Sortable"+new Date().getTime();function Qy(){var n=[],A;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(Q){if(!(pe(Q,"display")==="none"||Q===Be.ghost)){n.push({target:Q,rect:lt(Q)});var w=En({},n[n.length-1].rect);if(Q.thisAnimationDuration){var a=Ki(Q,!0);a&&(w.top-=a.f,w.left-=a.e)}Q.fromRect=w}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(By(n,{target:i}),1)},animateAll:function(i){var Q=this;if(!this.options.animation){clearTimeout(A),typeof i=="function"&&i();return}var w=!1,a=0;n.forEach(function(b){var S=0,f=b.target,N=f.fromRect,G=lt(f),K=f.prevFromRect,J=f.prevToRect,T=b.rect,P=Ki(f,!0);P&&(G.top-=P.f,G.left-=P.e),f.toRect=G,f.thisAnimationDuration&&Za(K,G)&&!Za(N,G)&&(T.top-G.top)/(T.left-G.left)===(N.top-G.top)/(N.left-G.left)&&(S=Iy(T,K,J,Q.options)),Za(G,N)||(f.prevFromRect=N,f.prevToRect=G,S||(S=Q.options.animation),Q.animate(f,T,G,S)),S&&(w=!0,a=Math.max(a,S),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},S),f.thisAnimationDuration=S)}),clearTimeout(A),w?A=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),n=[]},animate:function(i,Q,w,a){if(a){pe(i,"transition",""),pe(i,"transform","");var b=Ki(this.el),S=b&&b.a,f=b&&b.d,N=(Q.left-w.left)/(S||1),G=(Q.top-w.top)/(f||1);i.animatingX=!!N,i.animatingY=!!G,pe(i,"transform","translate3d("+N+"px,"+G+"px,0)"),this.forRepaintDummy=my(i),pe(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),pe(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){pe(i,"transition",""),pe(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function my(n){return n.offsetWidth}function Iy(n,A,t,i){return Math.sqrt(Math.pow(A.top-n.top,2)+Math.pow(A.left-n.left,2))/Math.sqrt(Math.pow(A.top-t.top,2)+Math.pow(A.left-t.left,2))*i.animation}var Ti=[],za={initializeByDefault:!0},So={mount:function(A){for(var t in za)za.hasOwnProperty(t)&&!(t in A)&&(A[t]=za[t]);Ti.forEach(function(i){if(i.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Ti.push(A)},pluginEvent:function(A,t,i){var Q=this;this.eventCanceled=!1,i.cancel=function(){Q.eventCanceled=!0};var w=A+"Global";Ti.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][w]&&t[a.pluginName][w](En({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][A]&&t[a.pluginName][A](En({sortable:t},i)))})},initializePlugins:function(A,t,i,Q){Ti.forEach(function(b){var S=b.pluginName;if(!(!A.options[S]&&!b.initializeByDefault)){var f=new b(A,t,A.options);f.sortable=A,f.options=A.options,A[S]=f,kn(i,f.defaults)}});for(var w in A.options)if(A.options.hasOwnProperty(w)){var a=this.modifyOption(A,w,A.options[w]);typeof a<"u"&&(A.options[w]=a)}},getEventProperties:function(A,t){var i={};return Ti.forEach(function(Q){typeof Q.eventProperties=="function"&&kn(i,Q.eventProperties.call(t[Q.pluginName],A))}),i},modifyOption:function(A,t,i){var Q;return Ti.forEach(function(w){A[w.pluginName]&&w.optionListeners&&typeof w.optionListeners[t]=="function"&&(Q=w.optionListeners[t].call(A[w.pluginName],i))}),Q}};function fy(n){var A=n.sortable,t=n.rootEl,i=n.name,Q=n.targetEl,w=n.cloneEl,a=n.toEl,b=n.fromEl,S=n.oldIndex,f=n.newIndex,N=n.oldDraggableIndex,G=n.newDraggableIndex,K=n.originalEvent,J=n.putSortable,T=n.extraEventProperties;if(A=A||t&&t[Pt],!!A){var P,_=A.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Mn&&!ko?P=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(P=document.createEvent("Event"),P.initEvent(i,!0,!0)),P.to=a||t,P.from=b||t,P.item=Q||t,P.clone=w,P.oldIndex=S,P.newIndex=f,P.oldDraggableIndex=N,P.newDraggableIndex=G,P.originalEvent=K,P.pullMode=J?J.lastPutMode:void 0;var L=En(En({},T),So.getEventProperties(i,A));for(var k in L)P[k]=L[k];t&&t.dispatchEvent(P),_[m]&&_[m].call(A,P)}}var wy=["evt"],St=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Q=i.evt,w=uy(i,wy);So.pluginEvent.bind(Be)(A,t,En({dragEl:qA,parentEl:Ve,ghostEl:fe,rootEl:ze,nextEl:hi,lastDownEl:Ys,cloneEl:At,cloneHidden:Zn,dragStarted:No,putSortable:Bt,activeSortable:Be.active,originalEvent:Q,oldIndex:Yi,oldDraggableIndex:xo,newIndex:Kt,newDraggableIndex:zn,hideGhostForTarget:dd,unhideGhostForTarget:hd,cloneNowHidden:function(){Zn=!0},cloneNowShown:function(){Zn=!1},dispatchSortableEvent:function(b){Dt({sortable:t,name:b,originalEvent:Q})}},w))};function Dt(n){fy(En({putSortable:Bt,cloneEl:At,targetEl:qA,rootEl:ze,oldIndex:Yi,oldDraggableIndex:xo,newIndex:Kt,newDraggableIndex:zn},n))}var qA,Ve,fe,ze,hi,Ys,At,Zn,Yi,Kt,xo,zn,Os,Bt,Oi=!1,$s=!1,Js=[],pi,un,Wa,ja,rd,ad,No,$i,Fo,Ro=!1,Zs=!1,zs,Qt,qa=[],Xa=!1,Ws=[],js=typeof document<"u",qs=Xu,ld=ko||Mn?"cssFloat":"float",Dy=js&&!hy&&!Xu&&"draggable"in document.createElement("div"),cd=function(){if(js){if(Mn)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),gd=function(A,t){var i=pe(A),Q=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),w=Ui(A,0,t),a=Ui(A,1,t),b=w&&pe(w),S=a&&pe(a),f=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+lt(w).width,N=S&&parseInt(S.marginLeft)+parseInt(S.marginRight)+lt(a).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(w&&b.float&&b.float!=="none"){var G=b.float==="left"?"left":"right";return a&&(S.clear==="both"||S.clear===G)?"vertical":"horizontal"}return w&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||f>=Q&&i[ld]==="none"||a&&i[ld]==="none"&&f+N>Q)?"vertical":"horizontal"},by=function(A,t,i){var Q=i?A.left:A.top,w=i?A.right:A.bottom,a=i?A.width:A.height,b=i?t.left:t.top,S=i?t.right:t.bottom,f=i?t.width:t.height;return Q===b||w===S||Q+a/2===b+f/2},yy=function(A,t){var i;return Js.some(function(Q){var w=Q[Pt].options.emptyInsertThreshold;if(!(!w||Ja(Q))){var a=lt(Q),b=A>=a.left-w&&A<=a.right+w,S=t>=a.top-w&&t<=a.bottom+w;if(b&&S)return i=Q}}),i},ud=function(A){function t(w,a){return function(b,S,f,N){var G=b.options.group.name&&S.options.group.name&&b.options.group.name===S.options.group.name;if(w==null&&(a||G))return!0;if(w==null||w===!1)return!1;if(a&&w==="clone")return w;if(typeof w=="function")return t(w(b,S,f,N),a)(b,S,f,N);var K=(a?b:S).options.group.name;return w===!0||typeof w=="string"&&w===K||w.join&&w.indexOf(K)>-1}}var i={},Q=A.group;(!Q||Us(Q)!="object")&&(Q={name:Q}),i.name=Q.name,i.checkPull=t(Q.pull,!0),i.checkPut=t(Q.put),i.revertClone=Q.revertClone,A.group=i},dd=function(){!cd&&fe&&pe(fe,"display","none")},hd=function(){!cd&&fe&&pe(fe,"display","")};js&&document.addEventListener("click",function(n){if($s)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),$s=!1,!1},!0);var Bi=function(A){if(qA){A=A.touches?A.touches[0]:A;var t=yy(A.clientX,A.clientY);if(t){var i={};for(var Q in A)A.hasOwnProperty(Q)&&(i[Q]=A[Q]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Pt]._onDragOver(i)}}},vy=function(A){qA&&qA.parentNode[Pt]._isOutsideThisEl(A.target)};function Be(n,A){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=A=kn({},A),n[Pt]=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 gd(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(a,b){a.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:Be.supportPointer!==!1&&"PointerEvent"in window&&!_o,emptyInsertThreshold:5};So.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);ud(A);for(var Q in this)Q.charAt(0)==="_"&&typeof this[Q]=="function"&&(this[Q]=this[Q].bind(this));this.nativeDraggable=A.forceFallback?!1:Dy,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?Ne(n,"pointerdown",this._onTapStart):(Ne(n,"mousedown",this._onTapStart),Ne(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ne(n,"dragover",this),Ne(n,"dragenter",this)),Js.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),kn(this,Qy())}Be.prototype={constructor:Be,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&($i=null)},_getDirection:function(A,t){return typeof this.options.direction=="function"?this.options.direction.call(this,A,t,qA):this.options.direction},_onTapStart:function(A){if(A.cancelable){var t=this,i=this.el,Q=this.options,w=Q.preventOnFilter,a=A.type,b=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,S=(b||A).target,f=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||S,N=Q.filter;if(Ry(i),!qA&&!(/mousedown|pointerdown/.test(a)&&A.button!==0||Q.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&_o&&S&&S.tagName.toUpperCase()==="SELECT")&&(S=Qn(S,Q.draggable,i,!1),!(S&&S.animated)&&Ys!==S)){if(Yi=qt(S),xo=qt(S,Q.draggable),typeof N=="function"){if(N.call(this,A,S,this)){Dt({sortable:t,rootEl:f,name:"filter",targetEl:S,toEl:i,fromEl:i}),St("filter",t,{evt:A}),w&&A.cancelable&&A.preventDefault();return}}else if(N&&(N=N.split(",").some(function(G){if(G=Qn(f,G.trim(),i,!1),G)return Dt({sortable:t,rootEl:G,name:"filter",targetEl:S,fromEl:i,toEl:i}),St("filter",t,{evt:A}),!0}),N)){w&&A.cancelable&&A.preventDefault();return}Q.handle&&!Qn(f,Q.handle,i,!1)||this._prepareDragStart(A,b,S)}}},_prepareDragStart:function(A,t,i){var Q=this,w=Q.el,a=Q.options,b=w.ownerDocument,S;if(i&&!qA&&i.parentNode===w){var f=lt(i);if(ze=w,qA=i,Ve=qA.parentNode,hi=qA.nextSibling,Ys=i,Os=a.group,Be.dragged=qA,pi={target:qA,clientX:(t||A).clientX,clientY:(t||A).clientY},rd=pi.clientX-f.left,ad=pi.clientY-f.top,this._lastX=(t||A).clientX,this._lastY=(t||A).clientY,qA.style["will-change"]="all",S=function(){if(St("delayEnded",Q,{evt:A}),Be.eventCanceled){Q._onDrop();return}Q._disableDelayedDragEvents(),!qu&&Q.nativeDraggable&&(qA.draggable=!0),Q._triggerDragStart(A,t),Dt({sortable:Q,name:"choose",originalEvent:A}),Ht(qA,a.chosenClass,!0)},a.ignore.split(",").forEach(function(N){ed(qA,N.trim(),Va)}),Ne(b,"dragover",Bi),Ne(b,"mousemove",Bi),Ne(b,"touchmove",Bi),Ne(b,"mouseup",Q._onDrop),Ne(b,"touchend",Q._onDrop),Ne(b,"touchcancel",Q._onDrop),qu&&this.nativeDraggable&&(this.options.touchStartThreshold=4,qA.draggable=!0),St("delayStart",this,{evt:A}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(ko||Mn))){if(Be.eventCanceled){this._onDrop();return}Ne(b,"mouseup",Q._disableDelayedDrag),Ne(b,"touchend",Q._disableDelayedDrag),Ne(b,"touchcancel",Q._disableDelayedDrag),Ne(b,"mousemove",Q._delayedDragTouchMoveHandler),Ne(b,"touchmove",Q._delayedDragTouchMoveHandler),a.supportPointer&&Ne(b,"pointermove",Q._delayedDragTouchMoveHandler),Q._dragStartTimer=setTimeout(S,a.delay)}else S()}},_delayedDragTouchMoveHandler:function(A){var t=A.touches?A.touches[0]:A;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(){qA&&Va(qA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._disableDelayedDrag),Se(A,"touchend",this._disableDelayedDrag),Se(A,"touchcancel",this._disableDelayedDrag),Se(A,"mousemove",this._delayedDragTouchMoveHandler),Se(A,"touchmove",this._delayedDragTouchMoveHandler),Se(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,t){t=t||A.pointerType=="touch"&&A,!this.nativeDraggable||t?this.options.supportPointer?Ne(document,"pointermove",this._onTouchMove):t?Ne(document,"touchmove",this._onTouchMove):Ne(document,"mousemove",this._onTouchMove):(Ne(qA,"dragend",this),Ne(ze,"dragstart",this._onDragStart));try{document.selection?Vs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,t){if(Oi=!1,ze&&qA){St("dragStarted",this,{evt:t}),this.nativeDraggable&&Ne(document,"dragover",vy);var i=this.options;!A&&Ht(qA,i.dragClass,!1),Ht(qA,i.ghostClass,!0),Be.active=this,A&&this._appendGhost(),Dt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(un){this._lastX=un.clientX,this._lastY=un.clientY,dd();for(var A=document.elementFromPoint(un.clientX,un.clientY),t=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(un.clientX,un.clientY),A!==t);)t=A;if(qA.parentNode[Pt]._isOutsideThisEl(A),t)do{if(t[Pt]){var i=void 0;if(i=t[Pt]._onDragOver({clientX:un.clientX,clientY:un.clientY,target:A,rootEl:t}),i&&!this.options.dragoverBubble)break}A=t}while(t=t.parentNode);hd()}},_onTouchMove:function(A){if(pi){var t=this.options,i=t.fallbackTolerance,Q=t.fallbackOffset,w=A.touches?A.touches[0]:A,a=fe&&Ki(fe,!0),b=fe&&a&&a.a,S=fe&&a&&a.d,f=qs&&Qt&&nd(Qt),N=(w.clientX-pi.clientX+Q.x)/(b||1)+(f?f[0]-qa[0]:0)/(b||1),G=(w.clientY-pi.clientY+Q.y)/(S||1)+(f?f[1]-qa[1]:0)/(S||1);if(!Be.active&&!Oi){if(i&&Math.max(Math.abs(w.clientX-this._lastX),Math.abs(w.clientY-this._lastY))<i)return;this._onDragStart(A,!0)}if(fe){a?(a.e+=N-(Wa||0),a.f+=G-(ja||0)):a={a:1,b:0,c:0,d:1,e:N,f:G};var K="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");pe(fe,"webkitTransform",K),pe(fe,"mozTransform",K),pe(fe,"msTransform",K),pe(fe,"transform",K),Wa=N,ja=G,un=w}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!fe){var A=this.options.fallbackOnBody?document.body:ze,t=lt(qA,!0,qs,!0,A),i=this.options;if(qs){for(Qt=A;pe(Qt,"position")==="static"&&pe(Qt,"transform")==="none"&&Qt!==document;)Qt=Qt.parentNode;Qt!==document.body&&Qt!==document.documentElement?(Qt===document&&(Qt=mn()),t.top+=Qt.scrollTop,t.left+=Qt.scrollLeft):Qt=mn(),qa=nd(Qt)}fe=qA.cloneNode(!0),Ht(fe,i.ghostClass,!1),Ht(fe,i.fallbackClass,!0),Ht(fe,i.dragClass,!0),pe(fe,"transition",""),pe(fe,"transform",""),pe(fe,"box-sizing","border-box"),pe(fe,"margin",0),pe(fe,"top",t.top),pe(fe,"left",t.left),pe(fe,"width",t.width),pe(fe,"height",t.height),pe(fe,"opacity","0.8"),pe(fe,"position",qs?"absolute":"fixed"),pe(fe,"zIndex","100000"),pe(fe,"pointerEvents","none"),Be.ghost=fe,A.appendChild(fe),pe(fe,"transform-origin",rd/parseInt(fe.style.width)*100+"% "+ad/parseInt(fe.style.height)*100+"%")}},_onDragStart:function(A,t){var i=this,Q=A.dataTransfer,w=i.options;if(St("dragStart",this,{evt:A}),Be.eventCanceled){this._onDrop();return}St("setupClone",this),Be.eventCanceled||(At=sd(qA),At.draggable=!1,At.style["will-change"]="",this._hideClone(),Ht(At,this.options.chosenClass,!1),Be.clone=At),i.cloneId=Vs(function(){St("clone",i),!Be.eventCanceled&&(i.options.removeCloneOnHide||ze.insertBefore(At,qA),i._hideClone(),Dt({sortable:i,name:"clone"}))}),!t&&Ht(qA,w.dragClass,!0),t?($s=!0,i._loopId=setInterval(i._emulateDragOver,50)):(Se(document,"mouseup",i._onDrop),Se(document,"touchend",i._onDrop),Se(document,"touchcancel",i._onDrop),Q&&(Q.effectAllowed="move",w.setData&&w.setData.call(i,Q,qA)),Ne(document,"drop",i),pe(qA,"transform","translateZ(0)")),Oi=!0,i._dragStartId=Vs(i._dragStarted.bind(i,t,A)),Ne(document,"selectstart",i),No=!0,_o&&pe(document.body,"user-select","none")},_onDragOver:function(A){var t=this.el,i=A.target,Q,w,a,b=this.options,S=b.group,f=Be.active,N=Os===S,G=b.sort,K=Bt||f,J,T=this,P=!1;if(Xa)return;function _(D,x){St(D,T,En({evt:A,isOwner:N,axis:J?"vertical":"horizontal",revert:a,dragRect:Q,targetRect:w,canSort:G,fromSortable:K,target:i,completed:L,onMove:function($,j){return Xs(ze,t,qA,Q,$,lt($),A,j)},changed:k},x))}function m(){_("dragOverAnimationCapture"),T.captureAnimationState(),T!==K&&K.captureAnimationState()}function L(D){return _("dragOverCompleted",{insertion:D}),D&&(N?f._hideClone():f._showClone(T),T!==K&&(Ht(qA,Bt?Bt.options.ghostClass:f.options.ghostClass,!1),Ht(qA,b.ghostClass,!0)),Bt!==T&&T!==Be.active?Bt=T:T===Be.active&&Bt&&(Bt=null),K===T&&(T._ignoreWhileAnimating=i),T.animateAll(function(){_("dragOverAnimationComplete"),T._ignoreWhileAnimating=null}),T!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(i===qA&&!qA.animated||i===t&&!i.animated)&&($i=null),!b.dragoverBubble&&!A.rootEl&&i!==document&&(qA.parentNode[Pt]._isOutsideThisEl(A.target),!D&&Bi(A)),!b.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),P=!0}function k(){Kt=qt(qA),zn=qt(qA,b.draggable),Dt({sortable:T,name:"change",toEl:t,newIndex:Kt,newDraggableIndex:zn,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Qn(i,b.draggable,t,!0),_("dragOver"),Be.eventCanceled)return P;if(qA.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||T._ignoreWhileAnimating===i)return L(!1);if($s=!1,f&&!b.disabled&&(N?G||(a=Ve!==ze):Bt===this||(this.lastPutMode=Os.checkPull(this,f,qA,A))&&S.checkPut(this,f,qA,A))){if(J=this._getDirection(A,i)==="vertical",Q=lt(qA),_("dragOverValid"),Be.eventCanceled)return P;if(a)return Ve=ze,m(),this._hideClone(),_("revert"),Be.eventCanceled||(hi?ze.insertBefore(qA,hi):ze.appendChild(qA)),L(!0);var y=Ja(t,b.draggable);if(!y||Sy(A,J,this)&&!y.animated){if(y===qA)return L(!1);if(y&&t===A.target&&(i=y),i&&(w=lt(i)),Xs(ze,t,qA,Q,i,w,A,!!i)!==!1)return m(),t.appendChild(qA),Ve=t,k(),L(!0)}else if(y&&My(A,J,this)){var C=Ui(t,0,b,!0);if(C===qA)return L(!1);if(i=C,w=lt(i),Xs(ze,t,qA,Q,i,w,A,!1)!==!1)return m(),t.insertBefore(qA,C),Ve=t,k(),L(!0)}else if(i.parentNode===t){w=lt(i);var u=0,p,l=qA.parentNode!==t,g=!by(qA.animated&&qA.toRect||Q,i.animated&&i.toRect||w,J),r=J?"top":"left",d=td(i,"top","top")||td(qA,"top","top"),h=d?d.scrollTop:void 0;$i!==i&&(p=w[r],Ro=!1,Zs=!g&&b.invertSwap||l),u=xy(A,i,w,J,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,Zs,$i===i);var s;if(u!==0){var o=qt(qA);do o-=u,s=Ve.children[o];while(s&&(pe(s,"display")==="none"||s===fe))}if(u===0||s===i)return L(!1);$i=i,Fo=u;var B=i.nextElementSibling,E=!1;E=u===1;var M=Xs(ze,t,qA,Q,i,w,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Xa=!0,setTimeout(_y,30),m(),E&&!B?t.appendChild(qA):i.parentNode.insertBefore(qA,E?B:i),d&&od(d,0,h-d.scrollTop),Ve=qA.parentNode,p!==void 0&&!Zs&&(zs=Math.abs(p-lt(i)[r])),k(),L(!0)}if(t.contains(qA))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",Bi),Se(document,"mousemove",Bi),Se(document,"touchmove",Bi)},_offUpEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._onDrop),Se(A,"touchend",this._onDrop),Se(A,"pointerup",this._onDrop),Se(A,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(A){var t=this.el,i=this.options;if(Kt=qt(qA),zn=qt(qA,i.draggable),St("drop",this,{evt:A}),Ve=qA&&qA.parentNode,Kt=qt(qA),zn=qt(qA,i.draggable),Be.eventCanceled){this._nulling();return}Oi=!1,Zs=!1,Ro=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Al(this.cloneId),Al(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_o&&pe(document.body,"user-select",""),pe(qA,"transform",""),A&&(No&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),fe&&fe.parentNode&&fe.parentNode.removeChild(fe),(ze===Ve||Bt&&Bt.lastPutMode!=="clone")&&At&&At.parentNode&&At.parentNode.removeChild(At),qA&&(this.nativeDraggable&&Se(qA,"dragend",this),Va(qA),qA.style["will-change"]="",No&&!Oi&&Ht(qA,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Ht(qA,this.options.chosenClass,!1),Dt({sortable:this,name:"unchoose",toEl:Ve,newIndex:null,newDraggableIndex:null,originalEvent:A}),ze!==Ve?(Kt>=0&&(Dt({rootEl:Ve,name:"add",toEl:Ve,fromEl:ze,originalEvent:A}),Dt({sortable:this,name:"remove",toEl:Ve,originalEvent:A}),Dt({rootEl:Ve,name:"sort",toEl:Ve,fromEl:ze,originalEvent:A}),Dt({sortable:this,name:"sort",toEl:Ve,originalEvent:A})),Bt&&Bt.save()):Kt!==Yi&&Kt>=0&&(Dt({sortable:this,name:"update",toEl:Ve,originalEvent:A}),Dt({sortable:this,name:"sort",toEl:Ve,originalEvent:A})),Be.active&&((Kt==null||Kt===-1)&&(Kt=Yi,zn=xo),Dt({sortable:this,name:"end",toEl:Ve,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){St("nulling",this),ze=qA=Ve=fe=hi=At=Ys=Zn=pi=un=No=Kt=zn=Yi=xo=$i=Fo=Bt=Os=Be.dragged=Be.ghost=Be.clone=Be.active=null,Ws.forEach(function(A){A.checked=!0}),Ws.length=Wa=ja=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":qA&&(this._onDragOver(A),ky(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],t,i=this.el.children,Q=0,w=i.length,a=this.options;Q<w;Q++)t=i[Q],Qn(t,a.draggable,this.el,!1)&&A.push(t.getAttribute(a.dataIdAttr)||Fy(t));return A},sort:function(A,t){var i={},Q=this.el;this.toArray().forEach(function(w,a){var b=Q.children[a];Qn(b,this.options.draggable,Q,!1)&&(i[w]=b)},this),t&&this.captureAnimationState(),A.forEach(function(w){i[w]&&(Q.removeChild(i[w]),Q.appendChild(i[w]))}),t&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,t){return Qn(A,t||this.options.draggable,this.el,!1)},option:function(A,t){var i=this.options;if(t===void 0)return i[A];var Q=So.modifyOption(this,A,t);typeof Q<"u"?i[A]=Q:i[A]=t,A==="group"&&ud(i)},destroy:function(){St("destroy",this);var A=this.el;A[Pt]=null,Se(A,"mousedown",this._onTapStart),Se(A,"touchstart",this._onTapStart),Se(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(A,"dragover",this),Se(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Js.splice(Js.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Zn){if(St("hideClone",this),Be.eventCanceled)return;pe(At,"display","none"),this.options.removeCloneOnHide&&At.parentNode&&At.parentNode.removeChild(At),Zn=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Zn){if(St("showClone",this),Be.eventCanceled)return;qA.parentNode==ze&&!this.options.group.revertClone?ze.insertBefore(At,qA):hi?ze.insertBefore(At,hi):ze.appendChild(At),this.options.group.revertClone&&this.animate(qA,At),pe(At,"display",""),Zn=!1}}};function ky(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function Xs(n,A,t,i,Q,w,a,b){var S,f=n[Pt],N=f.options.onMove,G;return window.CustomEvent&&!Mn&&!ko?S=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent("move",!0,!0)),S.to=A,S.from=n,S.dragged=t,S.draggedRect=i,S.related=Q||A,S.relatedRect=w||lt(A),S.willInsertAfter=b,S.originalEvent=a,n.dispatchEvent(S),N&&(G=N.call(f,S,a)),G}function Va(n){n.draggable=!1}function _y(){Xa=!1}function My(n,A,t){var i=lt(Ui(t.el,0,t.options,!0)),Q=10;return A?n.clientX<i.left-Q||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-Q||n.clientY<i.bottom&&n.clientX<i.left}function Sy(n,A,t){var i=lt(Ja(t.el,t.options.draggable)),Q=10;return A?n.clientX>i.right+Q||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+Q}function xy(n,A,t,i,Q,w,a,b){var S=i?n.clientY:n.clientX,f=i?t.height:t.width,N=i?t.top:t.left,G=i?t.bottom:t.right,K=!1;if(!a){if(b&&zs<f*Q){if(!Ro&&(Fo===1?S>N+f*w/2:S<G-f*w/2)&&(Ro=!0),Ro)K=!0;else if(Fo===1?S<N+zs:S>G-zs)return-Fo}else if(S>N+f*(1-Q)/2&&S<G-f*(1-Q)/2)return Ny(A)}return K=K||a,K&&(S<N+f*w/2||S>G-f*w/2)?S>N+f/2?1:-1:0}function Ny(n){return qt(qA)<qt(n)?1:-1}function Fy(n){for(var A=n.tagName+n.className+n.src+n.href+n.textContent,t=A.length,i=0;t--;)i+=A.charCodeAt(t);return i.toString(36)}function Ry(n){Ws.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&Ws.push(i)}}function Vs(n){return setTimeout(n,0)}function Al(n){return clearTimeout(n)}js&&Ne(document,"touchmove",function(n){(Be.active||Oi)&&n.cancelable&&n.preventDefault()}),Be.utils={on:Ne,off:Se,css:pe,find:ed,is:function(A,t){return!!Qn(A,t,A,!1)},extend:Cy,throttle:id,closest:Qn,toggleClass:Ht,clone:sd,index:qt,nextTick:Vs,cancelNextTick:Al,detectDirection:gd,getChild:Ui},Be.get=function(n){return n[Pt]},Be.mount=function(){for(var n=arguments.length,A=new Array(n),t=0;t<n;t++)A[t]=arguments[t];A[0].constructor===Array&&(A=A[0]),A.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&&(Be.utils=En(En({},Be.utils),i.utils)),So.mount(i)})},Be.create=function(n,A){return new Be(n,A)},Be.version=dy;var rt=[],Lo,el,tl=!1,nl,il,Ar,Go;function Ly(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var A in this)A.charAt(0)==="_"&&typeof this[A]=="function"&&(this[A]=this[A].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?Ne(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ne(document,"pointermove",this._handleFallbackAutoScroll):i.touches?Ne(document,"touchmove",this._handleFallbackAutoScroll):Ne(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),pd(),er(),Ey()},nulling:function(){Ar=el=Lo=tl=Go=nl=il=null,rt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var Q=this,w=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(w,a);if(Ar=t,i||this.options.forceAutoScrollFallback||ko||Mn||_o){ol(t,this.options,b,i);var S=Jn(b,!0);tl&&(!Go||w!==nl||a!==il)&&(Go&&pd(),Go=setInterval(function(){var f=Jn(document.elementFromPoint(w,a),!0);f!==S&&(S=f,er()),ol(t,Q.options,f,i)},10),nl=w,il=a)}else{if(!this.options.bubbleScroll||Jn(b,!0)===mn()){er();return}ol(t,this.options,Jn(b,!1),!1)}}},kn(n,{pluginName:"scroll",initializeByDefault:!0})}function er(){rt.forEach(function(n){clearInterval(n.pid)}),rt=[]}function pd(){clearInterval(Go)}var ol=id(function(n,A,t,i){if(A.scroll){var Q=(n.touches?n.touches[0]:n).clientX,w=(n.touches?n.touches[0]:n).clientY,a=A.scrollSensitivity,b=A.scrollSpeed,S=mn(),f=!1,N;el!==t&&(el=t,er(),Lo=A.scroll,N=A.scrollFn,Lo===!0&&(Lo=Jn(t,!0)));var G=0,K=Lo;do{var J=K,T=lt(J),P=T.top,_=T.bottom,m=T.left,L=T.right,k=T.width,y=T.height,C=void 0,u=void 0,p=J.scrollWidth,l=J.scrollHeight,g=pe(J),r=J.scrollLeft,d=J.scrollTop;J===S?(C=k<p&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),u=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(C=k<p&&(g.overflowX==="auto"||g.overflowX==="scroll"),u=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var h=C&&(Math.abs(L-Q)<=a&&r+k<p)-(Math.abs(m-Q)<=a&&!!r),s=u&&(Math.abs(_-w)<=a&&d+y<l)-(Math.abs(P-w)<=a&&!!d);if(!rt[G])for(var o=0;o<=G;o++)rt[o]||(rt[o]={});(rt[G].vx!=h||rt[G].vy!=s||rt[G].el!==J)&&(rt[G].el=J,rt[G].vx=h,rt[G].vy=s,clearInterval(rt[G].pid),(h!=0||s!=0)&&(f=!0,rt[G].pid=setInterval((function(){i&&this.layer===0&&Be.active._onTouchMove(Ar);var B=rt[this.layer].vy?rt[this.layer].vy*b:0,E=rt[this.layer].vx?rt[this.layer].vx*b:0;typeof N=="function"&&N.call(Be.dragged.parentNode[Pt],E,B,n,Ar,rt[this.layer].el)!=="continue"||od(rt[this.layer].el,E,B)}).bind({layer:G}),24))),G++}while(A.bubbleScroll&&K!==S&&(K=Jn(K,!1)));tl=f}},30),Bd=function(A){var t=A.originalEvent,i=A.putSortable,Q=A.dragEl,w=A.activeSortable,a=A.dispatchSortableEvent,b=A.hideGhostForTarget,S=A.unhideGhostForTarget;if(t){var f=i||w;b();var N=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,G=document.elementFromPoint(N.clientX,N.clientY);S(),f&&!f.el.contains(G)&&(a("spill"),this.onSpill({dragEl:Q,putSortable:i}))}};function sl(){}sl.prototype={startIndex:null,dragStart:function(A){var t=A.oldDraggableIndex;this.startIndex=t},onSpill:function(A){var t=A.dragEl,i=A.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var Q=Ui(this.sortable.el,this.startIndex,this.options);Q?this.sortable.el.insertBefore(t,Q):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:Bd},kn(sl,{pluginName:"revertOnSpill"});function rl(){}rl.prototype={onSpill:function(A){var t=A.dragEl,i=A.putSortable,Q=i||this.sortable;Q.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),Q.animateAll()},drop:Bd},kn(rl,{pluginName:"removeOnSpill"}),Be.mount(new Ly),Be.mount(rl,sl);var Gy=Object.defineProperty,Hy=Object.defineProperties,Py=Object.getOwnPropertyDescriptors,Cd=Object.getOwnPropertySymbols,Ky=Object.prototype.hasOwnProperty,Uy=Object.prototype.propertyIsEnumerable,Ed=(n,A,t)=>A in n?Gy(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Wn=(n,A)=>{for(var t in A||(A={}))Ky.call(A,t)&&Ed(n,t,A[t]);if(Cd)for(var t of Cd(A))Uy.call(A,t)&&Ed(n,t,A[t]);return n},tr=(n,A)=>Hy(n,Py(A));function al(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Qd(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function Ty(){return typeof window<"u"?window.console:global.console}const Yy=Ty();function Oy(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const $y=/-(\w)/g,Jy=Oy(n=>n.replace($y,(A,t)=>t.toUpperCase())),md=["Start","Add","Remove","Update","End"],Id=["Choose","Unchoose","Sort","Filter","Clone"],fd=["Move"],Zy=[fd,md,Id].flatMap(n=>n).map(n=>`on${n}`),ll={manage:fd,manageAndEmit:md,emit:Id};function zy(n){return Zy.indexOf(n)!==-1}const Wy=["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 jy(n){return Wy.includes(n)}function qy(n){return["transition-group","TransitionGroup"].includes(n)}function wd(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Dd(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function Xy({$attrs:n,componentData:A={}}){const t=Dd(Object.entries(n).filter(([i,Q])=>wd(i)));return Wn(Wn({},t),A)}function Vy({$attrs:n,callBackBuilder:A}){const t=Dd(bd(n));Object.entries(A).forEach(([Q,w])=>{ll[Q].forEach(a=>{t[`on${a}`]=w(a)})});const i=`[data-draggable]${t.draggable||""}`;return tr(Wn({},t),{draggable:i})}function bd(n){return Object.entries(n).filter(([A,t])=>!wd(A)).map(([A,t])=>[Jy(A),t]).filter(([A,t])=>!zy(A))}const yd=n=>{const A=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},Av=(n,A)=>n.__draggable_context=A,vd=n=>n.__draggable_context;class ev{constructor({nodes:{header:A,default:t,footer:i},root:Q,realList:w}){this.defaultNodes=t,this.children=[...A,...t,...i],this.externalComponent=Q.externalComponent,this.rootTransition=Q.transition,this.tag=Q.tag,this.realList=w}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,t){const{tag:i,children:Q,_isRootComponent:w}=this;return A(i,t,w?{default:()=>Q}:Q)}updated(){const{defaultNodes:A,realList:t}=this;A.forEach((i,Q)=>{Av(yd(i),{element:t[Q],index:Q})})}getUnderlyingVm(A){return vd(A)}getVmIndexFromDomIndex(A,t){const{defaultNodes:i}=this,{length:Q}=i,w=t.children,a=w.item(A);if(a===null)return Q;const b=vd(a);if(b)return b.index;if(Q===0)return 0;const S=yd(i[0]),f=[...w].findIndex(N=>N===S);return A<f?0:Q}}function tv(n,A){const t=n[A];return t?t():[]}function nv({$slots:n,realList:A,getKey:t}){const i=A||[],[Q,w]=["header","footer"].map(S=>tv(n,S)),{item:a}=n;if(!a)throw new Error("draggable element must have an item slot");const b=i.flatMap((S,f)=>a({element:S,index:f}).map(N=>(N.key=t(S),N.props=tr(Wn({},N.props||{}),{"data-draggable":!0}),N)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:Q,footer:w,default:b}}function iv(n){const A=qy(n),t=!jy(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function ov({$slots:n,tag:A,realList:t,getKey:i}){const Q=nv({$slots:n,realList:t,getKey:i}),w=iv(A);return new ev({nodes:Q,root:w,realList:t})}function kd(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function _d(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function sv(n){const A=_d.call(this,n);return(t,i)=>{A.call(this,t,i),kd.call(this,n,t)}}let cl=null;const rv={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}},av=["update:modelValue","change",...[...ll.manageAndEmit,...ll.emit].map(n=>n.toLowerCase())],Md=e.defineComponent({name:"draggable",inheritAttrs:!1,props:rv,emits:av,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:Q,getKey:w}=this,a=ov({$slots:n,tag:t,realList:Q,getKey:w});this.componentStructure=a;const b=Xy({$attrs:A,componentData:i});return a.render(e.h,b)}catch(n){return this.error=!0,e.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Yy.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:A,componentStructure:t}=this;t.updated();const i=Vy({$attrs:n,callBackBuilder:{manageAndEmit:w=>sv.call(this,w),emit:w=>kd.bind(this,w),manage:w=>_d.call(this,w)}}),Q=A.nodeType===1?A:A.parentElement;this._sortable=new Be(Q,i),this.targetDomElement=Q,Q.__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:A=>A[n]}},watch:{$attrs:{handler(n){const{_sortable:A}=this;A&&bd(n).forEach(([t,i])=>{A.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){e.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const A=[...this.modelValue];n(A),this.$emit("update:modelValue",A)},spliceList(){const n=A=>A.splice(...arguments);this.alterList(n)},updatePosition(n,A){const t=i=>i.splice(A,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:A}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,Q={list:i,component:t};if(n!==A&&i){const w=t.getUnderlyingVm(A)||{};return Wn(Wn({},w),Q)}return Q},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),cl=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;al(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,A);const i={element:A,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Qd(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){al(n.clone);return}const{index:A,element:t}=this.context;this.spliceList(A,1);const i={element:t,oldIndex:A};this.emitChanges({removed:i})},onDragUpdate(n){al(n.item),Qd(n.from,n.item,n.oldIndex);const A=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(A,t);const i={element:this.context.element,oldIndex:A,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,A){if(!n.element)return 0;const t=[...A.to.children].filter(a=>a.style.display!=="none"),i=t.indexOf(A.related),Q=n.component.getVmIndexFromDomIndex(i);return t.indexOf(cl)!==-1||!A.willInsertAfter?Q:Q+1},onDragMove(n,A){const{move:t,realList:i}=this;if(!t||!i)return!0;const Q=this.getRelatedContextFromMoveEvent(n),w=this.computeFutureIndex(Q,n),a=tr(Wn({},this.context),{futureIndex:w}),b=tr(Wn({},n),{relatedContext:Q,draggedContext:a});return t(b,A)},onDragEnd(){cl=null}}}),Ji=e.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const A=n,t=ut(),i=Fi(),Q=e.reactive({visible:!1,title:""}),w=()=>{Q.visible=!0,Q.title=A.label},a=e.computed({get(){return ns(t.formValues,A.name)},set(G){const K=_i(t.formValues,A.name,G);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:G,required:K,component:J}=A,T=[];if(K&&T.push({required:!0,trigger:"blur",message:"Required"}),G){const P=G.map(_=>{const{type:m,message:L,trigger:k,customReg:y,templateExp:C}=_,u={message:L,trigger:k};return["email","url"].includes(m)?{...u,type:m}:m==="custom"&&y?{...u,pattern:aB(y)}:rB(m)?{...u,pattern:m}:m==="template"?{...u,validator:()=>C}:{}});return[...T,...P]}if(J==="VerifyCode"){const P={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...T,P]}return T}),S=e.computed(()=>{const G=i[A.component]||{};return G.modelName||(G.modelName="modelValue"),G}),f=e.computed(()=>{const G={name:A.name,...A.props};return A.children&&(G.children=A.children),G}),N=G=>G.replace(/ /g," ");return e.onBeforeMount(()=>{if(a.value===void 0&&A.initialValue!==void 0&&!t.design){const G=_i(t.initialValues,A.name,A.initialValue);t.updateInitialValues(G),a.value=A.initialValue}}),e.watch(a,(G,K)=>{const J=A.change,T=Oe.isEqual(G,K);if(!J||T)return;let P=Oe.cloneDeep(t.formValues);J.forEach(({target:_,value:m,condition:L})=>{if(L!==!1){if(_.includes(".*.")){const k=_.split(".*."),y=k.pop(),C=k.join("."),u=ns(t.formValues,C);Oe.isArray(u)&&(P=_i(P,C,u.map(p=>({...p,[y]:m}))));return}P=_i(P,_,m)}}),t.updateFormValues(P)},{immediate:!0}),(G,K)=>{var m;const J=e.resolveComponent("el-tooltip"),T=e.resolveComponent("el-dialog"),P=e.resolveComponent("el-button"),_=e.resolveComponent("el-form-item");return e.unref(t).design||!G.hidden?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[S.value.type==="layout"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({key:0},f.value,{style:{minWidth:0}}),null,16)):S.value.type==="assist"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.normalizeProps(e.mergeProps({key:1},f.value)),null,16)):(e.openBlock(),e.createBlock(_,{class:e.normalizeClass([e.unref(ke)("form-item"),A.class,`${G.component}-${G.name}`,{readMode:(m=A.props)==null?void 0:m.read}]),style:e.normalizeStyle(G.style),key:G.name,prop:G.name,"label-width":G.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[G.dialog?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(T,{modelValue:Q.visible,"onUpdate:modelValue":K[1]||(K[1]=L=>Q.visible=L),title:Q.title,width:"70%",center:"","destroy-on-close":""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({size:e.unref(t).schema.size},f.value,{disabled:e.unref(t).schema.disabled,[S.value.modelName]:a.value,["onUpdate:"+S.value.modelName]:K[0]||(K[0]=L=>a.value=L)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),e.createVNode(P,{type:"primary",plain:"",onClick:w},{default:e.withCtx(()=>K[3]||(K[3]=[e.createTextVNode("配置")])),_:1})],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({key:1,size:e.unref(t).schema.size,disabled:e.unref(t).schema.disabled},e.unref(zt)(f.value,e.unref(t).context),{[S.value.modelName]:a.value,["onUpdate:"+S.value.modelName]:K[2]||(K[2]=L=>a.value=L)}),null,16,["size","disabled"]))]),_:2},[G.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(ke)("form-item-label"),G.label&&`${G.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(N(G.label)),5),G.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(ke)("form-item-label-ico"))},[e.createVNode(J,{effect:"dark",content:G.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(te),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),e.unref(t).schema.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(ke)("form-item-label-suffix"))},e.toDisplayString(e.unref(t).schema.labelSuffix),3)):e.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):e.createCommentVNode("",!0)}}}),lv={key:0,class:"actions-lt"},cv={class:"canvas-move",size:"small",type:"primary"},gv={key:1,class:"hidden-ico"},uv={key:2,class:"actions-rb"},dv=["onClick"],hv={key:3,class:"layout-title"},pv=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Wt(),Q=Fi()[A.data.component],w=e.computed(()=>{var K;return{[ke("canvas-item")]:!0,active:A.data.designKey===((K=t.current)==null?void 0:K.designKey),hover:A.data.designKey===t.hoverKey,mask:A.data.designKey===t.hoverKey&&!A.data.children,collapse:f.value}}),a=()=>{A.data.designKey&&t.updateHoverKey(A.data.designKey)},b=()=>{t.updateHoverKey("")},S=K=>{t.updateCurrent(K),t.rightTab="attr"},f=e.ref(!1),N=()=>{f.value=!f.value},G=[{icon:"copy",handle:K=>{const J=Pg(t.list,K.designKey);t.updateList(J)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const J=bc(t.list,T=>T.designKey!==K.designKey);t.updateList(J)}}];return(K,J)=>{var T,P;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(w.value),onClick:J[0]||(J[0]=e.withModifiers(_=>S(K.data),["stop"])),onMousemove:e.withModifiers(a,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[K.data.designKey===((T=e.unref(t).current)==null?void 0:T.designKey)?(e.openBlock(),e.createElementBlock("div",lv,[e.createElementVNode("div",cv,[e.createVNode(e.unref(te),{name:"move"})]),e.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:N},[e.createVNode(e.unref(te),{name:"select"})])])):e.createCommentVNode("",!0),K.data.hidden?(e.openBlock(),e.createElementBlock("div",gv,[e.createVNode(e.unref(te),{name:"hidden"})])):e.createCommentVNode("",!0),K.data.designKey===((P=e.unref(t).current)==null?void 0:P.designKey)?(e.openBlock(),e.createElementBlock("ul",uv,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(G,({icon:_,handle:m,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>m(K.data),["stop"]),key:_,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(te),{name:_},null,8,["name"])],12,dv)),64))])):e.createCommentVNode("",!0),e.unref(Q).lbTitle?(e.openBlock(),e.createElementBlock("div",hv,e.toDisplayString(e.unref(Q).title),1)):e.createCommentVNode("",!0),e.createVNode(Ji,e.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),gl=e.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const A=n,t=Wt(),i=Q=>{const w=Q.item._underlying_vm_;t.updateCurrent(Ca(t.list,w.designKey)),t.hoverKey=w.designKey,t.rightTab="attr",t.handleEmit("add",w)};return(Q,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("canvas-group")),style:e.normalizeStyle({overflow:Q.list.length?"auto":"hidden"})},[Q.list.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(ke)("canvas-group-empty")),style:e.normalizeStyle({fontSize:Q.emptySize+"px"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("canvas-group-empty-ico"))},[e.createVNode(e.unref(te),{name:"add"})],2),e.createElementVNode("p",null,e.toDisplayString(Q.emptyText),1)],6)),e.createVNode(e.unref(Md),{list:Q.list,group:"formDesign",itemKey:"name","ghost-class":e.unref(ke)("canvas-group-ghost"),class:e.normalizeClass([e.unref(ke)("canvas-group-draggable"),A.class]),style:e.normalizeStyle(Q.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:e.withCtx(({element:a})=>[a.designKey?(e.openBlock(),e.createBlock(pv,{key:0,data:a},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Bv={key:1},Sn=e.defineComponent({__name:"FormItemGroup",props:{list:{}},setup(n){const A=ut();return(t,i)=>e.unref(A).design?(e.openBlock(),e.createBlock(gl,{key:0,list:t.list},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",Bv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,Q=>(e.openBlock(),e.createBlock(Ji,e.mergeProps({key:Q.name,ref_for:!0},Q),null,16))),128))]))}}),Cv={key:0,class:"btn-render-wrapper"},Zi=JA(e.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=e.ref({}),Q=async w=>{if(w.onClick&&A){try{i.value[w.key]=!0,await A[w.onClick](t)}catch(a){console.error(a)}i.value[w.key]=!1}};return(w,a)=>{const b=e.resolveComponent("el-button");return w.btns&&w.btns.length>0?(e.openBlock(),e.createElementBlock("div",Cv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.btns,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.key},[S.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(b,{key:0,onClick:f=>Q(S),disabled:S.disabled,type:S.type,text:S.isTextBtn,link:S.isLinkBtn,plain:S.isPlainBtn||S.type!=="primary",color:S.color,loading:i.value[S.key]},{default:e.withCtx(()=>[S.icon?(e.openBlock(),e.createBlock($e,{key:0,name:S.icon.name,color:S.icon.color,class:e.normalizeClass({"btn-icon":S.text||S.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(S.text||S.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d29b257a"]]),Ev={key:0,class:"dropdown-render-wrapper"},Qv=JA(e.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=async(Q,w)=>{if(w.onClick&&A)try{await A[w.onClick](t,Q)}catch(a){console.error(a)}};return(Q,w)=>{const a=e.resolveComponent("el-button"),b=e.resolveComponent("el-dropdown-item"),S=e.resolveComponent("el-dropdown-menu"),f=e.resolveComponent("el-dropdown");return Q.dropdowns&&Q.dropdowns.length>0?(e.openBlock(),e.createElementBlock("div",Ev,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.dropdowns,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.key},[N.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(f,{key:0,disabled:N.disabled},{dropdown:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.options,G=>(e.openBlock(),e.createBlock(b,{key:G.value,command:G.value,onClick:K=>i(G,N)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(G.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(a,{plain:"",color:N.color},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(N.text),1),e.createVNode($e,{name:"icon-gongnengjixiajiantou"})]),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-37daa772"]]),Sd=n=>{let A=[];for(const t of n)t.component==="Table"&&t.name&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(Sd(t.children)));return A},xd=n=>{var t;if(!(n!=null&&n.content))return[];let A=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(A=A.concat(Sd(i.schema.items)));return A},Nd=Symbol("RefManager"),mv=()=>{const n=new Map,A=new Map;function t(i){const Q=i.sort().join(","),w=A.get(Q);w&&w.resolve&&i.every(b=>n.has(b))&&(w.resolve(),w.resolve=null)}return{register:(i,Q)=>{n.set(i,Q);for(const[w]of A)t(w.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const Q=i.sort().join(",");if(A.has(Q))return A.get(Q).promise;let w=null;const a=new Promise(b=>{w=b});return A.set(Q,{promise:a,resolve:w}),t(i),a}}},Iv=()=>{const n=mv();return e.provide(Nd,n),n},Fd=()=>{const n=e.inject(Nd);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fv=(n,A)=>{const t=Fd();return t.register(n,A),()=>{t.unregister(n)}},wv=["id"],Ut=e.defineComponent({__name:"index",props:e.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:e.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:A,emit:t}){const i=n,Q=e.inject("ruleMap",{}),w=e.inject("pageMethodMap",{}),a=e.computed(()=>i.schema.rulePath&&Q[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);a.value&&e.provide("ruleModule",Q[a.value]);const b=t,S=e.ref(),f=e.useModel(n,"modelValue"),N=e.useModel(n,"realValues"),G=(x,R,$)=>{$===void 0?f.value[x]=R:(N.value[x]=R,f.value[x]=$)},K=x=>f.value[x],J=(x,R)=>{let $=E(P.value.items,x);$&&$.props&&($.props.disabled=!R)},T=(x,R)=>{let $=E(P.value.items,x);$&&($.hidden=!R)},P=e.useModel(n,"schema");if(P.value.onValuesChange){const x=e.ref(JSON.stringify(f.value));e.watch(()=>f.value,R=>{x.value=JSON.stringify(R)},{deep:!0}),e.watch(()=>x.value,(R,$)=>{const j=JSON.parse(R),Z=JSON.parse($),q=Object.keys(j).filter(v=>JSON.stringify(j[v])!==JSON.stringify(Z[v]))[0];if(!(!a.value||!P.value.onValuesChange))try{Q[a.value][P.value.onValuesChange](w,q,Z[q],j[q])}catch(v){console.error(v)}})}const _=e.computed({get(){return i.design,P.value.items},set(x){P.value.items=x}}),m=e.reactive({}),L=e.ref({}),k=e.ref(!1),y=$n(),C=e.computed(()=>({...i.schemaContext,$values:f.value,$selectData:m,$locale:y.value})),u=Fd();e.onMounted(async()=>{var $,j;if(($=i.schema)!=null&&$.initialValues){const Z=(j=i.schema)==null?void 0:j.initialValues;s(Z),f.value=Oe.mergeWith(Z,f.value,(Y,q)=>{if(Array.isArray(Y))return q})}await e.nextTick();const x=xd({content:[{type:"form",schema:P.value}]});if(await u.waitForKeys(x),!P.value||!P.value.onMounted||!a.value)return;const R=P.value.onMounted;try{Q[a.value][R](w)}catch(Z){console.error(Z)}}),e.onActivated(()=>{if(!P.value||!P.value.onActivated||!a.value)return;const x=P.value.onActivated;try{Q[a.value][x](w)}catch(R){console.error(R)}});const p=()=>{var x;return(x=S.value)==null?void 0:x.validate()},l=x=>{const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=j=>{j.forEach(Z=>{R.includes(Z.component)?Z.props&&(Z.props.disabled=x):Z.children&&$(Z.children)})};$(P.value.items)},g=()=>{var x;(x=p())==null||x.then(()=>{b("finish",f.value)}).catch(R=>{b("failed",R)})},r=x=>{if(b("reset"),x){let R=Oe.cloneDeep(f.value);x.forEach($=>{R=_i(R,$,ns(L.value,$))}),f.value=R}else f.value=Oe.cloneDeep(e.toRaw(L.value))},d=(x,R=!0)=>{R?Object.assign(f.value,x):f.value=x},h=(x,R)=>{m[x]=R},s=x=>{L.value={...x}},o=()=>L.value,B=x=>{k.value=x},E=(x,R)=>{for(const $ of x){if($.name===R)return $;if($.children&&$.children.length>0){const j=E($.children,R);if(j)return j}}return null},M=e.useTemplateRef("rootRef"),D=e.reactive({...e.toRefs(i),formValues:f,formRealValues:N,selectData:m,initialValues:L,context:C,vCodePass:k,updateFormValues:d,updateSelectData:h,updateInitialValues:s,getInitialValues:o,updateVCodePass:B,validate:p,resetFields:r,submit:g,setDisabled:l,findItemByName:E,setFieldEditSts:J,setFieldVisibleSts:T,setFieldValue:G,getFieldValue:K,rootRef:M,type:"form"});return e.provide(Fg,D),A(D),(x,R)=>{const $=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:M,id:P.value.key},[P.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,e.mergeProps({key:0,model:f.value,"label-position":P.value.labelPosition,size:P.value.size,"hide-required-asterisk":P.value.hideRequiredAsterisk,"scroll-to-error":P.value.scrollToError,"require-asterisk-position":"right",ref_key:"formRef",ref:S},x.$attrs,{onSubmit:R[0]||(R[0]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(x.$slots,"default"),e.createVNode(e.unref(Sn),{list:_.value,"empty-text":e.unref(y).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"]),e.createVNode(Gw)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,wv)}}}),Dv=({elements:n,lang:A,omits:t})=>{const i=a=>Object.values(n).filter(b=>b.type===a&&!t.includes(b.component)).sort((b,S)=>b.order-S.order).map(b=>({...b,title:A==="zh"?b.title:b.component})),Q=Lg[A];return[{title:Q.menus.basicTitle,children:i("basic")},{title:Q.menus.highTitle,children:i("high")},{title:Q.menus.layoutTitle,children:i("layout")},{title:Q.menus.assistTitle,children:i("assist")}]},bv=e.defineComponent({__name:"index",setup(n){var N;const A=e.ref(!1),t=Wt(),i=Fi(),Q=$n(),w=Ea(),a=(N=t.templates)!=null&&N.length?t.templates:DC,b=e.computed(()=>Dv({elements:i,omits:t.omitMenus||[],lang:w.value})),S=G=>{t.updateSchema(G)},f=G=>{const K={component:G.component,designKey:`design-${Yn(4)}`,name:`form-${Yn(4)}`};return G.type==="layout"&&(K.children=[]),K};return(G,K)=>{const J=e.resolveComponent("el-button"),T=e.resolveComponent("el-space"),P=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-left")),style:e.normalizeStyle({overflow:A.value?"hidden":"auto"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("template"))},[e.createVNode(J,{class:e.normalizeClass(e.unref(ke)("template-button")),size:"small",onClick:K[0]||(K[0]=_=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Q).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(P,{modelValue:A.value,"onUpdate:modelValue":K[1]||(K[1]=_=>A.value=_),title:"模板列表",size:"70%",class:e.normalizeClass(e.unref(ke)("template-drawer")),"append-to-body":!1},{default:e.withCtx(()=>[e.createVNode(T,{wrap:"",direction:"vertical",alignment:"start"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({name:_,schema:m})=>(e.openBlock(),e.createBlock(J,{key:_,onClick:L=>S(m)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({title:_,children:m})=>(e.openBlock(),e.createElementBlock("div",{key:_,class:e.normalizeClass(e.unref(ke)("menu"))},[e.createElementVNode("h4",{class:e.normalizeClass(e.unref(ke)("menu-title"))},e.toDisplayString(_),3),e.createVNode(e.unref(Md),{class:e.normalizeClass(e.unref(ke)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":e.unref(ke)("menu-list-ghost"),"drag-class":e.unref(ke)("menu-list-drag"),"fallback-class":e.unref(ke)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:e.withCtx(({element:L})=>[e.createElementVNode("li",{class:e.normalizeClass(e.unref(ke)("menu-list-item"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("menu-list-item-ico"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("menu-list-item-name")),style:e.normalizeStyle({fontSize:e.unref(w)==="zh"?"12px":"10px"})},e.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),yv=n=>`<template>
|
|
96
|
+
*/function ju(n,A){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);A&&(i=i.filter(function(Q){return Object.getOwnPropertyDescriptor(n,Q).enumerable})),t.push.apply(t,i)}return t}function En(n){for(var A=1;A<arguments.length;A++){var t=arguments[A]!=null?arguments[A]:{};A%2?ju(Object(t),!0).forEach(function(i){cy(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ju(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Us(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Us=function(A){return typeof A}:Us=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Us(n)}function cy(n,A,t){return A in n?Object.defineProperty(n,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[A]=t,n}function kn(){return kn=Object.assign||function(n){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},kn.apply(this,arguments)}function gy(n,A){if(n==null)return{};var t={},i=Object.keys(n),Q,w;for(w=0;w<i.length;w++)Q=i[w],!(A.indexOf(Q)>=0)&&(t[Q]=n[Q]);return t}function uy(n,A){if(n==null)return{};var t=gy(n,A),i,Q;if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(n);for(Q=0;Q<w.length;Q++)i=w[Q],!(A.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var dy="1.14.0";function _n(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Mn=_n(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ko=_n(/Edge/i),qu=_n(/firefox/i),_o=_n(/safari/i)&&!_n(/chrome/i)&&!_n(/android/i),Xu=_n(/iP(ad|od|hone)/i),hy=_n(/chrome/i)&&_n(/android/i),Vu={capture:!1,passive:!1};function Ne(n,A,t){n.addEventListener(A,t,!Mn&&Vu)}function Se(n,A,t){n.removeEventListener(A,t,!Mn&&Vu)}function Ts(n,A){if(A){if(A[0]===">"&&(A=A.substring(1)),n)try{if(n.matches)return n.matches(A);if(n.msMatchesSelector)return n.msMatchesSelector(A);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(A)}catch{return!1}return!1}}function py(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Qn(n,A,t,i){if(n){t=t||document;do{if(A!=null&&(A[0]===">"?n.parentNode===t&&Ts(n,A):Ts(n,A))||i&&n===t)return n;if(n===t)break}while(n=py(n))}return null}var Ad=/\s+/g;function Ht(n,A,t){if(n&&A)if(n.classList)n.classList[t?"add":"remove"](A);else{var i=(" "+n.className+" ").replace(Ad," ").replace(" "+A+" "," ");n.className=(i+(t?" "+A:"")).replace(Ad," ")}}function pe(n,A,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),A===void 0?t:t[A];!(A in i)&&A.indexOf("webkit")===-1&&(A="-webkit-"+A),i[A]=t+(typeof t=="string"?"":"px")}}function Ki(n,A){var t="";if(typeof n=="string")t=n;else do{var i=pe(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!A&&(n=n.parentNode));var Q=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return Q&&new Q(t)}function ed(n,A,t){if(n){var i=n.getElementsByTagName(A),Q=0,w=i.length;if(t)for(;Q<w;Q++)t(i[Q],Q);return i}return[]}function mn(){var n=document.scrollingElement;return n||document.documentElement}function lt(n,A,t,i,Q){if(!(!n.getBoundingClientRect&&n!==window)){var w,a,b,S,f,N,G;if(n!==window&&n.parentNode&&n!==mn()?(w=n.getBoundingClientRect(),a=w.top,b=w.left,S=w.bottom,f=w.right,N=w.height,G=w.width):(a=0,b=0,S=window.innerHeight,f=window.innerWidth,N=window.innerHeight,G=window.innerWidth),(A||t)&&n!==window&&(Q=Q||n.parentNode,!Mn))do if(Q&&Q.getBoundingClientRect&&(pe(Q,"transform")!=="none"||t&&pe(Q,"position")!=="static")){var K=Q.getBoundingClientRect();a-=K.top+parseInt(pe(Q,"border-top-width")),b-=K.left+parseInt(pe(Q,"border-left-width")),S=a+w.height,f=b+w.width;break}while(Q=Q.parentNode);if(i&&n!==window){var J=Ki(Q||n),T=J&&J.a,P=J&&J.d;J&&(a/=P,b/=T,G/=T,N/=P,S=a+N,f=b+G)}return{top:a,left:b,bottom:S,right:f,width:G,height:N}}}function td(n,A,t){for(var i=Jn(n,!0),Q=lt(n)[A];i;){var w=lt(i)[t],a=void 0;if(a=Q>=w,!a)return i;if(i===mn())break;i=Jn(i,!1)}return!1}function Ui(n,A,t,i){for(var Q=0,w=0,a=n.children;w<a.length;){if(a[w].style.display!=="none"&&a[w]!==Be.ghost&&(i||a[w]!==Be.dragged)&&Qn(a[w],t.draggable,n,!1)){if(Q===A)return a[w];Q++}w++}return null}function Ja(n,A){for(var t=n.lastElementChild;t&&(t===Be.ghost||pe(t,"display")==="none"||A&&!Ts(t,A));)t=t.previousElementSibling;return t||null}function qt(n,A){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Be.clone&&(!A||Ts(n,A))&&t++;return t}function nd(n){var A=0,t=0,i=mn();if(n)do{var Q=Ki(n),w=Q.a,a=Q.d;A+=n.scrollLeft*w,t+=n.scrollTop*a}while(n!==i&&(n=n.parentNode));return[A,t]}function By(n,A){for(var t in n)if(n.hasOwnProperty(t)){for(var i in A)if(A.hasOwnProperty(i)&&A[i]===n[t][i])return Number(t)}return-1}function Jn(n,A){if(!n||!n.getBoundingClientRect)return mn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var Q=pe(t);if(t.clientWidth<t.scrollWidth&&(Q.overflowX=="auto"||Q.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(Q.overflowY=="auto"||Q.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return mn();if(i||A)return t;i=!0}}while(t=t.parentNode);return mn()}function Cy(n,A){if(n&&A)for(var t in A)A.hasOwnProperty(t)&&(n[t]=A[t]);return n}function Za(n,A){return Math.round(n.top)===Math.round(A.top)&&Math.round(n.left)===Math.round(A.left)&&Math.round(n.height)===Math.round(A.height)&&Math.round(n.width)===Math.round(A.width)}var Mo;function id(n,A){return function(){if(!Mo){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mo=setTimeout(function(){Mo=void 0},A)}}}function Ey(){clearTimeout(Mo),Mo=void 0}function od(n,A,t){n.scrollLeft+=A,n.scrollTop+=t}function sd(n){var A=window.Polymer,t=window.jQuery||window.Zepto;return A&&A.dom?A.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Pt="Sortable"+new Date().getTime();function Qy(){var n=[],A;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(Q){if(!(pe(Q,"display")==="none"||Q===Be.ghost)){n.push({target:Q,rect:lt(Q)});var w=En({},n[n.length-1].rect);if(Q.thisAnimationDuration){var a=Ki(Q,!0);a&&(w.top-=a.f,w.left-=a.e)}Q.fromRect=w}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(By(n,{target:i}),1)},animateAll:function(i){var Q=this;if(!this.options.animation){clearTimeout(A),typeof i=="function"&&i();return}var w=!1,a=0;n.forEach(function(b){var S=0,f=b.target,N=f.fromRect,G=lt(f),K=f.prevFromRect,J=f.prevToRect,T=b.rect,P=Ki(f,!0);P&&(G.top-=P.f,G.left-=P.e),f.toRect=G,f.thisAnimationDuration&&Za(K,G)&&!Za(N,G)&&(T.top-G.top)/(T.left-G.left)===(N.top-G.top)/(N.left-G.left)&&(S=Iy(T,K,J,Q.options)),Za(G,N)||(f.prevFromRect=N,f.prevToRect=G,S||(S=Q.options.animation),Q.animate(f,T,G,S)),S&&(w=!0,a=Math.max(a,S),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},S),f.thisAnimationDuration=S)}),clearTimeout(A),w?A=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),n=[]},animate:function(i,Q,w,a){if(a){pe(i,"transition",""),pe(i,"transform","");var b=Ki(this.el),S=b&&b.a,f=b&&b.d,N=(Q.left-w.left)/(S||1),G=(Q.top-w.top)/(f||1);i.animatingX=!!N,i.animatingY=!!G,pe(i,"transform","translate3d("+N+"px,"+G+"px,0)"),this.forRepaintDummy=my(i),pe(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),pe(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){pe(i,"transition",""),pe(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function my(n){return n.offsetWidth}function Iy(n,A,t,i){return Math.sqrt(Math.pow(A.top-n.top,2)+Math.pow(A.left-n.left,2))/Math.sqrt(Math.pow(A.top-t.top,2)+Math.pow(A.left-t.left,2))*i.animation}var Ti=[],za={initializeByDefault:!0},So={mount:function(A){for(var t in za)za.hasOwnProperty(t)&&!(t in A)&&(A[t]=za[t]);Ti.forEach(function(i){if(i.pluginName===A.pluginName)throw"Sortable: Cannot mount plugin ".concat(A.pluginName," more than once")}),Ti.push(A)},pluginEvent:function(A,t,i){var Q=this;this.eventCanceled=!1,i.cancel=function(){Q.eventCanceled=!0};var w=A+"Global";Ti.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][w]&&t[a.pluginName][w](En({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][A]&&t[a.pluginName][A](En({sortable:t},i)))})},initializePlugins:function(A,t,i,Q){Ti.forEach(function(b){var S=b.pluginName;if(!(!A.options[S]&&!b.initializeByDefault)){var f=new b(A,t,A.options);f.sortable=A,f.options=A.options,A[S]=f,kn(i,f.defaults)}});for(var w in A.options)if(A.options.hasOwnProperty(w)){var a=this.modifyOption(A,w,A.options[w]);typeof a<"u"&&(A.options[w]=a)}},getEventProperties:function(A,t){var i={};return Ti.forEach(function(Q){typeof Q.eventProperties=="function"&&kn(i,Q.eventProperties.call(t[Q.pluginName],A))}),i},modifyOption:function(A,t,i){var Q;return Ti.forEach(function(w){A[w.pluginName]&&w.optionListeners&&typeof w.optionListeners[t]=="function"&&(Q=w.optionListeners[t].call(A[w.pluginName],i))}),Q}};function fy(n){var A=n.sortable,t=n.rootEl,i=n.name,Q=n.targetEl,w=n.cloneEl,a=n.toEl,b=n.fromEl,S=n.oldIndex,f=n.newIndex,N=n.oldDraggableIndex,G=n.newDraggableIndex,K=n.originalEvent,J=n.putSortable,T=n.extraEventProperties;if(A=A||t&&t[Pt],!!A){var P,_=A.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Mn&&!ko?P=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(P=document.createEvent("Event"),P.initEvent(i,!0,!0)),P.to=a||t,P.from=b||t,P.item=Q||t,P.clone=w,P.oldIndex=S,P.newIndex=f,P.oldDraggableIndex=N,P.newDraggableIndex=G,P.originalEvent=K,P.pullMode=J?J.lastPutMode:void 0;var L=En(En({},T),So.getEventProperties(i,A));for(var k in L)P[k]=L[k];t&&t.dispatchEvent(P),_[m]&&_[m].call(A,P)}}var wy=["evt"],St=function(A,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Q=i.evt,w=uy(i,wy);So.pluginEvent.bind(Be)(A,t,En({dragEl:qA,parentEl:Ve,ghostEl:fe,rootEl:ze,nextEl:hi,lastDownEl:Ys,cloneEl:At,cloneHidden:Zn,dragStarted:No,putSortable:Bt,activeSortable:Be.active,originalEvent:Q,oldIndex:Yi,oldDraggableIndex:xo,newIndex:Kt,newDraggableIndex:zn,hideGhostForTarget:dd,unhideGhostForTarget:hd,cloneNowHidden:function(){Zn=!0},cloneNowShown:function(){Zn=!1},dispatchSortableEvent:function(b){Dt({sortable:t,name:b,originalEvent:Q})}},w))};function Dt(n){fy(En({putSortable:Bt,cloneEl:At,targetEl:qA,rootEl:ze,oldIndex:Yi,oldDraggableIndex:xo,newIndex:Kt,newDraggableIndex:zn},n))}var qA,Ve,fe,ze,hi,Ys,At,Zn,Yi,Kt,xo,zn,Os,Bt,Oi=!1,$s=!1,Js=[],pi,gn,Wa,ja,rd,ad,No,$i,Fo,Ro=!1,Zs=!1,zs,Qt,qa=[],Xa=!1,Ws=[],js=typeof document<"u",qs=Xu,ld=ko||Mn?"cssFloat":"float",Dy=js&&!hy&&!Xu&&"draggable"in document.createElement("div"),cd=function(){if(js){if(Mn)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),gd=function(A,t){var i=pe(A),Q=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),w=Ui(A,0,t),a=Ui(A,1,t),b=w&&pe(w),S=a&&pe(a),f=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+lt(w).width,N=S&&parseInt(S.marginLeft)+parseInt(S.marginRight)+lt(a).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(w&&b.float&&b.float!=="none"){var G=b.float==="left"?"left":"right";return a&&(S.clear==="both"||S.clear===G)?"vertical":"horizontal"}return w&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||f>=Q&&i[ld]==="none"||a&&i[ld]==="none"&&f+N>Q)?"vertical":"horizontal"},by=function(A,t,i){var Q=i?A.left:A.top,w=i?A.right:A.bottom,a=i?A.width:A.height,b=i?t.left:t.top,S=i?t.right:t.bottom,f=i?t.width:t.height;return Q===b||w===S||Q+a/2===b+f/2},yy=function(A,t){var i;return Js.some(function(Q){var w=Q[Pt].options.emptyInsertThreshold;if(!(!w||Ja(Q))){var a=lt(Q),b=A>=a.left-w&&A<=a.right+w,S=t>=a.top-w&&t<=a.bottom+w;if(b&&S)return i=Q}}),i},ud=function(A){function t(w,a){return function(b,S,f,N){var G=b.options.group.name&&S.options.group.name&&b.options.group.name===S.options.group.name;if(w==null&&(a||G))return!0;if(w==null||w===!1)return!1;if(a&&w==="clone")return w;if(typeof w=="function")return t(w(b,S,f,N),a)(b,S,f,N);var K=(a?b:S).options.group.name;return w===!0||typeof w=="string"&&w===K||w.join&&w.indexOf(K)>-1}}var i={},Q=A.group;(!Q||Us(Q)!="object")&&(Q={name:Q}),i.name=Q.name,i.checkPull=t(Q.pull,!0),i.checkPut=t(Q.put),i.revertClone=Q.revertClone,A.group=i},dd=function(){!cd&&fe&&pe(fe,"display","none")},hd=function(){!cd&&fe&&pe(fe,"display","")};js&&document.addEventListener("click",function(n){if($s)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),$s=!1,!1},!0);var Bi=function(A){if(qA){A=A.touches?A.touches[0]:A;var t=yy(A.clientX,A.clientY);if(t){var i={};for(var Q in A)A.hasOwnProperty(Q)&&(i[Q]=A[Q]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Pt]._onDragOver(i)}}},vy=function(A){qA&&qA.parentNode[Pt]._isOutsideThisEl(A.target)};function Be(n,A){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=A=kn({},A),n[Pt]=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 gd(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(a,b){a.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:Be.supportPointer!==!1&&"PointerEvent"in window&&!_o,emptyInsertThreshold:5};So.initializePlugins(this,n,t);for(var i in t)!(i in A)&&(A[i]=t[i]);ud(A);for(var Q in this)Q.charAt(0)==="_"&&typeof this[Q]=="function"&&(this[Q]=this[Q].bind(this));this.nativeDraggable=A.forceFallback?!1:Dy,this.nativeDraggable&&(this.options.touchStartThreshold=1),A.supportPointer?Ne(n,"pointerdown",this._onTapStart):(Ne(n,"mousedown",this._onTapStart),Ne(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ne(n,"dragover",this),Ne(n,"dragenter",this)),Js.push(this.el),A.store&&A.store.get&&this.sort(A.store.get(this)||[]),kn(this,Qy())}Be.prototype={constructor:Be,_isOutsideThisEl:function(A){!this.el.contains(A)&&A!==this.el&&($i=null)},_getDirection:function(A,t){return typeof this.options.direction=="function"?this.options.direction.call(this,A,t,qA):this.options.direction},_onTapStart:function(A){if(A.cancelable){var t=this,i=this.el,Q=this.options,w=Q.preventOnFilter,a=A.type,b=A.touches&&A.touches[0]||A.pointerType&&A.pointerType==="touch"&&A,S=(b||A).target,f=A.target.shadowRoot&&(A.path&&A.path[0]||A.composedPath&&A.composedPath()[0])||S,N=Q.filter;if(Ry(i),!qA&&!(/mousedown|pointerdown/.test(a)&&A.button!==0||Q.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&_o&&S&&S.tagName.toUpperCase()==="SELECT")&&(S=Qn(S,Q.draggable,i,!1),!(S&&S.animated)&&Ys!==S)){if(Yi=qt(S),xo=qt(S,Q.draggable),typeof N=="function"){if(N.call(this,A,S,this)){Dt({sortable:t,rootEl:f,name:"filter",targetEl:S,toEl:i,fromEl:i}),St("filter",t,{evt:A}),w&&A.cancelable&&A.preventDefault();return}}else if(N&&(N=N.split(",").some(function(G){if(G=Qn(f,G.trim(),i,!1),G)return Dt({sortable:t,rootEl:G,name:"filter",targetEl:S,fromEl:i,toEl:i}),St("filter",t,{evt:A}),!0}),N)){w&&A.cancelable&&A.preventDefault();return}Q.handle&&!Qn(f,Q.handle,i,!1)||this._prepareDragStart(A,b,S)}}},_prepareDragStart:function(A,t,i){var Q=this,w=Q.el,a=Q.options,b=w.ownerDocument,S;if(i&&!qA&&i.parentNode===w){var f=lt(i);if(ze=w,qA=i,Ve=qA.parentNode,hi=qA.nextSibling,Ys=i,Os=a.group,Be.dragged=qA,pi={target:qA,clientX:(t||A).clientX,clientY:(t||A).clientY},rd=pi.clientX-f.left,ad=pi.clientY-f.top,this._lastX=(t||A).clientX,this._lastY=(t||A).clientY,qA.style["will-change"]="all",S=function(){if(St("delayEnded",Q,{evt:A}),Be.eventCanceled){Q._onDrop();return}Q._disableDelayedDragEvents(),!qu&&Q.nativeDraggable&&(qA.draggable=!0),Q._triggerDragStart(A,t),Dt({sortable:Q,name:"choose",originalEvent:A}),Ht(qA,a.chosenClass,!0)},a.ignore.split(",").forEach(function(N){ed(qA,N.trim(),Va)}),Ne(b,"dragover",Bi),Ne(b,"mousemove",Bi),Ne(b,"touchmove",Bi),Ne(b,"mouseup",Q._onDrop),Ne(b,"touchend",Q._onDrop),Ne(b,"touchcancel",Q._onDrop),qu&&this.nativeDraggable&&(this.options.touchStartThreshold=4,qA.draggable=!0),St("delayStart",this,{evt:A}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(ko||Mn))){if(Be.eventCanceled){this._onDrop();return}Ne(b,"mouseup",Q._disableDelayedDrag),Ne(b,"touchend",Q._disableDelayedDrag),Ne(b,"touchcancel",Q._disableDelayedDrag),Ne(b,"mousemove",Q._delayedDragTouchMoveHandler),Ne(b,"touchmove",Q._delayedDragTouchMoveHandler),a.supportPointer&&Ne(b,"pointermove",Q._delayedDragTouchMoveHandler),Q._dragStartTimer=setTimeout(S,a.delay)}else S()}},_delayedDragTouchMoveHandler:function(A){var t=A.touches?A.touches[0]:A;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(){qA&&Va(qA),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._disableDelayedDrag),Se(A,"touchend",this._disableDelayedDrag),Se(A,"touchcancel",this._disableDelayedDrag),Se(A,"mousemove",this._delayedDragTouchMoveHandler),Se(A,"touchmove",this._delayedDragTouchMoveHandler),Se(A,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(A,t){t=t||A.pointerType=="touch"&&A,!this.nativeDraggable||t?this.options.supportPointer?Ne(document,"pointermove",this._onTouchMove):t?Ne(document,"touchmove",this._onTouchMove):Ne(document,"mousemove",this._onTouchMove):(Ne(qA,"dragend",this),Ne(ze,"dragstart",this._onDragStart));try{document.selection?Vs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(A,t){if(Oi=!1,ze&&qA){St("dragStarted",this,{evt:t}),this.nativeDraggable&&Ne(document,"dragover",vy);var i=this.options;!A&&Ht(qA,i.dragClass,!1),Ht(qA,i.ghostClass,!0),Be.active=this,A&&this._appendGhost(),Dt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(gn){this._lastX=gn.clientX,this._lastY=gn.clientY,dd();for(var A=document.elementFromPoint(gn.clientX,gn.clientY),t=A;A&&A.shadowRoot&&(A=A.shadowRoot.elementFromPoint(gn.clientX,gn.clientY),A!==t);)t=A;if(qA.parentNode[Pt]._isOutsideThisEl(A),t)do{if(t[Pt]){var i=void 0;if(i=t[Pt]._onDragOver({clientX:gn.clientX,clientY:gn.clientY,target:A,rootEl:t}),i&&!this.options.dragoverBubble)break}A=t}while(t=t.parentNode);hd()}},_onTouchMove:function(A){if(pi){var t=this.options,i=t.fallbackTolerance,Q=t.fallbackOffset,w=A.touches?A.touches[0]:A,a=fe&&Ki(fe,!0),b=fe&&a&&a.a,S=fe&&a&&a.d,f=qs&&Qt&&nd(Qt),N=(w.clientX-pi.clientX+Q.x)/(b||1)+(f?f[0]-qa[0]:0)/(b||1),G=(w.clientY-pi.clientY+Q.y)/(S||1)+(f?f[1]-qa[1]:0)/(S||1);if(!Be.active&&!Oi){if(i&&Math.max(Math.abs(w.clientX-this._lastX),Math.abs(w.clientY-this._lastY))<i)return;this._onDragStart(A,!0)}if(fe){a?(a.e+=N-(Wa||0),a.f+=G-(ja||0)):a={a:1,b:0,c:0,d:1,e:N,f:G};var K="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");pe(fe,"webkitTransform",K),pe(fe,"mozTransform",K),pe(fe,"msTransform",K),pe(fe,"transform",K),Wa=N,ja=G,gn=w}A.cancelable&&A.preventDefault()}},_appendGhost:function(){if(!fe){var A=this.options.fallbackOnBody?document.body:ze,t=lt(qA,!0,qs,!0,A),i=this.options;if(qs){for(Qt=A;pe(Qt,"position")==="static"&&pe(Qt,"transform")==="none"&&Qt!==document;)Qt=Qt.parentNode;Qt!==document.body&&Qt!==document.documentElement?(Qt===document&&(Qt=mn()),t.top+=Qt.scrollTop,t.left+=Qt.scrollLeft):Qt=mn(),qa=nd(Qt)}fe=qA.cloneNode(!0),Ht(fe,i.ghostClass,!1),Ht(fe,i.fallbackClass,!0),Ht(fe,i.dragClass,!0),pe(fe,"transition",""),pe(fe,"transform",""),pe(fe,"box-sizing","border-box"),pe(fe,"margin",0),pe(fe,"top",t.top),pe(fe,"left",t.left),pe(fe,"width",t.width),pe(fe,"height",t.height),pe(fe,"opacity","0.8"),pe(fe,"position",qs?"absolute":"fixed"),pe(fe,"zIndex","100000"),pe(fe,"pointerEvents","none"),Be.ghost=fe,A.appendChild(fe),pe(fe,"transform-origin",rd/parseInt(fe.style.width)*100+"% "+ad/parseInt(fe.style.height)*100+"%")}},_onDragStart:function(A,t){var i=this,Q=A.dataTransfer,w=i.options;if(St("dragStart",this,{evt:A}),Be.eventCanceled){this._onDrop();return}St("setupClone",this),Be.eventCanceled||(At=sd(qA),At.draggable=!1,At.style["will-change"]="",this._hideClone(),Ht(At,this.options.chosenClass,!1),Be.clone=At),i.cloneId=Vs(function(){St("clone",i),!Be.eventCanceled&&(i.options.removeCloneOnHide||ze.insertBefore(At,qA),i._hideClone(),Dt({sortable:i,name:"clone"}))}),!t&&Ht(qA,w.dragClass,!0),t?($s=!0,i._loopId=setInterval(i._emulateDragOver,50)):(Se(document,"mouseup",i._onDrop),Se(document,"touchend",i._onDrop),Se(document,"touchcancel",i._onDrop),Q&&(Q.effectAllowed="move",w.setData&&w.setData.call(i,Q,qA)),Ne(document,"drop",i),pe(qA,"transform","translateZ(0)")),Oi=!0,i._dragStartId=Vs(i._dragStarted.bind(i,t,A)),Ne(document,"selectstart",i),No=!0,_o&&pe(document.body,"user-select","none")},_onDragOver:function(A){var t=this.el,i=A.target,Q,w,a,b=this.options,S=b.group,f=Be.active,N=Os===S,G=b.sort,K=Bt||f,J,T=this,P=!1;if(Xa)return;function _(D,x){St(D,T,En({evt:A,isOwner:N,axis:J?"vertical":"horizontal",revert:a,dragRect:Q,targetRect:w,canSort:G,fromSortable:K,target:i,completed:L,onMove:function($,j){return Xs(ze,t,qA,Q,$,lt($),A,j)},changed:k},x))}function m(){_("dragOverAnimationCapture"),T.captureAnimationState(),T!==K&&K.captureAnimationState()}function L(D){return _("dragOverCompleted",{insertion:D}),D&&(N?f._hideClone():f._showClone(T),T!==K&&(Ht(qA,Bt?Bt.options.ghostClass:f.options.ghostClass,!1),Ht(qA,b.ghostClass,!0)),Bt!==T&&T!==Be.active?Bt=T:T===Be.active&&Bt&&(Bt=null),K===T&&(T._ignoreWhileAnimating=i),T.animateAll(function(){_("dragOverAnimationComplete"),T._ignoreWhileAnimating=null}),T!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(i===qA&&!qA.animated||i===t&&!i.animated)&&($i=null),!b.dragoverBubble&&!A.rootEl&&i!==document&&(qA.parentNode[Pt]._isOutsideThisEl(A.target),!D&&Bi(A)),!b.dragoverBubble&&A.stopPropagation&&A.stopPropagation(),P=!0}function k(){Kt=qt(qA),zn=qt(qA,b.draggable),Dt({sortable:T,name:"change",toEl:t,newIndex:Kt,newDraggableIndex:zn,originalEvent:A})}if(A.preventDefault!==void 0&&A.cancelable&&A.preventDefault(),i=Qn(i,b.draggable,t,!0),_("dragOver"),Be.eventCanceled)return P;if(qA.contains(A.target)||i.animated&&i.animatingX&&i.animatingY||T._ignoreWhileAnimating===i)return L(!1);if($s=!1,f&&!b.disabled&&(N?G||(a=Ve!==ze):Bt===this||(this.lastPutMode=Os.checkPull(this,f,qA,A))&&S.checkPut(this,f,qA,A))){if(J=this._getDirection(A,i)==="vertical",Q=lt(qA),_("dragOverValid"),Be.eventCanceled)return P;if(a)return Ve=ze,m(),this._hideClone(),_("revert"),Be.eventCanceled||(hi?ze.insertBefore(qA,hi):ze.appendChild(qA)),L(!0);var y=Ja(t,b.draggable);if(!y||Sy(A,J,this)&&!y.animated){if(y===qA)return L(!1);if(y&&t===A.target&&(i=y),i&&(w=lt(i)),Xs(ze,t,qA,Q,i,w,A,!!i)!==!1)return m(),t.appendChild(qA),Ve=t,k(),L(!0)}else if(y&&My(A,J,this)){var C=Ui(t,0,b,!0);if(C===qA)return L(!1);if(i=C,w=lt(i),Xs(ze,t,qA,Q,i,w,A,!1)!==!1)return m(),t.insertBefore(qA,C),Ve=t,k(),L(!0)}else if(i.parentNode===t){w=lt(i);var u=0,p,l=qA.parentNode!==t,g=!by(qA.animated&&qA.toRect||Q,i.animated&&i.toRect||w,J),r=J?"top":"left",d=td(i,"top","top")||td(qA,"top","top"),h=d?d.scrollTop:void 0;$i!==i&&(p=w[r],Ro=!1,Zs=!g&&b.invertSwap||l),u=xy(A,i,w,J,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,Zs,$i===i);var s;if(u!==0){var o=qt(qA);do o-=u,s=Ve.children[o];while(s&&(pe(s,"display")==="none"||s===fe))}if(u===0||s===i)return L(!1);$i=i,Fo=u;var B=i.nextElementSibling,E=!1;E=u===1;var M=Xs(ze,t,qA,Q,i,w,A,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Xa=!0,setTimeout(_y,30),m(),E&&!B?t.appendChild(qA):i.parentNode.insertBefore(qA,E?B:i),d&&od(d,0,h-d.scrollTop),Ve=qA.parentNode,p!==void 0&&!Zs&&(zs=Math.abs(p-lt(i)[r])),k(),L(!0)}if(t.contains(qA))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",Bi),Se(document,"mousemove",Bi),Se(document,"touchmove",Bi)},_offUpEvents:function(){var A=this.el.ownerDocument;Se(A,"mouseup",this._onDrop),Se(A,"touchend",this._onDrop),Se(A,"pointerup",this._onDrop),Se(A,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(A){var t=this.el,i=this.options;if(Kt=qt(qA),zn=qt(qA,i.draggable),St("drop",this,{evt:A}),Ve=qA&&qA.parentNode,Kt=qt(qA),zn=qt(qA,i.draggable),Be.eventCanceled){this._nulling();return}Oi=!1,Zs=!1,Ro=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Al(this.cloneId),Al(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_o&&pe(document.body,"user-select",""),pe(qA,"transform",""),A&&(No&&(A.cancelable&&A.preventDefault(),!i.dropBubble&&A.stopPropagation()),fe&&fe.parentNode&&fe.parentNode.removeChild(fe),(ze===Ve||Bt&&Bt.lastPutMode!=="clone")&&At&&At.parentNode&&At.parentNode.removeChild(At),qA&&(this.nativeDraggable&&Se(qA,"dragend",this),Va(qA),qA.style["will-change"]="",No&&!Oi&&Ht(qA,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Ht(qA,this.options.chosenClass,!1),Dt({sortable:this,name:"unchoose",toEl:Ve,newIndex:null,newDraggableIndex:null,originalEvent:A}),ze!==Ve?(Kt>=0&&(Dt({rootEl:Ve,name:"add",toEl:Ve,fromEl:ze,originalEvent:A}),Dt({sortable:this,name:"remove",toEl:Ve,originalEvent:A}),Dt({rootEl:Ve,name:"sort",toEl:Ve,fromEl:ze,originalEvent:A}),Dt({sortable:this,name:"sort",toEl:Ve,originalEvent:A})),Bt&&Bt.save()):Kt!==Yi&&Kt>=0&&(Dt({sortable:this,name:"update",toEl:Ve,originalEvent:A}),Dt({sortable:this,name:"sort",toEl:Ve,originalEvent:A})),Be.active&&((Kt==null||Kt===-1)&&(Kt=Yi,zn=xo),Dt({sortable:this,name:"end",toEl:Ve,originalEvent:A}),this.save()))),this._nulling()},_nulling:function(){St("nulling",this),ze=qA=Ve=fe=hi=At=Ys=Zn=pi=gn=No=Kt=zn=Yi=xo=$i=Fo=Bt=Os=Be.dragged=Be.ghost=Be.clone=Be.active=null,Ws.forEach(function(A){A.checked=!0}),Ws.length=Wa=ja=0},handleEvent:function(A){switch(A.type){case"drop":case"dragend":this._onDrop(A);break;case"dragenter":case"dragover":qA&&(this._onDragOver(A),ky(A));break;case"selectstart":A.preventDefault();break}},toArray:function(){for(var A=[],t,i=this.el.children,Q=0,w=i.length,a=this.options;Q<w;Q++)t=i[Q],Qn(t,a.draggable,this.el,!1)&&A.push(t.getAttribute(a.dataIdAttr)||Fy(t));return A},sort:function(A,t){var i={},Q=this.el;this.toArray().forEach(function(w,a){var b=Q.children[a];Qn(b,this.options.draggable,Q,!1)&&(i[w]=b)},this),t&&this.captureAnimationState(),A.forEach(function(w){i[w]&&(Q.removeChild(i[w]),Q.appendChild(i[w]))}),t&&this.animateAll()},save:function(){var A=this.options.store;A&&A.set&&A.set(this)},closest:function(A,t){return Qn(A,t||this.options.draggable,this.el,!1)},option:function(A,t){var i=this.options;if(t===void 0)return i[A];var Q=So.modifyOption(this,A,t);typeof Q<"u"?i[A]=Q:i[A]=t,A==="group"&&ud(i)},destroy:function(){St("destroy",this);var A=this.el;A[Pt]=null,Se(A,"mousedown",this._onTapStart),Se(A,"touchstart",this._onTapStart),Se(A,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(A,"dragover",this),Se(A,"dragenter",this)),Array.prototype.forEach.call(A.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Js.splice(Js.indexOf(this.el),1),this.el=A=null},_hideClone:function(){if(!Zn){if(St("hideClone",this),Be.eventCanceled)return;pe(At,"display","none"),this.options.removeCloneOnHide&&At.parentNode&&At.parentNode.removeChild(At),Zn=!0}},_showClone:function(A){if(A.lastPutMode!=="clone"){this._hideClone();return}if(Zn){if(St("showClone",this),Be.eventCanceled)return;qA.parentNode==ze&&!this.options.group.revertClone?ze.insertBefore(At,qA):hi?ze.insertBefore(At,hi):ze.appendChild(At),this.options.group.revertClone&&this.animate(qA,At),pe(At,"display",""),Zn=!1}}};function ky(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function Xs(n,A,t,i,Q,w,a,b){var S,f=n[Pt],N=f.options.onMove,G;return window.CustomEvent&&!Mn&&!ko?S=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent("move",!0,!0)),S.to=A,S.from=n,S.dragged=t,S.draggedRect=i,S.related=Q||A,S.relatedRect=w||lt(A),S.willInsertAfter=b,S.originalEvent=a,n.dispatchEvent(S),N&&(G=N.call(f,S,a)),G}function Va(n){n.draggable=!1}function _y(){Xa=!1}function My(n,A,t){var i=lt(Ui(t.el,0,t.options,!0)),Q=10;return A?n.clientX<i.left-Q||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-Q||n.clientY<i.bottom&&n.clientX<i.left}function Sy(n,A,t){var i=lt(Ja(t.el,t.options.draggable)),Q=10;return A?n.clientX>i.right+Q||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+Q}function xy(n,A,t,i,Q,w,a,b){var S=i?n.clientY:n.clientX,f=i?t.height:t.width,N=i?t.top:t.left,G=i?t.bottom:t.right,K=!1;if(!a){if(b&&zs<f*Q){if(!Ro&&(Fo===1?S>N+f*w/2:S<G-f*w/2)&&(Ro=!0),Ro)K=!0;else if(Fo===1?S<N+zs:S>G-zs)return-Fo}else if(S>N+f*(1-Q)/2&&S<G-f*(1-Q)/2)return Ny(A)}return K=K||a,K&&(S<N+f*w/2||S>G-f*w/2)?S>N+f/2?1:-1:0}function Ny(n){return qt(qA)<qt(n)?1:-1}function Fy(n){for(var A=n.tagName+n.className+n.src+n.href+n.textContent,t=A.length,i=0;t--;)i+=A.charCodeAt(t);return i.toString(36)}function Ry(n){Ws.length=0;for(var A=n.getElementsByTagName("input"),t=A.length;t--;){var i=A[t];i.checked&&Ws.push(i)}}function Vs(n){return setTimeout(n,0)}function Al(n){return clearTimeout(n)}js&&Ne(document,"touchmove",function(n){(Be.active||Oi)&&n.cancelable&&n.preventDefault()}),Be.utils={on:Ne,off:Se,css:pe,find:ed,is:function(A,t){return!!Qn(A,t,A,!1)},extend:Cy,throttle:id,closest:Qn,toggleClass:Ht,clone:sd,index:qt,nextTick:Vs,cancelNextTick:Al,detectDirection:gd,getChild:Ui},Be.get=function(n){return n[Pt]},Be.mount=function(){for(var n=arguments.length,A=new Array(n),t=0;t<n;t++)A[t]=arguments[t];A[0].constructor===Array&&(A=A[0]),A.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&&(Be.utils=En(En({},Be.utils),i.utils)),So.mount(i)})},Be.create=function(n,A){return new Be(n,A)},Be.version=dy;var rt=[],Lo,el,tl=!1,nl,il,Ar,Go;function Ly(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var A in this)A.charAt(0)==="_"&&typeof this[A]=="function"&&(this[A]=this[A].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?Ne(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ne(document,"pointermove",this._handleFallbackAutoScroll):i.touches?Ne(document,"touchmove",this._handleFallbackAutoScroll):Ne(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),pd(),er(),Ey()},nulling:function(){Ar=el=Lo=tl=Go=nl=il=null,rt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var Q=this,w=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(w,a);if(Ar=t,i||this.options.forceAutoScrollFallback||ko||Mn||_o){ol(t,this.options,b,i);var S=Jn(b,!0);tl&&(!Go||w!==nl||a!==il)&&(Go&&pd(),Go=setInterval(function(){var f=Jn(document.elementFromPoint(w,a),!0);f!==S&&(S=f,er()),ol(t,Q.options,f,i)},10),nl=w,il=a)}else{if(!this.options.bubbleScroll||Jn(b,!0)===mn()){er();return}ol(t,this.options,Jn(b,!1),!1)}}},kn(n,{pluginName:"scroll",initializeByDefault:!0})}function er(){rt.forEach(function(n){clearInterval(n.pid)}),rt=[]}function pd(){clearInterval(Go)}var ol=id(function(n,A,t,i){if(A.scroll){var Q=(n.touches?n.touches[0]:n).clientX,w=(n.touches?n.touches[0]:n).clientY,a=A.scrollSensitivity,b=A.scrollSpeed,S=mn(),f=!1,N;el!==t&&(el=t,er(),Lo=A.scroll,N=A.scrollFn,Lo===!0&&(Lo=Jn(t,!0)));var G=0,K=Lo;do{var J=K,T=lt(J),P=T.top,_=T.bottom,m=T.left,L=T.right,k=T.width,y=T.height,C=void 0,u=void 0,p=J.scrollWidth,l=J.scrollHeight,g=pe(J),r=J.scrollLeft,d=J.scrollTop;J===S?(C=k<p&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),u=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(C=k<p&&(g.overflowX==="auto"||g.overflowX==="scroll"),u=y<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var h=C&&(Math.abs(L-Q)<=a&&r+k<p)-(Math.abs(m-Q)<=a&&!!r),s=u&&(Math.abs(_-w)<=a&&d+y<l)-(Math.abs(P-w)<=a&&!!d);if(!rt[G])for(var o=0;o<=G;o++)rt[o]||(rt[o]={});(rt[G].vx!=h||rt[G].vy!=s||rt[G].el!==J)&&(rt[G].el=J,rt[G].vx=h,rt[G].vy=s,clearInterval(rt[G].pid),(h!=0||s!=0)&&(f=!0,rt[G].pid=setInterval((function(){i&&this.layer===0&&Be.active._onTouchMove(Ar);var B=rt[this.layer].vy?rt[this.layer].vy*b:0,E=rt[this.layer].vx?rt[this.layer].vx*b:0;typeof N=="function"&&N.call(Be.dragged.parentNode[Pt],E,B,n,Ar,rt[this.layer].el)!=="continue"||od(rt[this.layer].el,E,B)}).bind({layer:G}),24))),G++}while(A.bubbleScroll&&K!==S&&(K=Jn(K,!1)));tl=f}},30),Bd=function(A){var t=A.originalEvent,i=A.putSortable,Q=A.dragEl,w=A.activeSortable,a=A.dispatchSortableEvent,b=A.hideGhostForTarget,S=A.unhideGhostForTarget;if(t){var f=i||w;b();var N=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,G=document.elementFromPoint(N.clientX,N.clientY);S(),f&&!f.el.contains(G)&&(a("spill"),this.onSpill({dragEl:Q,putSortable:i}))}};function sl(){}sl.prototype={startIndex:null,dragStart:function(A){var t=A.oldDraggableIndex;this.startIndex=t},onSpill:function(A){var t=A.dragEl,i=A.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var Q=Ui(this.sortable.el,this.startIndex,this.options);Q?this.sortable.el.insertBefore(t,Q):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:Bd},kn(sl,{pluginName:"revertOnSpill"});function rl(){}rl.prototype={onSpill:function(A){var t=A.dragEl,i=A.putSortable,Q=i||this.sortable;Q.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),Q.animateAll()},drop:Bd},kn(rl,{pluginName:"removeOnSpill"}),Be.mount(new Ly),Be.mount(rl,sl);var Gy=Object.defineProperty,Hy=Object.defineProperties,Py=Object.getOwnPropertyDescriptors,Cd=Object.getOwnPropertySymbols,Ky=Object.prototype.hasOwnProperty,Uy=Object.prototype.propertyIsEnumerable,Ed=(n,A,t)=>A in n?Gy(n,A,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[A]=t,Wn=(n,A)=>{for(var t in A||(A={}))Ky.call(A,t)&&Ed(n,t,A[t]);if(Cd)for(var t of Cd(A))Uy.call(A,t)&&Ed(n,t,A[t]);return n},tr=(n,A)=>Hy(n,Py(A));function al(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Qd(n,A,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(A,i)}function Ty(){return typeof window<"u"?window.console:global.console}const Yy=Ty();function Oy(n){const A=Object.create(null);return function(i){return A[i]||(A[i]=n(i))}}const $y=/-(\w)/g,Jy=Oy(n=>n.replace($y,(A,t)=>t.toUpperCase())),md=["Start","Add","Remove","Update","End"],Id=["Choose","Unchoose","Sort","Filter","Clone"],fd=["Move"],Zy=[fd,md,Id].flatMap(n=>n).map(n=>`on${n}`),ll={manage:fd,manageAndEmit:md,emit:Id};function zy(n){return Zy.indexOf(n)!==-1}const Wy=["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 jy(n){return Wy.includes(n)}function qy(n){return["transition-group","TransitionGroup"].includes(n)}function wd(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Dd(n){return n.reduce((A,[t,i])=>(A[t]=i,A),{})}function Xy({$attrs:n,componentData:A={}}){const t=Dd(Object.entries(n).filter(([i,Q])=>wd(i)));return Wn(Wn({},t),A)}function Vy({$attrs:n,callBackBuilder:A}){const t=Dd(bd(n));Object.entries(A).forEach(([Q,w])=>{ll[Q].forEach(a=>{t[`on${a}`]=w(a)})});const i=`[data-draggable]${t.draggable||""}`;return tr(Wn({},t),{draggable:i})}function bd(n){return Object.entries(n).filter(([A,t])=>!wd(A)).map(([A,t])=>[Jy(A),t]).filter(([A,t])=>!zy(A))}const yd=n=>{const A=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return A||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),A||{}},Av=(n,A)=>n.__draggable_context=A,vd=n=>n.__draggable_context;class ev{constructor({nodes:{header:A,default:t,footer:i},root:Q,realList:w}){this.defaultNodes=t,this.children=[...A,...t,...i],this.externalComponent=Q.externalComponent,this.rootTransition=Q.transition,this.tag=Q.tag,this.realList=w}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(A,t){const{tag:i,children:Q,_isRootComponent:w}=this;return A(i,t,w?{default:()=>Q}:Q)}updated(){const{defaultNodes:A,realList:t}=this;A.forEach((i,Q)=>{Av(yd(i),{element:t[Q],index:Q})})}getUnderlyingVm(A){return vd(A)}getVmIndexFromDomIndex(A,t){const{defaultNodes:i}=this,{length:Q}=i,w=t.children,a=w.item(A);if(a===null)return Q;const b=vd(a);if(b)return b.index;if(Q===0)return 0;const S=yd(i[0]),f=[...w].findIndex(N=>N===S);return A<f?0:Q}}function tv(n,A){const t=n[A];return t?t():[]}function nv({$slots:n,realList:A,getKey:t}){const i=A||[],[Q,w]=["header","footer"].map(S=>tv(n,S)),{item:a}=n;if(!a)throw new Error("draggable element must have an item slot");const b=i.flatMap((S,f)=>a({element:S,index:f}).map(N=>(N.key=t(S),N.props=tr(Wn({},N.props||{}),{"data-draggable":!0}),N)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:Q,footer:w,default:b}}function iv(n){const A=qy(n),t=!jy(n)&&!A;return{transition:A,externalComponent:t,tag:t?e.resolveComponent(n):A?e.TransitionGroup:n}}function ov({$slots:n,tag:A,realList:t,getKey:i}){const Q=nv({$slots:n,realList:t,getKey:i}),w=iv(A);return new ev({nodes:Q,root:w,realList:t})}function kd(n,A){e.nextTick(()=>this.$emit(n.toLowerCase(),A))}function _d(n){return(A,t)=>{if(this.realList!==null)return this[`onDrag${n}`](A,t)}}function sv(n){const A=_d.call(this,n);return(t,i)=>{A.call(this,t,i),kd.call(this,n,t)}}let cl=null;const rv={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}},av=["update:modelValue","change",...[...ll.manageAndEmit,...ll.emit].map(n=>n.toLowerCase())],Md=e.defineComponent({name:"draggable",inheritAttrs:!1,props:rv,emits:av,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:A,tag:t,componentData:i,realList:Q,getKey:w}=this,a=ov({$slots:n,tag:t,realList:Q,getKey:w});this.componentStructure=a;const b=Xy({$attrs:A,componentData:i});return a.render(e.h,b)}catch(n){return this.error=!0,e.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&Yy.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:A,componentStructure:t}=this;t.updated();const i=Vy({$attrs:n,callBackBuilder:{manageAndEmit:w=>sv.call(this,w),emit:w=>kd.bind(this,w),manage:w=>_d.call(this,w)}}),Q=A.nodeType===1?A:A.parentElement;this._sortable=new Be(Q,i),this.targetDomElement=Q,Q.__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:A=>A[n]}},watch:{$attrs:{handler(n){const{_sortable:A}=this;A&&bd(n).forEach(([t,i])=>{A.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){e.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const A=[...this.modelValue];n(A),this.$emit("update:modelValue",A)},spliceList(){const n=A=>A.splice(...arguments);this.alterList(n)},updatePosition(n,A){const t=i=>i.splice(A,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:A}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,Q={list:i,component:t};if(n!==A&&i){const w=t.getUnderlyingVm(A)||{};return Wn(Wn({},w),Q)}return Q},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),cl=n.item},onDragAdd(n){const A=n.item._underlying_vm_;if(A===void 0)return;al(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,A);const i={element:A,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Qd(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){al(n.clone);return}const{index:A,element:t}=this.context;this.spliceList(A,1);const i={element:t,oldIndex:A};this.emitChanges({removed:i})},onDragUpdate(n){al(n.item),Qd(n.from,n.item,n.oldIndex);const A=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(A,t);const i={element:this.context.element,oldIndex:A,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,A){if(!n.element)return 0;const t=[...A.to.children].filter(a=>a.style.display!=="none"),i=t.indexOf(A.related),Q=n.component.getVmIndexFromDomIndex(i);return t.indexOf(cl)!==-1||!A.willInsertAfter?Q:Q+1},onDragMove(n,A){const{move:t,realList:i}=this;if(!t||!i)return!0;const Q=this.getRelatedContextFromMoveEvent(n),w=this.computeFutureIndex(Q,n),a=tr(Wn({},this.context),{futureIndex:w}),b=tr(Wn({},n),{relatedContext:Q,draggedContext:a});return t(b,A)},onDragEnd(){cl=null}}}),Ji=e.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const A=n,t=ut(),i=Fi(),Q=e.reactive({visible:!1,title:""}),w=()=>{Q.visible=!0,Q.title=A.label},a=e.computed({get(){return ns(t.formValues,A.name)},set(G){const K=_i(t.formValues,A.name,G);t.updateFormValues(K)}}),b=e.computed(()=>{const{rules:G,required:K,component:J}=A,T=[];if(K&&T.push({required:!0,trigger:"blur",message:"Required"}),G){const P=G.map(_=>{const{type:m,message:L,trigger:k,customReg:y,templateExp:C}=_,u={message:L,trigger:k};return["email","url"].includes(m)?{...u,type:m}:m==="custom"&&y?{...u,pattern:aB(y)}:rB(m)?{...u,pattern:m}:m==="template"?{...u,validator:()=>C}:{}});return[...T,...P]}if(J==="VerifyCode"){const P={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...T,P]}return T}),S=e.computed(()=>{const G=i[A.component]||{};return G.modelName||(G.modelName="modelValue"),G}),f=e.computed(()=>{const G={name:A.name,...A.props};return A.children&&(G.children=A.children),G}),N=G=>G.replace(/ /g," ");return e.onBeforeMount(()=>{if(a.value===void 0&&A.initialValue!==void 0&&!t.design){const G=_i(t.initialValues,A.name,A.initialValue);t.updateInitialValues(G),a.value=A.initialValue}}),e.watch(a,(G,K)=>{const J=A.change,T=Oe.isEqual(G,K);if(!J||T)return;let P=Oe.cloneDeep(t.formValues);J.forEach(({target:_,value:m,condition:L})=>{if(L!==!1){if(_.includes(".*.")){const k=_.split(".*."),y=k.pop(),C=k.join("."),u=ns(t.formValues,C);Oe.isArray(u)&&(P=_i(P,C,u.map(p=>({...p,[y]:m}))));return}P=_i(P,_,m)}}),t.updateFormValues(P)},{immediate:!0}),(G,K)=>{var m;const J=e.resolveComponent("el-tooltip"),T=e.resolveComponent("el-dialog"),P=e.resolveComponent("el-button"),_=e.resolveComponent("el-form-item");return e.unref(t).design||!G.hidden?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[S.value.type==="layout"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({key:0},f.value,{style:{minWidth:0}}),null,16)):S.value.type==="assist"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.normalizeProps(e.mergeProps({key:1},f.value)),null,16)):(e.openBlock(),e.createBlock(_,{class:e.normalizeClass([e.unref(ke)("form-item"),A.class,`${G.component}-${G.name}`,{readMode:(m=A.props)==null?void 0:m.read}]),style:e.normalizeStyle(G.style),key:G.name,prop:G.name,"label-width":G.hideLabel?"0":e.unref(t).schema.labelWidth,rules:b.value},e.createSlots({default:e.withCtx(()=>[G.dialog?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(T,{modelValue:Q.visible,"onUpdate:modelValue":K[1]||(K[1]=L=>Q.visible=L),title:Q.title,width:"70%",center:"","destroy-on-close":""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({size:e.unref(t).schema.size},f.value,{disabled:e.unref(t).schema.disabled,[S.value.modelName]:a.value,["onUpdate:"+S.value.modelName]:K[0]||(K[0]=L=>a.value=L)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),e.createVNode(P,{type:"primary",plain:"",onClick:w},{default:e.withCtx(()=>K[3]||(K[3]=[e.createTextVNode("配置")])),_:1})],64)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(S.value.render),e.mergeProps({key:1,size:e.unref(t).schema.size,disabled:e.unref(t).schema.disabled},e.unref(zt)(f.value,e.unref(t).context),{[S.value.modelName]:a.value,["onUpdate:"+S.value.modelName]:K[2]||(K[2]=L=>a.value=L)}),null,16,["size","disabled"]))]),_:2},[G.hideLabel?void 0:{name:"label",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(ke)("form-item-label"),G.label&&`${G.name}-label`])},[e.createElementVNode("div",{style:e.normalizeStyle(e.unref(t).schema.labelBold&&"font-weight: bold")},e.toDisplayString(N(G.label)),5),G.help?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(ke)("form-item-label-ico"))},[e.createVNode(J,{effect:"dark",content:G.help},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(te),{name:"help"})])]),_:1},8,["content"])],2)):e.createCommentVNode("",!0),e.unref(t).schema.labelSuffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(ke)("form-item-label-suffix"))},e.toDisplayString(e.unref(t).schema.labelSuffix),3)):e.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):e.createCommentVNode("",!0)}}}),lv={key:0,class:"actions-lt"},cv={class:"canvas-move",size:"small",type:"primary"},gv={key:1,class:"hidden-ico"},uv={key:2,class:"actions-rb"},dv=["onClick"],hv={key:3,class:"layout-title"},pv=e.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const A=n,t=Wt(),Q=Fi()[A.data.component],w=e.computed(()=>{var K;return{[ke("canvas-item")]:!0,active:A.data.designKey===((K=t.current)==null?void 0:K.designKey),hover:A.data.designKey===t.hoverKey,mask:A.data.designKey===t.hoverKey&&!A.data.children,collapse:f.value}}),a=()=>{A.data.designKey&&t.updateHoverKey(A.data.designKey)},b=()=>{t.updateHoverKey("")},S=K=>{t.updateCurrent(K),t.rightTab="attr"},f=e.ref(!1),N=()=>{f.value=!f.value},G=[{icon:"copy",handle:K=>{const J=Pg(t.list,K.designKey);t.updateList(J)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const J=bc(t.list,T=>T.designKey!==K.designKey);t.updateList(J)}}];return(K,J)=>{var T,P;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(w.value),onClick:J[0]||(J[0]=e.withModifiers(_=>S(K.data),["stop"])),onMousemove:e.withModifiers(a,["stop"]),onMouseleave:e.withModifiers(b,["stop"])},[K.data.designKey===((T=e.unref(t).current)==null?void 0:T.designKey)?(e.openBlock(),e.createElementBlock("div",lv,[e.createElementVNode("div",cv,[e.createVNode(e.unref(te),{name:"move"})]),e.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:N},[e.createVNode(e.unref(te),{name:"select"})])])):e.createCommentVNode("",!0),K.data.hidden?(e.openBlock(),e.createElementBlock("div",gv,[e.createVNode(e.unref(te),{name:"hidden"})])):e.createCommentVNode("",!0),K.data.designKey===((P=e.unref(t).current)==null?void 0:P.designKey)?(e.openBlock(),e.createElementBlock("ul",uv,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(G,({icon:_,handle:m,bg:L})=>e.createElementVNode("li",{class:"actions-rb-item",onClick:e.withModifiers(k=>m(K.data),["stop"]),key:_,style:e.normalizeStyle({backgroundColor:L})},[e.createVNode(e.unref(te),{name:_},null,8,["name"])],12,dv)),64))])):e.createCommentVNode("",!0),e.unref(Q).lbTitle?(e.openBlock(),e.createElementBlock("div",hv,e.toDisplayString(e.unref(Q).title),1)):e.createCommentVNode("",!0),e.createVNode(Ji,e.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),gl=e.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const A=n,t=Wt(),i=Q=>{const w=Q.item._underlying_vm_;t.updateCurrent(Ca(t.list,w.designKey)),t.hoverKey=w.designKey,t.rightTab="attr",t.handleEmit("add",w)};return(Q,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("canvas-group")),style:e.normalizeStyle({overflow:Q.list.length?"auto":"hidden"})},[Q.list.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(ke)("canvas-group-empty")),style:e.normalizeStyle({fontSize:Q.emptySize+"px"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("canvas-group-empty-ico"))},[e.createVNode(e.unref(te),{name:"add"})],2),e.createElementVNode("p",null,e.toDisplayString(Q.emptyText),1)],6)),e.createVNode(e.unref(Md),{list:Q.list,group:"formDesign",itemKey:"name","ghost-class":e.unref(ke)("canvas-group-ghost"),class:e.normalizeClass([e.unref(ke)("canvas-group-draggable"),A.class]),style:e.normalizeStyle(Q.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:e.withCtx(({element:a})=>[a.designKey?(e.openBlock(),e.createBlock(pv,{key:0,data:a},null,8,["data"])):e.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Bv={key:1},Sn=e.defineComponent({__name:"FormItemGroup",props:{list:{}},setup(n){const A=ut();return(t,i)=>e.unref(A).design?(e.openBlock(),e.createBlock(gl,{key:0,list:t.list},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",Bv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,Q=>(e.openBlock(),e.createBlock(Ji,e.mergeProps({key:Q.name,ref_for:!0},Q),null,16))),128))]))}}),Cv={key:0,class:"btn-render-wrapper"},Zi=JA(e.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=e.ref({}),Q=async w=>{if(w.onClick&&A){try{i.value[w.key]=!0,await A[w.onClick](t)}catch(a){console.error(a)}i.value[w.key]=!1}};return(w,a)=>{const b=e.resolveComponent("el-button");return w.btns&&w.btns.length>0?(e.openBlock(),e.createElementBlock("div",Cv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.btns,S=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:S.key},[S.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(b,{key:0,onClick:f=>Q(S),disabled:S.disabled,type:S.type,text:S.isTextBtn,link:S.isLinkBtn,plain:S.isPlainBtn||S.type!=="primary",color:S.color,loading:i.value[S.key]},{default:e.withCtx(()=>[S.icon?(e.openBlock(),e.createBlock($e,{key:0,name:S.icon.name,color:S.icon.color,class:e.normalizeClass({"btn-icon":S.text||S.label})},null,8,["name","color","class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(S.text||S.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d29b257a"]]),Ev={key:0,class:"dropdown-render-wrapper"},Qv=JA(e.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=async(Q,w)=>{if(w.onClick&&A)try{await A[w.onClick](t,Q)}catch(a){console.error(a)}};return(Q,w)=>{const a=e.resolveComponent("el-button"),b=e.resolveComponent("el-dropdown-item"),S=e.resolveComponent("el-dropdown-menu"),f=e.resolveComponent("el-dropdown");return Q.dropdowns&&Q.dropdowns.length>0?(e.openBlock(),e.createElementBlock("div",Ev,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.dropdowns,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.key},[N.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(f,{key:0,disabled:N.disabled},{dropdown:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.options,G=>(e.openBlock(),e.createBlock(b,{key:G.value,command:G.value,onClick:K=>i(G,N)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(G.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:e.withCtx(()=>[e.createVNode(a,{plain:"",color:N.color},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(N.text),1),e.createVNode($e,{name:"icon-gongnengjixiajiantou"})]),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-37daa772"]]),Sd=n=>{let A=[];for(const t of n)t.component==="Table"&&t.name&&A.push(t.name),t.children&&Array.isArray(t.children)&&(A=A.concat(Sd(t.children)));return A},xd=n=>{var t;if(!(n!=null&&n.content))return[];let A=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(A=A.concat(Sd(i.schema.items)));return A},Nd=Symbol("RefManager"),mv=()=>{const n=new Map,A=new Map;function t(i){const Q=i.sort().join(","),w=A.get(Q);w&&w.resolve&&i.every(b=>n.has(b))&&(w.resolve(),w.resolve=null)}return{register:(i,Q)=>{n.set(i,Q);for(const[w]of A)t(w.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const Q=i.sort().join(",");if(A.has(Q))return A.get(Q).promise;let w=null;const a=new Promise(b=>{w=b});return A.set(Q,{promise:a,resolve:w}),t(i),a}}},Iv=()=>{const n=mv();return e.provide(Nd,n),n},Fd=()=>{const n=e.inject(Nd);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fv=(n,A)=>{const t=Fd();return t.register(n,A),()=>{t.unregister(n)}},wv=["id"],Ut=e.defineComponent({__name:"index",props:e.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:e.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:A,emit:t}){const i=n,Q=e.inject("ruleMap",{}),w=e.inject("pageMethodMap",{}),a=e.computed(()=>i.schema.rulePath&&Q[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);a.value&&e.provide("ruleModule",Q[a.value]);const b=t,S=e.ref(),f=e.useModel(n,"modelValue"),N=e.useModel(n,"realValues"),G=(x,R,$)=>{$===void 0?f.value[x]=R:(N.value[x]=R,f.value[x]=$)},K=x=>f.value[x],J=(x,R)=>{let $=E(P.value.items,x);$&&$.props&&($.props.disabled=!R)},T=(x,R)=>{let $=E(P.value.items,x);$&&($.hidden=!R)},P=e.useModel(n,"schema");if(P.value.onValuesChange){const x=e.ref(JSON.stringify(f.value));e.watch(()=>f.value,R=>{x.value=JSON.stringify(R)},{deep:!0}),e.watch(()=>x.value,(R,$)=>{const j=JSON.parse(R),Z=JSON.parse($),q=Object.keys(j).filter(v=>JSON.stringify(j[v])!==JSON.stringify(Z[v]))[0];if(!(!a.value||!P.value.onValuesChange))try{Q[a.value][P.value.onValuesChange](w,q,Z[q],j[q])}catch(v){console.error(v)}})}const _=e.computed({get(){return i.design,P.value.items},set(x){P.value.items=x}}),m=e.reactive({}),L=e.ref({}),k=e.ref(!1),y=$n(),C=e.computed(()=>({...i.schemaContext,$values:f.value,$selectData:m,$locale:y.value})),u=Fd();e.onMounted(async()=>{var $,j;if(($=i.schema)!=null&&$.initialValues){const Z=(j=i.schema)==null?void 0:j.initialValues;s(Z),f.value=Oe.mergeWith(Z,f.value,(Y,q)=>{if(Array.isArray(Y))return q})}await e.nextTick();const x=xd({content:[{type:"form",schema:P.value}]});if(await u.waitForKeys(x),!P.value||!P.value.onMounted||!a.value)return;const R=P.value.onMounted;try{Q[a.value][R](w)}catch(Z){console.error(Z)}}),e.onActivated(()=>{if(!P.value||!P.value.onActivated||!a.value)return;const x=P.value.onActivated;try{Q[a.value][x](w)}catch(R){console.error(R)}});const p=()=>{var x;return(x=S.value)==null?void 0:x.validate()},l=x=>{const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=j=>{j.forEach(Z=>{R.includes(Z.component)?Z.props&&(Z.props.disabled=x):Z.children&&$(Z.children)})};$(P.value.items)},g=()=>{var x;(x=p())==null||x.then(()=>{b("finish",f.value)}).catch(R=>{b("failed",R)})},r=x=>{if(b("reset"),x){let R=Oe.cloneDeep(f.value);x.forEach($=>{R=_i(R,$,ns(L.value,$))}),f.value=R}else f.value=Oe.cloneDeep(e.toRaw(L.value))},d=(x,R=!0)=>{R?Object.assign(f.value,x):f.value=x},h=(x,R)=>{m[x]=R},s=x=>{L.value={...x}},o=()=>L.value,B=x=>{k.value=x},E=(x,R)=>{for(const $ of x){if($.name===R)return $;if($.children&&$.children.length>0){const j=E($.children,R);if(j)return j}}return null},M=e.useTemplateRef("rootRef"),D=e.reactive({...e.toRefs(i),formValues:f,formRealValues:N,selectData:m,initialValues:L,context:C,vCodePass:k,updateFormValues:d,updateSelectData:h,updateInitialValues:s,getInitialValues:o,updateVCodePass:B,validate:p,resetFields:r,submit:g,setDisabled:l,findItemByName:E,setFieldEditSts:J,setFieldVisibleSts:T,setFieldValue:G,getFieldValue:K,rootRef:M,type:"form"});return e.provide(Fg,D),A(D),(x,R)=>{const $=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:M,id:P.value.key},[P.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,e.mergeProps({key:0,model:f.value,"label-position":P.value.labelPosition,size:P.value.size,"hide-required-asterisk":P.value.hideRequiredAsterisk,"scroll-to-error":P.value.scrollToError,"require-asterisk-position":"right",ref_key:"formRef",ref:S},x.$attrs,{onSubmit:R[0]||(R[0]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(x.$slots,"default"),e.createVNode(e.unref(Sn),{list:_.value,"empty-text":e.unref(y).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"]),e.createVNode(Gw)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,wv)}}}),Dv=({elements:n,lang:A,omits:t})=>{const i=a=>Object.values(n).filter(b=>b.type===a&&!t.includes(b.component)).sort((b,S)=>b.order-S.order).map(b=>({...b,title:A==="zh"?b.title:b.component})),Q=Lg[A];return[{title:Q.menus.basicTitle,children:i("basic")},{title:Q.menus.highTitle,children:i("high")},{title:Q.menus.layoutTitle,children:i("layout")},{title:Q.menus.assistTitle,children:i("assist")}]},bv=e.defineComponent({__name:"index",setup(n){var N;const A=e.ref(!1),t=Wt(),i=Fi(),Q=$n(),w=Ea(),a=(N=t.templates)!=null&&N.length?t.templates:DC,b=e.computed(()=>Dv({elements:i,omits:t.omitMenus||[],lang:w.value})),S=G=>{t.updateSchema(G)},f=G=>{const K={component:G.component,designKey:`design-${Yn(4)}`,name:`form-${Yn(4)}`};return G.type==="layout"&&(K.children=[]),K};return(G,K)=>{const J=e.resolveComponent("el-button"),T=e.resolveComponent("el-space"),P=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-left")),style:e.normalizeStyle({overflow:A.value?"hidden":"auto"})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("template"))},[e.createVNode(J,{class:e.normalizeClass(e.unref(ke)("template-button")),size:"small",onClick:K[0]||(K[0]=_=>A.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Q).menus.useTemplateBtn),1)]),_:1},8,["class"]),e.createVNode(P,{modelValue:A.value,"onUpdate:modelValue":K[1]||(K[1]=_=>A.value=_),title:"模板列表",size:"70%",class:e.normalizeClass(e.unref(ke)("template-drawer")),"append-to-body":!1},{default:e.withCtx(()=>[e.createVNode(T,{wrap:"",direction:"vertical",alignment:"start"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),({name:_,schema:m})=>(e.openBlock(),e.createBlock(J,{key:_,onClick:L=>S(m)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({title:_,children:m})=>(e.openBlock(),e.createElementBlock("div",{key:_,class:e.normalizeClass(e.unref(ke)("menu"))},[e.createElementVNode("h4",{class:e.normalizeClass(e.unref(ke)("menu-title"))},e.toDisplayString(_),3),e.createVNode(e.unref(Md),{class:e.normalizeClass(e.unref(ke)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":e.unref(ke)("menu-list-ghost"),"drag-class":e.unref(ke)("menu-list-drag"),"fallback-class":e.unref(ke)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:e.withCtx(({element:L})=>[e.createElementVNode("li",{class:e.normalizeClass(e.unref(ke)("menu-list-item"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("menu-list-item-ico"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("menu-list-item-name")),style:e.normalizeStyle({fontSize:e.unref(w)==="zh"?"12px":"10px"})},e.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),yv=n=>`<template>
|
|
97
97
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
98
98
|
<el-button @click="handleSubmit">提交</el-button>
|
|
99
99
|
</template>
|
|
@@ -177,7 +177,7 @@ const handleSubmit = async () => {
|
|
|
177
177
|
]
|
|
178
178
|
}`,_v=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
179
179
|
|
|
180
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,Mv=n=>`export default ${JSON.stringify(n,null,2)}`,Sv=e.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const A=Wt(),t=$n(),Q=(f=Fi().JsonEdit)==null?void 0:f.render,w=e.computed({get(){return A.schema},set(N){N.items&&A.updateSchema(N)}}),a=e.ref({}),b=e.useModel(n,"modelValue"),S=N=>{A.updateSchema({...A.schema,items:Kg(A.schema.items)}),N.repair()};return(N,G)=>{const K=e.resolveComponent("el-tab-pane"),J=e.resolveComponent("el-tabs"),T=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(T,{modelValue:b.value,"onUpdate:modelValue":G[1]||(G[1]=P=>b.value=P),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:G[2]||(G[2]=P=>a.value={})},{default:e.withCtx(()=>[e.createVNode(J,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(K,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(Q),{modelValue:w.value,"onUpdate:modelValue":G[0]||(G[0]=P=>w.value=P),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),e.createVNode(K,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"ts",code:e.unref(_v)(w.value)},null,8,["code"])]),_:1}),e.createVNode(K,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"js",code:e.unref(Mv)(w.value)},null,8,["code"])]),_:1}),e.createVNode(K,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"json",code:e.unref(kv)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),xv=e.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=$n(),i=e.useModel(n,"modelValue");return(Q,w)=>{const a=e.resolveComponent("el-tab-pane"),b=e.resolveComponent("el-tabs"),S=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(S,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=f=>i.value=f),title:e.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:e.withCtx(()=>[e.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(a,{label:"Typescript",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},code:e.unref(yv)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(a,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},code:e.unref(vv)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),Nv={style:{"text-align":"center"}},Fv=JA(e.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),{JsonEdit:t}=Fi(),i=e.ref("edit"),Q=e.ref(),w=e.ref({}),a=e.useModel(n,"modelValue"),b=e.computed(()=>{var G;return(G=Q.value)==null?void 0:G.context}),S=$n(),f=async()=>{var G;await((G=Q.value)==null?void 0:G.validate()),alert(JSON.stringify(w.value,null,2))},N=async()=>{var G;(G=Q.value)==null||G.resetFields()};return(G,K)=>{const J=e.resolveComponent("el-button"),T=e.resolveComponent("el-tab-pane"),P=e.resolveComponent("el-tabs"),_=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(_,{modelValue:a.value,"onUpdate:modelValue":K[4]||(K[4]=m=>a.value=m),title:e.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:K[5]||(K[5]=m=>w.value={})},{default:e.withCtx(()=>[e.createVNode(P,{modelValue:i.value,"onUpdate:modelValue":K[3]||(K[3]=m=>i.value=m)},{default:e.withCtx(()=>[e.createVNode(T,{label:"编辑模式",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:w.value,"onUpdate:modelValue":K[0]||(K[0]=m=>w.value=m),schema:e.unref(A).schema,ref_key:"formRef",ref:Q,schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),e.createElementVNode("div",Nv,[e.createVNode(J,{onClick:f,type:"primary"},{default:e.withCtx(()=>K[6]||(K[6]=[e.createTextVNode("模拟提交")])),_:1}),e.createVNode(J,{onClick:N,type:"primary",plain:""},{default:e.withCtx(()=>K[7]||(K[7]=[e.createTextVNode("重置")])),_:1})])]),_:1}),e.createVNode(T,{label:"阅读模式",name:"read",lazy:""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:w.value,"onUpdate:modelValue":K[1]||(K[1]=m=>w.value=m),schema:{...e.unref(A).schema,labelSuffix:":"},schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(T,{label:"联动变量",name:"context"},{default:e.withCtx(()=>[K[8]||(K[8]=e.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(e.openBlock(),e.createBlock(e.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":K[2]||(K[2]=m=>b.value=m),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1bcfb7d6"]]),Rv=e.defineComponent({__name:"ChangeLang",setup(n){const A=e.inject("asiaint-lang");return(t,i)=>{const Q=e.resolveComponent("el-option"),w=e.resolveComponent("el-select");return e.openBlock(),e.createBlock(w,{modelValue:e.unref(A),"onUpdate:modelValue":i[0]||(i[0]=a=>e.isRef(A)?A.value=a:null),size:"small"},{default:e.withCtx(()=>[e.createVNode(Q,{label:"中文",value:"zh"}),e.createVNode(Q,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Lv=e.defineComponent({__name:"index",setup(n){const A=Wt(),t=$n(),i=e.ref(!1),Q=e.ref(!1),w=e.ref(!1),a=e.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{Q.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{w.value=!0}}]),b=e.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Mt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const N=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("actions"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("actions-left"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,G=>(e.openBlock(),e.createBlock(N,{key:G.label,type:G.btnType,size:"small",onClick:G.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(G.label),1)]),_:2},[G.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(te),{name:G.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(Rv,{class:e.normalizeClass(e.unref(ke)("actions-left-lang"))},null,8,["class"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("actions-right"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({label:G,btnType:K,icon:J,onClick:T})=>(e.openBlock(),e.createBlock(N,{key:G,type:K,size:"small",onClick:T},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(G),1)]),_:2},[J?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(te),{name:J},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(Sv,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=G=>i.value=G)},null,8,["modelValue"]),e.createVNode(xv,{modelValue:Q.value,"onUpdate:modelValue":f[1]||(f[1]=G=>Q.value=G)},null,8,["modelValue"]),e.createVNode(Fv,{modelValue:w.value,"onUpdate:modelValue":f[2]||(f[2]=G=>w.value=G),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Gv=e.defineComponent({__name:"index",setup(n){const A=Wt();return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-center"))},[e.createVNode(Lv),e.createVNode(e.unref(Ut),{class:e.normalizeClass(e.unref(ke)("canvas")),schema:e.unref(A).schema,"onUpdate:schema":i[0]||(i[0]=Q=>e.unref(A).schema=Q),design:""},null,8,["class","schema"])],2))}}),Hv=()=>({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:"联动字段"}}]}),Pv=e.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=e.useModel(n,"modelValue");return(i,Q)=>{const w=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(w,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":Q[1]||(Q[1]=a=>t.value=a),top:"3vh",title:"值联动"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:e.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=a=>e.unref(A).current=a),schema:e.unref(Hv)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Kv={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Uv={class:"config-linkages"},Tv=JA(e.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=e.useModel(n,"modelValue");return e.ref({}),(i,Q)=>{var a;const w=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(w,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":Q[1]||(Q[1]=b=>t.value=b),top:"3vh",title:`${(a=e.unref(A).current)==null?void 0:a.label} - 配置级联动`,width:"70vw",center:""},{default:e.withCtx(()=>[e.createElementVNode("div",Uv,[e.createVNode(e.unref(Ut),{modelValue:e.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.unref(A).current=b),schema:e.unref(Kv),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),Yv=e.defineComponent({__name:"index",setup(n){const A=$n(),t=e.ref(!1),i=e.ref(!1),Q=e.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(w,a)=>{const b=e.resolveComponent("el-divider"),S=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("linkageConfig"))},[e.createVNode(b,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(A).attr.tab1.linkage.text),1)]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("linkageConfig-btns"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,({title:f,onClick:N})=>(e.openBlock(),e.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),e.createVNode(Tv,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=f=>t.value=f)},null,8,["modelValue"]),e.createVNode(Pv,{modelValue:i.value,"onUpdate:modelValue":a[1]||(a[1]=f=>i.value=f)},null,8,["modelValue"])],2)}}}),Ov={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"}]},$v={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"}]},Jv={class:"more"},Zv=e.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(!1);return(i,Q)=>{const w=e.resolveComponent("el-divider"),a=e.resolveComponent("el-button"),b=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("style-config"))},[e.createVNode(w,null,{default:e.withCtx(()=>Q[4]||(Q[4]=[e.createTextVNode("组件样式")])),_:1}),e.createVNode(e.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=S=>A.value=S),schema:e.unref(Ov),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",Jv,[e.createVNode(a,{type:"primary",plain:"",size:"small",onClick:Q[1]||(Q[1]=S=>t.value=!0)},{default:e.withCtx(()=>Q[5]||(Q[5]=[e.createTextVNode("自定义更多样式")])),_:1})]),e.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":Q[3]||(Q[3]=S=>t.value=S),title:"组件样式"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[2]||(Q[2]=S=>A.value=S),schema:e.unref($v),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),zv=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Fi(),t=Ea(),i=e.useModel(n,"modelValue"),Q=e.computed(()=>{const a=A[i.value.component];if(a!=null&&a.attrSchema){const b=(f=[])=>f.map(N=>{const G=ns(i.value,N.name),K=Oe.isString(G)&&/^{{\s*(.*?)\s*}}$/.test(G);return{...N,label:t.value==="zh"?N.label:N.name.split(".").pop(),component:K?"Input":N.component,dialog:K||N.dialog,children:N.children&&b(N.children)}}),S=b(a.attrSchema.items);return{...a.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:a.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),w=e.computed({get(){var a;return((a=i.value)==null?void 0:a.props)||{}},set(a){i.value=_i(i.value,"props",a)}});return(a,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("attr"))},[(e.openBlock(),e.createBlock(e.unref(Ut),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=S=>i.value=S),schema:Q.value},null,8,["modelValue","schema"])),(e.openBlock(),e.createBlock(Zv,{key:i.value.designKey,modelValue:w.value,"onUpdate:modelValue":b[1]||(b[1]=S=>w.value=S)},null,8,["modelValue"])),e.createVNode(Yv,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=S=>i.value=S)},null,8,["modelValue"])],2))}}),Wv={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:"label后缀",component:"Input",name:"labelSuffix"},{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"}]},jv=e.defineComponent({__name:"FormEdit",setup(n){const A=Wt(),t=e.computed({get(){return A.schema},set(i){A.updateSchema(i)}});return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Ut),{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=w=>t.value=w),schema:e.unref(Wv)},null,8,["modelValue","schema"]))}}),qv=e.defineComponent({__name:"index",setup(n){const A=$n(),t=Wt();return e.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,Q)=>{const w=e.resolveComponent("el-tab-pane"),a=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-right"))},[e.createVNode(a,{modelValue:e.unref(t).rightTab,"onUpdate:modelValue":Q[1]||(Q[1]=b=>e.unref(t).rightTab=b)},{default:e.withCtx(()=>[e.unref(t).current?(e.openBlock(),e.createBlock(w,{key:0,label:e.unref(A).attr.tab1.title,name:"attr"},{default:e.withCtx(()=>[e.createVNode(zv,{modelValue:e.unref(t).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(w,{label:e.unref(A).attr.tab2.title,name:"form"},{default:e.withCtx(()=>[e.createVNode(jv)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),Rd=e.defineComponent({__name:"index",props:e.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:e.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const t=n,i=A,Q=e.ref(""),w=e.useModel(n,"modelValue"),a=e.computed({get(){return w.value.items},set(f){w.value.items=f}}),b=e.computed({get(){return Ca(a.value,Q.value)},set(f){Q.value=f.designKey,a.value=Gg(a.value,f)}}),S=e.reactive({...e.toRefs(t),currentKey:Q,hoverKey:"",schema:w,current:b,list:a,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(w.value,f)},updateList:f=>{a.value=f},handleEmit:(f,N)=>{i(f,N)}});return e.provide(Rg,S),(f,N)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(ke)("form-design")},f.$attrs),[e.createVNode(bv),e.createVNode(Gv),e.createVNode(qv)],16))}}),Xv={class:"card-header"},Vv={class:"card-btns"},A1={key:0,class:"switch-panel"},e1=JA(e.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,t=e.ref(!1),i=e.computed(()=>A.btns?A.btns.map(Q=>({isLinkBtn:!0,...Q})):[]);return(Q,w)=>{const a=e.resolveComponent("el-collapse-transition"),b=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(b,e.mergeProps(Q.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:Q.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",Xv,[Q.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:w[0]||(w[0]=S=>t.value=!t.value)},[e.createVNode(e.unref(te),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(Q.header),1),e.createElementVNode("div",Vv,[Q.typeSwitch?(e.openBlock(),e.createElementBlock("div",A1,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="card"}]),onClick:w[1]||(w[1]=S=>Q.switchTableType("card"))},[e.createVNode($e,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="table"}]),onClick:w[2]||(w[2]=S=>Q.switchTableType("table"))},[e.createVNode($e,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createVNode(e.unref(Zi),{btns:i.value||[]},null,8,["btns"])])])])]),default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.renderSlot(Q.$slots,"default",{},void 0,!0)],512),[[e.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-3bf3fee7"]]),t1=["id"],n1={class:"empty-content"},i1=["title"],o1=["title","onClick"],s1=["title"],r1={class:"row-btn-wrapper"},a1={class:"empty-content"},l1=["title"],c1=["title","onClick"],g1=["title"],u1={class:"row-btn-wrapper"},ul=JA(e.defineComponent({__name:"index",props:e.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"schema"),Q=e.computed(()=>i.value.rulePath&&w[i.value.rulePath]?i.value.rulePath:t.pageRulePath),w=e.inject("ruleMap",{}),a=e.inject("pageMethodMap",{}),b=e.inject("getGlobalParams",()=>{}),S=e.inject(gn),f=S?S.translateFn:null;Q.value&&e.provide("ruleModule",w[Q.value]);const N=e.ref(),G=e.useModel(n,"modelValue"),K=(tA,cA)=>{const sA=i.value.columns.find(hA=>hA.key===tA);sA&&(sA.hidden=!cA)},J=(tA,cA,sA)=>{if(Q.value)try{w[Q.value][tA.onClick](a,cA,sA)}catch(hA){console.error(hA)}},T=tA=>{if(!(!i.value.rowClick||!Q.value))try{w[Q.value][i.value.rowClick](a,tA)}catch(cA){console.error(cA)}},P=tA=>{if(!(!i.value.rowDbClick||!Q.value))try{w[Q.value][i.value.rowDbClick](a,tA)}catch(cA){console.error(cA)}},_=e.ref([]),m=tA=>{_.value=tA},L=(tA,cA,sA)=>{G.value[tA]&&(G.value[tA][cA]=sA)},k=()=>{var tA;(tA=N.value)==null||tA.clearSelection()},y=()=>G.value,C=e.ref(),u=tA=>{if(C.value=tA,!(!i.value.handleCurrentChange||!Q.value))try{w[Q.value][i.value.handleCurrentChange](a,tA)}catch(cA){console.error(cA)}},p=()=>C.value,l=()=>{var tA;return(tA=N.value)==null?void 0:tA.getSelectionRows()},g=(tA={})=>{G.value.push(tA)},r=tA=>{tA>=0&&tA<G.value.length&&G.value.splice(tA,1)},d=async()=>{G.value=[...G.value]},h=async()=>!0,s=tA=>{G.value=tA},o=(tA,cA)=>{var hA;const sA=(hA=i.value.topBtns)==null?void 0:hA.find(z=>z.key===tA);sA&&(sA.hidden=cA)},B=(tA,cA)=>{var hA;const sA=(hA=i.value.rowBtns)==null?void 0:hA.find(z=>z.key===tA);sA&&(sA.condition=!cA)},E=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!G.value||G.value.length===0?!1:G.value.some(tA=>{var cA;return(cA=i.value.rowBtns)==null?void 0:cA.some(sA=>sA.condition===void 0||sA.condition===null?!0:zt(sA.condition,{$row:tA,$globalParams:b()}))})),M=e.ref(0),D=tA=>{M.value=tA},x=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),R=()=>x.value,$=tA=>{let cA=!1;return tA.pageNum>-1&&(x.value.pageNum!==tA.pageNum&&(cA=!0),x.value.pageNum=tA.pageNum),tA.pageSize>-1&&(x.value.pageSize!==tA.pageSize&&(cA=!0),x.value.pageSize=tA.pageSize),{pagination:x.value,isChange:cA}},j=tA=>{if(x.value.pageNum=1,x.value.pageSize=tA,!(!i.value.sizeChange||!Q.value))try{w[Q.value][i.value.sizeChange](a,x.value)}catch(cA){console.error(cA)}},Z=tA=>{if(x.value.pageNum=tA,!(!i.value.pageChange||!Q.value))try{w[Q.value][i.value.pageChange](a,x.value)}catch(cA){console.error(cA)}},Y=tA=>{var cA;(cA=N.value)==null||cA.setCurrentRow(tA)},q=tA=>{var cA;(cA=N.value)==null||cA.setCurrentRow(G.value[tA])},v=(tA,cA,sA)=>{i.value.columns.forEach(hA=>{hA.key===tA&&hA[cA]&&(hA[cA]=sA)})},W=tA=>{i.value.displayType=tA},F=tA=>{i.value.shadowless=tA},X=(tA,cA)=>{const sA=f?f(tA.key,cA):cA[tA.key];if(!zt(tA.encrypted,{$row:cA,$col:tA})||!sA)return sA;const z=`${sA}`;return z.length<=4?"*".repeat(z.length):z.slice(0,-4)+"****"},nA=e.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),e.onMounted(async()=>{if(!i.value||!i.value.onMounted||!Q.value)return;await e.nextTick();const tA=i.value.onMounted;try{w[Q.value][tA](a)}catch(cA){console.error(cA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!Q.value)return;const tA=i.value.onActivated;try{w[Q.value][tA](a)}catch(cA){console.error(cA)}});const V=e.readonly({...e.toRefs(t),setCellData:L,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:l,addRow:g,deleteRow:r,refresh:d,validate:h,setData:s,selectRow:Y,selectRowNum:q,setTotal:D,getPagination:R,setPagination:$,setTopBtnHidden:o,setColVisible:K,setColumn:v,setRowsBtnHidden:B,setShadowless:F,rootRef:nA,type:"table"});return A(V),(tA,cA)=>{const sA=e.resolveComponent("el-table-column"),hA=e.resolveComponent("el-tooltip"),z=e.resolveComponent("el-button"),iA=e.resolveComponent("el-pagination");return i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"rootRef",ref:nA,id:i.value.key},[i.value.cardless?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["table-render",{tableBorder:i.value.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:N,data:G.value,stripe:i.value.stripe,"highlight-current-row":"","row-key":i.value.rowKey,onRowClick:T,onRowDblclick:P,onSelectionChange:m,onCurrentChange:u,height:i.value.height},{empty:e.withCtx(()=>[e.createElementVNode("div",a1,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),cA[5]||(cA[5]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var oA;return[i.value.multipleSelection?(e.openBlock(),e.createBlock(sA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.columns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(sA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:rA.label},e.toDisplayString(rA.label),9,l1)]),default:e.withCtx(({row:U,$index:O})=>[rA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:X(rA,U),onClick:AA=>J(rA,U,O)},e.toDisplayString(X(rA,U)),9,c1)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(rA,U)},e.toDisplayString(X(rA,U)),9,g1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),E.value&&((oA=i.value.rowBtns)!=null&&oA.length)?(e.openBlock(),e.createBlock(sA,{key:1,label:"Action",fixed:"right",align:"left"},{default:e.withCtx(({row:rA,$index:U})=>[e.createElementVNode("div",u1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.rowBtns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.condition===void 0||O.condition===null||e.unref(zt)(O.condition,{$row:rA,$globalParams:e.unref(b)()})?(e.openBlock(),e.createBlock(z,{key:0,disabled:O.disabled,link:"",size:"small",type:O.type,onClick:AA=>J(O,rA,U)},{default:e.withCtx(()=>[e.createVNode(hA,{class:"box-item",effect:"dark",content:O.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[O.icon?(e.openBlock(),e.createBlock($e,{key:0,name:O.icon.name,color:O.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","height"])],512),[[e.vShow,i.value.displayType==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps(i.value,{data:G.value,"get-col-text":X}),null,16,["data"]),[[e.vShow,i.value.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:i.value.hiddenPagination||G.value.length===0,cardlistPadding:i.value.displayType==="card"}])},[e.createVNode(iA,{layout:"total,sizes, prev, pager, next,jumper",total:M.value,"page-sizes":i.value.pageSizes||[5,10,20,30,40],"default-page-size":i.value.defaultPageSize,"current-page":x.value.pageNum,"onUpdate:currentPage":cA[2]||(cA[2]=oA=>x.value.pageNum=oA),"page-size":x.value.pageSize,"onUpdate:pageSize":cA[3]||(cA[3]=oA=>x.value.pageSize=oA),"pager-count":i.value.pagerCount,onSizeChange:j,onCurrentChange:Z},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)):(e.openBlock(),e.createBlock(e1,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:W,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["table-render",{tableBorder:i.value.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:N,data:G.value,stripe:i.value.stripe,"highlight-current-row":"","show-overflow-tooltip":"","row-key":i.value.rowKey,onRowClick:T,onRowDblclick:P,onSelectionChange:m,onCurrentChange:u,height:i.value.height},{empty:e.withCtx(()=>[e.createElementVNode("div",n1,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),cA[4]||(cA[4]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var oA;return[i.value.multipleSelection?(e.openBlock(),e.createBlock(sA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.columns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(sA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:rA.label},e.toDisplayString(rA.label),9,i1)]),default:e.withCtx(({row:U,$index:O})=>[rA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:X(rA,U),onClick:AA=>J(rA,U,O)},e.toDisplayString(X(rA,U)),9,o1)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(rA,U)},e.toDisplayString(X(rA,U)),9,s1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),E.value&&((oA=i.value.rowBtns)!=null&&oA.length)?(e.openBlock(),e.createBlock(sA,{key:1,label:"Action",fixed:"right",align:"left",width:i.value.rowBtns.length*34+12>100?i.value.rowBtns.length*34+12:100},{default:e.withCtx(({row:rA,$index:U})=>[e.createElementVNode("div",r1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.rowBtns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.condition===void 0||O.condition===null||e.unref(zt)(O.condition,{$row:rA,$globalParams:e.unref(b)()})?(e.openBlock(),e.createBlock(z,{key:0,disabled:O.disabled,link:"",size:"small",type:O.type,onClick:AA=>J(O,rA,U)},{default:e.withCtx(()=>[e.createVNode(hA,{class:"box-item",effect:"dark",content:O.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[O.icon?(e.openBlock(),e.createBlock($e,{key:0,name:O.icon.name,color:O.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","height"])],512),[[e.vShow,i.value.displayType==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps(i.value,{data:G.value,"get-col-text":X}),null,16,["data"]),[[e.vShow,i.value.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:i.value.hiddenPagination||G.value.length===0,cardlistPadding:i.value.displayType==="card"}])},[e.createVNode(iA,{layout:"total,sizes, prev, pager, next,jumper",total:M.value,"page-sizes":i.value.pageSizes||[5,10,20,30,40],"default-page-size":i.value.defaultPageSize,"current-page":x.value.pageNum,"onUpdate:currentPage":cA[0]||(cA[0]=oA=>x.value.pageNum=oA),"page-size":x.value.pageSize,"onUpdate:pageSize":cA[1]||(cA[1]=oA=>x.value.pageSize=oA),"pager-count":i.value.pagerCount,onSizeChange:j,onCurrentChange:Z},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,t1))}}}),[["__scopeId","data-v-7a7b9303"]]),d1=["id"],h1={class:"tab-label"},p1={class:"tab-label-text"},B1={key:0,class:"divider"},C1=JA(e.defineComponent({__name:"index",props:e.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.ref({}),Q=e.ref({}),w=T=>P=>{P?Q.value[T]=P:delete Q.value[T]},a=e.computed(()=>{var T;return(T=t.value.content.find(P=>P.url===f.value))==null?void 0:T.mixMode}),b=T=>{t.value.content=T},S=T=>{Array.isArray(T)?t.value.content.push(...T):t.value.content.push(T)},f=e.ref(t.value.content[0].url),N=T=>{i.value[T]=!0,e.nextTick(()=>{i.value[T]=!1})},G=e.useTemplateRef("rootRef"),K=T=>Q.value[T],J=T=>{f.value=T};return A(e.readonly({setTabContent:b,addTabContent:S,schema:t,rootRef:G,findRef:K,changeActiveTab:J,type:"tabs"})),(T,P)=>{var k,y,C;const _=e.resolveComponent("el-skeleton"),m=e.resolveComponent("el-tab-pane"),L=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:G,id:t.value.key},[t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(L,e.mergeProps({key:0},t.value.tabProps,{modelValue:f.value,"onUpdate:modelValue":P[0]||(P[0]=u=>f.value=u),class:["crm-tabs",{mixmode:a.value}],style:{"--top":(k=t.value)!=null&&k.stickyTop?`${(y=t.value)==null?void 0:y.stickyTop}px`:"110px","--is-sticky":(C=t.value)!=null&&C.isSticky?"sticky":"static"}}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(u,p)=>(e.openBlock(),e.createBlock(m,{name:u.url,key:u.url,lazy:p!==0},{label:e.withCtx(()=>[e.createElementVNode("div",h1,[e.createElementVNode("span",p1,e.toDisplayString(u.label),1),p!==t.value.content.length-1?(e.openBlock(),e.createElementBlock("span",B1)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[i.value[p]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(dl,{key:0,pageUrl:u.url,"rule-map":T.ruleMap,"page-params":{...T.pageParams,...u.pageParams},ref_for:!0,ref:w(u.url),onRefresh:l=>N(p)},{loading:e.withCtx(()=>[e.createVNode(_,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,d1)}}}),[["__scopeId","data-v-24504834"]]),E1=["id"],Q1={class:"info-card"},m1={class:"info-card-header"},I1={class:"left-part"},f1={class:"title-part"},w1={class:"sub-title-container"},D1={class:"sub-title"},b1={class:"right-part"},y1={class:"info-card-detail"},v1={class:"label"},k1={key:0,class:"divider"},_1=JA(e.defineComponent({__name:"InfoCard",props:e.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),Q=n,w=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[Q.pageRulePath]);e.provide("ruleModule",w.value);const a=e.inject("pageMethodMap",{}),b=f=>{const N=document.createElement("textarea");N.value=f??"",N.style.position="absolute",N.style.opacity="0",document.body.appendChild(N),N.select(),document.execCommand("copy"),N.remove()},S=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(f){console.error("Clipboard API error:",f),b(t.value.header.subTitle)}Mt.ElMessage.success("Copy Successful")};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const f=t.value.onMounted;try{w.value[f](a)}catch(N){console.error(N)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const f=t.value.onActivated;try{w.value[f](a)}catch(N){console.error(N)}}),A({type:"infocard",schema:t}),(f,N)=>{var G,K,J,T;return t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[e.createElementVNode("div",Q1,[e.createElementVNode("div",m1,[e.createElementVNode("div",I1,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode($e,{name:(G=t.value.header)==null?void 0:G.avatar,color:(K=t.value.header)==null?void 0:K.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",f1,[e.createElementVNode("div",{class:"title",style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},e.toDisplayString((J=t.value.header)==null?void 0:J.title),5),e.createElementVNode("div",w1,[e.createElementVNode("span",D1,e.toDisplayString((T=t.value.header)==null?void 0:T.subTitle),1),e.createVNode($e,{name:"icon-fuzhi",class:"copy-icon",onClick:S})])])]),e.createElementVNode("div",b1,[e.createVNode(e.unref(Zi),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(Qv),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(P,_)=>(e.openBlock(),e.createElementBlock("div",{key:P.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",v1,e.toDisplayString(P.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(P.color?{color:P.color}:{})},e.toDisplayString(P.value||"- -"),5)]),_!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",k1)):e.createCommentVNode("",!0)]))),128))])])],8,E1))}}}),[["__scopeId","data-v-2fa7eef0"]]),M1=["id"],S1={class:"left-part"},x1={class:"nav-title"},N1=["onClick"],F1={class:"nav-footer"},R1={class:"left-actions"},L1=["onClick"],G1={class:"footer-text"},H1={key:1,class:"divider"},P1={class:"right-actions"},K1=JA(e.defineComponent({__name:"NavBar",props:e.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.computed(()=>(t.value.leftActions||[]).filter(K=>!K.hidden)),Q=e.inject("ruleMap",{}),w=e.inject("pageMethodMap",{}),a=n,b=e.computed(()=>t.value.rulePath&&Q[t.value.rulePath]?Q[t.value.rulePath]:Q[a.pageRulePath]);e.provide("ruleModule",b.value);const S=K=>{if(K&&b.value)try{b.value[K](w)}catch(J){console.error(J)}},f=e.inject(gn),N=()=>{f&&f.navigateFn&&f.navigateFn(-1)},G=K=>{const J=a.findRef(K);J&&J.rootRef&&J.rootRef.scrollIntoView({behavior:"smooth",block:"center"})};return A({type:"navbar",schema:t}),(K,J)=>t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[e.createElementVNode("div",S1,[t.value.back?(e.openBlock(),e.createBlock($e,{key:0,name:"icon-back",class:"back-icon",onClick:N})):e.createCommentVNode("",!0),e.createElementVNode("div",x1,e.toDisplayString(t.value.title),1)]),e.createElementVNode("div",null,[e.createVNode(e.unref(Zi),{btns:t.value.btns||[]},null,8,["btns"])])],2)):e.createCommentVNode("",!0),t.value.content&&t.value.content.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(T,P)=>(e.openBlock(),e.createElementBlock("div",{key:P,class:e.normalizeClass(["hexagon",{"first-item":P===0,"middle-item":P>0&&P<t.value.content.length-1,"last-item":P===t.value.content.length-1}]),onClick:_=>G(T.ref)},[e.createElementVNode("span",null,e.toDisplayString(T.text),1)],10,N1))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",F1,[e.createElementVNode("div",R1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(T,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:T.key},[T.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:_=>S(T.onClick),class:"footer-item"},[T.icon?(e.openBlock(),e.createBlock($e,{key:0,name:T.icon.name,color:T.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",G1,e.toDisplayString(T.text),1),P!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",H1)):e.createCommentVNode("",!0)],8,L1))],64))),128))]),e.createElementVNode("div",P1,[e.createVNode(e.unref(Zi),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,M1))}}),[["__scopeId","data-v-a11b156f"]]),U1=["id"],dl=JA(e.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh"],setup(n,{expose:A,emit:t}){const i=t,Q={form:Ut,table:ul,tabs:C1,infocard:_1,navbar:K1},w=n,a=e.ref(w.pageParams),b=e.ref({}),S=e.ref();e.watch(()=>w.pageParams,()=>{a.value=w.pageParams});const f=D=>{if(S.value){if(D.type==="tabs")return{...D.schema.tabProps,schema:D.schema,"onUpdate:schema":x=>{D.schema=x},ruleMap:w.ruleMap,pageParams:a.value};if(D.type==="form")return{modelValue:D.model,"onUpdate:modelValue":x=>{D.model=x},realValues:D.realValues,"onUpdate:realValues":x=>{D.realValues=x},schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="table")return{modelValue:D.model,"onUpdate:modelValue":x=>{D.model=x},schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="infocard")return{schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="navbar")return{schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||"",findRef:K}}},N=e.ref([]),G=Iv(),K=D=>{var R;const x=(R=N.value)==null?void 0:R.find($=>$.schema.key===D);return x||G.findRef(D)},J=D=>{var R;return(R=N.value)==null?void 0:R.filter($=>$.schema.key&&D.includes($.schema.key))},T=(D,x)=>{var Z;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(q=>{R.includes(q.component)?q.props&&(q.props.disabled=x):q.children&&$(q.children)})},j=(Z=S.value)==null?void 0:Z.content.find(Y=>Y.schema.key===D);j&&j.type==="form"&&$(j.schema.items)},P=(D,x)=>{var Z;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(q=>{R.includes(q.component)?q.props&&(q.props.read=x):q.children&&$(q.children)})},j=(Z=S.value)==null?void 0:Z.content.find(Y=>Y.schema.key===D);j&&j.type==="form"&&$(j.schema.items)},_=async D=>{if(Array.isArray(D)){const x=J(D);for(const R of x||[])R.type==="form"&&await R.validate()}else{const x=K(D);return x?await x.validate():!1}},m=D=>{if(S.value){if(!D){const x={};for(const R of S.value.content)R.schema.key&&(R.type==="form"?x[R.schema.key]=Oe.cloneDeep(e.toRaw({...R.model,...R.realValues})):R.type==="table"&&(x[R.schema.key]=Oe.cloneDeep(e.toRaw(R.model))));return x}if(Array.isArray(D)){const x={};for(const R of S.value.content)R.schema.key&&D.includes(R.schema.key)&&(R.type==="form"?x[R.schema.key]=Oe.cloneDeep(e.toRaw({...R.model,...R.realValues})):R.type==="table"&&(x[R.schema.key]=Oe.cloneDeep(e.toRaw(R.model))));return x}else{const x=S.value.content.find(R=>R.schema.key===D);if(x){if(x.type==="form")return Oe.cloneDeep(e.toRaw({...x.model,...x.realValues}));if(x.type==="table")return Oe.cloneDeep(e.toRaw(x.model))}}}},L=(D,x,R=!1)=>{if(!S.value)return;const $=S.value.content.find(j=>j.schema.key===D);if($)if($.type==="form")if(R)Object.assign($.model,x);else{for(let j in $.model)delete $.model[j];Object.assign($.model,x)}else $.type==="table"&&($.model=x)},k=D=>{if(D)if(Array.isArray(D)){const x=J(D);for(const R of x||[])R.type==="form"&&R.resetFields()}else{const x=K(D);if(!x)return;x.type==="form"&&x.resetFields()}},y=(D,x)=>{var $;const R=($=S.value)==null?void 0:$.content.find(j=>j.schema.key===D);if(R&&R.type==="form")return is(R.schema.items,x)},C=()=>a.value,u=D=>{a.value=D},p=D=>{a.value={...a.value,...D}},l=(D,x)=>{if(!S.value)return;const R=S.value.content.find($=>$.schema.key===D);R&&(R.schema.hidden=x)},g=(D,x)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===D);R&&(R.hidden=x)},r=(D,x,R)=>{var $;if(S.value){if(D.type==="form"){const j=y(D.formKey,D.btnKey);j&&(x==="disabled"?j.props[x]=R:j[x]=R)}else if(D.type==="page"){const j=S.value.btns.find(Z=>Z.key===D.btnKey);j&&(j[x]=R)}else if(D.type==="table"){const j=($=S.value)==null?void 0:$.content.find(Z=>Z.schema.key===D.tableKey);if(!j||j.type!=="table")return;if(D.btnPosition==="top")j.schema.topBtns.find(Z=>Z.key===D.btnKey)[x]=R;else if(D.btnPosition==="row"){const Z=x==="hidden"?"condition":x;j.schema.rowBtns.find(Y=>Y.key===D.btnKey)[Z]=R}}else if(D.type==="card"){const j=y(D.formKey,D.cardKey);j&&(j.props.btns.find(Z=>Z.key===D.btnKey)[x]=R)}}},d=(D,x,R)=>{var j,Z,Y,q,v;if(!S.value)return;const $=(x==="disabled"||x==="hidden")&&typeof R=="boolean";if(S.value.btns){const W=S.value.btns.find(F=>F.key===D);if(W&&$){W[x]=R;return}}for(const W of S.value.content){if(W.type==="infocard"){const F=W.schema.btns.find(X=>X.key===D);if(F&&$){F[x]=R;return}}if(W.type==="navbar"){const F=(j=W.schema.btns)==null?void 0:j.find(V=>V.key===D);if(F&&$){F[x]=R;return}const X=(Z=W.schema.footerBtns)==null?void 0:Z.find(V=>V.key===D);if(X&&$){X[x]=R;return}const nA=(Y=W.schema.leftActions)==null?void 0:Y.find(V=>V.key===D);if(nA&&$&&x==="hidden"){nA[x]=R;return}}if(W.type==="table"){const F=(q=W.schema.topBtns)==null?void 0:q.find(nA=>nA.key===D);if(F&&$){F[x]=R;return}const X=(v=W.schema.rowBtns)==null?void 0:v.find(nA=>nA.key===D);if(X){x==="hidden"?X.condition=!R:x==="condition"&&typeof R=="string"?X.condition=R:$&&(X[x]=R);return}}if(W.type==="form"){const F=X=>{var nA,V;for(const tA of X){if(tA.component==="Button"&&tA.name===D)return tA.props&&(tA.props[x]=R),!0;if((tA.component==="Card"||tA.component==="CurdCard")&&tA.props&&Array.isArray(tA.props.btns)){const cA=tA.props.btns.find(sA=>sA.key===D);if(cA)return cA[x]=R,!0}if(tA.component==="Table"&&tA.props){const cA=(nA=tA.props.topBtns)==null?void 0:nA.find(hA=>hA.key===D);if(cA)return cA[x]=R,!0;const sA=(V=tA.props.rowBtns)==null?void 0:V.find(hA=>hA.key===D);if(sA)return x==="hidden"?sA.condition=!R:x==="condition"&&typeof R=="string"?sA.condition=R:$&&(sA[x]=R),!0}if(tA.children&&Array.isArray(tA.children)&&F(tA.children))return!0}return!1};if(F(W.schema.items))return}}},h=(D,x)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===D);R&&(R.disabled=x)},s=D=>{Object.assign(b.value,D)},o=()=>b.value,B={findRef:K,setFormDisabled:T,validate:_,getData:m,resetFields:k,emit:i,setData:L,getItemByName:y,getPageParams:C,setHidden:l,setBtnHidden:g,setBtnStateByKey:d,setBtnDisabled:h,addPageParams:p,setPageParams:u,setGlobalParams:s,getGlobalParams:o,setBtnState:r,setReadMode:P},E=D=>{if(!(!S.value||!S.value.rulePath))try{w.ruleMap[S.value.rulePath][D](B)}catch(x){console.error(x)}};e.provide("pageMethodMap",B),e.provide("ruleMap",w.ruleMap),e.provide("getGlobalParams",o);const M=e.inject(gn);return e.onMounted(async()=>{if(M&&M.fetchSchemaFn&&w.pageUrl){const D=await M.fetchSchemaFn(w.pageUrl);S.value={...D,content:D.content.map($=>$.type==="form"?{...$,schema:$.schema,model:{},realValues:{}}:$.type==="table"?{...$,schema:$.schema,model:[]}:$)},await e.nextTick();const x=xd(S.value);if(await G.waitForKeys(x),!S.value||!S.value.rulePath||!S.value.onMounted)return;const R=S.value.onMounted;try{w.ruleMap[S.value.rulePath][R](B)}catch($){console.error($)}}}),e.onActivated(()=>{if(!S.value||!S.value.rulePath||!S.value.onActivated)return;const D=S.value.onActivated;try{w.ruleMap[S.value.rulePath][D](B)}catch(x){console.error(x)}}),A({...B}),(D,x)=>{const R=e.resolveComponent("el-button"),$=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",null,[S.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"page-render",id:S.value.key},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.content,j=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Q[j.type]),e.mergeProps({key:j.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N},f(j)),null,16))),128)),S.value.btns&&S.value.btns.length>0?(e.openBlock(),e.createBlock($,{key:0,justify:S.value.btnPosition||"end",class:"btn-wrapper"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.btns,j=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j.key},[j.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(R,{key:0,type:j.type,onClick:Z=>E(j.onClick),disabled:j.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1032,["type","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,U1)):e.renderSlot(D.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-33c93a8a"]]),T1={install:(n,A={})=>{n.provide(gn,A),n.component("FormRender",Ut),n.component("FormDesign",Rd),n.component("TableRender",ul),n.component("PageRender",dl)}},Y1={key:0},O1=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"TextArea",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const Q=e.resolveComponent("el-input");return t.read?(e.openBlock(),e.createElementBlock("div",Y1,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(Q,e.mergeProps({key:1},t.$attrs,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=w=>A.value=w),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),$1={class:"card-header"},J1={class:"card-btns"},Z1={class:"card-sub-header"},z1=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=e.ref(!1),t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=w=>{if(w&&t)try{t[w](i)}catch(a){console.error(a)}};return(w,a)=>{const b=e.resolveComponent("el-tooltip"),S=e.resolveComponent("el-collapse-transition"),f=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(f,e.mergeProps(w.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:w.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",$1,[w.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:a[0]||(a[0]=N=>A.value=!A.value)},[e.createVNode(e.unref(te),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(w.header),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.extraIcons,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.name},[N.tips?(e.openBlock(),e.createBlock(b,{key:0,content:N.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode($e,{class:"extra-icon",name:N.name,color:N.color,size:N.size||"small",onClick:G=>Q(N.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,class:"extra-icon",name:N.name,color:N.color,size:N.size||"small",onClick:G=>Q(N.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",J1,[e.createVNode(e.unref(Zi),{btns:w.btns||[]},null,8,["btns"])]),e.createElementVNode("div",Z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.subHeaders,N=>(e.openBlock(),e.createElementBlock("div",{key:N,class:"card-sub-header-item"},[e.createElementVNode("span",null,e.toDisplayString(N),1)]))),128))])])]),default:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Sn),{list:w.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-37d0cc4b"]])},Symbol.toStringTag,{value:"Module"})),W1=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Cascader",props:e.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=S=>{if(A.onChange&&i)try{i[A.onChange](Q,S)}catch(f){console.error(f)}},{currentOptions:a,loading:b}=Bo(A);return(S,f)=>{const N=e.resolveComponent("el-cascader");return e.openBlock(),e.createBlock(N,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=G=>t.value=G),options:e.unref(a),loading:e.unref(b),props:{multiple:S.multiple,label:S.labelKey,value:S.valueKey}},S.$attrs,{onChange:w}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var Ld={exports:{}};/*!
|
|
180
|
+
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,Mv=n=>`export default ${JSON.stringify(n,null,2)}`,Sv=e.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const A=Wt(),t=$n(),Q=(f=Fi().JsonEdit)==null?void 0:f.render,w=e.computed({get(){return A.schema},set(N){N.items&&A.updateSchema(N)}}),a=e.ref({}),b=e.useModel(n,"modelValue"),S=N=>{A.updateSchema({...A.schema,items:Kg(A.schema.items)}),N.repair()};return(N,G)=>{const K=e.resolveComponent("el-tab-pane"),J=e.resolveComponent("el-tabs"),T=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(T,{modelValue:b.value,"onUpdate:modelValue":G[1]||(G[1]=P=>b.value=P),title:e.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:G[2]||(G[2]=P=>a.value={})},{default:e.withCtx(()=>[e.createVNode(J,{"model-value":"edit",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(K,{label:"在线编辑",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(Q),{modelValue:w.value,"onUpdate:modelValue":G[0]||(G[0]=P=>w.value=P),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),e.createVNode(K,{label:"生成ts文件",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"ts",code:e.unref(_v)(w.value)},null,8,["code"])]),_:1}),e.createVNode(K,{label:"生成js文件",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"js",code:e.unref(Mv)(w.value)},null,8,["code"])]),_:1}),e.createVNode(K,{label:"帮助",name:"help"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},language:"json",code:e.unref(kv)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),xv=e.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=$n(),i=e.useModel(n,"modelValue");return(Q,w)=>{const a=e.resolveComponent("el-tab-pane"),b=e.resolveComponent("el-tabs"),S=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(S,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=f=>i.value=f),title:e.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:e.withCtx(()=>[e.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:e.withCtx(()=>[e.createVNode(a,{label:"Typescript",name:"ts"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},code:e.unref(yv)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),e.createVNode(a,{label:"Javascript",name:"js"},{default:e.withCtx(()=>[e.createVNode(e.unref(vo),{style:{height:"70vh"},code:e.unref(vv)(e.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),Nv={style:{"text-align":"center"}},Fv=JA(e.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),{JsonEdit:t}=Fi(),i=e.ref("edit"),Q=e.ref(),w=e.ref({}),a=e.useModel(n,"modelValue"),b=e.computed(()=>{var G;return(G=Q.value)==null?void 0:G.context}),S=$n(),f=async()=>{var G;await((G=Q.value)==null?void 0:G.validate()),alert(JSON.stringify(w.value,null,2))},N=async()=>{var G;(G=Q.value)==null||G.resetFields()};return(G,K)=>{const J=e.resolveComponent("el-button"),T=e.resolveComponent("el-tab-pane"),P=e.resolveComponent("el-tabs"),_=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(_,{modelValue:a.value,"onUpdate:modelValue":K[4]||(K[4]=m=>a.value=m),title:e.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:K[5]||(K[5]=m=>w.value={})},{default:e.withCtx(()=>[e.createVNode(P,{modelValue:i.value,"onUpdate:modelValue":K[3]||(K[3]=m=>i.value=m)},{default:e.withCtx(()=>[e.createVNode(T,{label:"编辑模式",name:"edit"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:w.value,"onUpdate:modelValue":K[0]||(K[0]=m=>w.value=m),schema:e.unref(A).schema,ref_key:"formRef",ref:Q,schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),e.createElementVNode("div",Nv,[e.createVNode(J,{onClick:f,type:"primary"},{default:e.withCtx(()=>K[6]||(K[6]=[e.createTextVNode("模拟提交")])),_:1}),e.createVNode(J,{onClick:N,type:"primary",plain:""},{default:e.withCtx(()=>K[7]||(K[7]=[e.createTextVNode("重置")])),_:1})])]),_:1}),e.createVNode(T,{label:"阅读模式",name:"read",lazy:""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:w.value,"onUpdate:modelValue":K[1]||(K[1]=m=>w.value=m),schema:{...e.unref(A).schema,labelSuffix:":"},schemaContext:e.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),e.createVNode(T,{label:"联动变量",name:"context"},{default:e.withCtx(()=>[K[8]||(K[8]=e.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(e.openBlock(),e.createBlock(e.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":K[2]||(K[2]=m=>b.value=m),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1bcfb7d6"]]),Rv=e.defineComponent({__name:"ChangeLang",setup(n){const A=e.inject("asiaint-lang");return(t,i)=>{const Q=e.resolveComponent("el-option"),w=e.resolveComponent("el-select");return e.openBlock(),e.createBlock(w,{modelValue:e.unref(A),"onUpdate:modelValue":i[0]||(i[0]=a=>e.isRef(A)?A.value=a:null),size:"small"},{default:e.withCtx(()=>[e.createVNode(Q,{label:"中文",value:"zh"}),e.createVNode(Q,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Lv=e.defineComponent({__name:"index",setup(n){const A=Wt(),t=$n(),i=e.ref(!1),Q=e.ref(!1),w=e.ref(!1),a=e.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{Q.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{w.value=!0}}]),b=e.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Mt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const N=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("actions"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("actions-left"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,G=>(e.openBlock(),e.createBlock(N,{key:G.label,type:G.btnType,size:"small",onClick:G.onClick},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(G.label),1)]),_:2},[G.icon?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(te),{name:G.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),e.createVNode(Rv,{class:e.normalizeClass(e.unref(ke)("actions-left-lang"))},null,8,["class"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("actions-right"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,({label:G,btnType:K,icon:J,onClick:T})=>(e.openBlock(),e.createBlock(N,{key:G,type:K,size:"small",onClick:T},e.createSlots({default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(G),1)]),_:2},[J?{name:"icon",fn:e.withCtx(()=>[e.createVNode(e.unref(te),{name:J},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),e.createVNode(Sv,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=G=>i.value=G)},null,8,["modelValue"]),e.createVNode(xv,{modelValue:Q.value,"onUpdate:modelValue":f[1]||(f[1]=G=>Q.value=G)},null,8,["modelValue"]),e.createVNode(Fv,{modelValue:w.value,"onUpdate:modelValue":f[2]||(f[2]=G=>w.value=G),"schema-context":e.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Gv=e.defineComponent({__name:"index",setup(n){const A=Wt();return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-center"))},[e.createVNode(Lv),e.createVNode(e.unref(Ut),{class:e.normalizeClass(e.unref(ke)("canvas")),schema:e.unref(A).schema,"onUpdate:schema":i[0]||(i[0]=Q=>e.unref(A).schema=Q),design:""},null,8,["class","schema"])],2))}}),Hv=()=>({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:"联动字段"}}]}),Pv=e.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=e.useModel(n,"modelValue");return(i,Q)=>{const w=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(w,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":Q[1]||(Q[1]=a=>t.value=a),top:"3vh",title:"值联动"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:e.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=a=>e.unref(A).current=a),schema:e.unref(Hv)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Kv={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Uv={class:"config-linkages"},Tv=JA(e.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Wt(),t=e.useModel(n,"modelValue");return e.ref({}),(i,Q)=>{var a;const w=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(w,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":Q[1]||(Q[1]=b=>t.value=b),top:"3vh",title:`${(a=e.unref(A).current)==null?void 0:a.label} - 配置级联动`,width:"70vw",center:""},{default:e.withCtx(()=>[e.createElementVNode("div",Uv,[e.createVNode(e.unref(Ut),{modelValue:e.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.unref(A).current=b),schema:e.unref(Kv),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),Yv=e.defineComponent({__name:"index",setup(n){const A=$n(),t=e.ref(!1),i=e.ref(!1),Q=e.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(w,a)=>{const b=e.resolveComponent("el-divider"),S=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("linkageConfig"))},[e.createVNode(b,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(A).attr.tab1.linkage.text),1)]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(ke)("linkageConfig-btns"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,({title:f,onClick:N})=>(e.openBlock(),e.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),e.createVNode(Tv,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=f=>t.value=f)},null,8,["modelValue"]),e.createVNode(Pv,{modelValue:i.value,"onUpdate:modelValue":a[1]||(a[1]=f=>i.value=f)},null,8,["modelValue"])],2)}}}),Ov={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"}]},$v={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"}]},Jv={class:"more"},Zv=e.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(!1);return(i,Q)=>{const w=e.resolveComponent("el-divider"),a=e.resolveComponent("el-button"),b=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("style-config"))},[e.createVNode(w,null,{default:e.withCtx(()=>Q[4]||(Q[4]=[e.createTextVNode("组件样式")])),_:1}),e.createVNode(e.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=S=>A.value=S),schema:e.unref(Ov),ref:"formRef"},null,8,["modelValue","schema"]),e.createElementVNode("div",Jv,[e.createVNode(a,{type:"primary",plain:"",size:"small",onClick:Q[1]||(Q[1]=S=>t.value=!0)},{default:e.withCtx(()=>Q[5]||(Q[5]=[e.createTextVNode("自定义更多样式")])),_:1})]),e.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":Q[3]||(Q[3]=S=>t.value=S),title:"组件样式"},{default:e.withCtx(()=>[e.createVNode(e.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[2]||(Q[2]=S=>A.value=S),schema:e.unref($v),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),zv=e.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Fi(),t=Ea(),i=e.useModel(n,"modelValue"),Q=e.computed(()=>{const a=A[i.value.component];if(a!=null&&a.attrSchema){const b=(f=[])=>f.map(N=>{const G=ns(i.value,N.name),K=Oe.isString(G)&&/^{{\s*(.*?)\s*}}$/.test(G);return{...N,label:t.value==="zh"?N.label:N.name.split(".").pop(),component:K?"Input":N.component,dialog:K||N.dialog,children:N.children&&b(N.children)}}),S=b(a.attrSchema.items);return{...a.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:a.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),w=e.computed({get(){var a;return((a=i.value)==null?void 0:a.props)||{}},set(a){i.value=_i(i.value,"props",a)}});return(a,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("attr"))},[(e.openBlock(),e.createBlock(e.unref(Ut),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=S=>i.value=S),schema:Q.value},null,8,["modelValue","schema"])),(e.openBlock(),e.createBlock(Zv,{key:i.value.designKey,modelValue:w.value,"onUpdate:modelValue":b[1]||(b[1]=S=>w.value=S)},null,8,["modelValue"])),e.createVNode(Yv,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=S=>i.value=S)},null,8,["modelValue"])],2))}}),Wv={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:"label后缀",component:"Input",name:"labelSuffix"},{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"}]},jv=e.defineComponent({__name:"FormEdit",setup(n){const A=Wt(),t=e.computed({get(){return A.schema},set(i){A.updateSchema(i)}});return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Ut),{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=w=>t.value=w),schema:e.unref(Wv)},null,8,["modelValue","schema"]))}}),qv=e.defineComponent({__name:"index",setup(n){const A=$n(),t=Wt();return e.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,Q)=>{const w=e.resolveComponent("el-tab-pane"),a=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(ke)("form-design-right"))},[e.createVNode(a,{modelValue:e.unref(t).rightTab,"onUpdate:modelValue":Q[1]||(Q[1]=b=>e.unref(t).rightTab=b)},{default:e.withCtx(()=>[e.unref(t).current?(e.openBlock(),e.createBlock(w,{key:0,label:e.unref(A).attr.tab1.title,name:"attr"},{default:e.withCtx(()=>[e.createVNode(zv,{modelValue:e.unref(t).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.createVNode(w,{label:e.unref(A).attr.tab2.title,name:"form"},{default:e.withCtx(()=>[e.createVNode(jv)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),Rd=e.defineComponent({__name:"index",props:e.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:e.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:e.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const t=n,i=A,Q=e.ref(""),w=e.useModel(n,"modelValue"),a=e.computed({get(){return w.value.items},set(f){w.value.items=f}}),b=e.computed({get(){return Ca(a.value,Q.value)},set(f){Q.value=f.designKey,a.value=Gg(a.value,f)}}),S=e.reactive({...e.toRefs(t),currentKey:Q,hoverKey:"",schema:w,current:b,list:a,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(w.value,f)},updateList:f=>{a.value=f},handleEmit:(f,N)=>{i(f,N)}});return e.provide(Rg,S),(f,N)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(ke)("form-design")},f.$attrs),[e.createVNode(bv),e.createVNode(Gv),e.createVNode(qv)],16))}}),Xv={class:"card-header"},Vv={class:"card-btns"},A1={key:0,class:"switch-panel"},e1=JA(e.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,t=e.ref(!1),i=e.computed(()=>A.btns?A.btns.map(Q=>({isLinkBtn:!0,...Q})):[]);return(Q,w)=>{const a=e.resolveComponent("el-collapse-transition"),b=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(b,e.mergeProps(Q.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:Q.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",Xv,[Q.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:w[0]||(w[0]=S=>t.value=!t.value)},[e.createVNode(e.unref(te),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(Q.header),1),e.createElementVNode("div",Vv,[Q.typeSwitch?(e.openBlock(),e.createElementBlock("div",A1,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="card"}]),onClick:w[1]||(w[1]=S=>Q.switchTableType("card"))},[e.createVNode($e,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="table"}]),onClick:w[2]||(w[2]=S=>Q.switchTableType("table"))},[e.createVNode($e,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createVNode(e.unref(Zi),{btns:i.value||[]},null,8,["btns"])])])])]),default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.renderSlot(Q.$slots,"default",{},void 0,!0)],512),[[e.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-3bf3fee7"]]),t1=["id"],n1={class:"empty-content"},i1=["title"],o1=["title","onClick"],s1=["title"],r1={class:"row-btn-wrapper"},a1={class:"empty-content"},l1=["title"],c1=["title","onClick"],g1=["title"],u1={class:"row-btn-wrapper"},ul=JA(e.defineComponent({__name:"index",props:e.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const t=n,i=e.useModel(n,"schema"),Q=e.computed(()=>i.value.rulePath&&w[i.value.rulePath]?i.value.rulePath:t.pageRulePath),w=e.inject("ruleMap",{}),a=e.inject("pageMethodMap",{}),b=e.inject("getGlobalParams",()=>{}),S=e.inject(Cn),f=S?S.translateFn:null;Q.value&&e.provide("ruleModule",w[Q.value]);const N=e.ref(),G=e.useModel(n,"modelValue"),K=(tA,cA)=>{const sA=i.value.columns.find(hA=>hA.key===tA);sA&&(sA.hidden=!cA)},J=(tA,cA,sA)=>{if(Q.value)try{w[Q.value][tA.onClick](a,cA,sA)}catch(hA){console.error(hA)}},T=tA=>{if(!(!i.value.rowClick||!Q.value))try{w[Q.value][i.value.rowClick](a,tA)}catch(cA){console.error(cA)}},P=tA=>{if(!(!i.value.rowDbClick||!Q.value))try{w[Q.value][i.value.rowDbClick](a,tA)}catch(cA){console.error(cA)}},_=e.ref([]),m=tA=>{_.value=tA},L=(tA,cA,sA)=>{G.value[tA]&&(G.value[tA][cA]=sA)},k=()=>{var tA;(tA=N.value)==null||tA.clearSelection()},y=()=>G.value,C=e.ref(),u=tA=>{if(C.value=tA,!(!i.value.handleCurrentChange||!Q.value))try{w[Q.value][i.value.handleCurrentChange](a,tA)}catch(cA){console.error(cA)}},p=()=>C.value,l=()=>{var tA;return(tA=N.value)==null?void 0:tA.getSelectionRows()},g=(tA={})=>{G.value.push(tA)},r=tA=>{tA>=0&&tA<G.value.length&&G.value.splice(tA,1)},d=async()=>{G.value=[...G.value]},h=async()=>!0,s=tA=>{G.value=tA},o=(tA,cA)=>{var hA;const sA=(hA=i.value.topBtns)==null?void 0:hA.find(z=>z.key===tA);sA&&(sA.hidden=cA)},B=(tA,cA)=>{var hA;const sA=(hA=i.value.rowBtns)==null?void 0:hA.find(z=>z.key===tA);sA&&(sA.condition=!cA)},E=e.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!G.value||G.value.length===0?!1:G.value.some(tA=>{var cA;return(cA=i.value.rowBtns)==null?void 0:cA.some(sA=>sA.condition===void 0||sA.condition===null?!0:zt(sA.condition,{$row:tA,$globalParams:b()}))})),M=e.ref(0),D=tA=>{M.value=tA},x=e.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),R=()=>x.value,$=tA=>{let cA=!1;return tA.pageNum>-1&&(x.value.pageNum!==tA.pageNum&&(cA=!0),x.value.pageNum=tA.pageNum),tA.pageSize>-1&&(x.value.pageSize!==tA.pageSize&&(cA=!0),x.value.pageSize=tA.pageSize),{pagination:x.value,isChange:cA}},j=tA=>{if(x.value.pageNum=1,x.value.pageSize=tA,!(!i.value.sizeChange||!Q.value))try{w[Q.value][i.value.sizeChange](a,x.value)}catch(cA){console.error(cA)}},Z=tA=>{if(x.value.pageNum=tA,!(!i.value.pageChange||!Q.value))try{w[Q.value][i.value.pageChange](a,x.value)}catch(cA){console.error(cA)}},Y=tA=>{var cA;(cA=N.value)==null||cA.setCurrentRow(tA)},q=tA=>{var cA;(cA=N.value)==null||cA.setCurrentRow(G.value[tA])},v=(tA,cA,sA)=>{i.value.columns.forEach(hA=>{hA.key===tA&&hA[cA]&&(hA[cA]=sA)})},W=tA=>{i.value.displayType=tA},F=tA=>{i.value.shadowless=tA},X=(tA,cA)=>{const sA=f?f(tA.key,cA):cA[tA.key];if(!zt(tA.encrypted,{$row:cA,$col:tA})||!sA)return sA;const z=`${sA}`;return z.length<=4?"*".repeat(z.length):z.slice(0,-4)+"****"},nA=e.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),e.onMounted(async()=>{if(!i.value||!i.value.onMounted||!Q.value)return;await e.nextTick();const tA=i.value.onMounted;try{w[Q.value][tA](a)}catch(cA){console.error(cA)}}),e.onActivated(()=>{if(!i.value||!i.value.onActivated||!Q.value)return;const tA=i.value.onActivated;try{w[Q.value][tA](a)}catch(cA){console.error(cA)}});const V=e.readonly({...e.toRefs(t),setCellData:L,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:l,addRow:g,deleteRow:r,refresh:d,validate:h,setData:s,selectRow:Y,selectRowNum:q,setTotal:D,getPagination:R,setPagination:$,setTopBtnHidden:o,setColVisible:K,setColumn:v,setRowsBtnHidden:B,setShadowless:F,rootRef:nA,type:"table"});return A(V),(tA,cA)=>{const sA=e.resolveComponent("el-table-column"),hA=e.resolveComponent("el-tooltip"),z=e.resolveComponent("el-button"),iA=e.resolveComponent("el-pagination");return i.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"rootRef",ref:nA,id:i.value.key},[i.value.cardless?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["table-render",{tableBorder:i.value.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:N,data:G.value,stripe:i.value.stripe,"highlight-current-row":"","row-key":i.value.rowKey,onRowClick:T,onRowDblclick:P,onSelectionChange:m,onCurrentChange:u,height:i.value.height},{empty:e.withCtx(()=>[e.createElementVNode("div",a1,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),cA[5]||(cA[5]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var oA;return[i.value.multipleSelection?(e.openBlock(),e.createBlock(sA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.columns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(sA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:rA.label},e.toDisplayString(rA.label),9,l1)]),default:e.withCtx(({row:U,$index:O})=>[rA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":rA.onClick}]),title:X(rA,U),onClick:AA=>J(rA,U,O)},e.toDisplayString(X(rA,U)),11,c1)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(rA,U)},e.toDisplayString(X(rA,U)),9,g1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),E.value&&((oA=i.value.rowBtns)!=null&&oA.length)?(e.openBlock(),e.createBlock(sA,{key:1,label:"Action",fixed:"right",align:"left"},{default:e.withCtx(({row:rA,$index:U})=>[e.createElementVNode("div",u1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.rowBtns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.condition===void 0||O.condition===null||e.unref(zt)(O.condition,{$row:rA,$globalParams:e.unref(b)()})?(e.openBlock(),e.createBlock(z,{key:0,disabled:O.disabled,link:"",size:"small",type:O.type,onClick:AA=>J(O,rA,U)},{default:e.withCtx(()=>[e.createVNode(hA,{class:"box-item",effect:"dark",content:O.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[O.icon?(e.openBlock(),e.createBlock($e,{key:0,name:O.icon.name,color:O.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","height"])],512),[[e.vShow,i.value.displayType==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps(i.value,{data:G.value,"get-col-text":X}),null,16,["data"]),[[e.vShow,i.value.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:i.value.hiddenPagination||G.value.length===0,cardlistPadding:i.value.displayType==="card"}])},[e.createVNode(iA,{layout:"total,sizes, prev, pager, next,jumper",total:M.value,"page-sizes":i.value.pageSizes||[5,10,20,30,40],"default-page-size":i.value.defaultPageSize,"current-page":x.value.pageNum,"onUpdate:currentPage":cA[2]||(cA[2]=oA=>x.value.pageNum=oA),"page-size":x.value.pageSize,"onUpdate:pageSize":cA[3]||(cA[3]=oA=>x.value.pageSize=oA),"pager-count":i.value.pagerCount,onSizeChange:j,onCurrentChange:Z},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)):(e.openBlock(),e.createBlock(e1,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:W,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["table-render",{tableBorder:i.value.displayType==="table"}])},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:N,data:G.value,stripe:i.value.stripe,"highlight-current-row":"","show-overflow-tooltip":"","row-key":i.value.rowKey,onRowClick:T,onRowDblclick:P,onSelectionChange:m,onCurrentChange:u,height:i.value.height},{empty:e.withCtx(()=>[e.createElementVNode("div",n1,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),cA[4]||(cA[4]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>{var oA;return[i.value.multipleSelection?(e.openBlock(),e.createBlock(sA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.columns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(sA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:rA.label},e.toDisplayString(rA.label),9,i1)]),default:e.withCtx(({row:U,$index:O})=>[rA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":rA.onClick}]),title:X(rA,U),onClick:AA=>J(rA,U,O)},e.toDisplayString(X(rA,U)),11,o1)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(rA,U)},e.toDisplayString(X(rA,U)),9,s1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),E.value&&((oA=i.value.rowBtns)!=null&&oA.length)?(e.openBlock(),e.createBlock(sA,{key:1,label:"Action",fixed:"right",align:"left",width:i.value.rowBtns.length*34+12>100?i.value.rowBtns.length*34+12:100},{default:e.withCtx(({row:rA,$index:U})=>[e.createElementVNode("div",r1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.rowBtns,O=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O.key},[O.condition===void 0||O.condition===null||e.unref(zt)(O.condition,{$row:rA,$globalParams:e.unref(b)()})?(e.openBlock(),e.createBlock(z,{key:0,disabled:O.disabled,link:"",size:"small",type:O.type,onClick:AA=>J(O,rA,U)},{default:e.withCtx(()=>[e.createVNode(hA,{class:"box-item",effect:"dark",content:O.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[O.icon?(e.openBlock(),e.createBlock($e,{key:0,name:O.icon.name,color:O.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","height"])],512),[[e.vShow,i.value.displayType==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps(i.value,{data:G.value,"get-col-text":X}),null,16,["data"]),[[e.vShow,i.value.displayType==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:i.value.hiddenPagination||G.value.length===0,cardlistPadding:i.value.displayType==="card"}])},[e.createVNode(iA,{layout:"total,sizes, prev, pager, next,jumper",total:M.value,"page-sizes":i.value.pageSizes||[5,10,20,30,40],"default-page-size":i.value.defaultPageSize,"current-page":x.value.pageNum,"onUpdate:currentPage":cA[0]||(cA[0]=oA=>x.value.pageNum=oA),"page-size":x.value.pageSize,"onUpdate:pageSize":cA[1]||(cA[1]=oA=>x.value.pageSize=oA),"pager-count":i.value.pagerCount,onSizeChange:j,onCurrentChange:Z},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,t1))}}}),[["__scopeId","data-v-9a1a8159"]]),d1=["id"],h1={class:"tab-label"},p1={class:"tab-label-text"},B1={key:0,class:"divider"},C1=JA(e.defineComponent({__name:"index",props:e.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.ref({}),Q=e.ref({}),w=T=>P=>{P?Q.value[T]=P:delete Q.value[T]},a=e.computed(()=>{var T;return(T=t.value.content.find(P=>P.url===f.value))==null?void 0:T.mixMode}),b=T=>{t.value.content=T},S=T=>{Array.isArray(T)?t.value.content.push(...T):t.value.content.push(T)},f=e.ref(t.value.content[0].url),N=T=>{i.value[T]=!0,e.nextTick(()=>{i.value[T]=!1})},G=e.useTemplateRef("rootRef"),K=T=>Q.value[T],J=T=>{f.value=T};return A(e.readonly({setTabContent:b,addTabContent:S,schema:t,rootRef:G,findRef:K,changeActiveTab:J,type:"tabs"})),(T,P)=>{var k,y,C;const _=e.resolveComponent("el-skeleton"),m=e.resolveComponent("el-tab-pane"),L=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",{ref_key:"rootRef",ref:G,id:t.value.key},[t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(L,e.mergeProps({key:0},t.value.tabProps,{modelValue:f.value,"onUpdate:modelValue":P[0]||(P[0]=u=>f.value=u),class:["crm-tabs",{mixmode:a.value}],style:{"--top":(k=t.value)!=null&&k.stickyTop?`${(y=t.value)==null?void 0:y.stickyTop}px`:"110px","--is-sticky":(C=t.value)!=null&&C.isSticky?"sticky":"static"}}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(u,p)=>(e.openBlock(),e.createBlock(m,{name:u.url,key:u.url,lazy:p!==0},{label:e.withCtx(()=>[e.createElementVNode("div",h1,[e.createElementVNode("span",p1,e.toDisplayString(u.label),1),p!==t.value.content.length-1?(e.openBlock(),e.createElementBlock("span",B1)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[i.value[p]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(dl,{key:0,pageUrl:u.url,"rule-map":T.ruleMap,"page-params":{...T.pageParams,...u.pageParams},ref_for:!0,ref:w(u.url),onRefresh:l=>N(p)},{loading:e.withCtx(()=>[e.createVNode(_,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,d1)}}}),[["__scopeId","data-v-24504834"]]),E1=["id"],Q1={class:"info-card"},m1={class:"info-card-header"},I1={class:"left-part"},f1={class:"title-part"},w1={class:"sub-title-container"},D1={class:"sub-title"},b1={class:"right-part"},y1={class:"info-card-detail"},v1={class:"label"},k1={key:0,class:"divider"},_1=JA(e.defineComponent({__name:"InfoCard",props:e.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.inject("ruleMap",{}),Q=n,w=e.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[Q.pageRulePath]);e.provide("ruleModule",w.value);const a=e.inject("pageMethodMap",{}),b=f=>{const N=document.createElement("textarea");N.value=f??"",N.style.position="absolute",N.style.opacity="0",document.body.appendChild(N),N.select(),document.execCommand("copy"),N.remove()},S=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(f){console.error("Clipboard API error:",f),b(t.value.header.subTitle)}Mt.ElMessage.success("Copy Successful")};return e.onMounted(async()=>{if(!t.value||!t.value.rulePath||!t.value.onMounted)return;const f=t.value.onMounted;try{w.value[f](a)}catch(N){console.error(N)}}),e.onActivated(()=>{if(!t.value||!t.value.rulePath||!t.value.onActivated)return;const f=t.value.onActivated;try{w.value[f](a)}catch(N){console.error(N)}}),A({type:"infocard",schema:t}),(f,N)=>{var G,K,J,T;return t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[e.createElementVNode("div",Q1,[e.createElementVNode("div",m1,[e.createElementVNode("div",I1,[e.createElementVNode("div",{class:"avatar",style:e.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[e.createVNode($e,{name:(G=t.value.header)==null?void 0:G.avatar,color:(K=t.value.header)==null?void 0:K.avatarIconColor},null,8,["name","color"])],4),e.createElementVNode("div",f1,[e.createElementVNode("div",{class:"title",style:e.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},e.toDisplayString((J=t.value.header)==null?void 0:J.title),5),e.createElementVNode("div",w1,[e.createElementVNode("span",D1,e.toDisplayString((T=t.value.header)==null?void 0:T.subTitle),1),e.createVNode($e,{name:"icon-fuzhi",class:"copy-icon",onClick:S})])])]),e.createElementVNode("div",b1,[e.createVNode(e.unref(Zi),{btns:t.value.btns},null,8,["btns"]),e.createVNode(e.unref(Qv),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),e.createElementVNode("div",y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.detail,(P,_)=>(e.openBlock(),e.createElementBlock("div",{key:P.label,class:"detail-item"},[e.createElementVNode("div",null,[e.createElementVNode("div",v1,e.toDisplayString(P.label),1),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(P.color?{color:P.color}:{})},e.toDisplayString(P.value||"- -"),5)]),_!==t.value.detail.length-1?(e.openBlock(),e.createElementBlock("div",k1)):e.createCommentVNode("",!0)]))),128))])])],8,E1))}}}),[["__scopeId","data-v-2fa7eef0"]]),M1=["id"],S1={class:"left-part"},x1={class:"nav-title"},N1=["onClick"],F1={class:"nav-footer"},R1={class:"left-actions"},L1=["onClick"],G1={class:"footer-text"},H1={key:1,class:"divider"},P1={class:"right-actions"},K1=JA(e.defineComponent({__name:"NavBar",props:e.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const t=e.useModel(n,"schema"),i=e.computed(()=>(t.value.leftActions||[]).filter(K=>!K.hidden)),Q=e.inject("ruleMap",{}),w=e.inject("pageMethodMap",{}),a=n,b=e.computed(()=>t.value.rulePath&&Q[t.value.rulePath]?Q[t.value.rulePath]:Q[a.pageRulePath]);e.provide("ruleModule",b.value);const S=K=>{if(K&&b.value)try{b.value[K](w)}catch(J){console.error(J)}},f=e.inject(Cn),N=()=>{f&&f.navigateFn&&f.navigateFn(-1)},G=K=>{const J=a.findRef(K);J&&J.rootRef&&J.rootRef.scrollIntoView({behavior:"smooth",block:"center"})};return A({type:"navbar",schema:t}),(K,J)=>t.value.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:e.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[e.createElementVNode("div",S1,[t.value.back?(e.openBlock(),e.createBlock($e,{key:0,name:"icon-back",class:"back-icon",onClick:N})):e.createCommentVNode("",!0),e.createElementVNode("div",x1,e.toDisplayString(t.value.title),1)]),e.createElementVNode("div",null,[e.createVNode(e.unref(Zi),{btns:t.value.btns||[]},null,8,["btns"])])],2)):e.createCommentVNode("",!0),t.value.content&&t.value.content.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.content,(T,P)=>(e.openBlock(),e.createElementBlock("div",{key:P,class:e.normalizeClass(["hexagon",{"first-item":P===0,"middle-item":P>0&&P<t.value.content.length-1,"last-item":P===t.value.content.length-1}]),onClick:_=>G(T.ref)},[e.createElementVNode("span",null,e.toDisplayString(T.text),1)],10,N1))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",F1,[e.createElementVNode("div",R1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(T,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:T.key},[T.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:_=>S(T.onClick),class:"footer-item"},[T.icon?(e.openBlock(),e.createBlock($e,{key:0,name:T.icon.name,color:T.icon.color,class:"footer-icon"},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",G1,e.toDisplayString(T.text),1),P!==i.value.length-1?(e.openBlock(),e.createElementBlock("div",H1)):e.createCommentVNode("",!0)],8,L1))],64))),128))]),e.createElementVNode("div",P1,[e.createVNode(e.unref(Zi),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,M1))}}),[["__scopeId","data-v-a11b156f"]]),U1=["id"],dl=JA(e.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh"],setup(n,{expose:A,emit:t}){const i=t,Q={form:Ut,table:ul,tabs:C1,infocard:_1,navbar:K1},w=n,a=e.ref(w.pageParams),b=e.ref({}),S=e.ref();e.watch(()=>w.pageParams,()=>{a.value=w.pageParams});const f=D=>{if(S.value){if(D.type==="tabs")return{...D.schema.tabProps,schema:D.schema,"onUpdate:schema":x=>{D.schema=x},ruleMap:w.ruleMap,pageParams:a.value};if(D.type==="form")return{modelValue:D.model,"onUpdate:modelValue":x=>{D.model=x},realValues:D.realValues,"onUpdate:realValues":x=>{D.realValues=x},schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="table")return{modelValue:D.model,"onUpdate:modelValue":x=>{D.model=x},schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="infocard")return{schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||""};if(D.type==="navbar")return{schema:D.schema,"onUpdate:schema":x=>{D.schema=x},pageRulePath:S.value.rulePath||"",findRef:K}}},N=e.ref([]),G=Iv(),K=D=>{var R;const x=(R=N.value)==null?void 0:R.find($=>$.schema.key===D);return x||G.findRef(D)},J=D=>{var R;return(R=N.value)==null?void 0:R.filter($=>$.schema.key&&D.includes($.schema.key))},T=(D,x)=>{var Z;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(q=>{R.includes(q.component)?q.props&&(q.props.disabled=x):q.children&&$(q.children)})},j=(Z=S.value)==null?void 0:Z.content.find(Y=>Y.schema.key===D);j&&j.type==="form"&&$(j.schema.items)},P=(D,x)=>{var Z;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(q=>{R.includes(q.component)?q.props&&(q.props.read=x):q.children&&$(q.children)})},j=(Z=S.value)==null?void 0:Z.content.find(Y=>Y.schema.key===D);j&&j.type==="form"&&$(j.schema.items)},_=async D=>{if(Array.isArray(D)){const x=J(D);for(const R of x||[])R.type==="form"&&await R.validate()}else{const x=K(D);return x?await x.validate():!1}},m=D=>{if(S.value){if(!D){const x={};for(const R of S.value.content)R.schema.key&&(R.type==="form"?x[R.schema.key]=Oe.cloneDeep(e.toRaw({...R.model,...R.realValues})):R.type==="table"&&(x[R.schema.key]=Oe.cloneDeep(e.toRaw(R.model))));return x}if(Array.isArray(D)){const x={};for(const R of S.value.content)R.schema.key&&D.includes(R.schema.key)&&(R.type==="form"?x[R.schema.key]=Oe.cloneDeep(e.toRaw({...R.model,...R.realValues})):R.type==="table"&&(x[R.schema.key]=Oe.cloneDeep(e.toRaw(R.model))));return x}else{const x=S.value.content.find(R=>R.schema.key===D);if(x){if(x.type==="form")return Oe.cloneDeep(e.toRaw({...x.model,...x.realValues}));if(x.type==="table")return Oe.cloneDeep(e.toRaw(x.model))}}}},L=(D,x,R=!1)=>{if(!S.value)return;const $=S.value.content.find(j=>j.schema.key===D);if($)if($.type==="form")if(R)Object.assign($.model,x);else{for(let j in $.model)delete $.model[j];Object.assign($.model,x)}else $.type==="table"&&($.model=x)},k=D=>{if(D)if(Array.isArray(D)){const x=J(D);for(const R of x||[])R.type==="form"&&R.resetFields()}else{const x=K(D);if(!x)return;x.type==="form"&&x.resetFields()}},y=(D,x)=>{var $;const R=($=S.value)==null?void 0:$.content.find(j=>j.schema.key===D);if(R&&R.type==="form")return is(R.schema.items,x)},C=()=>a.value,u=D=>{a.value=D},p=D=>{a.value={...a.value,...D}},l=(D,x)=>{if(!S.value)return;const R=S.value.content.find($=>$.schema.key===D);R&&(R.schema.hidden=x)},g=(D,x)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===D);R&&(R.hidden=x)},r=(D,x,R)=>{var $;if(S.value){if(D.type==="form"){const j=y(D.formKey,D.btnKey);j&&(x==="disabled"?j.props[x]=R:j[x]=R)}else if(D.type==="page"){const j=S.value.btns.find(Z=>Z.key===D.btnKey);j&&(j[x]=R)}else if(D.type==="table"){const j=($=S.value)==null?void 0:$.content.find(Z=>Z.schema.key===D.tableKey);if(!j||j.type!=="table")return;if(D.btnPosition==="top")j.schema.topBtns.find(Z=>Z.key===D.btnKey)[x]=R;else if(D.btnPosition==="row"){const Z=x==="hidden"?"condition":x;j.schema.rowBtns.find(Y=>Y.key===D.btnKey)[Z]=R}}else if(D.type==="card"){const j=y(D.formKey,D.cardKey);j&&(j.props.btns.find(Z=>Z.key===D.btnKey)[x]=R)}}},d=(D,x,R)=>{var j,Z,Y,q,v;if(!S.value)return;const $=(x==="disabled"||x==="hidden")&&typeof R=="boolean";if(S.value.btns){const W=S.value.btns.find(F=>F.key===D);if(W&&$){W[x]=R;return}}for(const W of S.value.content){if(W.type==="infocard"){const F=W.schema.btns.find(X=>X.key===D);if(F&&$){F[x]=R;return}}if(W.type==="navbar"){const F=(j=W.schema.btns)==null?void 0:j.find(V=>V.key===D);if(F&&$){F[x]=R;return}const X=(Z=W.schema.footerBtns)==null?void 0:Z.find(V=>V.key===D);if(X&&$){X[x]=R;return}const nA=(Y=W.schema.leftActions)==null?void 0:Y.find(V=>V.key===D);if(nA&&$&&x==="hidden"){nA[x]=R;return}}if(W.type==="table"){const F=(q=W.schema.topBtns)==null?void 0:q.find(nA=>nA.key===D);if(F&&$){F[x]=R;return}const X=(v=W.schema.rowBtns)==null?void 0:v.find(nA=>nA.key===D);if(X){x==="hidden"?X.condition=!R:x==="condition"&&typeof R=="string"?X.condition=R:$&&(X[x]=R);return}}if(W.type==="form"){const F=X=>{var nA,V;for(const tA of X){if(tA.component==="Button"&&tA.name===D)return tA.props&&(tA.props[x]=R),!0;if((tA.component==="Card"||tA.component==="CurdCard")&&tA.props&&Array.isArray(tA.props.btns)){const cA=tA.props.btns.find(sA=>sA.key===D);if(cA)return cA[x]=R,!0}if(tA.component==="Table"&&tA.props){const cA=(nA=tA.props.topBtns)==null?void 0:nA.find(hA=>hA.key===D);if(cA)return cA[x]=R,!0;const sA=(V=tA.props.rowBtns)==null?void 0:V.find(hA=>hA.key===D);if(sA)return x==="hidden"?sA.condition=!R:x==="condition"&&typeof R=="string"?sA.condition=R:$&&(sA[x]=R),!0}if(tA.children&&Array.isArray(tA.children)&&F(tA.children))return!0}return!1};if(F(W.schema.items))return}}},h=(D,x)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===D);R&&(R.disabled=x)},s=D=>{Object.assign(b.value,D)},o=()=>b.value,B={findRef:K,setFormDisabled:T,validate:_,getData:m,resetFields:k,emit:i,setData:L,getItemByName:y,getPageParams:C,setHidden:l,setBtnHidden:g,setBtnStateByKey:d,setBtnDisabled:h,addPageParams:p,setPageParams:u,setGlobalParams:s,getGlobalParams:o,setBtnState:r,setReadMode:P},E=D=>{if(!(!S.value||!S.value.rulePath))try{w.ruleMap[S.value.rulePath][D](B)}catch(x){console.error(x)}};e.provide("pageMethodMap",B),e.provide("ruleMap",w.ruleMap),e.provide("getGlobalParams",o);const M=e.inject(Cn);return e.onMounted(async()=>{if(M&&M.fetchSchemaFn&&w.pageUrl){const D=await M.fetchSchemaFn(w.pageUrl);S.value={...D,content:D.content.map($=>$.type==="form"?{...$,schema:$.schema,model:{},realValues:{}}:$.type==="table"?{...$,schema:$.schema,model:[]}:$)},await e.nextTick();const x=xd(S.value);if(await G.waitForKeys(x),!S.value||!S.value.rulePath||!S.value.onMounted)return;const R=S.value.onMounted;try{w.ruleMap[S.value.rulePath][R](B)}catch($){console.error($)}}}),e.onActivated(()=>{if(!S.value||!S.value.rulePath||!S.value.onActivated)return;const D=S.value.onActivated;try{w.ruleMap[S.value.rulePath][D](B)}catch(x){console.error(x)}}),A({...B}),(D,x)=>{const R=e.resolveComponent("el-button"),$=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",null,[S.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"page-render",id:S.value.key},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.content,j=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Q[j.type]),e.mergeProps({key:j.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N},f(j)),null,16))),128)),S.value.btns&&S.value.btns.length>0?(e.openBlock(),e.createBlock($,{key:0,justify:S.value.btnPosition||"end",class:"btn-wrapper"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.btns,j=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j.key},[j.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(R,{key:0,type:j.type,onClick:Z=>E(j.onClick),disabled:j.disabled},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(j.text),1)]),_:2},1032,["type","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):e.createCommentVNode("",!0)],8,U1)):e.renderSlot(D.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-33c93a8a"]]),T1={install:(n,A={})=>{n.provide(Cn,A),n.component("FormRender",Ut),n.component("FormDesign",Rd),n.component("TableRender",ul),n.component("PageRender",dl)}},Y1={key:0},O1=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"TextArea",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const Q=e.resolveComponent("el-input");return t.read?(e.openBlock(),e.createElementBlock("div",Y1,e.toDisplayString(A.value||"--"),1)):(e.openBlock(),e.createBlock(Q,e.mergeProps({key:1},t.$attrs,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=w=>A.value=w),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),$1={class:"card-header"},J1={class:"card-btns"},Z1={class:"card-sub-header"},z1=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=e.ref(!1),t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=w=>{if(w&&t)try{t[w](i)}catch(a){console.error(a)}};return(w,a)=>{const b=e.resolveComponent("el-tooltip"),S=e.resolveComponent("el-collapse-transition"),f=e.resolveComponent("ElCard");return e.openBlock(),e.createBlock(f,e.mergeProps(w.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:w.shadowless}],shadow:"never"}),{header:e.withCtx(()=>[e.createElementVNode("div",$1,[w.collapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:a[0]||(a[0]=N=>A.value=!A.value)},[e.createVNode(e.unref(te),{name:"dropdown",class:e.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(w.header),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.extraIcons,N=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N.name},[N.tips?(e.openBlock(),e.createBlock(b,{key:0,content:N.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode($e,{class:"extra-icon",name:N.name,color:N.color,size:N.size||"small",onClick:G=>Q(N.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,class:"extra-icon",name:N.name,color:N.color,size:N.size||"small",onClick:G=>Q(N.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),e.createElementVNode("div",J1,[e.createVNode(e.unref(Zi),{btns:w.btns||[]},null,8,["btns"])]),e.createElementVNode("div",Z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.subHeaders,N=>(e.openBlock(),e.createElementBlock("div",{key:N,class:"card-sub-header-item"},[e.createElementVNode("span",null,e.toDisplayString(N),1)]))),128))])])]),default:e.withCtx(()=>[e.createVNode(S,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Sn),{list:w.children},null,8,["list"])],512),[[e.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-37d0cc4b"]])},Symbol.toStringTag,{value:"Module"})),W1=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Cascader",props:e.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.inject("ruleModule",void 0),Q=e.inject("pageMethodMap",{}),w=S=>{if(A.onChange&&i)try{i[A.onChange](Q,S)}catch(f){console.error(f)}},{currentOptions:a,loading:b}=Bo(A);return(S,f)=>{const N=e.resolveComponent("el-cascader");return e.openBlock(),e.createBlock(N,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=G=>t.value=G),options:e.unref(a),loading:e.unref(b),props:{multiple:S.multiple,label:S.labelKey,value:S.valueKey}},S.$attrs,{onChange:w}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var Ld={exports:{}};/*!
|
|
181
181
|
* jsoneditor.js
|
|
182
182
|
*
|
|
183
183
|
* @brief
|
|
@@ -1572,8 +1572,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1572
1572
|
`,r:"\r",t:" ",'"':'"',"/":"/","\\":"\\"},S=97,f=(a.parse=function(C,u,p){var l={},g=0,r=0,d=0,h=p&&p.bigint&&typeof BigInt<"u";return{data:s("",!0),pointers:l};function s(v,W){o(),R(v,"value");var F,X=M();switch(X){case"t":E("rue"),F=!0;break;case"f":E("alse"),F=!1;break;case"n":E("ull"),F=null;break;case'"':F=B();break;case"[":F=function(nA){o();var V=[],tA=0;if(M()!="]")for(D();;){V.push(s(nA+"/"+tA)),o();var cA=M();if(cA=="]")break;cA!=","&&Y(),o(),tA++}return V}(v);break;case"{":F=function(nA){o();var V={};if(M()!="}")for(D();;){var sA=j(),tA=(M()!='"'&&Y(),B()),cA=nA+"/"+y(tA),sA=($(cA,"key",sA),R(cA,"keyEnd"),o(),M()!=":"&&Y(),o(),V[tA]=s(cA),o(),M());if(sA=="}")break;sA!=","&&Y(),o()}return V}(v);break;default:D(),0<="-0123456789".indexOf(X)?F=function(){var nA="",V=!0;C[d]=="-"&&(nA+=M()),nA+=(C[d]=="0"?M:x)(),C[d]=="."&&(nA+=M()+x(),V=!1),C[d]!="e"&&C[d]!="E"||(nA+=M(),C[d]!="+"&&C[d]!="-"||(nA+=M()),nA+=x(),V=!1);var tA=+nA;return h&&V&&(tA>Number.MAX_SAFE_INTEGER||tA<Number.MIN_SAFE_INTEGER)?BigInt(nA):tA}():Z()}return R(v,"valueEnd"),o(),W&&d<C.length&&Z(),F}function o(){A:for(;d<C.length;){switch(C[d]){case" ":r++;break;case" ":r+=4;break;case"\r":r=0;break;case`
|
|
1573
1573
|
`:r=0,g++;break;default:break A}d++}}function B(){for(var v,W="";(v=M())!='"';)v=="\\"?(v=M())in b?W+=b[v]:v=="u"?W+=function(){for(var F=4,X=0;F--;){X<<=4;var nA=M().toLowerCase();"a"<=nA&&nA<="f"?X+=nA.charCodeAt()-S+10:"0"<=nA&&nA<="9"?X+=+nA:Y()}return String.fromCharCode(X)}():Y():W+=v;return W}function E(v){for(var W=0;W<v.length;W++)M()!==v[W]&&Y()}function M(){q();var v=C[d];return d++,r++,v}function D(){d--,r--}function x(){for(var v="";"0"<=C[d]&&C[d]<="9";)v+=M();if(v.length)return v;q(),Z()}function R(v,W){$(v,W,j())}function $(v,W,F){l[v]=l[v]||{},l[v][W]=F}function j(){return{line:g,column:r,pos:d}}function Z(){throw new SyntaxError("Unexpected token "+C[d]+" in JSON at position "+d)}function Y(){D(),Z()}function q(){if(d>=C.length)throw new SyntaxError("Unexpected end of JSON input")}},a.stringify=function(C,u,p){if(N(C)){var l=0;switch(typeof(r=typeof p=="object"?p.space:p)){case"number":var g=10<r?10:r<0?0:Math.floor(r),r=g&&Z(g," "),d=g,h=g;break;case"string":r=r.slice(0,10);for(var s=h=d=0;s<r.length;s++){switch(r[s]){case" ":h++;break;case" ":h+=4;break;case"\r":h=0;break;case`
|
|
1574
1574
|
`:h=0,l++;break;default:throw new Error("whitespace characters not allowed in JSON")}d++}break;default:r=void 0}var o="",B={},E=0,M=0,D=0,x=p&&p.es6&&typeof Map=="function";return function Y(q,v,W){switch(j(W,"value"),typeof q){case"number":case"bigint":case"boolean":R(""+q);break;case"string":R(m(q));break;case"object":q===null?R("null"):typeof q.toJSON=="function"?R(m(q.toJSON())):Array.isArray(q)?F():x?q.constructor.BYTES_PER_ELEMENT?F():q instanceof Map?nA():q instanceof Set?nA(!0):X():X()}j(W,"valueEnd");function F(){if(q.length){R("[");for(var V=v+1,tA=0;tA<q.length;tA++){tA&&R(","),$(V);var cA=N(q[tA])?q[tA]:null,sA=W+"/"+tA;Y(cA,V,sA)}$(v),R("]")}else R("[]")}function X(){var V=Object.keys(q);if(V.length){R("{");for(var tA=v+1,cA=0;cA<V.length;cA++){var sA,hA=V[cA],z=q[hA];N(z)&&(cA&&R(","),sA=W+"/"+y(hA),$(tA),j(sA,"key"),R(m(hA)),j(sA,"keyEnd"),R(":"),r&&R(" "),Y(z,tA,sA))}$(v),R("}")}else R("{}")}function nA(V){if(q.size){R("{");for(var tA=v+1,cA=!0,sA=q.entries(),hA=sA.next();!hA.done;){var z,oA=hA.value,iA=oA[0],oA=!!V||oA[1];N(oA)&&(cA||R(","),cA=!1,z=W+"/"+y(iA),$(tA),j(z,"key"),R(m(iA)),j(z,"keyEnd"),R(":"),r&&R(" "),Y(oA,tA,z)),hA=sA.next()}$(v),R("}")}else R("{}")}}(C,0,""),{json:o,pointers:B}}function R(Y){M+=Y.length,D+=Y.length,o+=Y}function $(Y){if(r){for(o+=`
|
|
1575
|
-
`+Z(Y,r),E++,M=0;Y--;)l?(E+=l,M=h):M+=h,D+=d;D+=1}}function j(Y,q){B[Y]=B[Y]||{},B[Y][q]={line:E,column:M,pos:D}}function Z(Y,q){return Array(Y+1).join(q)}},["number","bigint","boolean","string","object"]);function N(C){return 0<=f.indexOf(typeof C)}var G=/"|\\/g,K=/[\b]/g,J=/\f/g,T=/\n/g,P=/\r/g,_=/\t/g;function m(C){return'"'+(C=C.replace(G,"\\$&").replace(J,"\\f").replace(K,"\\b").replace(T,"\\n").replace(P,"\\r").replace(_,"\\t"))+'"'}var L=/~/g,k=/\//g;function y(C){return C.replace(L,"~0").replace(k,"~1")}},8340:function(w,a){var b;(a=typeof(b=function(){function S(u){return typeof Node=="object"?u instanceof Node:u&&typeof u=="object"&&typeof u.nodeType=="number"}function f(u){return typeof u=="string"}function N(){var u=[];return{watch:u.push.bind(u),trigger:function(p,l){for(var g=!0,r={detail:l,preventDefault:function(){g=!1}},d=0;d<u.length;d++)u[d](p,r);return g}}}function G(u){return window.getComputedStyle(u).display==="none"}function K(u){this.elem=u}function J(u,p){return K.make(u("parent")).clazz("pico-overlay").clazz(u("overlayClass","")).stylize({display:"none",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1e4}).stylize(u("overlayStyles",{opacity:.5,background:"#000"})).onClick(function(){u("overlayClose",!0)&&p()})}K.make=function(u,p){typeof u=="string"&&(u=document.querySelector(u));var l=document.createElement(p||"div");return(u||document.body).appendChild(l),new K(l)},K.prototype={child:function(u){return K.make(this.elem,u)},stylize:function(u){u=u||{},typeof u.opacity<"u"&&(u.filter="alpha(opacity="+u.opacity*100+")");for(var p in u)u.hasOwnProperty(p)&&(this.elem.style[p]=u[p]);return this},clazz:function(u){return this.elem.className+=" "+u,this},html:function(u){return S(u)?this.elem.appendChild(u):this.elem.innerHTML=u,this},onClick:function(u){return this.elem.addEventListener("click",u),this},destroy:function(){this.elem.parentNode.removeChild(this.elem)},hide:function(){this.elem.style.display="none"},show:function(){this.elem.style.display="block"},attr:function(u,p){return p!==void 0&&this.elem.setAttribute(u,p),this},anyAncestor:function(u){for(var p=this.elem;p;){if(u(new K(p)))return!0;p=p.parentNode}return!1},isVisible:function(){return!G(this.elem)}};var T=1;function P(u,p){var l=u("width","auto");typeof l=="number"&&(l=""+l+"px");var g=u("modalId","pico-"+T++),r=K.make(u("parent")).clazz("pico-content").clazz(u("modalClass","")).stylize({display:"none",position:"fixed",zIndex:10001,left:"50%",top:"38.1966%",maxHeight:"90%",boxSizing:"border-box",width:l,"-ms-transform":"translate(-50%,-38.1966%)","-moz-transform":"translate(-50%,-38.1966%)","-webkit-transform":"translate(-50%,-38.1966%)","-o-transform":"translate(-50%,-38.1966%)",transform:"translate(-50%,-38.1966%)"}).stylize(u("modalStyles",{overflow:"auto",backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(u("content")).attr("id",g).attr("role","dialog").attr("aria-labelledby",u("ariaLabelledBy")).attr("aria-describedby",u("ariaDescribedBy",g)).onClick(function(d){var h=new K(d.target).anyAncestor(function(s){return/\bpico-close\b/.test(s.elem.className)});h&&p()});return r}function _(u,p){if(p("closeButton",!0))return u.child("button").html(p("closeHtml","×")).clazz("pico-close").clazz(p("closeClass","")).stylize(p("closeStyles",{borderRadius:"2px",border:0,padding:0,cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})).attr("aria-label",p("close-label","Close"))}function m(u){return function(){return u().elem}}var L=N(),k=N();function y(u,p){function l(s,o){var B=s.msMatchesSelector||s.webkitMatchesSelector||s.matches;return B.call(s,o)}function g(s){return G(s)||l(s,":disabled")||s.hasAttribute("contenteditable")?!1:s.hasAttribute("tabindex")||l(s,"input,select,textarea,button,a[href],area[href],iframe")}function r(s){for(var o=s.getElementsByTagName("*"),B=0;B<o.length;B++)if(g(o[B]))return o[B]}function d(s){for(var o=s.getElementsByTagName("*"),B=o.length;B--;)if(g(o[B]))return o[B]}var h;u.beforeShow(function(){h=document.activeElement}),u.afterShow(function(){if(p()){var o=r(u.modalElem());o&&o.focus()}}),u.afterClose(function(){p()&&h&&h.focus(),h=null}),k.watch(function(o){if(p()&&u.isVisible()){var B=r(u.modalElem()),E=d(u.modalElem()),M=o.shiftKey?B:E;M===document.activeElement&&((o.shiftKey?E:B).focus(),o.preventDefault())}})}function C(u,p){var l,g=new K(document.body);u.beforeShow(function(){l=g.elem.style.overflow,p()&&g.stylize({overflow:"hidden"})}),u.afterClose(function(){g.stylize({overflow:l})})}return document.documentElement.addEventListener("keydown",function(p){var l=p.which||p.keyCode;l===27?L.trigger():l===9&&k.trigger(p)}),function(p){(f(p)||S(p))&&(p={content:p});var l=N(),g=N(),r=N(),d=N(),h=N();function s(Z,Y){var q=p[Z];return typeof q=="function"&&(q=q(Y)),q===void 0?Y:q}var o=j.bind(window,"modal"),B=j.bind(window,"overlay"),E=j.bind(window,"close"),M;function D(Z){B().hide(),o().hide(),h.trigger(M,Z)}function x(Z){d.trigger(M,Z)&&D(Z)}function R(Z){return function(){return Z.apply(this,arguments),M}}var $;function j(Z,Y){if(!$){var q=P(s,x);$={modal:q,overlay:J(s,x),close:_(q,s)},l.trigger(M,Y)}return $[Z]}return M={modalElem:m(o),closeElem:m(E),overlayElem:m(B),buildDom:R(j.bind(null,null)),isVisible:function(){return!!($&&o&&o().isVisible())},show:function(Z){return g.trigger(M,Z)&&(B().show(),E(),o().show(),r.trigger(M,Z)),this},close:R(x),forceClose:R(D),destroy:function(){o().destroy(),B().destroy(),B=o=E=void 0},options:function(Z){Object.keys(Z).map(function(Y){p[Y]=Z[Y]})},afterCreate:R(l.watch),beforeShow:R(g.watch),afterShow:R(r.watch),beforeClose:R(d.watch),afterClose:R(h.watch)},y(M,s.bind(null,"focus",!0)),C(M,s.bind(null,"bodyOverflow",!0)),L.watch(function(){s("escCloses",!0)&&M.isVisible()&&M.close()}),M}})=="function"?b.apply(a,[]):b)!==void 0&&(w.exports=a)},6777:function(w,a){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(b){function S(){for(var EA=arguments.length,BA=Array(EA),fA=0;fA<EA;fA++)BA[fA]=arguments[fA];if(BA.length>1){BA[0]=BA[0].slice(0,-1);for(var MA=BA.length-1,_A=1;_A<MA;++_A)BA[_A]=BA[_A].slice(1,-1);return BA[MA]=BA[MA].slice(1),BA.join("")}else return BA[0]}function f(EA){return"(?:"+EA+")"}function N(EA){return EA===void 0?"undefined":EA===null?"null":Object.prototype.toString.call(EA).split(" ").pop().split("]").shift().toLowerCase()}function G(EA){return EA.toUpperCase()}function K(EA){return EA!=null?EA instanceof Array?EA:typeof EA.length!="number"||EA.split||EA.setInterval||EA.call?[EA]:Array.prototype.slice.call(EA):[]}function J(EA,BA){var fA=EA;if(BA)for(var MA in BA)fA[MA]=BA[MA];return fA}function T(EA){var BA="[A-Za-z]",fA="[0-9]",MA=S(fA,"[A-Fa-f]"),_A=f(f("%[EFef]"+MA+"%"+MA+MA+"%"+MA+MA)+"|"+f("%[89A-Fa-f]"+MA+"%"+MA+MA)+"|"+f("%"+MA+MA)),oe="[\\:\\/\\?\\#\\[\\]\\@]",se="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",le=S(oe,se),xe=EA?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",je=EA?"[\\uE000-\\uF8FF]":"[]",ye=S(BA,fA,"[\\-\\.\\_\\~]",xe);f(BA+S(BA,fA,"[\\+\\-\\.]")+"*"),f(f(_A+"|"+S(ye,se,"[\\:]"))+"*");var Ke=f(f("25[0-5]")+"|"+f("2[0-4]"+fA)+"|"+f("1"+fA+fA)+"|"+f("0?[1-9]"+fA)+"|0?0?"+fA),qe=f(Ke+"\\."+Ke+"\\."+Ke+"\\."+Ke),Ee=f(MA+"{1,4}"),Ge=f(f(Ee+"\\:"+Ee)+"|"+qe),et=f(f(Ee+"\\:")+"{6}"+Ge),He=f("\\:\\:"+f(Ee+"\\:")+"{5}"+Ge),In=f(f(Ee)+"?\\:\\:"+f(Ee+"\\:")+"{4}"+Ge),Xt=f(f(f(Ee+"\\:")+"{0,1}"+Ee)+"?\\:\\:"+f(Ee+"\\:")+"{3}"+Ge),Vt=f(f(f(Ee+"\\:")+"{0,2}"+Ee)+"?\\:\\:"+f(Ee+"\\:")+"{2}"+Ge),xn=f(f(f(Ee+"\\:")+"{0,3}"+Ee)+"?\\:\\:"+Ee+"\\:"+Ge),fn=f(f(f(Ee+"\\:")+"{0,4}"+Ee)+"?\\:\\:"+Ge),yt=f(f(f(Ee+"\\:")+"{0,5}"+Ee)+"?\\:\\:"+Ee),An=f(f(f(Ee+"\\:")+"{0,6}"+Ee)+"?\\:\\:"),Nn=f([et,He,In,Xt,Vt,xn,fn,yt,An].join("|")),dn=f(f(ye+"|"+_A)+"+");f("[vV]"+MA+"+\\."+S(ye,se,"[\\:]")+"+"),f(f(_A+"|"+S(ye,se))+"*");var Ci=f(_A+"|"+S(ye,se,"[\\:\\@]"));return f(f(_A+"|"+S(ye,se,"[\\@]"))+"+"),f(f(Ci+"|"+S("[\\/\\?]",je))+"*"),{NOT_SCHEME:new RegExp(S("[^]",BA,fA,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(S("[^\\%\\:]",ye,se),"g"),NOT_HOST:new RegExp(S("[^\\%\\[\\]\\:]",ye,se),"g"),NOT_PATH:new RegExp(S("[^\\%\\/\\:\\@]",ye,se),"g"),NOT_PATH_NOSCHEME:new RegExp(S("[^\\%\\/\\@]",ye,se),"g"),NOT_QUERY:new RegExp(S("[^\\%]",ye,se,"[\\:\\@\\/\\?]",je),"g"),NOT_FRAGMENT:new RegExp(S("[^\\%]",ye,se,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(S("[^]",ye,se),"g"),UNRESERVED:new RegExp(ye,"g"),OTHER_CHARS:new RegExp(S("[^\\%]",ye,le),"g"),PCT_ENCODED:new RegExp(_A,"g"),IPV4ADDRESS:new RegExp("^("+qe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Nn+")"+f(f("\\%25|\\%(?!"+MA+"{2})")+"("+dn+")")+"?\\]?$")}}var P=T(!1),_=T(!0),m=function(){function EA(BA,fA){var MA=[],_A=!0,oe=!1,se=void 0;try{for(var le=BA[Symbol.iterator](),xe;!(_A=(xe=le.next()).done)&&(MA.push(xe.value),!(fA&&MA.length===fA));_A=!0);}catch(je){oe=!0,se=je}finally{try{!_A&&le.return&&le.return()}finally{if(oe)throw se}}return MA}return function(BA,fA){if(Array.isArray(BA))return BA;if(Symbol.iterator in Object(BA))return EA(BA,fA);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(EA){if(Array.isArray(EA)){for(var BA=0,fA=Array(EA.length);BA<EA.length;BA++)fA[BA]=EA[BA];return fA}else return Array.from(EA)},k=2147483647,y=36,C=1,u=26,p=38,l=700,g=72,r=128,d="-",h=/^xn--/,s=/[^\0-\x7E]/,o=/[\x2E\u3002\uFF0E\uFF61]/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=y-C,M=Math.floor,D=String.fromCharCode;function x(EA){throw new RangeError(B[EA])}function R(EA,BA){for(var fA=[],MA=EA.length;MA--;)fA[MA]=BA(EA[MA]);return fA}function $(EA,BA){var fA=EA.split("@"),MA="";fA.length>1&&(MA=fA[0]+"@",EA=fA[1]),EA=EA.replace(o,".");var _A=EA.split("."),oe=R(_A,BA).join(".");return MA+oe}function j(EA){for(var BA=[],fA=0,MA=EA.length;fA<MA;){var _A=EA.charCodeAt(fA++);if(_A>=55296&&_A<=56319&&fA<MA){var oe=EA.charCodeAt(fA++);(oe&64512)==56320?BA.push(((_A&1023)<<10)+(oe&1023)+65536):(BA.push(_A),fA--)}else BA.push(_A)}return BA}var Z=function(BA){return BA-48<10?BA-22:BA-65<26?BA-65:BA-97<26?BA-97:y},Y=function(BA,fA){return BA+22+75*(BA<26)-((fA!=0)<<5)},q=function(BA,fA,MA){var _A=0;for(BA=MA?M(BA/l):BA>>1,BA+=M(BA/fA);BA>E*u>>1;_A+=y)BA=M(BA/E);return M(_A+(E+1)*BA/(BA+p))},v=function(BA){var fA=[],MA=BA.length,_A=0,oe=r,se=g,le=BA.lastIndexOf(d);le<0&&(le=0);for(var xe=0;xe<le;++xe)BA.charCodeAt(xe)>=128&&x("not-basic"),fA.push(BA.charCodeAt(xe));for(var je=le>0?le+1:0;je<MA;){for(var ye=_A,Ke=1,qe=y;;qe+=y){je>=MA&&x("invalid-input");var Ee=Z(BA.charCodeAt(je++));(Ee>=y||Ee>M((k-_A)/Ke))&&x("overflow"),_A+=Ee*Ke;var Ge=qe<=se?C:qe>=se+u?u:qe-se;if(Ee<Ge)break;var et=y-Ge;Ke>M(k/et)&&x("overflow"),Ke*=et}var He=fA.length+1;se=q(_A-ye,He,ye==0),M(_A/He)>k-oe&&x("overflow"),oe+=M(_A/He),_A%=He,fA.splice(_A++,0,oe)}return String.fromCodePoint.apply(String,fA)},W=function(BA){var fA=[];BA=j(BA);var MA=BA.length,_A=r,oe=0,se=g,le=!0,xe=!1,je=void 0;try{for(var ye=BA[Symbol.iterator](),Ke;!(le=(Ke=ye.next()).done);le=!0){var qe=Ke.value;qe<128&&fA.push(D(qe))}}catch(qn){xe=!0,je=qn}finally{try{!le&&ye.return&&ye.return()}finally{if(xe)throw je}}var Ee=fA.length,Ge=Ee;for(Ee&&fA.push(d);Ge<MA;){var et=k,He=!0,In=!1,Xt=void 0;try{for(var Vt=BA[Symbol.iterator](),xn;!(He=(xn=Vt.next()).done);He=!0){var fn=xn.value;fn>=_A&&fn<et&&(et=fn)}}catch(qn){In=!0,Xt=qn}finally{try{!He&&Vt.return&&Vt.return()}finally{if(In)throw Xt}}var yt=Ge+1;et-_A>M((k-oe)/yt)&&x("overflow"),oe+=(et-_A)*yt,_A=et;var An=!0,Nn=!1,dn=void 0;try{for(var Ci=BA[Symbol.iterator](),Ho;!(An=(Ho=Ci.next()).done);An=!0){var Po=Ho.value;if(Po<_A&&++oe>k&&x("overflow"),Po==_A){for(var Ei=oe,jn=y;;jn+=y){var zi=jn<=se?C:jn>=se+u?u:jn-se;if(Ei<zi)break;var Ko=Ei-zi,Qi=y-zi;fA.push(D(Y(zi+Ko%Qi,0))),Ei=M(Ko/Qi)}fA.push(D(Y(Ei,0))),se=q(oe,yt,Ge==Ee),oe=0,++Ge}}}catch(qn){Nn=!0,dn=qn}finally{try{!An&&Ci.return&&Ci.return()}finally{if(Nn)throw dn}}++oe,++_A}return fA.join("")},F={version:"2.1.0",ucs2:{decode:j,encode:function(BA){return String.fromCodePoint.apply(String,L(BA))}},decode:v,encode:W,toASCII:function(BA){return $(BA,function(fA){return s.test(fA)?"xn--"+W(fA):fA})},toUnicode:function(BA){return $(BA,function(fA){return h.test(fA)?v(fA.slice(4).toLowerCase()):fA})}},X={};function nA(EA){var BA=EA.charCodeAt(0),fA=void 0;return BA<16?fA="%0"+BA.toString(16).toUpperCase():BA<128?fA="%"+BA.toString(16).toUpperCase():BA<2048?fA="%"+(BA>>6|192).toString(16).toUpperCase()+"%"+(BA&63|128).toString(16).toUpperCase():fA="%"+(BA>>12|224).toString(16).toUpperCase()+"%"+(BA>>6&63|128).toString(16).toUpperCase()+"%"+(BA&63|128).toString(16).toUpperCase(),fA}function V(EA){for(var BA="",fA=0,MA=EA.length;fA<MA;){var _A=parseInt(EA.substr(fA+1,2),16);if(_A<128)BA+=String.fromCharCode(_A),fA+=3;else if(_A>=194&&_A<224){if(MA-fA>=6){var oe=parseInt(EA.substr(fA+4,2),16);BA+=String.fromCharCode((_A&31)<<6|oe&63)}else BA+=EA.substr(fA,6);fA+=6}else if(_A>=224){if(MA-fA>=9){var se=parseInt(EA.substr(fA+4,2),16),le=parseInt(EA.substr(fA+7,2),16);BA+=String.fromCharCode((_A&15)<<12|(se&63)<<6|le&63)}else BA+=EA.substr(fA,9);fA+=9}else BA+=EA.substr(fA,3),fA+=3}return BA}function tA(EA,BA){function fA(MA){var _A=V(MA);return _A.match(BA.UNRESERVED)?_A:MA}return EA.scheme&&(EA.scheme=String(EA.scheme).replace(BA.PCT_ENCODED,fA).toLowerCase().replace(BA.NOT_SCHEME,"")),EA.userinfo!==void 0&&(EA.userinfo=String(EA.userinfo).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_USERINFO,nA).replace(BA.PCT_ENCODED,G)),EA.host!==void 0&&(EA.host=String(EA.host).replace(BA.PCT_ENCODED,fA).toLowerCase().replace(BA.NOT_HOST,nA).replace(BA.PCT_ENCODED,G)),EA.path!==void 0&&(EA.path=String(EA.path).replace(BA.PCT_ENCODED,fA).replace(EA.scheme?BA.NOT_PATH:BA.NOT_PATH_NOSCHEME,nA).replace(BA.PCT_ENCODED,G)),EA.query!==void 0&&(EA.query=String(EA.query).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_QUERY,nA).replace(BA.PCT_ENCODED,G)),EA.fragment!==void 0&&(EA.fragment=String(EA.fragment).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_FRAGMENT,nA).replace(BA.PCT_ENCODED,G)),EA}function cA(EA){return EA.replace(/^0*(.*)/,"$1")||"0"}function sA(EA,BA){var fA=EA.match(BA.IPV4ADDRESS)||[],MA=m(fA,2),_A=MA[1];return _A?_A.split(".").map(cA).join("."):EA}function hA(EA,BA){var fA=EA.match(BA.IPV6ADDRESS)||[],MA=m(fA,3),_A=MA[1],oe=MA[2];if(_A){for(var se=_A.toLowerCase().split("::").reverse(),le=m(se,2),xe=le[0],je=le[1],ye=je?je.split(":").map(cA):[],Ke=xe.split(":").map(cA),qe=BA.IPV4ADDRESS.test(Ke[Ke.length-1]),Ee=qe?7:8,Ge=Ke.length-Ee,et=Array(Ee),He=0;He<Ee;++He)et[He]=ye[He]||Ke[Ge+He]||"";qe&&(et[Ee-1]=sA(et[Ee-1],BA));var In=et.reduce(function(yt,An,Nn){if(!An||An==="0"){var dn=yt[yt.length-1];dn&&dn.index+dn.length===Nn?dn.length++:yt.push({index:Nn,length:1})}return yt},[]),Xt=In.sort(function(yt,An){return An.length-yt.length})[0],Vt=void 0;if(Xt&&Xt.length>1){var xn=et.slice(0,Xt.index),fn=et.slice(Xt.index+Xt.length);Vt=xn.join(":")+"::"+fn.join(":")}else Vt=et.join(":");return oe&&(Vt+="%"+oe),Vt}else return EA}var z=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,iA="".match(/(){0}/)[1]===void 0;function oA(EA){var BA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fA={},MA=BA.iri!==!1?_:P;BA.reference==="suffix"&&(EA=(BA.scheme?BA.scheme+":":"")+"//"+EA);var _A=EA.match(z);if(_A){iA?(fA.scheme=_A[1],fA.userinfo=_A[3],fA.host=_A[4],fA.port=parseInt(_A[5],10),fA.path=_A[6]||"",fA.query=_A[7],fA.fragment=_A[8],isNaN(fA.port)&&(fA.port=_A[5])):(fA.scheme=_A[1]||void 0,fA.userinfo=EA.indexOf("@")!==-1?_A[3]:void 0,fA.host=EA.indexOf("//")!==-1?_A[4]:void 0,fA.port=parseInt(_A[5],10),fA.path=_A[6]||"",fA.query=EA.indexOf("?")!==-1?_A[7]:void 0,fA.fragment=EA.indexOf("#")!==-1?_A[8]:void 0,isNaN(fA.port)&&(fA.port=EA.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?_A[4]:void 0)),fA.host&&(fA.host=hA(sA(fA.host,MA),MA)),fA.scheme===void 0&&fA.userinfo===void 0&&fA.host===void 0&&fA.port===void 0&&!fA.path&&fA.query===void 0?fA.reference="same-document":fA.scheme===void 0?fA.reference="relative":fA.fragment===void 0?fA.reference="absolute":fA.reference="uri",BA.reference&&BA.reference!=="suffix"&&BA.reference!==fA.reference&&(fA.error=fA.error||"URI is not a "+BA.reference+" reference.");var oe=X[(BA.scheme||fA.scheme||"").toLowerCase()];if(!BA.unicodeSupport&&(!oe||!oe.unicodeSupport)){if(fA.host&&(BA.domainHost||oe&&oe.domainHost))try{fA.host=F.toASCII(fA.host.replace(MA.PCT_ENCODED,V).toLowerCase())}catch(se){fA.error=fA.error||"Host's domain name can not be converted to ASCII via punycode: "+se}tA(fA,P)}else tA(fA,MA);oe&&oe.parse&&oe.parse(fA,BA)}else fA.error=fA.error||"URI can not be parsed.";return fA}function rA(EA,BA){var fA=BA.iri!==!1?_:P,MA=[];return EA.userinfo!==void 0&&(MA.push(EA.userinfo),MA.push("@")),EA.host!==void 0&&MA.push(hA(sA(String(EA.host),fA),fA).replace(fA.IPV6ADDRESS,function(_A,oe,se){return"["+oe+(se?"%25"+se:"")+"]"})),(typeof EA.port=="number"||typeof EA.port=="string")&&(MA.push(":"),MA.push(String(EA.port))),MA.length?MA.join(""):void 0}var U=/^\.\.?\//,O=/^\/\.(\/|$)/,AA=/^\/\.\.(\/|$)/,aA=/^\/?(?:.|\n)*?(?=\/|$)/;function dA(EA){for(var BA=[];EA.length;)if(EA.match(U))EA=EA.replace(U,"");else if(EA.match(O))EA=EA.replace(O,"/");else if(EA.match(AA))EA=EA.replace(AA,"/"),BA.pop();else if(EA==="."||EA==="..")EA="";else{var fA=EA.match(aA);if(fA){var MA=fA[0];EA=EA.slice(MA.length),BA.push(MA)}else throw new Error("Unexpected dot segment condition")}return BA.join("")}function wA(EA){var BA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fA=BA.iri?_:P,MA=[],_A=X[(BA.scheme||EA.scheme||"").toLowerCase()];if(_A&&_A.serialize&&_A.serialize(EA,BA),EA.host&&!fA.IPV6ADDRESS.test(EA.host)){if(BA.domainHost||_A&&_A.domainHost)try{EA.host=BA.iri?F.toUnicode(EA.host):F.toASCII(EA.host.replace(fA.PCT_ENCODED,V).toLowerCase())}catch(le){EA.error=EA.error||"Host's domain name can not be converted to "+(BA.iri?"Unicode":"ASCII")+" via punycode: "+le}}tA(EA,fA),BA.reference!=="suffix"&&EA.scheme&&(MA.push(EA.scheme),MA.push(":"));var oe=rA(EA,BA);if(oe!==void 0&&(BA.reference!=="suffix"&&MA.push("//"),MA.push(oe),EA.path&&EA.path.charAt(0)!=="/"&&MA.push("/")),EA.path!==void 0){var se=EA.path;!BA.absolutePath&&(!_A||!_A.absolutePath)&&(se=dA(se)),oe===void 0&&(se=se.replace(/^\/\//,"/%2F")),MA.push(se)}return EA.query!==void 0&&(MA.push("?"),MA.push(EA.query)),EA.fragment!==void 0&&(MA.push("#"),MA.push(EA.fragment)),MA.join("")}function FA(EA,BA){var fA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},MA=arguments[3],_A={};return MA||(EA=oA(wA(EA,fA),fA),BA=oA(wA(BA,fA),fA)),fA=fA||{},!fA.tolerant&&BA.scheme?(_A.scheme=BA.scheme,_A.userinfo=BA.userinfo,_A.host=BA.host,_A.port=BA.port,_A.path=dA(BA.path||""),_A.query=BA.query):(BA.userinfo!==void 0||BA.host!==void 0||BA.port!==void 0?(_A.userinfo=BA.userinfo,_A.host=BA.host,_A.port=BA.port,_A.path=dA(BA.path||""),_A.query=BA.query):(BA.path?(BA.path.charAt(0)==="/"?_A.path=dA(BA.path):((EA.userinfo!==void 0||EA.host!==void 0||EA.port!==void 0)&&!EA.path?_A.path="/"+BA.path:EA.path?_A.path=EA.path.slice(0,EA.path.lastIndexOf("/")+1)+BA.path:_A.path=BA.path,_A.path=dA(_A.path)),_A.query=BA.query):(_A.path=EA.path,BA.query!==void 0?_A.query=BA.query:_A.query=EA.query),_A.userinfo=EA.userinfo,_A.host=EA.host,_A.port=EA.port),_A.scheme=EA.scheme),_A.fragment=BA.fragment,_A}function LA(EA,BA,fA){var MA=J({scheme:"null"},fA);return wA(FA(oA(EA,MA),oA(BA,MA),MA,!0),MA)}function WA(EA,BA){return typeof EA=="string"?EA=wA(oA(EA,BA),BA):N(EA)==="object"&&(EA=oA(wA(EA,BA),BA)),EA}function jA(EA,BA,fA){return typeof EA=="string"?EA=wA(oA(EA,fA),fA):N(EA)==="object"&&(EA=wA(EA,fA)),typeof BA=="string"?BA=wA(oA(BA,fA),fA):N(BA)==="object"&&(BA=wA(BA,fA)),EA===BA}function ee(EA,BA){return EA&&EA.toString().replace(!BA||!BA.iri?P.ESCAPE:_.ESCAPE,nA)}function zA(EA,BA){return EA&&EA.toString().replace(!BA||!BA.iri?P.PCT_ENCODED:_.PCT_ENCODED,V)}var DA={scheme:"http",domainHost:!0,parse:function(BA,fA){return BA.host||(BA.error=BA.error||"HTTP URIs must have a host."),BA},serialize:function(BA,fA){var MA=String(BA.scheme).toLowerCase()==="https";return(BA.port===(MA?443:80)||BA.port==="")&&(BA.port=void 0),BA.path||(BA.path="/"),BA}},QA={scheme:"https",domainHost:DA.domainHost,parse:DA.parse,serialize:DA.serialize};function NA(EA){return typeof EA.secure=="boolean"?EA.secure:String(EA.scheme).toLowerCase()==="wss"}var XA={scheme:"ws",domainHost:!0,parse:function(BA,fA){var MA=BA;return MA.secure=NA(MA),MA.resourceName=(MA.path||"/")+(MA.query?"?"+MA.query:""),MA.path=void 0,MA.query=void 0,MA},serialize:function(BA,fA){if((BA.port===(NA(BA)?443:80)||BA.port==="")&&(BA.port=void 0),typeof BA.secure=="boolean"&&(BA.scheme=BA.secure?"wss":"ws",BA.secure=void 0),BA.resourceName){var MA=BA.resourceName.split("?"),_A=m(MA,2),oe=_A[0],se=_A[1];BA.path=oe&&oe!=="/"?oe:void 0,BA.query=se,BA.resourceName=void 0}return BA.fragment=void 0,BA}},re={scheme:"wss",domainHost:XA.domainHost,parse:XA.parse,serialize:XA.serialize},Ce={},kA="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",SA="[0-9A-Fa-f]",GA=f(f("%[EFef]"+SA+"%"+SA+SA+"%"+SA+SA)+"|"+f("%[89A-Fa-f]"+SA+"%"+SA+SA)+"|"+f("%"+SA+SA)),ZA="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",OA=S("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),VA="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ce=new RegExp(kA,"g"),pA=new RegExp(GA,"g"),mA=new RegExp(S("[^]",ZA,"[\\.]",'[\\"]',OA),"g"),vA=new RegExp(S("[^]",kA,VA),"g"),KA=vA;function ne(EA){var BA=V(EA);return BA.match(ce)?BA:EA}var TA={scheme:"mailto",parse:function(BA,fA){var MA=BA,_A=MA.to=MA.path?MA.path.split(","):[];if(MA.path=void 0,MA.query){for(var oe=!1,se={},le=MA.query.split("&"),xe=0,je=le.length;xe<je;++xe){var ye=le[xe].split("=");switch(ye[0]){case"to":for(var Ke=ye[1].split(","),qe=0,Ee=Ke.length;qe<Ee;++qe)_A.push(Ke[qe]);break;case"subject":MA.subject=zA(ye[1],fA);break;case"body":MA.body=zA(ye[1],fA);break;default:oe=!0,se[zA(ye[0],fA)]=zA(ye[1],fA);break}}oe&&(MA.headers=se)}MA.query=void 0;for(var Ge=0,et=_A.length;Ge<et;++Ge){var He=_A[Ge].split("@");if(He[0]=zA(He[0]),fA.unicodeSupport)He[1]=zA(He[1],fA).toLowerCase();else try{He[1]=F.toASCII(zA(He[1],fA).toLowerCase())}catch(In){MA.error=MA.error||"Email address's domain name can not be converted to ASCII via punycode: "+In}_A[Ge]=He.join("@")}return MA},serialize:function(BA,fA){var MA=BA,_A=K(BA.to);if(_A){for(var oe=0,se=_A.length;oe<se;++oe){var le=String(_A[oe]),xe=le.lastIndexOf("@"),je=le.slice(0,xe).replace(pA,ne).replace(pA,G).replace(mA,nA),ye=le.slice(xe+1);try{ye=fA.iri?F.toUnicode(ye):F.toASCII(zA(ye,fA).toLowerCase())}catch(Ge){MA.error=MA.error||"Email address's domain name can not be converted to "+(fA.iri?"Unicode":"ASCII")+" via punycode: "+Ge}_A[oe]=je+"@"+ye}MA.path=_A.join(",")}var Ke=BA.headers=BA.headers||{};BA.subject&&(Ke.subject=BA.subject),BA.body&&(Ke.body=BA.body);var qe=[];for(var Ee in Ke)Ke[Ee]!==Ce[Ee]&&qe.push(Ee.replace(pA,ne).replace(pA,G).replace(vA,nA)+"="+Ke[Ee].replace(pA,ne).replace(pA,G).replace(KA,nA));return qe.length&&(MA.query=qe.join("&")),MA}},YA=/^([^\:]+)\:(.*)/,ge={scheme:"urn",parse:function(BA,fA){var MA=BA.path&&BA.path.match(YA),_A=BA;if(MA){var oe=fA.scheme||_A.scheme||"urn",se=MA[1].toLowerCase(),le=MA[2],xe=oe+":"+(fA.nid||se),je=X[xe];_A.nid=se,_A.nss=le,_A.path=void 0,je&&(_A=je.parse(_A,fA))}else _A.error=_A.error||"URN can not be parsed.";return _A},serialize:function(BA,fA){var MA=fA.scheme||BA.scheme||"urn",_A=BA.nid,oe=MA+":"+(fA.nid||_A),se=X[oe];se&&(BA=se.serialize(BA,fA));var le=BA,xe=BA.nss;return le.path=(_A||fA.nid)+":"+xe,le}},Le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ht={scheme:"urn:uuid",parse:function(BA,fA){var MA=BA;return MA.uuid=MA.nss,MA.nss=void 0,!fA.tolerant&&(!MA.uuid||!MA.uuid.match(Le))&&(MA.error=MA.error||"UUID is not valid."),MA},serialize:function(BA,fA){var MA=BA;return MA.nss=(BA.uuid||"").toLowerCase(),MA}};X[DA.scheme]=DA,X[QA.scheme]=QA,X[XA.scheme]=XA,X[re.scheme]=re,X[TA.scheme]=TA,X[ge.scheme]=ge,X[ht.scheme]=ht,b.SCHEMES=X,b.pctEncChar=nA,b.pctDecChars=V,b.parse=oA,b.removeDotSegments=dA,b.serialize=wA,b.resolveComponents=FA,b.resolve=LA,b.normalize=WA,b.equal=jA,b.escapeComponent=ee,b.unescapeComponent=zA,Object.defineProperty(b,"__esModule",{value:!0})})(a)},7598:function(w){w.exports=function(){var a=function(g,r){if(!(g instanceof r))throw new TypeError("Cannot call a class as a function")},b=function(){function g(r,d){for(var h=0;h<d.length;h++){var s=d[h];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,d,h){return d&&g(r.prototype,d),h&&g(r,h),r}}(),S=function(){function g(r,d){var h=[],s=!0,o=!1,B=void 0;try{for(var E=r[Symbol.iterator](),M;!(s=(M=E.next()).done)&&(h.push(M.value),!(d&&h.length===d));s=!0);}catch(D){o=!0,B=D}finally{try{!s&&E.return&&E.return()}finally{if(o)throw B}}return h}return function(r,d){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return g(r,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=(String.prototype.startsWith=String.prototype.startsWith||function(g){return this.indexOf(g)===0},String.prototype.padStart=String.prototype.padStart||function(g,r){for(var d=this;d.length<g;)d=r+d;return d},{cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"});function N(g){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,d=r>0?g.toFixed(r).replace(/0+$/,"").replace(/\.$/,""):g.toString();return d||"0"}var G=function(){function g(r,d,h,s){a(this,g);var o=this;function B(M){if(M.startsWith("hsl")){var D=M.match(/([\-\d\.e]+)/g).map(Number),x=S(D,4),R=x[0],$=x[1],j=x[2],Z=x[3];Z===void 0&&(Z=1),R/=360,$/=100,j/=100,o.hsla=[R,$,j,Z]}else if(M.startsWith("rgb")){var Y=M.match(/([\-\d\.e]+)/g).map(Number),q=S(Y,4),v=q[0],W=q[1],F=q[2],X=q[3];X===void 0&&(X=1),o.rgba=[v,W,F,X]}else M.startsWith("#")?o.rgba=g.hexToRgb(M):o.rgba=g.nameToRgb(M)||g.hexToRgb(M)}if(r!==void 0)if(Array.isArray(r))this.rgba=r;else if(h===void 0){var E=r&&""+r;E&&B(E.toLowerCase())}else this.rgba=[r,d,h,s===void 0?1:s]}return b(g,[{key:"printRGB",value:function(d){var h=d?this.rgba:this.rgba.slice(0,3),s=h.map(function(o,B){return N(o,B===3?3:0)});return d?"rgba("+s+")":"rgb("+s+")"}},{key:"printHSL",value:function(d){var h=[360,100,100,1],s=["","%","%",""],o=d?this.hsla:this.hsla.slice(0,3),B=o.map(function(E,M){return N(E*h[M],M===3?3:1)+s[M]});return d?"hsla("+B+")":"hsl("+B+")"}},{key:"printHex",value:function(d){var h=this.hex;return d?h:h.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=g.hslToRgb(this._hsla)},set:function(d){d.length===3&&(d[3]=1),this._rgba=d,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=g.rgbToHsl(this._rgba)},set:function(d){d.length===3&&(d[3]=1),this._hsla=d,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var d=this.rgba,h=d.map(function(s,o){return o<3?s.toString(16):Math.round(s*255).toString(16)});return"#"+h.map(function(s){return s.padStart(2,"0")}).join("")},set:function(d){this.rgba=g.hexToRgb(d)}}],[{key:"hexToRgb",value:function(d){var h=(d.startsWith("#")?d.slice(1):d).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!h.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+d);var s=h.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(o){return parseInt(o,16)});return s[3]=s[3]/255,s}},{key:"nameToRgb",value:function(d){var h=d.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),s=f[h];return s===void 0?s:g.hexToRgb(s.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(d){var h=S(d,4),s=h[0],o=h[1],B=h[2],E=h[3];s/=255,o/=255,B/=255;var M=Math.max(s,o,B),D=Math.min(s,o,B),x=void 0,R=void 0,$=(M+D)/2;if(M===D)x=R=0;else{var j=M-D;switch(R=$>.5?j/(2-M-D):j/(M+D),M){case s:x=(o-B)/j+(o<B?6:0);break;case o:x=(B-s)/j+2;break;case B:x=(s-o)/j+4;break}x/=6}return[x,R,$,E]}},{key:"hslToRgb",value:function(d){var h=S(d,4),s=h[0],o=h[1],B=h[2],E=h[3],M=void 0,D=void 0,x=void 0;if(o===0)M=D=x=B;else{var R=function(q,v,W){return W<0&&(W+=1),W>1&&(W-=1),W<.16666666666666666?q+(v-q)*6*W:W<.5?v:W<.6666666666666666?q+(v-q)*(.6666666666666666-W)*6:q},$=B<.5?B*(1+o):B+o-B*o,j=2*B-$;M=R(j,$,s+1/3),D=R(j,$,s),x=R(j,$,s-1/3)}var Z=[M*255,D*255,x*255].map(Math.round);return Z[3]=E,Z}}]),g}(),K=function(){function g(){a(this,g),this._events=[]}return b(g,[{key:"add",value:function(d,h,s){d.addEventListener(h,s,!1),this._events.push({target:d,type:h,handler:s})}},{key:"remove",value:function(d,h,s){this._events=this._events.filter(function(o){var B=!0;return d&&d!==o.target&&(B=!1),h&&h!==o.type&&(B=!1),s&&s!==o.handler&&(B=!1),B&&g._doRemove(o.target,o.type,o.handler),!B})}},{key:"destroy",value:function(){this._events.forEach(function(d){return g._doRemove(d.target,d.type,d.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(d,h,s){d.removeEventListener(h,s,!1)}}]),g}();function J(g){var r=document.createElement("div");return r.innerHTML=g,r.firstElementChild}function T(g,r,d){var h=!1;function s(M,D,x){return Math.max(D,Math.min(M,x))}function o(M,D,x){if(x&&(h=!0),!!h){M.preventDefault();var R=r.getBoundingClientRect(),$=R.width,j=R.height,Z=D.clientX,Y=D.clientY,q=s(Z-R.left,0,$),v=s(Y-R.top,0,j);d(q/$,v/j)}}function B(M,D){var x=M.buttons===void 0?M.which:M.buttons;x===1?o(M,M,D):h=!1}function E(M,D){M.touches.length===1?o(M,M.touches[0],D):h=!1}g.add(r,"mousedown",function(M){B(M,!0)}),g.add(r,"touchstart",function(M){E(M,!0)}),g.add(window,"mousemove",B),g.add(r,"touchmove",E),g.add(window,"mouseup",function(M){h=!1}),g.add(r,"touchend",function(M){h=!1}),g.add(r,"touchcancel",function(M){h=!1})}var P=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
1575
|
+
`+Z(Y,r),E++,M=0;Y--;)l?(E+=l,M=h):M+=h,D+=d;D+=1}}function j(Y,q){B[Y]=B[Y]||{},B[Y][q]={line:E,column:M,pos:D}}function Z(Y,q){return Array(Y+1).join(q)}},["number","bigint","boolean","string","object"]);function N(C){return 0<=f.indexOf(typeof C)}var G=/"|\\/g,K=/[\b]/g,J=/\f/g,T=/\n/g,P=/\r/g,_=/\t/g;function m(C){return'"'+(C=C.replace(G,"\\$&").replace(J,"\\f").replace(K,"\\b").replace(T,"\\n").replace(P,"\\r").replace(_,"\\t"))+'"'}var L=/~/g,k=/\//g;function y(C){return C.replace(L,"~0").replace(k,"~1")}},8340:function(w,a){var b;(a=typeof(b=function(){function S(u){return typeof Node=="object"?u instanceof Node:u&&typeof u=="object"&&typeof u.nodeType=="number"}function f(u){return typeof u=="string"}function N(){var u=[];return{watch:u.push.bind(u),trigger:function(p,l){for(var g=!0,r={detail:l,preventDefault:function(){g=!1}},d=0;d<u.length;d++)u[d](p,r);return g}}}function G(u){return window.getComputedStyle(u).display==="none"}function K(u){this.elem=u}function J(u,p){return K.make(u("parent")).clazz("pico-overlay").clazz(u("overlayClass","")).stylize({display:"none",position:"fixed",top:"0px",left:"0px",height:"100%",width:"100%",zIndex:1e4}).stylize(u("overlayStyles",{opacity:.5,background:"#000"})).onClick(function(){u("overlayClose",!0)&&p()})}K.make=function(u,p){typeof u=="string"&&(u=document.querySelector(u));var l=document.createElement(p||"div");return(u||document.body).appendChild(l),new K(l)},K.prototype={child:function(u){return K.make(this.elem,u)},stylize:function(u){u=u||{},typeof u.opacity<"u"&&(u.filter="alpha(opacity="+u.opacity*100+")");for(var p in u)u.hasOwnProperty(p)&&(this.elem.style[p]=u[p]);return this},clazz:function(u){return this.elem.className+=" "+u,this},html:function(u){return S(u)?this.elem.appendChild(u):this.elem.innerHTML=u,this},onClick:function(u){return this.elem.addEventListener("click",u),this},destroy:function(){this.elem.parentNode.removeChild(this.elem)},hide:function(){this.elem.style.display="none"},show:function(){this.elem.style.display="block"},attr:function(u,p){return p!==void 0&&this.elem.setAttribute(u,p),this},anyAncestor:function(u){for(var p=this.elem;p;){if(u(new K(p)))return!0;p=p.parentNode}return!1},isVisible:function(){return!G(this.elem)}};var T=1;function P(u,p){var l=u("width","auto");typeof l=="number"&&(l=""+l+"px");var g=u("modalId","pico-"+T++),r=K.make(u("parent")).clazz("pico-content").clazz(u("modalClass","")).stylize({display:"none",position:"fixed",zIndex:10001,left:"50%",top:"38.1966%",maxHeight:"90%",boxSizing:"border-box",width:l,"-ms-transform":"translate(-50%,-38.1966%)","-moz-transform":"translate(-50%,-38.1966%)","-webkit-transform":"translate(-50%,-38.1966%)","-o-transform":"translate(-50%,-38.1966%)",transform:"translate(-50%,-38.1966%)"}).stylize(u("modalStyles",{overflow:"auto",backgroundColor:"white",padding:"20px",borderRadius:"5px"})).html(u("content")).attr("id",g).attr("role","dialog").attr("aria-labelledby",u("ariaLabelledBy")).attr("aria-describedby",u("ariaDescribedBy",g)).onClick(function(d){var h=new K(d.target).anyAncestor(function(s){return/\bpico-close\b/.test(s.elem.className)});h&&p()});return r}function _(u,p){if(p("closeButton",!0))return u.child("button").html(p("closeHtml","×")).clazz("pico-close").clazz(p("closeClass","")).stylize(p("closeStyles",{borderRadius:"2px",border:0,padding:0,cursor:"pointer",height:"15px",width:"15px",position:"absolute",top:"5px",right:"5px",fontSize:"16px",textAlign:"center",lineHeight:"15px",background:"#CCC"})).attr("aria-label",p("close-label","Close"))}function m(u){return function(){return u().elem}}var L=N(),k=N();function y(u,p){function l(s,o){var B=s.msMatchesSelector||s.webkitMatchesSelector||s.matches;return B.call(s,o)}function g(s){return G(s)||l(s,":disabled")||s.hasAttribute("contenteditable")?!1:s.hasAttribute("tabindex")||l(s,"input,select,textarea,button,a[href],area[href],iframe")}function r(s){for(var o=s.getElementsByTagName("*"),B=0;B<o.length;B++)if(g(o[B]))return o[B]}function d(s){for(var o=s.getElementsByTagName("*"),B=o.length;B--;)if(g(o[B]))return o[B]}var h;u.beforeShow(function(){h=document.activeElement}),u.afterShow(function(){if(p()){var o=r(u.modalElem());o&&o.focus()}}),u.afterClose(function(){p()&&h&&h.focus(),h=null}),k.watch(function(o){if(p()&&u.isVisible()){var B=r(u.modalElem()),E=d(u.modalElem()),M=o.shiftKey?B:E;M===document.activeElement&&((o.shiftKey?E:B).focus(),o.preventDefault())}})}function C(u,p){var l,g=new K(document.body);u.beforeShow(function(){l=g.elem.style.overflow,p()&&g.stylize({overflow:"hidden"})}),u.afterClose(function(){g.stylize({overflow:l})})}return document.documentElement.addEventListener("keydown",function(p){var l=p.which||p.keyCode;l===27?L.trigger():l===9&&k.trigger(p)}),function(p){(f(p)||S(p))&&(p={content:p});var l=N(),g=N(),r=N(),d=N(),h=N();function s(Z,Y){var q=p[Z];return typeof q=="function"&&(q=q(Y)),q===void 0?Y:q}var o=j.bind(window,"modal"),B=j.bind(window,"overlay"),E=j.bind(window,"close"),M;function D(Z){B().hide(),o().hide(),h.trigger(M,Z)}function x(Z){d.trigger(M,Z)&&D(Z)}function R(Z){return function(){return Z.apply(this,arguments),M}}var $;function j(Z,Y){if(!$){var q=P(s,x);$={modal:q,overlay:J(s,x),close:_(q,s)},l.trigger(M,Y)}return $[Z]}return M={modalElem:m(o),closeElem:m(E),overlayElem:m(B),buildDom:R(j.bind(null,null)),isVisible:function(){return!!($&&o&&o().isVisible())},show:function(Z){return g.trigger(M,Z)&&(B().show(),E(),o().show(),r.trigger(M,Z)),this},close:R(x),forceClose:R(D),destroy:function(){o().destroy(),B().destroy(),B=o=E=void 0},options:function(Z){Object.keys(Z).map(function(Y){p[Y]=Z[Y]})},afterCreate:R(l.watch),beforeShow:R(g.watch),afterShow:R(r.watch),beforeClose:R(d.watch),afterClose:R(h.watch)},y(M,s.bind(null,"focus",!0)),C(M,s.bind(null,"bodyOverflow",!0)),L.watch(function(){s("escCloses",!0)&&M.isVisible()&&M.close()}),M}})=="function"?b.apply(a,[]):b)!==void 0&&(w.exports=a)},6777:function(w,a){/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(b){function S(){for(var EA=arguments.length,BA=Array(EA),fA=0;fA<EA;fA++)BA[fA]=arguments[fA];if(BA.length>1){BA[0]=BA[0].slice(0,-1);for(var MA=BA.length-1,_A=1;_A<MA;++_A)BA[_A]=BA[_A].slice(1,-1);return BA[MA]=BA[MA].slice(1),BA.join("")}else return BA[0]}function f(EA){return"(?:"+EA+")"}function N(EA){return EA===void 0?"undefined":EA===null?"null":Object.prototype.toString.call(EA).split(" ").pop().split("]").shift().toLowerCase()}function G(EA){return EA.toUpperCase()}function K(EA){return EA!=null?EA instanceof Array?EA:typeof EA.length!="number"||EA.split||EA.setInterval||EA.call?[EA]:Array.prototype.slice.call(EA):[]}function J(EA,BA){var fA=EA;if(BA)for(var MA in BA)fA[MA]=BA[MA];return fA}function T(EA){var BA="[A-Za-z]",fA="[0-9]",MA=S(fA,"[A-Fa-f]"),_A=f(f("%[EFef]"+MA+"%"+MA+MA+"%"+MA+MA)+"|"+f("%[89A-Fa-f]"+MA+"%"+MA+MA)+"|"+f("%"+MA+MA)),oe="[\\:\\/\\?\\#\\[\\]\\@]",se="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",le=S(oe,se),xe=EA?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",je=EA?"[\\uE000-\\uF8FF]":"[]",ye=S(BA,fA,"[\\-\\.\\_\\~]",xe);f(BA+S(BA,fA,"[\\+\\-\\.]")+"*"),f(f(_A+"|"+S(ye,se,"[\\:]"))+"*");var Ke=f(f("25[0-5]")+"|"+f("2[0-4]"+fA)+"|"+f("1"+fA+fA)+"|"+f("0?[1-9]"+fA)+"|0?0?"+fA),qe=f(Ke+"\\."+Ke+"\\."+Ke+"\\."+Ke),Ee=f(MA+"{1,4}"),Ge=f(f(Ee+"\\:"+Ee)+"|"+qe),et=f(f(Ee+"\\:")+"{6}"+Ge),He=f("\\:\\:"+f(Ee+"\\:")+"{5}"+Ge),In=f(f(Ee)+"?\\:\\:"+f(Ee+"\\:")+"{4}"+Ge),Xt=f(f(f(Ee+"\\:")+"{0,1}"+Ee)+"?\\:\\:"+f(Ee+"\\:")+"{3}"+Ge),Vt=f(f(f(Ee+"\\:")+"{0,2}"+Ee)+"?\\:\\:"+f(Ee+"\\:")+"{2}"+Ge),xn=f(f(f(Ee+"\\:")+"{0,3}"+Ee)+"?\\:\\:"+Ee+"\\:"+Ge),fn=f(f(f(Ee+"\\:")+"{0,4}"+Ee)+"?\\:\\:"+Ge),yt=f(f(f(Ee+"\\:")+"{0,5}"+Ee)+"?\\:\\:"+Ee),An=f(f(f(Ee+"\\:")+"{0,6}"+Ee)+"?\\:\\:"),Nn=f([et,He,In,Xt,Vt,xn,fn,yt,An].join("|")),un=f(f(ye+"|"+_A)+"+");f("[vV]"+MA+"+\\."+S(ye,se,"[\\:]")+"+"),f(f(_A+"|"+S(ye,se))+"*");var Ci=f(_A+"|"+S(ye,se,"[\\:\\@]"));return f(f(_A+"|"+S(ye,se,"[\\@]"))+"+"),f(f(Ci+"|"+S("[\\/\\?]",je))+"*"),{NOT_SCHEME:new RegExp(S("[^]",BA,fA,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(S("[^\\%\\:]",ye,se),"g"),NOT_HOST:new RegExp(S("[^\\%\\[\\]\\:]",ye,se),"g"),NOT_PATH:new RegExp(S("[^\\%\\/\\:\\@]",ye,se),"g"),NOT_PATH_NOSCHEME:new RegExp(S("[^\\%\\/\\@]",ye,se),"g"),NOT_QUERY:new RegExp(S("[^\\%]",ye,se,"[\\:\\@\\/\\?]",je),"g"),NOT_FRAGMENT:new RegExp(S("[^\\%]",ye,se,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(S("[^]",ye,se),"g"),UNRESERVED:new RegExp(ye,"g"),OTHER_CHARS:new RegExp(S("[^\\%]",ye,le),"g"),PCT_ENCODED:new RegExp(_A,"g"),IPV4ADDRESS:new RegExp("^("+qe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Nn+")"+f(f("\\%25|\\%(?!"+MA+"{2})")+"("+un+")")+"?\\]?$")}}var P=T(!1),_=T(!0),m=function(){function EA(BA,fA){var MA=[],_A=!0,oe=!1,se=void 0;try{for(var le=BA[Symbol.iterator](),xe;!(_A=(xe=le.next()).done)&&(MA.push(xe.value),!(fA&&MA.length===fA));_A=!0);}catch(je){oe=!0,se=je}finally{try{!_A&&le.return&&le.return()}finally{if(oe)throw se}}return MA}return function(BA,fA){if(Array.isArray(BA))return BA;if(Symbol.iterator in Object(BA))return EA(BA,fA);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),L=function(EA){if(Array.isArray(EA)){for(var BA=0,fA=Array(EA.length);BA<EA.length;BA++)fA[BA]=EA[BA];return fA}else return Array.from(EA)},k=2147483647,y=36,C=1,u=26,p=38,l=700,g=72,r=128,d="-",h=/^xn--/,s=/[^\0-\x7E]/,o=/[\x2E\u3002\uFF0E\uFF61]/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=y-C,M=Math.floor,D=String.fromCharCode;function x(EA){throw new RangeError(B[EA])}function R(EA,BA){for(var fA=[],MA=EA.length;MA--;)fA[MA]=BA(EA[MA]);return fA}function $(EA,BA){var fA=EA.split("@"),MA="";fA.length>1&&(MA=fA[0]+"@",EA=fA[1]),EA=EA.replace(o,".");var _A=EA.split("."),oe=R(_A,BA).join(".");return MA+oe}function j(EA){for(var BA=[],fA=0,MA=EA.length;fA<MA;){var _A=EA.charCodeAt(fA++);if(_A>=55296&&_A<=56319&&fA<MA){var oe=EA.charCodeAt(fA++);(oe&64512)==56320?BA.push(((_A&1023)<<10)+(oe&1023)+65536):(BA.push(_A),fA--)}else BA.push(_A)}return BA}var Z=function(BA){return BA-48<10?BA-22:BA-65<26?BA-65:BA-97<26?BA-97:y},Y=function(BA,fA){return BA+22+75*(BA<26)-((fA!=0)<<5)},q=function(BA,fA,MA){var _A=0;for(BA=MA?M(BA/l):BA>>1,BA+=M(BA/fA);BA>E*u>>1;_A+=y)BA=M(BA/E);return M(_A+(E+1)*BA/(BA+p))},v=function(BA){var fA=[],MA=BA.length,_A=0,oe=r,se=g,le=BA.lastIndexOf(d);le<0&&(le=0);for(var xe=0;xe<le;++xe)BA.charCodeAt(xe)>=128&&x("not-basic"),fA.push(BA.charCodeAt(xe));for(var je=le>0?le+1:0;je<MA;){for(var ye=_A,Ke=1,qe=y;;qe+=y){je>=MA&&x("invalid-input");var Ee=Z(BA.charCodeAt(je++));(Ee>=y||Ee>M((k-_A)/Ke))&&x("overflow"),_A+=Ee*Ke;var Ge=qe<=se?C:qe>=se+u?u:qe-se;if(Ee<Ge)break;var et=y-Ge;Ke>M(k/et)&&x("overflow"),Ke*=et}var He=fA.length+1;se=q(_A-ye,He,ye==0),M(_A/He)>k-oe&&x("overflow"),oe+=M(_A/He),_A%=He,fA.splice(_A++,0,oe)}return String.fromCodePoint.apply(String,fA)},W=function(BA){var fA=[];BA=j(BA);var MA=BA.length,_A=r,oe=0,se=g,le=!0,xe=!1,je=void 0;try{for(var ye=BA[Symbol.iterator](),Ke;!(le=(Ke=ye.next()).done);le=!0){var qe=Ke.value;qe<128&&fA.push(D(qe))}}catch(qn){xe=!0,je=qn}finally{try{!le&&ye.return&&ye.return()}finally{if(xe)throw je}}var Ee=fA.length,Ge=Ee;for(Ee&&fA.push(d);Ge<MA;){var et=k,He=!0,In=!1,Xt=void 0;try{for(var Vt=BA[Symbol.iterator](),xn;!(He=(xn=Vt.next()).done);He=!0){var fn=xn.value;fn>=_A&&fn<et&&(et=fn)}}catch(qn){In=!0,Xt=qn}finally{try{!He&&Vt.return&&Vt.return()}finally{if(In)throw Xt}}var yt=Ge+1;et-_A>M((k-oe)/yt)&&x("overflow"),oe+=(et-_A)*yt,_A=et;var An=!0,Nn=!1,un=void 0;try{for(var Ci=BA[Symbol.iterator](),Ho;!(An=(Ho=Ci.next()).done);An=!0){var Po=Ho.value;if(Po<_A&&++oe>k&&x("overflow"),Po==_A){for(var Ei=oe,jn=y;;jn+=y){var zi=jn<=se?C:jn>=se+u?u:jn-se;if(Ei<zi)break;var Ko=Ei-zi,Qi=y-zi;fA.push(D(Y(zi+Ko%Qi,0))),Ei=M(Ko/Qi)}fA.push(D(Y(Ei,0))),se=q(oe,yt,Ge==Ee),oe=0,++Ge}}}catch(qn){Nn=!0,un=qn}finally{try{!An&&Ci.return&&Ci.return()}finally{if(Nn)throw un}}++oe,++_A}return fA.join("")},F={version:"2.1.0",ucs2:{decode:j,encode:function(BA){return String.fromCodePoint.apply(String,L(BA))}},decode:v,encode:W,toASCII:function(BA){return $(BA,function(fA){return s.test(fA)?"xn--"+W(fA):fA})},toUnicode:function(BA){return $(BA,function(fA){return h.test(fA)?v(fA.slice(4).toLowerCase()):fA})}},X={};function nA(EA){var BA=EA.charCodeAt(0),fA=void 0;return BA<16?fA="%0"+BA.toString(16).toUpperCase():BA<128?fA="%"+BA.toString(16).toUpperCase():BA<2048?fA="%"+(BA>>6|192).toString(16).toUpperCase()+"%"+(BA&63|128).toString(16).toUpperCase():fA="%"+(BA>>12|224).toString(16).toUpperCase()+"%"+(BA>>6&63|128).toString(16).toUpperCase()+"%"+(BA&63|128).toString(16).toUpperCase(),fA}function V(EA){for(var BA="",fA=0,MA=EA.length;fA<MA;){var _A=parseInt(EA.substr(fA+1,2),16);if(_A<128)BA+=String.fromCharCode(_A),fA+=3;else if(_A>=194&&_A<224){if(MA-fA>=6){var oe=parseInt(EA.substr(fA+4,2),16);BA+=String.fromCharCode((_A&31)<<6|oe&63)}else BA+=EA.substr(fA,6);fA+=6}else if(_A>=224){if(MA-fA>=9){var se=parseInt(EA.substr(fA+4,2),16),le=parseInt(EA.substr(fA+7,2),16);BA+=String.fromCharCode((_A&15)<<12|(se&63)<<6|le&63)}else BA+=EA.substr(fA,9);fA+=9}else BA+=EA.substr(fA,3),fA+=3}return BA}function tA(EA,BA){function fA(MA){var _A=V(MA);return _A.match(BA.UNRESERVED)?_A:MA}return EA.scheme&&(EA.scheme=String(EA.scheme).replace(BA.PCT_ENCODED,fA).toLowerCase().replace(BA.NOT_SCHEME,"")),EA.userinfo!==void 0&&(EA.userinfo=String(EA.userinfo).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_USERINFO,nA).replace(BA.PCT_ENCODED,G)),EA.host!==void 0&&(EA.host=String(EA.host).replace(BA.PCT_ENCODED,fA).toLowerCase().replace(BA.NOT_HOST,nA).replace(BA.PCT_ENCODED,G)),EA.path!==void 0&&(EA.path=String(EA.path).replace(BA.PCT_ENCODED,fA).replace(EA.scheme?BA.NOT_PATH:BA.NOT_PATH_NOSCHEME,nA).replace(BA.PCT_ENCODED,G)),EA.query!==void 0&&(EA.query=String(EA.query).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_QUERY,nA).replace(BA.PCT_ENCODED,G)),EA.fragment!==void 0&&(EA.fragment=String(EA.fragment).replace(BA.PCT_ENCODED,fA).replace(BA.NOT_FRAGMENT,nA).replace(BA.PCT_ENCODED,G)),EA}function cA(EA){return EA.replace(/^0*(.*)/,"$1")||"0"}function sA(EA,BA){var fA=EA.match(BA.IPV4ADDRESS)||[],MA=m(fA,2),_A=MA[1];return _A?_A.split(".").map(cA).join("."):EA}function hA(EA,BA){var fA=EA.match(BA.IPV6ADDRESS)||[],MA=m(fA,3),_A=MA[1],oe=MA[2];if(_A){for(var se=_A.toLowerCase().split("::").reverse(),le=m(se,2),xe=le[0],je=le[1],ye=je?je.split(":").map(cA):[],Ke=xe.split(":").map(cA),qe=BA.IPV4ADDRESS.test(Ke[Ke.length-1]),Ee=qe?7:8,Ge=Ke.length-Ee,et=Array(Ee),He=0;He<Ee;++He)et[He]=ye[He]||Ke[Ge+He]||"";qe&&(et[Ee-1]=sA(et[Ee-1],BA));var In=et.reduce(function(yt,An,Nn){if(!An||An==="0"){var un=yt[yt.length-1];un&&un.index+un.length===Nn?un.length++:yt.push({index:Nn,length:1})}return yt},[]),Xt=In.sort(function(yt,An){return An.length-yt.length})[0],Vt=void 0;if(Xt&&Xt.length>1){var xn=et.slice(0,Xt.index),fn=et.slice(Xt.index+Xt.length);Vt=xn.join(":")+"::"+fn.join(":")}else Vt=et.join(":");return oe&&(Vt+="%"+oe),Vt}else return EA}var z=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,iA="".match(/(){0}/)[1]===void 0;function oA(EA){var BA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fA={},MA=BA.iri!==!1?_:P;BA.reference==="suffix"&&(EA=(BA.scheme?BA.scheme+":":"")+"//"+EA);var _A=EA.match(z);if(_A){iA?(fA.scheme=_A[1],fA.userinfo=_A[3],fA.host=_A[4],fA.port=parseInt(_A[5],10),fA.path=_A[6]||"",fA.query=_A[7],fA.fragment=_A[8],isNaN(fA.port)&&(fA.port=_A[5])):(fA.scheme=_A[1]||void 0,fA.userinfo=EA.indexOf("@")!==-1?_A[3]:void 0,fA.host=EA.indexOf("//")!==-1?_A[4]:void 0,fA.port=parseInt(_A[5],10),fA.path=_A[6]||"",fA.query=EA.indexOf("?")!==-1?_A[7]:void 0,fA.fragment=EA.indexOf("#")!==-1?_A[8]:void 0,isNaN(fA.port)&&(fA.port=EA.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?_A[4]:void 0)),fA.host&&(fA.host=hA(sA(fA.host,MA),MA)),fA.scheme===void 0&&fA.userinfo===void 0&&fA.host===void 0&&fA.port===void 0&&!fA.path&&fA.query===void 0?fA.reference="same-document":fA.scheme===void 0?fA.reference="relative":fA.fragment===void 0?fA.reference="absolute":fA.reference="uri",BA.reference&&BA.reference!=="suffix"&&BA.reference!==fA.reference&&(fA.error=fA.error||"URI is not a "+BA.reference+" reference.");var oe=X[(BA.scheme||fA.scheme||"").toLowerCase()];if(!BA.unicodeSupport&&(!oe||!oe.unicodeSupport)){if(fA.host&&(BA.domainHost||oe&&oe.domainHost))try{fA.host=F.toASCII(fA.host.replace(MA.PCT_ENCODED,V).toLowerCase())}catch(se){fA.error=fA.error||"Host's domain name can not be converted to ASCII via punycode: "+se}tA(fA,P)}else tA(fA,MA);oe&&oe.parse&&oe.parse(fA,BA)}else fA.error=fA.error||"URI can not be parsed.";return fA}function rA(EA,BA){var fA=BA.iri!==!1?_:P,MA=[];return EA.userinfo!==void 0&&(MA.push(EA.userinfo),MA.push("@")),EA.host!==void 0&&MA.push(hA(sA(String(EA.host),fA),fA).replace(fA.IPV6ADDRESS,function(_A,oe,se){return"["+oe+(se?"%25"+se:"")+"]"})),(typeof EA.port=="number"||typeof EA.port=="string")&&(MA.push(":"),MA.push(String(EA.port))),MA.length?MA.join(""):void 0}var U=/^\.\.?\//,O=/^\/\.(\/|$)/,AA=/^\/\.\.(\/|$)/,aA=/^\/?(?:.|\n)*?(?=\/|$)/;function dA(EA){for(var BA=[];EA.length;)if(EA.match(U))EA=EA.replace(U,"");else if(EA.match(O))EA=EA.replace(O,"/");else if(EA.match(AA))EA=EA.replace(AA,"/"),BA.pop();else if(EA==="."||EA==="..")EA="";else{var fA=EA.match(aA);if(fA){var MA=fA[0];EA=EA.slice(MA.length),BA.push(MA)}else throw new Error("Unexpected dot segment condition")}return BA.join("")}function wA(EA){var BA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fA=BA.iri?_:P,MA=[],_A=X[(BA.scheme||EA.scheme||"").toLowerCase()];if(_A&&_A.serialize&&_A.serialize(EA,BA),EA.host&&!fA.IPV6ADDRESS.test(EA.host)){if(BA.domainHost||_A&&_A.domainHost)try{EA.host=BA.iri?F.toUnicode(EA.host):F.toASCII(EA.host.replace(fA.PCT_ENCODED,V).toLowerCase())}catch(le){EA.error=EA.error||"Host's domain name can not be converted to "+(BA.iri?"Unicode":"ASCII")+" via punycode: "+le}}tA(EA,fA),BA.reference!=="suffix"&&EA.scheme&&(MA.push(EA.scheme),MA.push(":"));var oe=rA(EA,BA);if(oe!==void 0&&(BA.reference!=="suffix"&&MA.push("//"),MA.push(oe),EA.path&&EA.path.charAt(0)!=="/"&&MA.push("/")),EA.path!==void 0){var se=EA.path;!BA.absolutePath&&(!_A||!_A.absolutePath)&&(se=dA(se)),oe===void 0&&(se=se.replace(/^\/\//,"/%2F")),MA.push(se)}return EA.query!==void 0&&(MA.push("?"),MA.push(EA.query)),EA.fragment!==void 0&&(MA.push("#"),MA.push(EA.fragment)),MA.join("")}function FA(EA,BA){var fA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},MA=arguments[3],_A={};return MA||(EA=oA(wA(EA,fA),fA),BA=oA(wA(BA,fA),fA)),fA=fA||{},!fA.tolerant&&BA.scheme?(_A.scheme=BA.scheme,_A.userinfo=BA.userinfo,_A.host=BA.host,_A.port=BA.port,_A.path=dA(BA.path||""),_A.query=BA.query):(BA.userinfo!==void 0||BA.host!==void 0||BA.port!==void 0?(_A.userinfo=BA.userinfo,_A.host=BA.host,_A.port=BA.port,_A.path=dA(BA.path||""),_A.query=BA.query):(BA.path?(BA.path.charAt(0)==="/"?_A.path=dA(BA.path):((EA.userinfo!==void 0||EA.host!==void 0||EA.port!==void 0)&&!EA.path?_A.path="/"+BA.path:EA.path?_A.path=EA.path.slice(0,EA.path.lastIndexOf("/")+1)+BA.path:_A.path=BA.path,_A.path=dA(_A.path)),_A.query=BA.query):(_A.path=EA.path,BA.query!==void 0?_A.query=BA.query:_A.query=EA.query),_A.userinfo=EA.userinfo,_A.host=EA.host,_A.port=EA.port),_A.scheme=EA.scheme),_A.fragment=BA.fragment,_A}function LA(EA,BA,fA){var MA=J({scheme:"null"},fA);return wA(FA(oA(EA,MA),oA(BA,MA),MA,!0),MA)}function WA(EA,BA){return typeof EA=="string"?EA=wA(oA(EA,BA),BA):N(EA)==="object"&&(EA=oA(wA(EA,BA),BA)),EA}function jA(EA,BA,fA){return typeof EA=="string"?EA=wA(oA(EA,fA),fA):N(EA)==="object"&&(EA=wA(EA,fA)),typeof BA=="string"?BA=wA(oA(BA,fA),fA):N(BA)==="object"&&(BA=wA(BA,fA)),EA===BA}function ee(EA,BA){return EA&&EA.toString().replace(!BA||!BA.iri?P.ESCAPE:_.ESCAPE,nA)}function zA(EA,BA){return EA&&EA.toString().replace(!BA||!BA.iri?P.PCT_ENCODED:_.PCT_ENCODED,V)}var DA={scheme:"http",domainHost:!0,parse:function(BA,fA){return BA.host||(BA.error=BA.error||"HTTP URIs must have a host."),BA},serialize:function(BA,fA){var MA=String(BA.scheme).toLowerCase()==="https";return(BA.port===(MA?443:80)||BA.port==="")&&(BA.port=void 0),BA.path||(BA.path="/"),BA}},QA={scheme:"https",domainHost:DA.domainHost,parse:DA.parse,serialize:DA.serialize};function NA(EA){return typeof EA.secure=="boolean"?EA.secure:String(EA.scheme).toLowerCase()==="wss"}var XA={scheme:"ws",domainHost:!0,parse:function(BA,fA){var MA=BA;return MA.secure=NA(MA),MA.resourceName=(MA.path||"/")+(MA.query?"?"+MA.query:""),MA.path=void 0,MA.query=void 0,MA},serialize:function(BA,fA){if((BA.port===(NA(BA)?443:80)||BA.port==="")&&(BA.port=void 0),typeof BA.secure=="boolean"&&(BA.scheme=BA.secure?"wss":"ws",BA.secure=void 0),BA.resourceName){var MA=BA.resourceName.split("?"),_A=m(MA,2),oe=_A[0],se=_A[1];BA.path=oe&&oe!=="/"?oe:void 0,BA.query=se,BA.resourceName=void 0}return BA.fragment=void 0,BA}},re={scheme:"wss",domainHost:XA.domainHost,parse:XA.parse,serialize:XA.serialize},Ce={},kA="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",SA="[0-9A-Fa-f]",GA=f(f("%[EFef]"+SA+"%"+SA+SA+"%"+SA+SA)+"|"+f("%[89A-Fa-f]"+SA+"%"+SA+SA)+"|"+f("%"+SA+SA)),ZA="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",OA=S("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),VA="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ce=new RegExp(kA,"g"),pA=new RegExp(GA,"g"),mA=new RegExp(S("[^]",ZA,"[\\.]",'[\\"]',OA),"g"),vA=new RegExp(S("[^]",kA,VA),"g"),KA=vA;function ne(EA){var BA=V(EA);return BA.match(ce)?BA:EA}var TA={scheme:"mailto",parse:function(BA,fA){var MA=BA,_A=MA.to=MA.path?MA.path.split(","):[];if(MA.path=void 0,MA.query){for(var oe=!1,se={},le=MA.query.split("&"),xe=0,je=le.length;xe<je;++xe){var ye=le[xe].split("=");switch(ye[0]){case"to":for(var Ke=ye[1].split(","),qe=0,Ee=Ke.length;qe<Ee;++qe)_A.push(Ke[qe]);break;case"subject":MA.subject=zA(ye[1],fA);break;case"body":MA.body=zA(ye[1],fA);break;default:oe=!0,se[zA(ye[0],fA)]=zA(ye[1],fA);break}}oe&&(MA.headers=se)}MA.query=void 0;for(var Ge=0,et=_A.length;Ge<et;++Ge){var He=_A[Ge].split("@");if(He[0]=zA(He[0]),fA.unicodeSupport)He[1]=zA(He[1],fA).toLowerCase();else try{He[1]=F.toASCII(zA(He[1],fA).toLowerCase())}catch(In){MA.error=MA.error||"Email address's domain name can not be converted to ASCII via punycode: "+In}_A[Ge]=He.join("@")}return MA},serialize:function(BA,fA){var MA=BA,_A=K(BA.to);if(_A){for(var oe=0,se=_A.length;oe<se;++oe){var le=String(_A[oe]),xe=le.lastIndexOf("@"),je=le.slice(0,xe).replace(pA,ne).replace(pA,G).replace(mA,nA),ye=le.slice(xe+1);try{ye=fA.iri?F.toUnicode(ye):F.toASCII(zA(ye,fA).toLowerCase())}catch(Ge){MA.error=MA.error||"Email address's domain name can not be converted to "+(fA.iri?"Unicode":"ASCII")+" via punycode: "+Ge}_A[oe]=je+"@"+ye}MA.path=_A.join(",")}var Ke=BA.headers=BA.headers||{};BA.subject&&(Ke.subject=BA.subject),BA.body&&(Ke.body=BA.body);var qe=[];for(var Ee in Ke)Ke[Ee]!==Ce[Ee]&&qe.push(Ee.replace(pA,ne).replace(pA,G).replace(vA,nA)+"="+Ke[Ee].replace(pA,ne).replace(pA,G).replace(KA,nA));return qe.length&&(MA.query=qe.join("&")),MA}},YA=/^([^\:]+)\:(.*)/,ge={scheme:"urn",parse:function(BA,fA){var MA=BA.path&&BA.path.match(YA),_A=BA;if(MA){var oe=fA.scheme||_A.scheme||"urn",se=MA[1].toLowerCase(),le=MA[2],xe=oe+":"+(fA.nid||se),je=X[xe];_A.nid=se,_A.nss=le,_A.path=void 0,je&&(_A=je.parse(_A,fA))}else _A.error=_A.error||"URN can not be parsed.";return _A},serialize:function(BA,fA){var MA=fA.scheme||BA.scheme||"urn",_A=BA.nid,oe=MA+":"+(fA.nid||_A),se=X[oe];se&&(BA=se.serialize(BA,fA));var le=BA,xe=BA.nss;return le.path=(_A||fA.nid)+":"+xe,le}},Le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ht={scheme:"urn:uuid",parse:function(BA,fA){var MA=BA;return MA.uuid=MA.nss,MA.nss=void 0,!fA.tolerant&&(!MA.uuid||!MA.uuid.match(Le))&&(MA.error=MA.error||"UUID is not valid."),MA},serialize:function(BA,fA){var MA=BA;return MA.nss=(BA.uuid||"").toLowerCase(),MA}};X[DA.scheme]=DA,X[QA.scheme]=QA,X[XA.scheme]=XA,X[re.scheme]=re,X[TA.scheme]=TA,X[ge.scheme]=ge,X[ht.scheme]=ht,b.SCHEMES=X,b.pctEncChar=nA,b.pctDecChars=V,b.parse=oA,b.removeDotSegments=dA,b.serialize=wA,b.resolveComponents=FA,b.resolve=LA,b.normalize=WA,b.equal=jA,b.escapeComponent=ee,b.unescapeComponent=zA,Object.defineProperty(b,"__esModule",{value:!0})})(a)},7598:function(w){w.exports=function(){var a=function(g,r){if(!(g instanceof r))throw new TypeError("Cannot call a class as a function")},b=function(){function g(r,d){for(var h=0;h<d.length;h++){var s=d[h];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(r,s.key,s)}}return function(r,d,h){return d&&g(r.prototype,d),h&&g(r,h),r}}(),S=function(){function g(r,d){var h=[],s=!0,o=!1,B=void 0;try{for(var E=r[Symbol.iterator](),M;!(s=(M=E.next()).done)&&(h.push(M.value),!(d&&h.length===d));s=!0);}catch(D){o=!0,B=D}finally{try{!s&&E.return&&E.return()}finally{if(o)throw B}}return h}return function(r,d){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return g(r,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=(String.prototype.startsWith=String.prototype.startsWith||function(g){return this.indexOf(g)===0},String.prototype.padStart=String.prototype.padStart||function(g,r){for(var d=this;d.length<g;)d=r+d;return d},{cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"});function N(g){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,d=r>0?g.toFixed(r).replace(/0+$/,"").replace(/\.$/,""):g.toString();return d||"0"}var G=function(){function g(r,d,h,s){a(this,g);var o=this;function B(M){if(M.startsWith("hsl")){var D=M.match(/([\-\d\.e]+)/g).map(Number),x=S(D,4),R=x[0],$=x[1],j=x[2],Z=x[3];Z===void 0&&(Z=1),R/=360,$/=100,j/=100,o.hsla=[R,$,j,Z]}else if(M.startsWith("rgb")){var Y=M.match(/([\-\d\.e]+)/g).map(Number),q=S(Y,4),v=q[0],W=q[1],F=q[2],X=q[3];X===void 0&&(X=1),o.rgba=[v,W,F,X]}else M.startsWith("#")?o.rgba=g.hexToRgb(M):o.rgba=g.nameToRgb(M)||g.hexToRgb(M)}if(r!==void 0)if(Array.isArray(r))this.rgba=r;else if(h===void 0){var E=r&&""+r;E&&B(E.toLowerCase())}else this.rgba=[r,d,h,s===void 0?1:s]}return b(g,[{key:"printRGB",value:function(d){var h=d?this.rgba:this.rgba.slice(0,3),s=h.map(function(o,B){return N(o,B===3?3:0)});return d?"rgba("+s+")":"rgb("+s+")"}},{key:"printHSL",value:function(d){var h=[360,100,100,1],s=["","%","%",""],o=d?this.hsla:this.hsla.slice(0,3),B=o.map(function(E,M){return N(E*h[M],M===3?3:1)+s[M]});return d?"hsla("+B+")":"hsl("+B+")"}},{key:"printHex",value:function(d){var h=this.hex;return d?h:h.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=g.hslToRgb(this._hsla)},set:function(d){d.length===3&&(d[3]=1),this._rgba=d,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=g.rgbToHsl(this._rgba)},set:function(d){d.length===3&&(d[3]=1),this._hsla=d,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var d=this.rgba,h=d.map(function(s,o){return o<3?s.toString(16):Math.round(s*255).toString(16)});return"#"+h.map(function(s){return s.padStart(2,"0")}).join("")},set:function(d){this.rgba=g.hexToRgb(d)}}],[{key:"hexToRgb",value:function(d){var h=(d.startsWith("#")?d.slice(1):d).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!h.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+d);var s=h.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(o){return parseInt(o,16)});return s[3]=s[3]/255,s}},{key:"nameToRgb",value:function(d){var h=d.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),s=f[h];return s===void 0?s:g.hexToRgb(s.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(d){var h=S(d,4),s=h[0],o=h[1],B=h[2],E=h[3];s/=255,o/=255,B/=255;var M=Math.max(s,o,B),D=Math.min(s,o,B),x=void 0,R=void 0,$=(M+D)/2;if(M===D)x=R=0;else{var j=M-D;switch(R=$>.5?j/(2-M-D):j/(M+D),M){case s:x=(o-B)/j+(o<B?6:0);break;case o:x=(B-s)/j+2;break;case B:x=(s-o)/j+4;break}x/=6}return[x,R,$,E]}},{key:"hslToRgb",value:function(d){var h=S(d,4),s=h[0],o=h[1],B=h[2],E=h[3],M=void 0,D=void 0,x=void 0;if(o===0)M=D=x=B;else{var R=function(q,v,W){return W<0&&(W+=1),W>1&&(W-=1),W<.16666666666666666?q+(v-q)*6*W:W<.5?v:W<.6666666666666666?q+(v-q)*(.6666666666666666-W)*6:q},$=B<.5?B*(1+o):B+o-B*o,j=2*B-$;M=R(j,$,s+1/3),D=R(j,$,s),x=R(j,$,s-1/3)}var Z=[M*255,D*255,x*255].map(Math.round);return Z[3]=E,Z}}]),g}(),K=function(){function g(){a(this,g),this._events=[]}return b(g,[{key:"add",value:function(d,h,s){d.addEventListener(h,s,!1),this._events.push({target:d,type:h,handler:s})}},{key:"remove",value:function(d,h,s){this._events=this._events.filter(function(o){var B=!0;return d&&d!==o.target&&(B=!1),h&&h!==o.type&&(B=!1),s&&s!==o.handler&&(B=!1),B&&g._doRemove(o.target,o.type,o.handler),!B})}},{key:"destroy",value:function(){this._events.forEach(function(d){return g._doRemove(d.target,d.type,d.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(d,h,s){d.removeEventListener(h,s,!1)}}]),g}();function J(g){var r=document.createElement("div");return r.innerHTML=g,r.firstElementChild}function T(g,r,d){var h=!1;function s(M,D,x){return Math.max(D,Math.min(M,x))}function o(M,D,x){if(x&&(h=!0),!!h){M.preventDefault();var R=r.getBoundingClientRect(),$=R.width,j=R.height,Z=D.clientX,Y=D.clientY,q=s(Z-R.left,0,$),v=s(Y-R.top,0,j);d(q/$,v/j)}}function B(M,D){var x=M.buttons===void 0?M.which:M.buttons;x===1?o(M,M,D):h=!1}function E(M,D){M.touches.length===1?o(M,M.touches[0],D):h=!1}g.add(r,"mousedown",function(M){B(M,!0)}),g.add(r,"touchstart",function(M){E(M,!0)}),g.add(window,"mousemove",B),g.add(r,"touchmove",E),g.add(window,"mouseup",function(M){h=!1}),g.add(r,"touchend",function(M){h=!1}),g.add(r,"touchcancel",function(M){h=!1})}var P=`linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
1576
1576
|
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,_=360,m="keydown",L="mousedown",k="focusin";function y(g,r){return(r||document).querySelector(g)}function C(g){g.preventDefault(),g.stopPropagation()}function u(g,r,d,h,s){g.add(r,m,function(o){d.indexOf(o.key)>=0&&h(o)})}var p=function(){function g(r){a(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new K,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(r)}return b(g,[{key:"setOptions",value:function(d){var h=this;if(!d)return;var s=this.settings;function o(D,x,R){for(var $ in D)x[$]=D[$]}if(d instanceof HTMLElement)s.parent=d;else{s.parent&&d.parent&&s.parent!==d.parent&&(this._events.remove(s.parent),this._popupInited=!1),o(d,s),d.onChange&&(this.onChange=d.onChange),d.onDone&&(this.onDone=d.onDone),d.onOpen&&(this.onOpen=d.onOpen),d.onClose&&(this.onClose=d.onClose);var B=d.color||d.colour;B&&this._setColor(B)}var E=s.parent;if(E&&s.popup&&!this._popupInited){var M=function(x){return h.openHandler(x)};this._events.add(E,"click",M),u(this._events,E,[" ","Spacebar","Enter"],M),this._popupInited=!0}else d.parent&&!s.popup&&this.show()}},{key:"openHandler",value:function(d){if(this.show()){d&&d.preventDefault(),this.settings.parent.style.pointerEvents="none";var h=d&&d.type===m?this._domEdit:this.domElement;setTimeout(function(){return h.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(d){var h=d&&d.type,s=!1;if(!d)s=!0;else if(h===L||h===k){var o=(this.__containedEvent||0)+100;d.timeStamp>o&&(s=!0)}else C(d),s=!0;s&&this.hide()&&(this.settings.parent.style.pointerEvents="",h!==L&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(d,h){this.closeHandler(),this.setOptions(d),h&&this.openHandler()}},{key:"setColor",value:function(d,h){this._setColor(d,{silent:h})}},{key:"_setColor",value:function(d,h){if(typeof d=="string"&&(d=d.trim()),!!d){h=h||{};var s=void 0;try{s=new G(d)}catch(B){if(h.failSilently)return;throw B}if(!this.settings.alpha){var o=s.hsla;o[3]=1,s.hsla=o}this.colour=this.color=s,this._setHSLA(null,null,null,null,h)}}},{key:"setColour",value:function(d,h){this.setColor(d,h)}},{key:"show",value:function(){var d=this.settings.parent;if(!d)return!1;if(this.domElement){var h=this._toggleDOM(!0);return this._setPosition(),h}var s=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>',o=J(s);return this.domElement=o,this._domH=y(".picker_hue",o),this._domSL=y(".picker_sl",o),this._domA=y(".picker_alpha",o),this._domEdit=y(".picker_editor input",o),this._domSample=y(".picker_sample",o),this._domOkay=y(".picker_done button",o),this._domCancel=y(".picker_cancel button",o),o.classList.add("layout_"+this.settings.layout),this.settings.alpha||o.classList.add("no_alpha"),this.settings.editor||o.classList.add("no_editor"),this.settings.cancelButton||o.classList.add("no_cancel"),this._ifPopup(function(){return o.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 d=this,h=this,s=this.domElement,o=this._events;function B(D,x,R){o.add(D,x,R)}B(s,"click",function(D){return D.preventDefault()}),T(o,this._domH,function(D,x){return h._setHSLA(D)}),T(o,this._domSL,function(D,x){return h._setHSLA(null,D,1-x)}),this.settings.alpha&&T(o,this._domA,function(D,x){return h._setHSLA(null,null,null,1-x)});var E=this._domEdit;B(E,"input",function(D){h._setColor(this.value,{fromEditor:!0,failSilently:!0})}),B(E,"focus",function(D){var x=this;x.selectionStart===x.selectionEnd&&x.select()}),this._ifPopup(function(){var D=function($){return d.closeHandler($)};B(window,L,D),B(window,k,D),u(o,s,["Esc","Escape"],D);var x=function($){d.__containedEvent=$.timeStamp};B(s,L,x),B(s,k,x),B(d._domCancel,"click",D)});var M=function(x){d._ifPopup(function(){return d.closeHandler(x)}),d.onDone&&d.onDone(d.colour)};B(this._domOkay,"click",M),u(o,s,["Enter"],M)}},{key:"_setPosition",value:function(){var d=this.settings.parent,h=this.domElement;d!==h.parentNode&&d.appendChild(h),this._ifPopup(function(s){getComputedStyle(d).position==="static"&&(d.style.position="relative");var o=s===!0?"popup_right":"popup_"+s;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(B){B===o?h.classList.add(B):h.classList.remove(B)}),h.classList.add(o)})}},{key:"_setHSLA",value:function(d,h,s,o,B){B=B||{};var E=this.colour,M=E.hsla;[d,h,s,o].forEach(function(D,x){(D||D===0)&&(M[x]=D)}),E.hsla=M,this._updateUI(B),this.onChange&&!B.silent&&this.onChange(E)}},{key:"_updateUI",value:function(d){if(!this.domElement)return;d=d||{};var h=this.colour,s=h.hsla,o="hsl("+s[0]*_+", 100%, 50%)",B=h.hslString,E=h.hslaString,M=this._domH,D=this._domSL,x=this._domA,R=y(".picker_selector",M),$=y(".picker_selector",D),j=y(".picker_selector",x);function Z(V,tA,cA){tA.style.left=cA*100+"%"}function Y(V,tA,cA){tA.style.top=cA*100+"%"}Z(M,R,s[0]),this._domSL.style.backgroundColor=this._domH.style.color=o,Z(D,$,s[1]),Y(D,$,1-s[2]),D.style.color=B,Y(x,j,1-s[3]);var q=B,v=q.replace("hsl","hsla").replace(")",", 0)"),W="linear-gradient("+[q,v]+")";if(this._domA.style.background=W+", "+P,!d.fromEditor){var F=this.settings.editorFormat,X=this.settings.alpha,nA=void 0;switch(F){case"rgb":nA=h.printRGB(X);break;case"hsl":nA=h.printHSL(X);break;default:nA=h.printHex(X)}this._domEdit.value=nA}this._domSample.style.color=E}},{key:"_ifPopup",value:function(d,h){this.settings.parent&&this.settings.popup?d&&d(this.settings.popup):h&&h()}},{key:"_toggleDOM",value:function(d){var h=this.domElement;if(!h)return!1;var s=d?"":"none",o=h.style.display!==s;return o&&(h.style.display=s),o}}]),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),p.StyleElement=l,p}()},9857:function(w,a,b){b.d(a,{m:function(){return zA}});class S extends Error{constructor(QA,NA){super(QA+" at position "+NA),this.position=NA}}let f=92,N=47,G=42,K=123,J=125,T=91,P=93,_=40,m=41,L=32,k=10,y=9,C=13,u=8,p=12,l=34,g=43,r=45,d=39,h=48,s=57,o=44,B=46,E=58,M=59,D=65,x=97,R=69,$=101,j=70,Z=102,Y=160,q=8192,v=8202,W=8239,F=8287,X=12288,nA=8220,V=8221,tA=8216,cA=8217,sA=96,hA=180;function z(DA){return DA>=h&&DA<=s}function iA(DA){return oA.test(DA)}let oA=/^[,:[\]/{}()\n+]$/;function rA(DA){return U.test(DA)||DA&&AA(DA.charCodeAt(0))}let U=/^[[{\w-]$/;function O(DA){return DA===L||DA===k||DA===y||DA===C}function AA(DA){return aA(DA)||wA(DA)}function aA(DA){return DA===l||DA===nA||DA===V}function dA(DA){return DA===l}function wA(DA){return DA===d||DA===tA||DA===cA||DA===sA||DA===hA}function FA(DA){return DA===d}function LA(DA,QA,NA){return NA=2<arguments.length&&NA!==void 0&&NA,QA=DA.lastIndexOf(QA),QA!==-1?DA.substring(0,QA)+(NA?"":DA.substring(QA+1)):DA}function WA(DA,QA){let NA=DA.length;if(!O(DA.charCodeAt(NA-1)))return DA+QA;for(;O(DA.charCodeAt(NA-1));)NA--;return DA.substring(0,NA)+QA+DA.substring(NA)}let jA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},ee={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1577
1577
|
`,r:"\r",t:" "};function zA(DA){let QA=0,NA="";if(!re())throw new S("Unexpected end of json string",DA.length);var XA=SA(o);if(XA&&Ce(),rA(DA[QA])&&/[,\n][ \t\r]*$/.test(NA)){XA||(NA=WA(NA,","));{let TA=!0,YA=!0;for(;YA;)TA?TA=!1:SA(o)||(NA=WA(NA,",")),YA=re();YA||(NA=LA(NA,",")),NA=`[
|
|
1578
1578
|
`.concat(NA,`
|
|
1579
|
-
]`)}}else XA&&(NA=LA(NA,","));for(;DA.charCodeAt(QA)===J||DA.charCodeAt(QA)===P;)QA++,Ce();if(QA>=DA.length)return NA;throw new S("Unexpected character "+JSON.stringify(DA[QA]),QA);function re(){Ce();var TA=function(){if(DA.charCodeAt(QA)!==K)return!1;{NA+="{",QA++,Ce(),GA(o)&&Ce();let ht=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==J;){if(ht?ht=!1:(SA(o)||(NA=WA(NA,",")),Ce()),ZA(),!(OA()||pA())){DA.charCodeAt(QA)===J||DA.charCodeAt(QA)===K||DA.charCodeAt(QA)===P||DA.charCodeAt(QA)===T||DA[QA]===void 0?NA=LA(NA,","):function(){throw new S("Object key expected",QA)}();break}Ce();var YA=SA(E),ge=QA>=DA.length,Le=(YA||(rA(DA[QA])||ge?NA=WA(NA,":"):ne()),re());Le||(YA||ge?NA+="null":ne())}return DA.charCodeAt(QA)===J?(NA+="}",QA++):NA=WA(NA,"}"),!0}}()||function(){if(DA.charCodeAt(QA)!==T)return!1;{NA+="[",QA++,Ce(),GA(o)&&Ce();let ge=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==P;){ge?ge=!1:SA(o)||(NA=WA(NA,",")),ZA();var YA=re();if(!YA){NA=LA(NA,",");break}}return DA.charCodeAt(QA)===P?(NA+="]",QA++):NA=WA(NA,"]"),!0}}()||OA()||function(){var YA=QA;if(DA.charCodeAt(QA)===r){if(QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1}for(;z(DA.charCodeAt(QA));)QA++;if(DA.charCodeAt(QA)===B){if(QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1;for(;z(DA.charCodeAt(QA));)QA++}if(DA.charCodeAt(QA)===$||DA.charCodeAt(QA)===R){if(QA++,DA.charCodeAt(QA)!==r&&DA.charCodeAt(QA)!==g||QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1;for(;z(DA.charCodeAt(QA));)QA++}var ge,Le;if(vA()){if(QA>YA)return ge=DA.slice(YA,QA),Le=/^0\d/.test(ge),NA+=Le?'"'.concat(ge,'"'):ge,!0}else QA=YA;return!1}()||ce("true","true")||ce("false","false")||ce("null","null")||ce("True","true")||ce("False","false")||ce("None","null")||pA();return Ce(),TA}function Ce(){for(kA();function(){if(DA.charCodeAt(QA)===N&&DA.charCodeAt(QA+1)===G){for(;QA<DA.length&&!function(TA,YA){return TA[YA]==="*"&&TA[YA+1]==="/"}(DA,QA);)QA++;QA+=2}else{if(DA.charCodeAt(QA)!==N||DA.charCodeAt(QA+1)!==N)return!1;for(;QA<DA.length&&DA.charCodeAt(QA)!==k;)QA++}return!0}()&&kA(););}function kA(){let TA="";for(var YA,ge;(YA=O(DA.charCodeAt(QA)))||(ge=DA.charCodeAt(QA))===Y||ge>=q&&ge<=v||ge===W||ge===F||ge===X;)TA+=YA?DA[QA]:" ",QA++;return 0<TA.length&&(NA+=TA,!0)}function SA(TA){return DA.charCodeAt(QA)===TA&&(NA+=DA[QA],QA++,!0)}function GA(TA){return DA.charCodeAt(QA)===TA&&(QA++,!0)}function ZA(){Ce(),DA.charCodeAt(QA)===B&&DA.charCodeAt(QA+1)===B&&DA.charCodeAt(QA+2)===B&&(QA+=3,Ce(),GA(o))}function OA(TA){var YA,ge,Le=0<arguments.length&&TA!==void 0&&TA;let ht=DA.charCodeAt(QA)===f;if(ht&&(QA++,ht=!0),AA(DA.charCodeAt(QA))){var EA=dA(DA.charCodeAt(QA))?dA:FA(DA.charCodeAt(QA))?FA:wA(DA.charCodeAt(QA))?wA:aA,BA=QA,fA=NA.length;let le='"';for(QA++;;){if(QA>=DA.length)return MA=mA(QA-1),!Le&&iA(DA.charAt(MA))?(QA=BA,NA=NA.substring(0,fA),OA(!0)):(le=WA(le,'"'),NA+=le,!0);if(EA(DA.charCodeAt(QA))){var MA=QA,_A=le.length;if(le+='"',QA++,NA+=le,Ce(),Le||QA>=DA.length||iA(DA.charAt(QA))||AA(DA.charCodeAt(QA))||z(DA.charCodeAt(QA)))return VA(),!0;if(iA(DA.charAt(mA(MA-1))))return QA=BA,NA=NA.substring(0,fA),OA(!0);NA=NA.substring(0,fA),QA=MA+1,le=le.substring(0,_A)+"\\"+le.substring(_A)}else{if(Le&&iA(DA[QA]))return le=WA(le,'"'),NA+=le,VA(),!0;if(DA.charCodeAt(QA)===f)if(_A=DA.charAt(QA+1),ee[_A]!==void 0)le+=DA.slice(QA,QA+2),QA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ge=DA.charCodeAt(QA+xe))>=h&&ge<=s||ge>=D&&ge<=j||ge>=x&&ge<=Z);)xe++;if(xe===6)le+=DA.slice(QA,QA+6),QA+=6;else{if(!(QA+xe>=DA.length))throw oe=void 0,oe=DA.slice(QA,QA+6),new S('Invalid unicode character "'.concat(oe,'"'),QA);QA=DA.length}}else le+=_A,QA+=2;else{var oe=DA.charAt(QA),se=DA.charCodeAt(QA);if(se===l&&DA.charCodeAt(QA-1)!==f)le+="\\"+oe;else if((YA=se)===k||YA===C||YA===y||YA===u||YA===p)le+=jA[oe];else{if(!(32<=(YA=se)&&YA<=1114111))throw se=void 0,se=oe,new S("Invalid character "+JSON.stringify(se),QA);le+=oe}QA++}}ht&&GA(f)}}return!1}function VA(){for(Ce();DA.charCodeAt(QA)===g;){QA++,Ce();var TA=(NA=LA(NA,'"',!0)).length,YA=OA();NA=YA?(YA=NA,TA=TA,ge=1,YA.substring(0,TA)+YA.substring(TA+ge)):WA(NA,'"')}var ge}function ce(TA,YA){return DA.slice(QA,QA+TA.length)===TA&&(NA+=YA,QA+=TA.length,!0)}function pA(){for(var TA,YA=QA;QA<DA.length&&(!iA(TA=DA[QA])||TA==="/")&&!AA(DA.charCodeAt(QA));)QA++;if(QA>YA){if(DA.charCodeAt(QA)===_&&/^\w+$/.test(DA.slice(YA,QA).trim()))QA++,re(),DA.charCodeAt(QA)===m&&(QA++,DA.charCodeAt(QA)===M)&&QA++;else{for(;O(DA.charCodeAt(QA-1))&&0<QA;)QA--;YA=DA.slice(YA,QA),NA+=YA==="undefined"?"null":JSON.stringify(YA),DA.charCodeAt(QA)===l&&QA++}return!0}}function mA(TA){let YA=TA;for(;0<YA&&O(DA.charCodeAt(YA));)YA--;return YA}function vA(){return QA>=DA.length||iA(DA[QA])||O(DA.charCodeAt(QA))}function KA(TA){NA+=DA.slice(TA,QA)+"0"}function ne(){throw new S("Colon expected",QA)}}},3420:function(w){w.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(w){w.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(w){w.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(w){w.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}')}},Q={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(w){var a=w&&w.__esModule?function(){return w.default}:function(){return w};return t.d(a,{a}),a},t.d=function(w,a){for(var b in a)t.o(a,b)&&!t.o(w,b)&&Object.defineProperty(w,b,{enumerable:!0,get:a[b]})},t.o=function(w,a){return Object.prototype.hasOwnProperty.call(w,a)},t.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},t.nmd=function(w){return w.paths=[],w.children||(w.children=[]),w},t(1346);function t(w){var a=Q[w];return a!==void 0||(a=Q[w]={id:w,loaded:!1,exports:{}},i[w].call(a.exports,a,a.exports,t),a.loaded=!0),a.exports}var i,Q})})(Ld);var j1=Ld.exports;const q1=oB(j1),X1={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:A,options:t}=this,i=()=>{const K=T=>{this.json=T,this.$emit("update:modelValue",T),this.$emit("change",T),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const T=this.editor.get();K(T)}catch{}},Q=()=>{this.expandAll()},w=(K,J,T)=>{this.$emit("textSelectionChange",this.editor,K,J,T)},a=(K,J)=>{this.$emit("selectionChange",this.editor,K,J)},b=(K,J,T)=>{this.$emit("colorPicker",this.editor,K,J,T)},S=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},N=K=>{this.$emit("validationError",this.editor,K)},G={...t,indentation:2,language:this.language,mode:n,modes:A,onChange:i,onModeChange:Q,onTextSelectionChange:w,onSelectionChange:a,onColorPicker:b,onFocus:S,onBlur:f,onValidationError:N};this.editor=new q1(this.$refs.jsonEditorVue,G,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},V1={ref:"jsonEditorVue",class:"json-editor-vue"};function Ak(n,A,t,i,Q,w){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":Q.isFullScreen}])},[e.createElementVNode("div",V1,null,512),e.createElementVNode("div",{class:e.normalizeClass(["full-screen",{show:Q.showFullScreen,right:!Q.hasLogo}]),onClick:A[0]||(A[0]=(...a)=>w.toggleFullScreen&&w.toggleFullScreen(...a))},null,2)],2)}const ek=JA(X1,[["render",Ak],["__scopeId","data-v-c53d52f1"]]),tk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:e.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>(e.openBlock(),e.createBlock(e.unref(Hw),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(ek,e.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=Q=>A.value=Q),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"})),nk={key:0},ik=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Checkbox",props:e.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),{currentOptions:Q,selectChange:w,loading:a}=Bo(A);return e.watch(t,w),(b,S)=>{var T;const f=e.resolveComponent("el-checkbox"),N=e.resolveComponent("el-checkbox-button"),G=e.resolveComponent("el-space"),K=e.resolveComponent("el-checkbox-group"),J=e.resolveDirective("loading");return e.unref(i).read?(e.openBlock(),e.createElementBlock("div",nk,e.toDisplayString((T=t.value)==null?void 0:T.map(P=>{var _;return(_=e.unref(Q).find(m=>m[b.valueKey]===P))==null?void 0:_[b.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(K,e.mergeProps({key:1},b.$attrs,{modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=P=>t.value=P),onChange:e.unref(w)}),{default:e.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(Q),P=>(e.openBlock(),e.createBlock(f,{key:P[b.valueKey],label:P[b.labelKey],value:P[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),b.optionType==="button"?(e.openBlock(),e.createBlock(G,{key:1,wrap:"",size:[b.space,b.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Q),P=>(e.openBlock(),e.createBlock(N,{key:P[b.valueKey],label:P[b.labelKey],value:P[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[J,e.unref(a)]])}}})},Symbol.toStringTag,{value:"Module"})),ok={class:"vfc-color-input"},sk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const Q=e.resolveComponent("el-input"),w=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",ok,[e.createVNode(Q,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=a=>A.value=a)},null,8,["modelValue"]),e.createVNode(w,{modelValue:A.value,"onUpdate:modelValue":i[1]||(i[1]=a=>A.value=a)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),rk={key:0,class:"empty"},ak=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Custom",props:e.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>t.componentName?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.componentName),e.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=Q=>A.value=Q)},t.$attrs),null,16,["modelValue"])):(e.openBlock(),e.createElementBlock("span",rk,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),lk={key:0},ck=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"DatePicker",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.useAttrs(),i=e.computed(()=>A.value?t.valueFormat?Mt.dayjs(A.value).format(t.valueFormat):A.value:"--");return(Q,w)=>{const a=e.resolveComponent("el-date-picker");return Q.read?(e.openBlock(),e.createElementBlock("span",lk,e.toDisplayString(i.value),1)):(e.openBlock(),e.createBlock(a,e.mergeProps({key:1},Q.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=b=>A.value=b),style:{width:"100%"}}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),gk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("ElDivider");return e.openBlock(),e.createBlock(i,e.normalizeProps(e.guardReactiveProps(A.$attrs)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),uk=e.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 A=e.ref(!1),t=e.ref(""),i=e.ref([]),Q=e.ref(null),w=e.ref(0),a=e.ref(0),b=e.ref(!1),S=e.ref(1),f=e.ref(null),N=e.computed(()=>n.height/n.width),G=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(G,k=>{f.value&&(f.value.style.background=k)});const K=()=>{if(f.value){f.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${N.value*k}px`,Q.value=f.value.getContext("2d"),Q.value&&(Q.value.scale(1*S.value,1*S.value),S.value=k/n.width,Q.value.scale(1/S.value,1/S.value))}};e.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=G.value,K(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",K)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const J=k=>{w.value=k.x,a.value=k.y,Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.lineWidth=n.lineWidth*S.value,Q.value.stroke(),Q.value.closePath(),i.value.push(k))},T=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.strokeStyle=n.lineColor,Q.value.lineWidth=n.lineWidth*S.value,Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),a.value=k.y,w.value=k.x,i.value.push(k))},P=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},_=k=>{const y=(k==null?void 0:k.format)||n.format,C=(k==null?void 0:k.quality)||n.quality;return new Promise((u,p)=>{if(!A.value){p("Warning: Not Signed!");return}if(Q.value){const l=Q.value.getImageData(0,0,f.value.width,f.value.height);Q.value.globalCompositeOperation="destination-over",Q.value.fillStyle=G.value,Q.value.fillRect(0,0,f.value.width,f.value.height),t.value=f.value.toDataURL(y,C);let g=t.value;if(Q.value.clearRect(0,0,f.value.width,f.value.height),Q.value.putImageData(l,0,0),Q.value.globalCompositeOperation="source-over",n.isCrop){const r=L(l.data),d=document.createElement("canvas"),h=d.getContext("2d");if(h){d.width=r[2]-r[0],d.height=r[3]-r[1];const s=Q.value.getImageData(r[0],r[1],r[2],r[3]);h.globalCompositeOperation="destination-over",h.putImageData(s,0,0),h.fillStyle=G.value,h.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,C)}}u(g)}})},m=()=>{Q.value&&Q.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(i.value=[],A.value=!1,t.value="")},L=k=>{let y=f.value.width,C=0,u=f.value.height,p=0;for(let l=0;l<f.value.width;l++)for(let g=0;g<f.value.height;g++){const r=(l+f.value.width*g)*4;(k[r]>0||k[r+1]>0||k[r+2]>0||k[r+3]>0)&&(p=Math.max(g,p),C=Math.max(l,C),u=Math.min(g,u),y=Math.min(l,y))}return[y+1,u+1,C+1,p+1]};return{canvas:f,myBg:G,drawStart:J,drawMove:T,drawEnd:P,generate:_,reset:m,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&f.value){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};J(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};T(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};P(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};J(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};T(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};P(y),b.value=!1}}}});function dk(n,A,t,i,Q,w){return e.openBlock(),e.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...a)=>n.mouseDown&&n.mouseDown(...a)),onMousemove:A[1]||(A[1]=(...a)=>n.mouseMove&&n.mouseMove(...a)),onMouseup:A[2]||(A[2]=(...a)=>n.mouseUp&&n.mouseUp(...a)),onTouchstart:A[3]||(A[3]=(...a)=>n.touchStart&&n.touchStart(...a)),onTouchmove:A[4]||(A[4]=(...a)=>n.touchMove&&n.touchMove(...a)),onTouchend:A[5]||(A[5]=(...a)=>n.touchEnd&&n.touchEnd(...a))},null,544)}const hk=JA(uk,[["render",dk],["__scopeId","data-v-5f3bfcf7"]]),pk={key:0},Bk={class:"vfc-esign-preview"},Ck=["src"],Ek={key:1,class:"vfc-esign"},Qk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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 A=n,t=e.ref(),i=ut(),Q=e.useModel(n,"modelValue"),w={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"}}]},a=e.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},S=()=>{t.value.generate().then(G=>{Q.value=G}).catch(G=>{alert(G)})},f=e.ref(""),N=()=>{f.value=Q.value,Q.value=""};return e.onMounted(()=>{Object.assign(a.value,A)}),(G,K)=>{const J=e.resolveComponent("el-button");return e.unref(i).read||Q.value?(e.openBlock(),e.createElementBlock("div",pk,[e.createElementVNode("div",Bk,[e.createElementVNode("img",{src:Q.value,alt:"未签名"},null,8,Ck)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J,{key:0,disabled:G.disabled,onClick:N,type:"primary"},{default:e.withCtx(()=>K[2]||(K[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",Ek,[e.createVNode(e.unref(Ut),{modelValue:a.value,"onUpdate:modelValue":K[0]||(K[0]=T=>a.value=T),schema:w,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(hk,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:G.width,height:G.height,isCrop:G.isCrop,lineWidth:a.value.lineWidth,lineColor:a.value.lineColor,bgColor:a.value.bgColor,format:G.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[f.value?(e.openBlock(),e.createBlock(J,{key:0,disabled:G.disabled,onClick:K[1]||(K[1]=T=>Q.value=f.value),plain:"",type:"primary"},{default:e.withCtx(()=>K[3]||(K[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(J,{disabled:G.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>K[4]||(K[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode(J,{disabled:G.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>K[5]||(K[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),mk={key:0},Ik=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Radio",props:e.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=f=>{const{valueKey:N="value",name:G}=A;let K={};if(K=b.value.find(J=>J[N]===f)||{},i.selectData&&G&&i.updateSelectData(G,K),A.onChange&&Q)try{Q[A.onChange](w,f,K)}catch(J){console.error(J)}},{currentOptions:b,loading:S}=Bo(A);return(f,N)=>{var _;const G=e.resolveComponent("el-radio"),K=e.resolveComponent("el-radio-button"),J=e.resolveComponent("el-space"),T=e.resolveComponent("el-radio-group"),P=e.resolveDirective("loading");return f.read?(e.openBlock(),e.createElementBlock("div",mk,e.toDisplayString(((_=e.unref(b).find(m=>m[f.valueKey]===t.value))==null?void 0:_[f.labelKey])||"--"),1)):e.withDirectives((e.openBlock(),e.createBlock(T,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m),onChange:a},f.$attrs),{default:e.withCtx(()=>[e.createVNode(J,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:e.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(b),m=>(e.openBlock(),e.createBlock(G,{key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(b),m=>(e.openBlock(),e.createBlock(K,e.mergeProps({key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[P,e.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),fk={class:"vfc-formList"},wk={key:1},Dk={class:"list-item-content"},bk={class:"card-header"},yk={style:{"margin-top":"5px"}},vk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"FormList",props:e.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 A=n,t=e.useModel(n,"modelValue"),i=e.ref(0),Q=ut(),w=G=>zt(A.children,{$item:t.value[G],$index:G}),a=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),S=()=>{a.value||(t.value=[...t.value,{}])},f=G=>{const K=t.value.filter((J,T)=>T!==G);t.value=K},N=(G,K,J,T)=>{const P=K.no,_=w(T)[P];return e.h(Ji,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${T}.${_.name}`})};return e.watch(t,(G,K)=>{const J=G.reduce((m,L,k)=>(Oe.isEqual(L,K[k])||(m=k),m),0);if(i.value=J,!A.children.some(m=>m.change))return;const T=w(J),P=G[J]||{},_=K[J]||{};T.forEach(m=>{m.change&&_&&!Oe.isEqual(P[m.name],_[m.name])&&m.change.forEach(L=>{if(L.condition!==!1){if(Oe.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[J][k]=L.value}})})}),e.onMounted(()=>{var G;A.minLines&&!((G=t.value)!=null&&G.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(G,K)=>{const J=e.resolveComponent("el-space"),T=e.resolveComponent("el-button"),P=e.resolveComponent("el-form-item"),_=e.resolveComponent("el-card"),m=e.resolveComponent("el-table-column"),L=e.resolveComponent("el-table");return e.openBlock(),e.createElementBlock("div",fk,[e.unref(Q).design?(e.openBlock(),e.createBlock(e.unref(gl),{key:0,list:G.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",wk,[G.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(P,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",Dk,[e.createVNode(J,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(y),C=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({ref_for:!0},C,{key:C.label,name:`${G.name}.${y}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),_:2},1024))),128)):e.createCommentVNode("",!0),G.mode==="card"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(_,{key:k.key,class:"list-card"},{header:e.withCtx(()=>[e.createElementVNode("div",bk,[e.createElementVNode("span",null,e.toDisplayString(G.title+(y+1)),1),G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(y),C=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${G.name}.${y}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),G.mode==="table"&&t.value.length?(e.openBlock(),e.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.children,k=>(e.openBlock(),e.createBlock(m,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(Oe.pickBy)(k,Boolean),{formatter:N}),null,16,["prop","label"]))),128)),e.createVNode(m,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:y=>f(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):e.createCommentVNode("",!0),e.createElementVNode("div",yk,[G.allowAdd&&!a.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:G.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(G.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),kk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,t=e.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Sn),{class:"form-item-grid",style:e.normalizeStyle(t.value),list:i.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),_k=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{}},setup(n){const A=n,t=e.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"align-items":A.alignItems,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`}));return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Sn),{class:"form-item-inline",style:e.normalizeStyle(t.value),list:i.children},null,8,["style","list"]))}}),[["__scopeId","data-v-f8a9c0a8"]])},Symbol.toStringTag,{value:"Module"})),Mk={key:0},Sk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");ut();const t=i=>{["E","e","+","-"].includes(i.key)&&i.preventDefault()};return(i,Q)=>{const w=e.resolveComponent("el-input-number");return i.read?(e.openBlock(),e.createElementBlock("span",Mk,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(i.precision||0).replace(".",","):"--"),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=a=>A.value=a),style:{width:"100%"},min:i.min||0,onKeydown:t}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),xk={key:0},Nk={style:{"min-height":"32px"}},Fk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Select",props:e.mergeModels({options:{default:()=>[]},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},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=N=>{const{valueKey:G="value",multiple:K,name:J}=A;let T={};if(K&&Array.isArray(N)?T=b.value.filter(P=>N.includes(P[G])):T=b.value.find(P=>P[G]===N)||{},i.selectData&&J&&i.updateSelectData(J,T),A.onChange&&Q)try{Q[A.onChange](w,N,T)}catch(P){console.error(P)}},{currentOptions:b,loading:S}=Bo(A),f=e.computed(()=>{var G;if(A.multiple)return b.value.filter(J=>t.value.includes(J[A.valueKey])).map(J=>J[A.labelKey]).join(",");const N=(G=b.value.find(K=>K[A.valueKey]===t.value))==null?void 0:G[A.labelKey];return!N||`${N}`.trim().length===0?"--":N});return(N,G)=>{const K=e.resolveComponent("el-option"),J=e.resolveComponent("el-select"),T=e.resolveDirective("loading");return N.read?(e.openBlock(),e.createElementBlock("span",xk,e.toDisplayString(f.value),1)):(e.openBlock(),e.createBlock(J,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=P=>t.value=P)},N.$attrs,{onChange:a,multiple:N.multiple,clearable:"",filterable:"","fallback-placements":["bottom"]}),{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Nk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b),P=>(e.openBlock(),e.createBlock(K,{key:P[N.valueKey],label:P[N.labelKey],value:P[N.valueKey],disabled:P[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])),[[T,e.unref(S)]])]),_:1},16,["modelValue","multiple"]))}}})},Symbol.toStringTag,{value:"Module"})),Rk={key:0},Lk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(""),Q=e.computed({get(){var w;return(w=t.value)==null?void 0:w.replaceAll(i.value,"")},set(w){w?t.value=w+i.value:t.value=w}});return e.watch(i,(w,a)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(a,""))+w)}),e.onMounted(()=>{A.selectInitialValue&&(i.value=A.selectInitialValue)}),(w,a)=>{const b=e.resolveComponent("el-option"),S=e.resolveComponent("el-select"),f=e.resolveComponent("el-input");return w.read?(e.openBlock(),e.createElementBlock("span",Rk,e.toDisplayString(Q.value||"--"),1)):(e.openBlock(),e.createBlock(f,e.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},w.$attrs,{modelValue:Q.value,"onUpdate:modelValue":a[1]||(a[1]=N=>Q.value=N)}),{[w.selectPosition]:e.withCtx(()=>[e.createVNode(S,{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=N=>i.value=N),style:e.normalizeStyle({width:w.selectWidth+"px"}),placeholder:" "},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.options,N=>(e.openBlock(),e.createBlock(b,{label:N.label,value:N.value,disabled:N.disabled,key:N.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),Gk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=ut(),t=e.useModel(n,"modelValue");return(i,Q)=>{const w=e.resolveComponent("el-switch");return e.openBlock(),e.createBlock(w,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=a=>t.value=a),disabled:e.unref(A).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Hk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-tag");return e.openBlock(),e.createBlock(i,{type:A.type},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),Pk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(A.$attrs)),e.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),Gd=e.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,t)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.type),{class:"Title",style:e.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),Kk=Object.freeze(Object.defineProperty({__proto__:null,default:Gd},Symbol.toStringTag,{value:"Module"})),Uk={key:0,style:{"min-width":"300px"}},Tk={class:"el-upload__tip"},Yk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=(a,b)=>{console.log(a,b)},i=a=>{console.log(a)},Q=(a,b)=>{Mt.ElMessage.warning(`The limit is 3, you selected ${a.length} files this time, add up to ${a.length+b.length} totally`)},w=(a,b)=>Mt.ElMessageBox.confirm(`Cancel the transfer of ${a.name} ?`).then(()=>!0,()=>!1);return(a,b)=>{const S=e.resolveComponent("el-button"),f=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(f,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=N=>A.value=N),action:a.action,multiple:a.multiple,limit:a.limit,drag:a.drag,name:a.name,listType:a.listType,"on-preview":i,"on-remove":t,"before-remove":w,"on-exceed":Q},e.createSlots({default:e.withCtx(()=>[a.listType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a.drag?(e.openBlock(),e.createElementBlock("div",Uk,[e.createVNode(e.unref(te),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=e.createElementVNode("div",{class:"el-upload__text"},[e.createTextVNode(" 拖拽文件到此处上传 "),e.createElementVNode("br"),e.createTextVNode(" 或"),e.createElementVNode("em",null,"点击上传")],-1))])):(e.openBlock(),e.createBlock(S,{key:1,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.btnText),1)]),_:1}))],64)):e.createCommentVNode("",!0),a.listType==="picture-card"?(e.openBlock(),e.createBlock(e.unref(te),{key:1,name:"add"})):e.createCommentVNode("",!0)]),_:2},[a.tip?{name:"tip",fn:e.withCtx(()=>[e.createElementVNode("div",Tk,e.toDisplayString(a.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function Ok(){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 bt(n,A){return Math.floor(Math.random()*(A-n)+n)}function nr(n,A){const t=bt(n,A),i=bt(n,A),Q=bt(n,A);return`rgb(${t},${i},${Q})`}class $k{constructor(A,t){Ze(this,"version","1.0.0");Ze(this,"options");Ze(this,"_init",()=>{const A=this.options.element;if(!A)return;const t=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.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",A.appendChild(t),t.onclick=()=>{this.refresh()}});Ze(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const t=A.getContext("2d");t.textBaseline="middle",t.fillStyle=nr(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 Q=1;Q<=4;Q++){const w=i[bt(0,i.length)];this.options.code+=w,t.font=`${bt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=nr(50,160),t.shadowOffsetX=bt(-3,3),t.shadowOffsetY=bt(-3,3),t.shadowBlur=bt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const a=parseInt(this.options.width)/5*Q,b=parseInt(this.options.height)/2,S=bt(-30,30);t.translate(a,b),t.rotate(S*Math.PI/180),t.fillText(w,0,0),t.rotate(-S*Math.PI/180),t.translate(-a,-b)}for(let Q=0;Q<4;Q++)t.strokeStyle=nr(40,180),t.beginPath(),t.moveTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),t.lineTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),t.stroke();for(let Q=0;Q<parseInt(this.options.width)/4;Q++)t.fillStyle=nr(0,255),t.beginPath(),t.arc(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Ze(this,"validate",A=>{const t=A.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:Ok(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const Jk={class:"vfc-verify-code"},Zk=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Component",props:e.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(null),i=e.ref(null),Q=ut(),w=()=>{var b;if(!A.value)return;const a=(b=i.value)==null?void 0:b.validate(A.value);console.log("res",a),a?Q.updateVCodePass(!0):Q.updateVCodePass(!1)};return e.onMounted(()=>{i.value=new $k(t.value)}),(a,b)=>{const S=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",Jk,[e.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=f=>A.value=f),class:"verify-input",placeholder:a.placeholder,onBlur:w},null,8,["modelValue","placeholder"]),e.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),zk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,t=e.ref([]);return e.onMounted(()=>{t.value=A.children.filter(i=>i.checked).map(i=>i.name)}),e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),(i,Q)=>{const w=e.resolveComponent("ElCollapseItem"),a=e.resolveComponent("ElCollapse");return e.openBlock(),e.createBlock(a,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(w,{key:b.name,name:b.name},{title:e.withCtx(()=>[e.createVNode(Gd,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Wk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,t=e.ref("");return e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),e.onMounted(()=>{A.defaultKey&&(t.value=A.defaultKey)}),(i,Q)=>{const w=e.resolveComponent("el-tab-pane"),a=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(a,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(w,e.mergeProps({key:b.name,ref_for:!0},b),{default:e.withCtx(()=>[e.createVNode(e.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),jk={class:"vfc-ObjGroup"},qk={key:1,class:"vfc-ObjGroup-render"},Xk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=ut(),i=e.inject("$objGroupBase"),Q=i?`${i.value}.${A.name}`:A.name;return e.provide("$objGroupBase",e.ref(Q)),(w,a)=>(e.openBlock(),e.createElementBlock("div",jk,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(gl),{key:0,list:w.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",qk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.children,b=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({key:b.name,ref_for:!0},b,{name:`${e.unref(Q)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),Vk={key:0},A_={key:0},e_={key:1},t_={key:1,class:"search-select-wrapper"},n_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"SearchSelect",props:e.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=N=>{const{valueKey:G="value",multiple:K,name:J}=A;let T={};if(K&&Array.isArray(N)?T=S.value.filter(P=>N.includes(P[G])):T=S.value.find(P=>P[G]===N)||{},i.selectData&&J&&i.updateSelectData(J,T),A.onChange&&Q)try{Q[A.onChange](w,N,T)}catch(P){console.error(P)}},b=()=>{if(A.onSearch&&Q)try{Q[A.onSearch](w)}catch(N){console.error(N)}},{currentOptions:S,loading:f}=Bo(A);return(N,G)=>{var _;const K=e.resolveComponent("el-option"),J=e.resolveComponent("el-select"),T=e.resolveComponent("el-button"),P=e.resolveDirective("loading");return N.read?(e.openBlock(),e.createElementBlock("div",Vk,[N.multiple?(e.openBlock(),e.createElementBlock("div",A_,e.toDisplayString(t.value&&t.value.map(m=>{var L;return(L=e.unref(S).find(k=>k[N.valueKey]===m))==null?void 0:L[N.labelKey]}).join("、")),1)):(e.openBlock(),e.createElementBlock("div",e_,e.toDisplayString(((_=e.unref(S).find(m=>m[N.valueKey]===t.value))==null?void 0:_[N.labelKey])||"--"),1))])):(e.openBlock(),e.createElementBlock("div",t_,[e.withDirectives((e.openBlock(),e.createBlock(J,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=m=>t.value=m)},N.$attrs,{onChange:a,multiple:N.multiple,clearable:"",filterable:"",disabled:N.disabled}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(S),m=>(e.openBlock(),e.createBlock(K,{key:m[N.valueKey],label:m[N.labelKey],value:m[N.valueKey],disabled:m[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[P,e.unref(f)]]),e.createVNode(T,{onClick:b,disabled:N.disabled,class:"search-btn"},{default:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-da2bde35"]])},Symbol.toStringTag,{value:"Module"})),i_={class:"custom-tree-node"},o_={class:"tree-node-text"},s_={class:"tree-node-label"},r_={key:0,class:"tree-node-present"},a_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.ref(),w=(N,G)=>{Q.value=N[A.nodeKey]},a=(N,G,K)=>{if(t)try{t[N](i,{node:G,data:K})}catch(J){console.error(J)}},b=(N,G)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:N,data:G})}catch(K){console.error(K)}},S=(N,G,K)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:N,resolve:G,reject:K})}catch(J){console.error(J)}},f=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const G=[A.data[0][A.nodeKey]];f.value=G},{immediate:!0}),(N,G)=>{const K=e.resolveComponent("el-tooltip"),J=e.resolveComponent("el-button"),T=e.resolveComponent("el-tree");return e.openBlock(),e.createBlock(T,e.mergeProps(N.$attrs,{onNodeClick:b,load:S,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":Q.value,onCurrentChange:w,"node-key":N.nodeKey,props:A.props,data:N.data,"default-expanded-keys":f.value}),{default:e.withCtx(({node:P,data:_})=>[e.createElementVNode("div",i_,[e.createElementVNode("div",o_,[e.createElementVNode("span",s_,e.toDisplayString(P.label),1),_[N.nodeKey]===Q.value?(e.openBlock(),e.createElementBlock("div",r_,"Present")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.btns,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.key},[e.unref(zt)(m.hidden,{$node:P,$data:_})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J,{key:0,link:"",onClick:e.withModifiers(L=>a(m.onClick,P,_),["stop"]),disabled:m.disabled,type:m.type},{default:e.withCtx(()=>[e.createVNode(K,{class:"box-item",effect:"dark",content:m.text,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[m.icon?(e.openBlock(),e.createBlock($e,{key:0,name:m.icon.name,color:m.icon.color,class:"btn-icon"},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-042fe6cd"]])},Symbol.toStringTag,{value:"Module"})),l_={class:"empty-content"},c_=["title"],g_=["title","onClick"],u_=["title"],d_={class:"row-btn-wrapper"},h_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.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:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{}},setup(n,{expose:A}){const t=n,i=e.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),Q=e.inject("ruleModule",void 0),w=e.inject("ruleMap",void 0),a=e.computed(()=>t.rulePath&&w[t.rulePath]?w[t.rulePath]:Q),b=e.inject("pageMethodMap",{}),S=e.inject("getGlobalParams",()=>{}),f=e.inject(gn),N=f?f.translateFn:null,G=e.ref(),K=(V,tA,cA)=>{j.value[V]&&(j.value[V][tA]=cA)},J=(V,tA)=>{const cA=t.columns.find(sA=>sA.key===V);cA&&(cA.hidden=!tA)},T=(V,tA,cA)=>{try{a.value[V.onClick](b,tA,cA)}catch(sA){console.error(sA)}},P=V=>{if(t.rowClick)try{a.value[t.rowClick](b,V)}catch(tA){console.error(tA)}},_=V=>{if(t.rowDbClick)try{a.value[t.rowDbClick](b,V)}catch(tA){console.error(tA)}},m=e.ref([]),L=V=>{m.value=V},k=()=>{var V;(V=G.value)==null||V.clearSelection()},y=()=>j.value,C=e.ref(),u=V=>{if(C.value=V,!!t.handleCurrentChange)try{a.value[t.handleCurrentChange](b,V)}catch(tA){console.error(tA)}},p=()=>C.value,l=()=>{var V;return(V=G.value)==null?void 0:V.getSelectionRows()},g=async()=>!0,r=(V,tA)=>{var sA;const cA=(sA=t.topBtns)==null?void 0:sA.find(hA=>hA.key===V);cA&&(cA.hidden=tA)},d=(V,tA)=>{var sA;const cA=(sA=t.rowBtns)==null?void 0:sA.find(hA=>hA.key===V);cA&&(cA.condition=!tA)},h=e.ref(0),s=V=>{h.value=V},o=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),B=()=>o.value,E=V=>{let tA=!1;return V.pageNum>-1&&(o.value.pageNum!==V.pageNum&&(tA=!0),o.value.pageNum=V.pageNum),V.pageSize>-1&&(o.value.pageSize!==V.pageSize&&(tA=!0),o.value.pageSize=V.pageSize),{pagination:o.value,isChange:tA}},M=V=>{if(o.value.pageNum=1,o.value.pageSize=V,!!t.sizeChange)try{a.value[t.sizeChange](b,o.value)}catch(tA){console.error(tA)}},D=V=>{if(o.value.pageNum=V,!!t.pageChange)try{a.value[t.pageChange](b,o.value)}catch(tA){console.error(tA)}},x=V=>{var tA;(tA=G.value)==null||tA.setCurrentRow(V)},R=V=>{var tA;(tA=G.value)==null||tA.setCurrentRow(j.value[V])},$=(V,tA,cA)=>{t.columns.forEach(sA=>{sA.key===V&&sA[tA]&&(sA[tA]=cA)})},j=e.ref([]),Z=V=>{j.value=V},Y=(V={})=>{j.value.push(V)},q=V=>{V>=0&&V<j.value.length&&j.value.splice(V,1)},v=async()=>{j.value=[...j.value]},W=e.useTemplateRef("rootRef"),F=e.readonly({...e.toRefs(t),setCellData:K,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:l,addRow:Y,deleteRow:q,refresh:v,validate:g,setData:Z,selectRow:x,selectRowNum:R,setTotal:s,getPagination:B,setPagination:E,setTopBtnHidden:r,setColVisible:J,setColumn:$,setRowsBtnHidden:d,rootRef:W,type:"table"}),X=(V,tA)=>{const cA=N?N(V.key,tA):tA[V.key];if(!V.encrypted||!cA)return cA;const sA=`${cA}`;return sA.length<=4?"*".repeat(sA.length):sA.slice(0,-4)+"****"},nA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!j.value||j.value.length===0?!1:j.value.some(V=>{var tA;return(tA=t.rowBtns)==null?void 0:tA.some(cA=>cA.condition===void 0||cA.condition===null?!0:zt(cA.condition,{$row:V,$globalParams:S()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!a.value)return;await e.nextTick();const V=t.onMounted;try{a.value[V](b)}catch(tA){console.error(tA)}}),e.onActivated(()=>{if(!t.onActivated||!a.value)return;const V=t.onActivated;try{a.value[V](b)}catch(tA){console.error(tA)}}),t.name){const V=fv(t.name,F);e.onUnmounted(()=>{V()})}return A(F),(V,tA)=>{const cA=e.resolveComponent("el-table-column"),sA=e.resolveComponent("el-tooltip"),hA=e.resolveComponent("el-button"),z=e.resolveComponent("el-pagination");return V.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:W},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:G,data:j.value,"highlight-current-row":"","row-key":V.rowKey,stripe:V.stripe,"show-overflow-tooltip":"",onRowClick:P,onRowDblclick:_,onSelectionChange:L,onCurrentChange:u,height:V.height},{empty:e.withCtx(()=>[e.createElementVNode("div",l_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),tA[2]||(tA[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[V.multipleSelection?(e.openBlock(),e.createBlock(cA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.columns,iA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:iA.key},[iA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(cA,{key:0,prop:iA.key,"min-width":iA.minWidth,fixed:iA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:iA.label},e.toDisplayString(iA.label),9,c_)]),default:e.withCtx(({row:oA,$index:rA})=>[iA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:X(iA,oA),onClick:U=>T(iA,oA,rA)},e.toDisplayString(X(iA,oA)),9,g_)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(iA,oA)},e.toDisplayString(X(iA,oA)),9,u_))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),nA.value&&V.rowBtns&&V.rowBtns.length>0?(e.openBlock(),e.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left",width:V.rowBtns.length*34+12>100?V.rowBtns.length*34+12:100},{default:e.withCtx(({row:iA,$index:oA})=>[e.createElementVNode("div",d_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.rowBtns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||e.unref(zt)(rA.condition,{$row:iA,$globalParams:e.unref(S)()})?(e.openBlock(),e.createBlock(hA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:e.withModifiers(U=>T(rA,iA,oA),["stop"])},{default:e.withCtx(()=>[e.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[rA.icon?(e.openBlock(),e.createBlock($e,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps({data:j.value},t,{getColText:X}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(V.hiddenPagination||j.value.length===0)&&!V.height,transparentPagination:(V.hiddenPagination||j.value.length===0)&&V.height,cardlistPadding:i.value==="card"}])},[e.createVNode(z,{layout:"total,sizes, prev, pager, next,jumper",total:h.value,"page-sizes":V.pageSizes||[5,10,20,30,40],"default-page-size":V.defaultPageSize,"current-page":o.value.pageNum,"onUpdate:currentPage":tA[0]||(tA[0]=iA=>o.value.pageNum=iA),"page-size":o.value.pageSize,"onUpdate:pageSize":tA[1]||(tA[1]=iA=>o.value.pageSize=iA),"pager-count":V.pagerCount,onSizeChange:M,onCurrentChange:D},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2))}}}),[["__scopeId","data-v-5c3ce645"]])},Symbol.toStringTag,{value:"Module"})),p_={class:"crm-curd-card"},B_={class:"left-part"},C_={class:"title"},E_={class:"right-part"},Q_={key:0,class:"switch-panel"},m_={key:2},I_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"CurdCard",props:{name:{},children:{},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=n,Q=e.ref("1"),w=K=>{if(K&&A)try{A[K](t)}catch(J){console.error(J)}},a=K=>{i.onRadioChange&&A&&A[i.onRadioChange](t,K)},b=()=>{S.value=!S.value,i.onCollapsed&&A&&A[i.onCollapsed](t,S.value)},S=e.ref(!1),f=e.ref(i.displayType||(i.typeSwitch?"card":"table")),N=ut(),G=K=>{f.value=K;const J=is(N.schema.items,i.name),T=P=>{P.forEach(_=>{_.component==="Table"&&_.props&&(_.props.displayType=K),_.children&&_.children.length>0&&T(_.children)})};J&&J.children&&T(J.children)};return G(f.value),(K,J)=>{const T=e.resolveComponent("el-radio"),P=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-tooltip"),m=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",p_,[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:K.type==="inline",mix:K.type==="mix",default:K.type==="default",collapsedPadding:S.value&&K.onCollapsed}])},[e.createElementVNode("div",B_,[K.mainIcon?(e.openBlock(),e.createBlock($e,{key:0,class:"title-icon",size:"large",name:K.mainIcon.name,color:K.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",C_,e.toDisplayString(K.title),1),K.radioList?(e.openBlock(),e.createBlock(P,{key:1,class:"ml-9",modelValue:Q.value,"onUpdate:modelValue":J[0]||(J[0]=L=>Q.value=L),onChange:J[1]||(J[1]=L=>a(Q.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.radioList,L=>(e.openBlock(),e.createBlock(T,{value:L.value,key:L.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.extraIcons,L=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L.name},[L.tips?(e.openBlock(),e.createBlock(_,{key:0,content:L.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode($e,{class:"extra-icon",name:L.name,color:L.color,onClick:k=>w(L.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,class:"extra-icon",name:L.name,color:L.color,onClick:k=>w(L.onClick)},null,8,["name","color","onClick"]))],64))),128))]),e.createElementVNode("div",E_,[K.typeSwitch?(e.openBlock(),e.createElementBlock("div",Q_,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:f.value==="card"}]),onClick:J[2]||(J[2]=L=>G("card"))},[e.createVNode($e,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:f.value==="table"}]),onClick:J[3]||(J[3]=L=>G("table"))},[e.createVNode($e,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),K.collapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:S.value}]),onClick:b},[e.createVNode($e,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),K.btns&&K.btns.length>0?(e.openBlock(),e.createElementBlock("div",m_,[e.createVNode(e.unref(Zi),{btns:K.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),K.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Sn),{key:1,list:K.children},null,8,["list"])):(e.openBlock(),e.createBlock(m,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Sn),{list:K.children},null,8,["list"])],512),[[e.vShow,!S.value]])]),_:1}))])}}}),[["__scopeId","data-v-63947b56"]])},Symbol.toStringTag,{value:"Module"})),f_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(A.style)},[e.createVNode(i,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass({normal:A.type==="normal"})},[e.createVNode(e.unref(Sn),{list:A.children},null,8,["list"])],2),[[e.vShow,!A.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-78b03d5f"]])},Symbol.toStringTag,{value:"Module"})),w_={class:"content"},D_={class:"product-list"},b_={class:"attribute-list"},y_={key:0,class:"attribute-list-item"},v_={class:"product-title attribute-title"},k_={class:"attribute-item-list"},__={class:"attribute-label"},M_={class:"attribute-value"},S_=e.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:e.withCtx(()=>[e.createVNode(Ug,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",w_,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",D_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,Q=>(e.openBlock(),e.createElementBlock("div",{class:"product-item",key:Q.label},e.toDisplayString(Q.label),1))),128))]),e.createElementVNode("div",b_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.label},[Q.children.length>0?(e.openBlock(),e.createElementBlock("div",y_,[e.createElementVNode("div",v_,e.toDisplayString(Q.label),1),e.createElementVNode("div",k_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.children,w=>(e.openBlock(),e.createElementBlock("div",{class:"attribute-item",key:w.label},[e.createElementVNode("div",__,e.toDisplayString(w.label),1),e.createElementVNode("div",M_,e.toDisplayString(w.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),x_={key:0,class:"empty-content"},N_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.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:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var G,K;const A=n,t=e.ref(),i=e.ref([]),Q=(G=A.columns.find(J=>J.position==="title"))==null?void 0:G.key,w=(K=A.columns.find(J=>J.position==="subTitle"))==null?void 0:K.key,a=A.columns.find(J=>J.position==="footer"),b=J=>{const T=[];return J.children&&J.children.length>0&&J.children.forEach(P=>{const _={label:P.PRODUCT_ITEM_NAME,children:[]};P.children&&P.children.length>0&&P.children.forEach(m=>{_.children.push({label:m.PRODUCT_ITEM_NAME,value:m.ACTION})}),T.push(_)}),T};function S(J){const T={},P=[];return J.forEach(_=>{T[_.PRODUCT_ITEM_ID]={..._,children:[]}}),J.forEach(_=>{const m=T[_.PRODUCT_ITEM_ID],L=_.PARENT_PRODUCT_ITEM_ID;L===0||!T[L]?P.push(m):T[L].children.push(m)}),P}const f=e.inject(gn),N=f?f.translateFn:null;return e.watchEffect(()=>{if(A.data){const J=S(A.data);t.value=J.map(T=>{const P={content:[]};return Q&&(P.title=N?N(Q,T):T[Q],P.titleColor="#18AAF8"),w&&(P.subTitle=N?N(w,T):T[w]),a&&(P.footer={icon:a.footerIcon||"icon-tishi",text:`${a.label}: ${N?N(a.key,T):T[a.key]}`}),T.children&&(P.product=b(T)),A.columns.forEach(_=>{_.position==="content"&&P.content.push({label:_.label,value:N?N(_.key,T):T[_.key]})}),P})}}),e.onMounted(()=>{var J;i.value=(J=A.rowBtns)==null?void 0:J.map(T=>({icon:T.icon&&T.icon.name?T.icon.name:"icon-tishi",label:T.label,onClick:T.onClick}))}),(J,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":J.gridColumns,"--gap":J.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(P,_)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:_},[e.createVNode(S_,{data:P,btns:i.value,index:_},null,8,["data","btns","index"])]))),128))],4),!J.data||J.data.length===0?(e.openBlock(),e.createElementBlock("div",x_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),T[0]||(T[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-09844ac4"]])},Symbol.toStringTag,{value:"Module"})),F_={class:"progress"},R_={class:"timeline-content"},L_={class:"timeline-content__title"},G_={key:0,class:"empty-content"},H_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-timeline-item"),Q=e.resolveComponent("el-timeline");return e.openBlock(),e.createElementBlock("div",F_,[e.createVNode(Q,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data,(w,a)=>(e.openBlock(),e.createBlock(i,{key:a,size:"large"},{dot:e.withCtx(()=>[e.createVNode($e,{name:w.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",R_,[e.createElementVNode("div",L_,[e.createElementVNode("span",null,e.toDisplayString(w.title),1),e.createElementVNode("span",null,e.toDisplayString(w.timestamp),1)]),e.createTextVNode(" "+e.toDisplayString(w.content),1)])]),_:2},1024))),128))]),_:1}),!A.data||A.data.length===0?(e.openBlock(),e.createElementBlock("div",G_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),P_={class:"log-list"},K_={class:"title-part"},U_={class:"title"},T_={class:"sub-title"},Y_={class:"content"},O_={key:0},$_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",P_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.content,i=>{var Q;return e.openBlock(),e.createElementBlock("div",{class:"log-list-item",key:i.id},[e.createElementVNode("div",{class:"left-bar",style:e.normalizeStyle({backgroundColor:i.color})},null,4),e.createElementVNode("div",K_,[e.createElementVNode("div",{class:"circle",style:e.normalizeStyle({backgroundColor:i.color})},e.toDisplayString((Q=i.title)==null?void 0:Q[0]),5),e.createElementVNode("div",U_,e.toDisplayString(i.title),1),e.createElementVNode("div",T_,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",Y_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.content,(w,a)=>(e.openBlock(),e.createElementBlock("span",{key:a,class:e.normalizeClass({bold:w.style==="bold",normal:w.style==="normal"})},[e.createTextVNode(e.toDisplayString(w.text),1),a!==i.content.length-1?(e.openBlock(),e.createElementBlock("span",O_," ")):e.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"}));ot.$options=gn,ot.FormDesign=Rd,ot.FormRender=Ut,ot.PageRender=dl,ot.TableRender=ul,ot.default=T1,ot.useFormInstance=ut,Object.defineProperties(ot,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1579
|
+
]`)}}else XA&&(NA=LA(NA,","));for(;DA.charCodeAt(QA)===J||DA.charCodeAt(QA)===P;)QA++,Ce();if(QA>=DA.length)return NA;throw new S("Unexpected character "+JSON.stringify(DA[QA]),QA);function re(){Ce();var TA=function(){if(DA.charCodeAt(QA)!==K)return!1;{NA+="{",QA++,Ce(),GA(o)&&Ce();let ht=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==J;){if(ht?ht=!1:(SA(o)||(NA=WA(NA,",")),Ce()),ZA(),!(OA()||pA())){DA.charCodeAt(QA)===J||DA.charCodeAt(QA)===K||DA.charCodeAt(QA)===P||DA.charCodeAt(QA)===T||DA[QA]===void 0?NA=LA(NA,","):function(){throw new S("Object key expected",QA)}();break}Ce();var YA=SA(E),ge=QA>=DA.length,Le=(YA||(rA(DA[QA])||ge?NA=WA(NA,":"):ne()),re());Le||(YA||ge?NA+="null":ne())}return DA.charCodeAt(QA)===J?(NA+="}",QA++):NA=WA(NA,"}"),!0}}()||function(){if(DA.charCodeAt(QA)!==T)return!1;{NA+="[",QA++,Ce(),GA(o)&&Ce();let ge=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==P;){ge?ge=!1:SA(o)||(NA=WA(NA,",")),ZA();var YA=re();if(!YA){NA=LA(NA,",");break}}return DA.charCodeAt(QA)===P?(NA+="]",QA++):NA=WA(NA,"]"),!0}}()||OA()||function(){var YA=QA;if(DA.charCodeAt(QA)===r){if(QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1}for(;z(DA.charCodeAt(QA));)QA++;if(DA.charCodeAt(QA)===B){if(QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1;for(;z(DA.charCodeAt(QA));)QA++}if(DA.charCodeAt(QA)===$||DA.charCodeAt(QA)===R){if(QA++,DA.charCodeAt(QA)!==r&&DA.charCodeAt(QA)!==g||QA++,vA())return KA(YA),!0;if(!z(DA.charCodeAt(QA)))return QA=YA,!1;for(;z(DA.charCodeAt(QA));)QA++}var ge,Le;if(vA()){if(QA>YA)return ge=DA.slice(YA,QA),Le=/^0\d/.test(ge),NA+=Le?'"'.concat(ge,'"'):ge,!0}else QA=YA;return!1}()||ce("true","true")||ce("false","false")||ce("null","null")||ce("True","true")||ce("False","false")||ce("None","null")||pA();return Ce(),TA}function Ce(){for(kA();function(){if(DA.charCodeAt(QA)===N&&DA.charCodeAt(QA+1)===G){for(;QA<DA.length&&!function(TA,YA){return TA[YA]==="*"&&TA[YA+1]==="/"}(DA,QA);)QA++;QA+=2}else{if(DA.charCodeAt(QA)!==N||DA.charCodeAt(QA+1)!==N)return!1;for(;QA<DA.length&&DA.charCodeAt(QA)!==k;)QA++}return!0}()&&kA(););}function kA(){let TA="";for(var YA,ge;(YA=O(DA.charCodeAt(QA)))||(ge=DA.charCodeAt(QA))===Y||ge>=q&&ge<=v||ge===W||ge===F||ge===X;)TA+=YA?DA[QA]:" ",QA++;return 0<TA.length&&(NA+=TA,!0)}function SA(TA){return DA.charCodeAt(QA)===TA&&(NA+=DA[QA],QA++,!0)}function GA(TA){return DA.charCodeAt(QA)===TA&&(QA++,!0)}function ZA(){Ce(),DA.charCodeAt(QA)===B&&DA.charCodeAt(QA+1)===B&&DA.charCodeAt(QA+2)===B&&(QA+=3,Ce(),GA(o))}function OA(TA){var YA,ge,Le=0<arguments.length&&TA!==void 0&&TA;let ht=DA.charCodeAt(QA)===f;if(ht&&(QA++,ht=!0),AA(DA.charCodeAt(QA))){var EA=dA(DA.charCodeAt(QA))?dA:FA(DA.charCodeAt(QA))?FA:wA(DA.charCodeAt(QA))?wA:aA,BA=QA,fA=NA.length;let le='"';for(QA++;;){if(QA>=DA.length)return MA=mA(QA-1),!Le&&iA(DA.charAt(MA))?(QA=BA,NA=NA.substring(0,fA),OA(!0)):(le=WA(le,'"'),NA+=le,!0);if(EA(DA.charCodeAt(QA))){var MA=QA,_A=le.length;if(le+='"',QA++,NA+=le,Ce(),Le||QA>=DA.length||iA(DA.charAt(QA))||AA(DA.charCodeAt(QA))||z(DA.charCodeAt(QA)))return VA(),!0;if(iA(DA.charAt(mA(MA-1))))return QA=BA,NA=NA.substring(0,fA),OA(!0);NA=NA.substring(0,fA),QA=MA+1,le=le.substring(0,_A)+"\\"+le.substring(_A)}else{if(Le&&iA(DA[QA]))return le=WA(le,'"'),NA+=le,VA(),!0;if(DA.charCodeAt(QA)===f)if(_A=DA.charAt(QA+1),ee[_A]!==void 0)le+=DA.slice(QA,QA+2),QA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ge=DA.charCodeAt(QA+xe))>=h&&ge<=s||ge>=D&&ge<=j||ge>=x&&ge<=Z);)xe++;if(xe===6)le+=DA.slice(QA,QA+6),QA+=6;else{if(!(QA+xe>=DA.length))throw oe=void 0,oe=DA.slice(QA,QA+6),new S('Invalid unicode character "'.concat(oe,'"'),QA);QA=DA.length}}else le+=_A,QA+=2;else{var oe=DA.charAt(QA),se=DA.charCodeAt(QA);if(se===l&&DA.charCodeAt(QA-1)!==f)le+="\\"+oe;else if((YA=se)===k||YA===C||YA===y||YA===u||YA===p)le+=jA[oe];else{if(!(32<=(YA=se)&&YA<=1114111))throw se=void 0,se=oe,new S("Invalid character "+JSON.stringify(se),QA);le+=oe}QA++}}ht&&GA(f)}}return!1}function VA(){for(Ce();DA.charCodeAt(QA)===g;){QA++,Ce();var TA=(NA=LA(NA,'"',!0)).length,YA=OA();NA=YA?(YA=NA,TA=TA,ge=1,YA.substring(0,TA)+YA.substring(TA+ge)):WA(NA,'"')}var ge}function ce(TA,YA){return DA.slice(QA,QA+TA.length)===TA&&(NA+=YA,QA+=TA.length,!0)}function pA(){for(var TA,YA=QA;QA<DA.length&&(!iA(TA=DA[QA])||TA==="/")&&!AA(DA.charCodeAt(QA));)QA++;if(QA>YA){if(DA.charCodeAt(QA)===_&&/^\w+$/.test(DA.slice(YA,QA).trim()))QA++,re(),DA.charCodeAt(QA)===m&&(QA++,DA.charCodeAt(QA)===M)&&QA++;else{for(;O(DA.charCodeAt(QA-1))&&0<QA;)QA--;YA=DA.slice(YA,QA),NA+=YA==="undefined"?"null":JSON.stringify(YA),DA.charCodeAt(QA)===l&&QA++}return!0}}function mA(TA){let YA=TA;for(;0<YA&&O(DA.charCodeAt(YA));)YA--;return YA}function vA(){return QA>=DA.length||iA(DA[QA])||O(DA.charCodeAt(QA))}function KA(TA){NA+=DA.slice(TA,QA)+"0"}function ne(){throw new S("Colon expected",QA)}}},3420:function(w){w.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(w){w.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(w){w.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(w){w.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}')}},Q={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(w){var a=w&&w.__esModule?function(){return w.default}:function(){return w};return t.d(a,{a}),a},t.d=function(w,a){for(var b in a)t.o(a,b)&&!t.o(w,b)&&Object.defineProperty(w,b,{enumerable:!0,get:a[b]})},t.o=function(w,a){return Object.prototype.hasOwnProperty.call(w,a)},t.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},t.nmd=function(w){return w.paths=[],w.children||(w.children=[]),w},t(1346);function t(w){var a=Q[w];return a!==void 0||(a=Q[w]={id:w,loaded:!1,exports:{}},i[w].call(a.exports,a,a.exports,t),a.loaded=!0),a.exports}var i,Q})})(Ld);var j1=Ld.exports;const q1=oB(j1),X1={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:A,options:t}=this,i=()=>{const K=T=>{this.json=T,this.$emit("update:modelValue",T),this.$emit("change",T),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const T=this.editor.get();K(T)}catch{}},Q=()=>{this.expandAll()},w=(K,J,T)=>{this.$emit("textSelectionChange",this.editor,K,J,T)},a=(K,J)=>{this.$emit("selectionChange",this.editor,K,J)},b=(K,J,T)=>{this.$emit("colorPicker",this.editor,K,J,T)},S=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},N=K=>{this.$emit("validationError",this.editor,K)},G={...t,indentation:2,language:this.language,mode:n,modes:A,onChange:i,onModeChange:Q,onTextSelectionChange:w,onSelectionChange:a,onColorPicker:b,onFocus:S,onBlur:f,onValidationError:N};this.editor=new q1(this.$refs.jsonEditorVue,G,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},V1={ref:"jsonEditorVue",class:"json-editor-vue"};function Ak(n,A,t,i,Q,w){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["container",{"full-screen-container":Q.isFullScreen}])},[e.createElementVNode("div",V1,null,512),e.createElementVNode("div",{class:e.normalizeClass(["full-screen",{show:Q.showFullScreen,right:!Q.hasLogo}]),onClick:A[0]||(A[0]=(...a)=>w.toggleFullScreen&&w.toggleFullScreen(...a))},null,2)],2)}const ek=JA(X1,[["render",Ak],["__scopeId","data-v-c53d52f1"]]),tk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:e.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>(e.openBlock(),e.createBlock(e.unref(Hw),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:e.withCtx(()=>[e.createVNode(ek,e.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=Q=>A.value=Q),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"})),nk={key:0},ik=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Checkbox",props:e.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),{currentOptions:Q,selectChange:w,loading:a}=Bo(A);return e.watch(t,w),(b,S)=>{var T;const f=e.resolveComponent("el-checkbox"),N=e.resolveComponent("el-checkbox-button"),G=e.resolveComponent("el-space"),K=e.resolveComponent("el-checkbox-group"),J=e.resolveDirective("loading");return e.unref(i).read?(e.openBlock(),e.createElementBlock("div",nk,e.toDisplayString((T=t.value)==null?void 0:T.map(P=>{var _;return(_=e.unref(Q).find(m=>m[b.valueKey]===P))==null?void 0:_[b.labelKey]}).join("、")),1)):e.withDirectives((e.openBlock(),e.createBlock(K,e.mergeProps({key:1},b.$attrs,{modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=P=>t.value=P),onChange:e.unref(w)}),{default:e.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(Q),P=>(e.openBlock(),e.createBlock(f,{key:P[b.valueKey],label:P[b.labelKey],value:P[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):e.createCommentVNode("",!0),b.optionType==="button"?(e.openBlock(),e.createBlock(G,{key:1,wrap:"",size:[b.space,b.space]},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Q),P=>(e.openBlock(),e.createBlock(N,{key:P[b.valueKey],label:P[b.labelKey],value:P[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):e.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[J,e.unref(a)]])}}})},Symbol.toStringTag,{value:"Module"})),ok={class:"vfc-color-input"},sk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>{const Q=e.resolveComponent("el-input"),w=e.resolveComponent("el-color-picker");return e.openBlock(),e.createElementBlock("div",ok,[e.createVNode(Q,{modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=a=>A.value=a)},null,8,["modelValue"]),e.createVNode(w,{modelValue:A.value,"onUpdate:modelValue":i[1]||(i[1]=a=>A.value=a)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),rk={key:0,class:"empty"},ak=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Custom",props:e.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");return(t,i)=>t.componentName?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.componentName),e.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":i[0]||(i[0]=Q=>A.value=Q)},t.$attrs),null,16,["modelValue"])):(e.openBlock(),e.createElementBlock("span",rk,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),lk={key:0},ck=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"DatePicker",props:e.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.useAttrs(),i=e.computed(()=>A.value?t.valueFormat?Mt.dayjs(A.value).format(t.valueFormat):A.value:"--");return(Q,w)=>{const a=e.resolveComponent("el-date-picker");return Q.read?(e.openBlock(),e.createElementBlock("span",lk,e.toDisplayString(i.value),1)):(e.openBlock(),e.createBlock(a,e.mergeProps({key:1},Q.$attrs,{modelValue:A.value,"onUpdate:modelValue":w[0]||(w[0]=b=>A.value=b),style:{width:"100%"}}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),gk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("ElDivider");return e.openBlock(),e.createBlock(i,e.normalizeProps(e.guardReactiveProps(A.$attrs)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),uk=e.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 A=e.ref(!1),t=e.ref(""),i=e.ref([]),Q=e.ref(null),w=e.ref(0),a=e.ref(0),b=e.ref(!1),S=e.ref(1),f=e.ref(null),N=e.computed(()=>n.height/n.width),G=e.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");e.watch(G,k=>{f.value&&(f.value.style.background=k)});const K=()=>{if(f.value){f.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${N.value*k}px`,Q.value=f.value.getContext("2d"),Q.value&&(Q.value.scale(1*S.value,1*S.value),S.value=k/n.width,Q.value.scale(1/S.value,1/S.value))}};e.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=G.value,K(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",K)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const J=k=>{w.value=k.x,a.value=k.y,Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.lineWidth=n.lineWidth*S.value,Q.value.stroke(),Q.value.closePath(),i.value.push(k))},T=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.strokeStyle=n.lineColor,Q.value.lineWidth=n.lineWidth*S.value,Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),a.value=k.y,w.value=k.x,i.value.push(k))},P=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(w.value,a.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},_=k=>{const y=(k==null?void 0:k.format)||n.format,C=(k==null?void 0:k.quality)||n.quality;return new Promise((u,p)=>{if(!A.value){p("Warning: Not Signed!");return}if(Q.value){const l=Q.value.getImageData(0,0,f.value.width,f.value.height);Q.value.globalCompositeOperation="destination-over",Q.value.fillStyle=G.value,Q.value.fillRect(0,0,f.value.width,f.value.height),t.value=f.value.toDataURL(y,C);let g=t.value;if(Q.value.clearRect(0,0,f.value.width,f.value.height),Q.value.putImageData(l,0,0),Q.value.globalCompositeOperation="source-over",n.isCrop){const r=L(l.data),d=document.createElement("canvas"),h=d.getContext("2d");if(h){d.width=r[2]-r[0],d.height=r[3]-r[1];const s=Q.value.getImageData(r[0],r[1],r[2],r[3]);h.globalCompositeOperation="destination-over",h.putImageData(s,0,0),h.fillStyle=G.value,h.fillRect(0,0,d.width,d.height),g=d.toDataURL(y,C)}}u(g)}})},m=()=>{Q.value&&Q.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(i.value=[],A.value=!1,t.value="")},L=k=>{let y=f.value.width,C=0,u=f.value.height,p=0;for(let l=0;l<f.value.width;l++)for(let g=0;g<f.value.height;g++){const r=(l+f.value.width*g)*4;(k[r]>0||k[r+1]>0||k[r+2]>0||k[r+3]>0)&&(p=Math.max(g,p),C=Math.max(l,C),u=Math.min(g,u),y=Math.min(l,y))}return[y+1,u+1,C+1,p+1]};return{canvas:f,myBg:G,drawStart:J,drawMove:T,drawEnd:P,generate:_,reset:m,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&f.value){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};J(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};T(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};P(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};J(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};T(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};P(y),b.value=!1}}}});function dk(n,A,t,i,Q,w){return e.openBlock(),e.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...a)=>n.mouseDown&&n.mouseDown(...a)),onMousemove:A[1]||(A[1]=(...a)=>n.mouseMove&&n.mouseMove(...a)),onMouseup:A[2]||(A[2]=(...a)=>n.mouseUp&&n.mouseUp(...a)),onTouchstart:A[3]||(A[3]=(...a)=>n.touchStart&&n.touchStart(...a)),onTouchmove:A[4]||(A[4]=(...a)=>n.touchMove&&n.touchMove(...a)),onTouchend:A[5]||(A[5]=(...a)=>n.touchEnd&&n.touchEnd(...a))},null,544)}const hk=JA(uk,[["render",dk],["__scopeId","data-v-5f3bfcf7"]]),pk={key:0},Bk={class:"vfc-esign-preview"},Ck=["src"],Ek={key:1,class:"vfc-esign"},Qk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.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 A=n,t=e.ref(),i=ut(),Q=e.useModel(n,"modelValue"),w={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"}}]},a=e.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},S=()=>{t.value.generate().then(G=>{Q.value=G}).catch(G=>{alert(G)})},f=e.ref(""),N=()=>{f.value=Q.value,Q.value=""};return e.onMounted(()=>{Object.assign(a.value,A)}),(G,K)=>{const J=e.resolveComponent("el-button");return e.unref(i).read||Q.value?(e.openBlock(),e.createElementBlock("div",pk,[e.createElementVNode("div",Bk,[e.createElementVNode("img",{src:Q.value,alt:"未签名"},null,8,Ck)]),e.unref(i).read?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J,{key:0,disabled:G.disabled,onClick:N,type:"primary"},{default:e.withCtx(()=>K[2]||(K[2]=[e.createTextVNode("重写")])),_:1},8,["disabled"]))])):(e.openBlock(),e.createElementBlock("div",Ek,[e.createVNode(e.unref(Ut),{modelValue:a.value,"onUpdate:modelValue":K[0]||(K[0]=T=>a.value=T),schema:w,class:"vfc-esign-actions"},null,8,["modelValue"]),e.createVNode(hk,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:G.width,height:G.height,isCrop:G.isCrop,lineWidth:a.value.lineWidth,lineColor:a.value.lineColor,bgColor:a.value.bgColor,format:G.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),e.createElementVNode("div",null,[f.value?(e.openBlock(),e.createBlock(J,{key:0,disabled:G.disabled,onClick:K[1]||(K[1]=T=>Q.value=f.value),plain:"",type:"primary"},{default:e.withCtx(()=>K[3]||(K[3]=[e.createTextVNode("取消")])),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(J,{disabled:G.disabled,onClick:b,plain:"",type:"primary"},{default:e.withCtx(()=>K[4]||(K[4]=[e.createTextVNode("清空")])),_:1},8,["disabled"]),e.createVNode(J,{disabled:G.disabled,onClick:S,type:"primary"},{default:e.withCtx(()=>K[5]||(K[5]=[e.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),mk={key:0},Ik=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Radio",props:e.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=f=>{const{valueKey:N="value",name:G}=A;let K={};if(K=b.value.find(J=>J[N]===f)||{},i.selectData&&G&&i.updateSelectData(G,K),A.onChange&&Q)try{Q[A.onChange](w,f,K)}catch(J){console.error(J)}},{currentOptions:b,loading:S}=Bo(A);return(f,N)=>{var _;const G=e.resolveComponent("el-radio"),K=e.resolveComponent("el-radio-button"),J=e.resolveComponent("el-space"),T=e.resolveComponent("el-radio-group"),P=e.resolveDirective("loading");return f.read?(e.openBlock(),e.createElementBlock("div",mk,e.toDisplayString(((_=e.unref(b).find(m=>m[f.valueKey]===t.value))==null?void 0:_[f.labelKey])||"--"),1)):e.withDirectives((e.openBlock(),e.createBlock(T,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m),onChange:a},f.$attrs),{default:e.withCtx(()=>[e.createVNode(J,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:e.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(b),m=>(e.openBlock(),e.createBlock(G,{key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(b),m=>(e.openBlock(),e.createBlock(K,e.mergeProps({key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[P,e.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),fk={class:"vfc-formList"},wk={key:1},Dk={class:"list-item-content"},bk={class:"card-header"},yk={style:{"margin-top":"5px"}},vk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"FormList",props:e.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 A=n,t=e.useModel(n,"modelValue"),i=e.ref(0),Q=ut(),w=G=>zt(A.children,{$item:t.value[G],$index:G}),a=e.computed(()=>t.value.length>=A.maxLines),b=e.computed(()=>t.value.length<=A.minLines),S=()=>{a.value||(t.value=[...t.value,{}])},f=G=>{const K=t.value.filter((J,T)=>T!==G);t.value=K},N=(G,K,J,T)=>{const P=K.no,_=w(T)[P];return e.h(Ji,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${T}.${_.name}`})};return e.watch(t,(G,K)=>{const J=G.reduce((m,L,k)=>(Oe.isEqual(L,K[k])||(m=k),m),0);if(i.value=J,!A.children.some(m=>m.change))return;const T=w(J),P=G[J]||{},_=K[J]||{};T.forEach(m=>{m.change&&_&&!Oe.isEqual(P[m.name],_[m.name])&&m.change.forEach(L=>{if(L.condition!==!1){if(Oe.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[J][k]=L.value}})})}),e.onMounted(()=>{var G;A.minLines&&!((G=t.value)!=null&&G.length)&&(t.value=Array.from({length:A.minLines},()=>({})))}),e.provide("$objGroupBase",e.computed(()=>`${A.name}.${i.value}`)),(G,K)=>{const J=e.resolveComponent("el-space"),T=e.resolveComponent("el-button"),P=e.resolveComponent("el-form-item"),_=e.resolveComponent("el-card"),m=e.resolveComponent("el-table-column"),L=e.resolveComponent("el-table");return e.openBlock(),e.createElementBlock("div",fk,[e.unref(Q).design?(e.openBlock(),e.createBlock(e.unref(gl),{key:0,list:G.children,class:"layoutRender"},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",wk,[G.mode==="inline"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(P,{key:k.key,class:"list-item"},{default:e.withCtx(()=>[e.createElementVNode("div",Dk,[e.createVNode(J,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(y),C=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({ref_for:!0},C,{key:C.label,name:`${G.name}.${y}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),_:2},1024))),128)):e.createCommentVNode("",!0),G.mode==="card"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.value,(k,y)=>(e.openBlock(),e.createBlock(_,{key:k.key,class:"list-card"},{header:e.withCtx(()=>[e.createElementVNode("div",bk,[e.createElementVNode("span",null,e.toDisplayString(G.title+(y+1)),1),G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small"},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w(y),C=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${G.name}.${y}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):e.createCommentVNode("",!0),G.mode==="table"&&t.value.length?(e.openBlock(),e.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.children,k=>(e.openBlock(),e.createBlock(m,e.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},e.unref(Oe.pickBy)(k,Boolean),{formatter:N}),null,16,["prop","label"]))),128)),e.createVNode(m,{fixed:"right","min-width":"60"},{default:e.withCtx(k=>[G.allowReduce&&!b.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:y=>f(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:G.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):e.createCommentVNode("",!0),e.createElementVNode("div",yk,[G.allowAdd&&!a.value?(e.openBlock(),e.createBlock(T,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:G.disabled,size:"small",plain:""},{icon:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"add"})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(G.title),1)]),_:1},8,["disabled"])):e.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),kk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,t=e.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Sn),{class:"form-item-grid",style:e.normalizeStyle(t.value),list:i.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),_k=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{}},setup(n){const A=n,t=e.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"align-items":A.alignItems,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`}));return(i,Q)=>(e.openBlock(),e.createBlock(e.unref(Sn),{class:"form-item-inline",style:e.normalizeStyle(t.value),list:i.children},null,8,["style","list"]))}}),[["__scopeId","data-v-f8a9c0a8"]])},Symbol.toStringTag,{value:"Module"})),Mk={key:0},Sk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue");ut();const t=i=>{["E","e","+","-"].includes(i.key)&&i.preventDefault()};return(i,Q)=>{const w=e.resolveComponent("el-input-number");return i.read?(e.openBlock(),e.createElementBlock("span",Mk,e.toDisplayString(typeof A.value=="number"?A.value.toFixed(i.precision||0).replace(".",","):"--"),1)):(e.openBlock(),e.createBlock(w,e.mergeProps({key:1},i.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=a=>A.value=a),style:{width:"100%"},min:i.min||0,onKeydown:t}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),xk={key:0},Nk={style:{"min-height":"32px"}},Fk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Select",props:e.mergeModels({options:{default:()=>[]},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},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=N=>{const{valueKey:G="value",multiple:K,name:J}=A;let T={};if(K&&Array.isArray(N)?T=b.value.filter(P=>N.includes(P[G])):T=b.value.find(P=>P[G]===N)||{},i.selectData&&J&&i.updateSelectData(J,T),A.onChange&&Q)try{Q[A.onChange](w,N,T)}catch(P){console.error(P)}},{currentOptions:b,loading:S}=Bo(A),f=e.computed(()=>{var G;if(A.multiple)return b.value.filter(J=>t.value.includes(J[A.valueKey])).map(J=>J[A.labelKey]).join(",");const N=(G=b.value.find(K=>K[A.valueKey]===t.value))==null?void 0:G[A.labelKey];return!N||`${N}`.trim().length===0?"--":N});return(N,G)=>{const K=e.resolveComponent("el-option"),J=e.resolveComponent("el-select"),T=e.resolveDirective("loading");return N.read?(e.openBlock(),e.createElementBlock("span",xk,e.toDisplayString(f.value),1)):(e.openBlock(),e.createBlock(J,e.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=P=>t.value=P)},N.$attrs,{onChange:a,multiple:N.multiple,clearable:"",filterable:"","fallback-placements":["bottom"]}),{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Nk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b),P=>(e.openBlock(),e.createBlock(K,{key:P[N.valueKey],label:P[N.labelKey],value:P[N.valueKey],disabled:P[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(P[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])),[[T,e.unref(S)]])]),_:1},16,["modelValue","multiple"]))}}})},Symbol.toStringTag,{value:"Module"})),Rk={key:0},Lk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=e.ref(""),Q=e.computed({get(){var w;return(w=t.value)==null?void 0:w.replaceAll(i.value,"")},set(w){w?t.value=w+i.value:t.value=w}});return e.watch(i,(w,a)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(a,""))+w)}),e.onMounted(()=>{A.selectInitialValue&&(i.value=A.selectInitialValue)}),(w,a)=>{const b=e.resolveComponent("el-option"),S=e.resolveComponent("el-select"),f=e.resolveComponent("el-input");return w.read?(e.openBlock(),e.createElementBlock("span",Rk,e.toDisplayString(Q.value||"--"),1)):(e.openBlock(),e.createBlock(f,e.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},w.$attrs,{modelValue:Q.value,"onUpdate:modelValue":a[1]||(a[1]=N=>Q.value=N)}),{[w.selectPosition]:e.withCtx(()=>[e.createVNode(S,{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=N=>i.value=N),style:e.normalizeStyle({width:w.selectWidth+"px"}),placeholder:" "},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.options,N=>(e.openBlock(),e.createBlock(b,{label:N.label,value:N.value,disabled:N.disabled,key:N.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),Gk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=ut(),t=e.useModel(n,"modelValue");return(i,Q)=>{const w=e.resolveComponent("el-switch");return e.openBlock(),e.createBlock(w,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=a=>t.value=a),disabled:e.unref(A).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Hk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-tag");return e.openBlock(),e.createBlock(i,{type:A.type},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),Pk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.guardReactiveProps(A.$attrs)),e.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),Gd=e.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,t)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(A.type),{class:"Title",style:e.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),Kk=Object.freeze(Object.defineProperty({__proto__:null,default:Gd},Symbol.toStringTag,{value:"Module"})),Uk={key:0,style:{"min-width":"300px"}},Tk={class:"el-upload__tip"},Yk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Component",props:e.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=(a,b)=>{console.log(a,b)},i=a=>{console.log(a)},Q=(a,b)=>{Mt.ElMessage.warning(`The limit is 3, you selected ${a.length} files this time, add up to ${a.length+b.length} totally`)},w=(a,b)=>Mt.ElMessageBox.confirm(`Cancel the transfer of ${a.name} ?`).then(()=>!0,()=>!1);return(a,b)=>{const S=e.resolveComponent("el-button"),f=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(f,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=N=>A.value=N),action:a.action,multiple:a.multiple,limit:a.limit,drag:a.drag,name:a.name,listType:a.listType,"on-preview":i,"on-remove":t,"before-remove":w,"on-exceed":Q},e.createSlots({default:e.withCtx(()=>[a.listType==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a.drag?(e.openBlock(),e.createElementBlock("div",Uk,[e.createVNode(e.unref(te),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=e.createElementVNode("div",{class:"el-upload__text"},[e.createTextVNode(" 拖拽文件到此处上传 "),e.createElementVNode("br"),e.createTextVNode(" 或"),e.createElementVNode("em",null,"点击上传")],-1))])):(e.openBlock(),e.createBlock(S,{key:1,type:"primary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.btnText),1)]),_:1}))],64)):e.createCommentVNode("",!0),a.listType==="picture-card"?(e.openBlock(),e.createBlock(e.unref(te),{key:1,name:"add"})):e.createCommentVNode("",!0)]),_:2},[a.tip?{name:"tip",fn:e.withCtx(()=>[e.createElementVNode("div",Tk,e.toDisplayString(a.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function Ok(){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 bt(n,A){return Math.floor(Math.random()*(A-n)+n)}function nr(n,A){const t=bt(n,A),i=bt(n,A),Q=bt(n,A);return`rgb(${t},${i},${Q})`}class $k{constructor(A,t){Ze(this,"version","1.0.0");Ze(this,"options");Ze(this,"_init",()=>{const A=this.options.element;if(!A)return;const t=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.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",A.appendChild(t),t.onclick=()=>{this.refresh()}});Ze(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const t=A.getContext("2d");t.textBaseline="middle",t.fillStyle=nr(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 Q=1;Q<=4;Q++){const w=i[bt(0,i.length)];this.options.code+=w,t.font=`${bt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=nr(50,160),t.shadowOffsetX=bt(-3,3),t.shadowOffsetY=bt(-3,3),t.shadowBlur=bt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const a=parseInt(this.options.width)/5*Q,b=parseInt(this.options.height)/2,S=bt(-30,30);t.translate(a,b),t.rotate(S*Math.PI/180),t.fillText(w,0,0),t.rotate(-S*Math.PI/180),t.translate(-a,-b)}for(let Q=0;Q<4;Q++)t.strokeStyle=nr(40,180),t.beginPath(),t.moveTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),t.lineTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),t.stroke();for(let Q=0;Q<parseInt(this.options.width)/4;Q++)t.fillStyle=nr(0,255),t.beginPath(),t.arc(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Ze(this,"validate",A=>{const t=A.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:Ok(),...t},A&&(this.options.element=A,this._init(),this.refresh())}}const Jk={class:"vfc-verify-code"},Zk=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Component",props:e.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=e.useModel(n,"modelValue"),t=e.ref(null),i=e.ref(null),Q=ut(),w=()=>{var b;if(!A.value)return;const a=(b=i.value)==null?void 0:b.validate(A.value);console.log("res",a),a?Q.updateVCodePass(!0):Q.updateVCodePass(!1)};return e.onMounted(()=>{i.value=new $k(t.value)}),(a,b)=>{const S=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",Jk,[e.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=f=>A.value=f),class:"verify-input",placeholder:a.placeholder,onBlur:w},null,8,["modelValue","placeholder"]),e.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),zk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,t=e.ref([]);return e.onMounted(()=>{t.value=A.children.filter(i=>i.checked).map(i=>i.name)}),e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),(i,Q)=>{const w=e.resolveComponent("ElCollapseItem"),a=e.resolveComponent("ElCollapse");return e.openBlock(),e.createBlock(a,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(w,{key:b.name,name:b.name},{title:e.withCtx(()=>[e.createVNode(Gd,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Wk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,t=e.ref("");return e.watch(()=>A.children,()=>{A.children.forEach(i=>{i.children||(i.children=[])})}),e.onMounted(()=>{A.defaultKey&&(t.value=A.defaultKey)}),(i,Q)=>{const w=e.resolveComponent("el-tab-pane"),a=e.resolveComponent("el-tabs");return e.openBlock(),e.createBlock(a,e.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.value=b)}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.children,b=>(e.openBlock(),e.createBlock(w,e.mergeProps({key:b.name,ref_for:!0},b),{default:e.withCtx(()=>[e.createVNode(e.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),jk={class:"vfc-ObjGroup"},qk={key:1,class:"vfc-ObjGroup-render"},Xk=Object.freeze(Object.defineProperty({__proto__:null,default:e.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,t=ut(),i=e.inject("$objGroupBase"),Q=i?`${i.value}.${A.name}`:A.name;return e.provide("$objGroupBase",e.ref(Q)),(w,a)=>(e.openBlock(),e.createElementBlock("div",jk,[e.unref(t).design?(e.openBlock(),e.createBlock(e.unref(gl),{key:0,list:w.children},null,8,["list"])):(e.openBlock(),e.createElementBlock("div",qk,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.children,b=>(e.openBlock(),e.createBlock(e.unref(Ji),e.mergeProps({key:b.name,ref_for:!0},b,{name:`${e.unref(Q)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),Vk={key:0},A_={key:0},e_={key:1},t_={key:1,class:"search-select-wrapper"},n_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"SearchSelect",props:e.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,t=e.useModel(n,"modelValue"),i=ut(),Q=e.inject("ruleModule",void 0),w=e.inject("pageMethodMap",{}),a=N=>{const{valueKey:G="value",multiple:K,name:J}=A;let T={};if(K&&Array.isArray(N)?T=S.value.filter(P=>N.includes(P[G])):T=S.value.find(P=>P[G]===N)||{},i.selectData&&J&&i.updateSelectData(J,T),A.onChange&&Q)try{Q[A.onChange](w,N,T)}catch(P){console.error(P)}},b=()=>{if(A.onSearch&&Q)try{Q[A.onSearch](w)}catch(N){console.error(N)}},{currentOptions:S,loading:f}=Bo(A);return(N,G)=>{var _;const K=e.resolveComponent("el-option"),J=e.resolveComponent("el-select"),T=e.resolveComponent("el-button"),P=e.resolveDirective("loading");return N.read?(e.openBlock(),e.createElementBlock("div",Vk,[N.multiple?(e.openBlock(),e.createElementBlock("div",A_,e.toDisplayString(t.value&&t.value.map(m=>{var L;return(L=e.unref(S).find(k=>k[N.valueKey]===m))==null?void 0:L[N.labelKey]}).join("、")),1)):(e.openBlock(),e.createElementBlock("div",e_,e.toDisplayString(((_=e.unref(S).find(m=>m[N.valueKey]===t.value))==null?void 0:_[N.labelKey])||"--"),1))])):(e.openBlock(),e.createElementBlock("div",t_,[e.withDirectives((e.openBlock(),e.createBlock(J,e.mergeProps({modelValue:t.value,"onUpdate:modelValue":G[0]||(G[0]=m=>t.value=m)},N.$attrs,{onChange:a,multiple:N.multiple,clearable:"",filterable:"",disabled:N.disabled}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(S),m=>(e.openBlock(),e.createBlock(K,{key:m[N.valueKey],label:m[N.labelKey],value:m[N.valueKey],disabled:m[N.disabledKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m[N.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[P,e.unref(f)]]),e.createVNode(T,{onClick:b,disabled:N.disabled,class:"search-btn"},{default:e.withCtx(()=>[e.createVNode(e.unref(te),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-da2bde35"]])},Symbol.toStringTag,{value:"Module"})),i_={class:"custom-tree-node"},o_={class:"tree-node-text"},s_={class:"tree-node-label"},r_={key:0,class:"tree-node-present"},a_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,t=e.inject("ruleModule",void 0),i=e.inject("pageMethodMap",{}),Q=e.ref(),w=(N,G)=>{Q.value=N[A.nodeKey]},a=(N,G,K)=>{if(t)try{t[N](i,{node:G,data:K})}catch(J){console.error(J)}},b=(N,G)=>{if(A.onNodeClick&&t)try{t[A.onNodeClick](i,{node:N,data:G})}catch(K){console.error(K)}},S=(N,G,K)=>{if(A.onLoad&&t)try{t[A.onLoad](i,{node:N,resolve:G,reject:K})}catch(J){console.error(J)}},f=e.ref([]);return e.watch(()=>A.data,()=>{if(!A.data||!Array.isArray(A.data)||A.data.length===0)return;const G=[A.data[0][A.nodeKey]];f.value=G},{immediate:!0}),(N,G)=>{const K=e.resolveComponent("el-tooltip"),J=e.resolveComponent("el-button"),T=e.resolveComponent("el-tree");return e.openBlock(),e.createBlock(T,e.mergeProps(N.$attrs,{onNodeClick:b,load:S,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":Q.value,onCurrentChange:w,"node-key":N.nodeKey,props:A.props,data:N.data,"default-expanded-keys":f.value}),{default:e.withCtx(({node:P,data:_})=>[e.createElementVNode("div",i_,[e.createElementVNode("div",o_,[e.createElementVNode("span",s_,e.toDisplayString(P.label),1),_[N.nodeKey]===Q.value?(e.openBlock(),e.createElementBlock("div",r_,"Present")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.btns,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.key},[e.unref(zt)(m.hidden,{$node:P,$data:_})?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J,{key:0,link:"",onClick:e.withModifiers(L=>a(m.onClick,P,_),["stop"]),disabled:m.disabled,type:m.type},{default:e.withCtx(()=>[e.createVNode(K,{class:"box-item",effect:"dark",content:m.text,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[m.icon?(e.openBlock(),e.createBlock($e,{key:0,name:m.icon.name,color:m.icon.color,class:"btn-icon"},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-042fe6cd"]])},Symbol.toStringTag,{value:"Module"})),l_=["id"],c_={class:"empty-content"},g_=["title"],u_=["title","onClick"],d_=["title"],h_={class:"row-btn-wrapper"},p_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.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:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{}},setup(n,{expose:A}){const t=n,i=e.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),Q=e.inject("ruleModule",void 0),w=e.inject("ruleMap",void 0),a=e.computed(()=>t.rulePath&&w[t.rulePath]?w[t.rulePath]:Q),b=e.inject("pageMethodMap",{}),S=e.inject("getGlobalParams",()=>{}),f=e.inject(Cn),N=f?f.translateFn:null,G=e.ref(),K=(V,tA,cA)=>{j.value[V]&&(j.value[V][tA]=cA)},J=(V,tA)=>{const cA=t.columns.find(sA=>sA.key===V);cA&&(cA.hidden=!tA)},T=(V,tA,cA)=>{try{a.value[V.onClick](b,tA,cA)}catch(sA){console.error(sA)}},P=V=>{if(t.rowClick)try{a.value[t.rowClick](b,V)}catch(tA){console.error(tA)}},_=V=>{if(t.rowDbClick)try{a.value[t.rowDbClick](b,V)}catch(tA){console.error(tA)}},m=e.ref([]),L=V=>{m.value=V},k=()=>{var V;(V=G.value)==null||V.clearSelection()},y=()=>j.value,C=e.ref(),u=V=>{if(C.value=V,!!t.handleCurrentChange)try{a.value[t.handleCurrentChange](b,V)}catch(tA){console.error(tA)}},p=()=>C.value,l=()=>{var V;return(V=G.value)==null?void 0:V.getSelectionRows()},g=async()=>!0,r=(V,tA)=>{var sA;const cA=(sA=t.topBtns)==null?void 0:sA.find(hA=>hA.key===V);cA&&(cA.hidden=tA)},d=(V,tA)=>{var sA;const cA=(sA=t.rowBtns)==null?void 0:sA.find(hA=>hA.key===V);cA&&(cA.condition=!tA)},h=e.ref(0),s=V=>{h.value=V},o=e.ref({pageNum:1,pageSize:t.defaultPageSize||5}),B=()=>o.value,E=V=>{let tA=!1;return V.pageNum>-1&&(o.value.pageNum!==V.pageNum&&(tA=!0),o.value.pageNum=V.pageNum),V.pageSize>-1&&(o.value.pageSize!==V.pageSize&&(tA=!0),o.value.pageSize=V.pageSize),{pagination:o.value,isChange:tA}},M=V=>{if(o.value.pageNum=1,o.value.pageSize=V,!!t.sizeChange)try{a.value[t.sizeChange](b,o.value)}catch(tA){console.error(tA)}},D=V=>{if(o.value.pageNum=V,!!t.pageChange)try{a.value[t.pageChange](b,o.value)}catch(tA){console.error(tA)}},x=V=>{var tA;(tA=G.value)==null||tA.setCurrentRow(V)},R=V=>{var tA;(tA=G.value)==null||tA.setCurrentRow(j.value[V])},$=(V,tA,cA)=>{t.columns.forEach(sA=>{sA.key===V&&sA[tA]&&(sA[tA]=cA)})},j=e.ref([]),Z=V=>{j.value=V},Y=(V={})=>{j.value.push(V)},q=V=>{V>=0&&V<j.value.length&&j.value.splice(V,1)},v=async()=>{j.value=[...j.value]},W=e.useTemplateRef("rootRef"),F=e.readonly({...e.toRefs(t),setCellData:K,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:l,addRow:Y,deleteRow:q,refresh:v,validate:g,setData:Z,selectRow:x,selectRowNum:R,setTotal:s,getPagination:B,setPagination:E,setTopBtnHidden:r,setColVisible:J,setColumn:$,setRowsBtnHidden:d,rootRef:W,type:"table"}),X=(V,tA)=>{const cA=N?N(V.key,tA):tA[V.key];if(!V.encrypted||!cA)return cA;const sA=`${cA}`;return sA.length<=4?"*".repeat(sA.length):sA.slice(0,-4)+"****"},nA=e.computed(()=>!t.rowBtns||t.rowBtns.length===0||!j.value||j.value.length===0?!1:j.value.some(V=>{var tA;return(tA=t.rowBtns)==null?void 0:tA.some(cA=>cA.condition===void 0||cA.condition===null?!0:zt(cA.condition,{$row:V,$globalParams:S()}))}));if(e.onMounted(async()=>{if(!t.onMounted||!a.value)return;await e.nextTick();const V=t.onMounted;try{a.value[V](b)}catch(tA){console.error(tA)}}),e.onActivated(()=>{if(!t.onActivated||!a.value)return;const V=t.onActivated;try{a.value[V](b)}catch(tA){console.error(tA)}}),t.name){const V=fv(t.name,F);e.onUnmounted(()=>{V()})}return A(F),(V,tA)=>{const cA=e.resolveComponent("el-table-column"),sA=e.resolveComponent("el-tooltip"),hA=e.resolveComponent("el-button"),z=e.resolveComponent("el-pagination");return V.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["table-render",{tableBorder:i.value==="table"}]),ref_key:"rootRef",ref:W,id:V.name},[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Mt.ElTable),{ref_key:"tableRef",ref:G,data:j.value,"highlight-current-row":"","row-key":V.rowKey,stripe:V.stripe,"show-overflow-tooltip":"",onRowClick:P,onRowDblclick:_,onSelectionChange:L,onCurrentChange:u,height:V.height},{empty:e.withCtx(()=>[e.createElementVNode("div",c_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),tA[2]||(tA[2]=e.createElementVNode("div",null,"No data available,please check",-1))])]),default:e.withCtx(()=>[V.multipleSelection?(e.openBlock(),e.createBlock(cA,{key:0,type:"selection",width:"55"})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.columns,iA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:iA.key},[iA.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(cA,{key:0,prop:iA.key,"min-width":iA.minWidth,fixed:iA.fixed||!1},{header:e.withCtx(()=>[e.createElementVNode("div",{class:"text-ellipsis",title:iA.label},e.toDisplayString(iA.label),9,g_)]),default:e.withCtx(({row:oA,$index:rA})=>[iA.type==="link"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["text-ellipsis link-style",{"click-style":iA.onClick}]),title:X(iA,oA),onClick:U=>T(iA,oA,rA)},e.toDisplayString(X(iA,oA)),11,u_)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"text-ellipsis",title:X(iA,oA)},e.toDisplayString(X(iA,oA)),9,d_))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),nA.value&&V.rowBtns&&V.rowBtns.length>0?(e.openBlock(),e.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left",width:V.rowBtns.length*34+12>100?V.rowBtns.length*34+12:100},{default:e.withCtx(({row:iA,$index:oA})=>[e.createElementVNode("div",h_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.rowBtns,rA=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||e.unref(zt)(rA.condition,{$row:iA,$globalParams:e.unref(S)()})?(e.openBlock(),e.createBlock(hA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:e.withModifiers(U=>T(rA,iA,oA),["stop"])},{default:e.withCtx(()=>[e.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:e.withCtx(()=>[rA.icon?(e.openBlock(),e.createBlock($e,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):e.createCommentVNode("",!0)],64))),128))])]),_:1},8,["width"])):e.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[e.vShow,i.value==="table"]]),e.withDirectives(e.createVNode(ms,e.mergeProps({data:j.value},t,{getColText:X}),null,16,["data"]),[[e.vShow,i.value==="card"]]),e.createElementVNode("div",{class:e.normalizeClass(["pagination-wrapper",{hidePagination:(V.hiddenPagination||j.value.length===0)&&!V.height,transparentPagination:(V.hiddenPagination||j.value.length===0)&&V.height,cardlistPadding:i.value==="card"}])},[e.createVNode(z,{layout:"total,sizes, prev, pager, next,jumper",total:h.value,"page-sizes":V.pageSizes||[5,10,20,30,40],"default-page-size":V.defaultPageSize,"current-page":o.value.pageNum,"onUpdate:currentPage":tA[0]||(tA[0]=iA=>o.value.pageNum=iA),"page-size":o.value.pageSize,"onUpdate:pageSize":tA[1]||(tA[1]=iA=>o.value.pageSize=iA),"pager-count":V.pagerCount,onSizeChange:M,onCurrentChange:D},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,l_))}}}),[["__scopeId","data-v-340dacf0"]])},Symbol.toStringTag,{value:"Module"})),B_={class:"crm-curd-card"},C_={class:"left-part"},E_={class:"title"},Q_={class:"right-part"},m_={key:0,class:"switch-panel"},I_={key:2},f_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"CurdCard",props:{name:{},children:{},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{}},setup(n){const A=e.inject("ruleModule",void 0),t=e.inject("pageMethodMap",{}),i=n,Q=e.ref("1"),w=K=>{if(K&&A)try{A[K](t)}catch(J){console.error(J)}},a=K=>{i.onRadioChange&&A&&A[i.onRadioChange](t,K)},b=()=>{S.value=!S.value,i.onCollapsed&&A&&A[i.onCollapsed](t,S.value)},S=e.ref(!1),f=e.ref(i.displayType||(i.typeSwitch?"card":"table")),N=ut(),G=K=>{f.value=K;const J=is(N.schema.items,i.name),T=P=>{P.forEach(_=>{_.component==="Table"&&_.props&&(_.props.displayType=K),_.children&&_.children.length>0&&T(_.children)})};J&&J.children&&T(J.children)};return G(f.value),(K,J)=>{const T=e.resolveComponent("el-radio"),P=e.resolveComponent("el-radio-group"),_=e.resolveComponent("el-tooltip"),m=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",B_,[e.createElementVNode("div",{class:e.normalizeClass(["card-header",{inline:K.type==="inline",mix:K.type==="mix",default:K.type==="default",collapsedPadding:S.value&&K.onCollapsed}])},[e.createElementVNode("div",C_,[K.mainIcon?(e.openBlock(),e.createBlock($e,{key:0,class:"title-icon",size:"large",name:K.mainIcon.name,color:K.mainIcon.color},null,8,["name","color"])):e.createCommentVNode("",!0),e.createElementVNode("span",E_,e.toDisplayString(K.title),1),K.radioList?(e.openBlock(),e.createBlock(P,{key:1,class:"ml-9",modelValue:Q.value,"onUpdate:modelValue":J[0]||(J[0]=L=>Q.value=L),onChange:J[1]||(J[1]=L=>a(Q.value))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.radioList,L=>(e.openBlock(),e.createBlock(T,{value:L.value,key:L.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(K.extraIcons,L=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:L.name},[L.tips?(e.openBlock(),e.createBlock(_,{key:0,content:L.tips,placement:"right"},{default:e.withCtx(()=>[e.createVNode($e,{class:"extra-icon",name:L.name,color:L.color,onClick:k=>w(L.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(e.openBlock(),e.createBlock($e,{key:1,class:"extra-icon",name:L.name,color:L.color,onClick:k=>w(L.onClick)},null,8,["name","color","onClick"]))],64))),128))]),e.createElementVNode("div",Q_,[K.typeSwitch?(e.openBlock(),e.createElementBlock("div",m_,[e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:f.value==="card"}]),onClick:J[2]||(J[2]=L=>G("card"))},[e.createVNode($e,{name:"icon-kapian"})],2),e.createElementVNode("div",{class:e.normalizeClass(["switch-icon-wrapper",{active:f.value==="table"}]),onClick:J[3]||(J[3]=L=>G("table"))},[e.createVNode($e,{name:"icon-biaoge"})],2)])):e.createCommentVNode("",!0),K.collapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["collapse-icon-wrapper",{collapsed:S.value}]),onClick:b},[e.createVNode($e,{name:"icon-shaixuan"})],2)):e.createCommentVNode("",!0),K.btns&&K.btns.length>0?(e.openBlock(),e.createElementBlock("div",I_,[e.createVNode(e.unref(Zi),{btns:K.btns||[]},null,8,["btns"])])):e.createCommentVNode("",!0)])],2),K.onCollapsed?(e.openBlock(),e.createBlock(e.unref(Sn),{key:1,list:K.children},null,8,["list"])):(e.openBlock(),e.createBlock(m,{key:0},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(Sn),{list:K.children},null,8,["list"])],512),[[e.vShow,!S.value]])]),_:1}))])}}}),[["__scopeId","data-v-63947b56"]])},Symbol.toStringTag,{value:"Module"})),w_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-collapse-transition");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(A.style)},[e.createVNode(i,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass({normal:A.type==="normal",onlytable:A.type==="onlytable"})},[e.createVNode(e.unref(Sn),{list:A.children},null,8,["list"])],2),[[e.vShow,!A.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-cde87480"]])},Symbol.toStringTag,{value:"Module"})),D_={class:"content"},b_={class:"product-list"},y_={class:"attribute-list"},v_={key:0,class:"attribute-list-item"},k_={class:"product-title attribute-title"},__={class:"attribute-item-list"},M_={class:"attribute-label"},S_={class:"attribute-value"},x_=e.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-popover");return e.openBlock(),e.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:e.withCtx(()=>[e.createVNode(Ug,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:e.withCtx(()=>[e.createElementVNode("div",D_,[t[0]||(t[0]=e.createElementVNode("div",{class:"product-title"},"Product",-1)),e.createElementVNode("div",b_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,Q=>(e.openBlock(),e.createElementBlock("div",{class:"product-item",key:Q.label},e.toDisplayString(Q.label),1))),128))]),e.createElementVNode("div",y_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data.product,Q=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Q.label},[Q.children.length>0?(e.openBlock(),e.createElementBlock("div",v_,[e.createElementVNode("div",k_,e.toDisplayString(Q.label),1),e.createElementVNode("div",__,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.children,w=>(e.openBlock(),e.createElementBlock("div",{class:"attribute-item",key:w.label},[e.createElementVNode("div",M_,e.toDisplayString(w.label),1),e.createElementVNode("div",S_,e.toDisplayString(w.value||"--"),1)]))),128))])])):e.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),N_={key:0,class:"empty-content"},F_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.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:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var G,K;const A=n,t=e.ref(),i=e.ref([]),Q=(G=A.columns.find(J=>J.position==="title"))==null?void 0:G.key,w=(K=A.columns.find(J=>J.position==="subTitle"))==null?void 0:K.key,a=A.columns.find(J=>J.position==="footer"),b=J=>{const T=[];return J.children&&J.children.length>0&&J.children.forEach(P=>{const _={label:P.PRODUCT_ITEM_NAME,children:[]};P.children&&P.children.length>0&&P.children.forEach(m=>{_.children.push({label:m.PRODUCT_ITEM_NAME,value:m.ACTION})}),T.push(_)}),T};function S(J){const T={},P=[];return J.forEach(_=>{T[_.PRODUCT_ITEM_ID]={..._,children:[]}}),J.forEach(_=>{const m=T[_.PRODUCT_ITEM_ID],L=_.PARENT_PRODUCT_ITEM_ID;L===0||!T[L]?P.push(m):T[L].children.push(m)}),P}const f=e.inject(Cn),N=f?f.translateFn:null;return e.watchEffect(()=>{if(A.data){const J=S(A.data);t.value=J.map(T=>{const P={content:[]};return Q&&(P.title=N?N(Q,T):T[Q],P.titleColor="#18AAF8"),w&&(P.subTitle=N?N(w,T):T[w]),a&&(P.footer={icon:a.footerIcon||"icon-tishi",text:`${a.label}: ${N?N(a.key,T):T[a.key]}`}),T.children&&(P.product=b(T)),A.columns.forEach(_=>{_.position==="content"&&P.content.push({label:_.label,value:N?N(_.key,T):T[_.key]})}),P})}}),e.onMounted(()=>{var J;i.value=(J=A.rowBtns)==null?void 0:J.map(T=>({icon:T.icon&&T.icon.name?T.icon.name:"icon-tishi",label:T.label,onClick:T.onClick}))}),(J,T)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"card-list",style:e.normalizeStyle({"--columns":J.gridColumns,"--gap":J.gap+"px"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(P,_)=>(e.openBlock(),e.createElementBlock("div",{class:"card-list-item",key:_},[e.createVNode(x_,{data:P,btns:i.value,index:_},null,8,["data","btns","index"])]))),128))],4),!J.data||J.data.length===0?(e.openBlock(),e.createElementBlock("div",N_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),T[0]||(T[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-09844ac4"]])},Symbol.toStringTag,{value:"Module"})),R_={class:"progress"},L_={class:"timeline-content"},G_={class:"timeline-content__title"},H_={key:0,class:"empty-content"},P_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(A,t)=>{const i=e.resolveComponent("el-timeline-item"),Q=e.resolveComponent("el-timeline");return e.openBlock(),e.createElementBlock("div",R_,[e.createVNode(Q,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.data,(w,a)=>(e.openBlock(),e.createBlock(i,{key:a,size:"large"},{dot:e.withCtx(()=>[e.createVNode($e,{name:w.iconName,size:"large"},null,8,["name"])]),default:e.withCtx(()=>[e.createElementVNode("div",L_,[e.createElementVNode("div",G_,[e.createElementVNode("span",null,e.toDisplayString(w.title),1),e.createElementVNode("span",null,e.toDisplayString(w.timestamp),1)]),e.createTextVNode(" "+e.toDisplayString(w.content),1)])]),_:2},1024))),128))]),_:1}),!A.data||A.data.length===0?(e.openBlock(),e.createElementBlock("div",H_,[e.createVNode(e.unref(te),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=e.createElementVNode("div",null,"No data available,please check",-1))])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),K_={class:"log-list"},U_={class:"title-part"},T_={class:"title"},Y_={class:"sub-title"},O_={class:"content"},$_={key:0},J_=Object.freeze(Object.defineProperty({__proto__:null,default:JA(e.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(A,t)=>(e.openBlock(),e.createElementBlock("div",K_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.content,i=>{var Q;return e.openBlock(),e.createElementBlock("div",{class:"log-list-item",key:i.id},[e.createElementVNode("div",{class:"left-bar",style:e.normalizeStyle({backgroundColor:i.color})},null,4),e.createElementVNode("div",U_,[e.createElementVNode("div",{class:"circle",style:e.normalizeStyle({backgroundColor:i.color})},e.toDisplayString((Q=i.title)==null?void 0:Q[0]),5),e.createElementVNode("div",T_,e.toDisplayString(i.title),1),e.createElementVNode("div",Y_,e.toDisplayString(i.subTitle),1)]),e.createElementVNode("div",O_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.content,(w,a)=>(e.openBlock(),e.createElementBlock("span",{key:a,class:e.normalizeClass({bold:w.style==="bold",normal:w.style==="normal"})},[e.createTextVNode(e.toDisplayString(w.text),1),a!==i.content.length-1?(e.openBlock(),e.createElementBlock("span",$_," ")):e.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"}));ot.$options=Cn,ot.FormDesign=Rd,ot.FormRender=Ut,ot.PageRender=dl,ot.TableRender=ul,ot.default=T1,ot.useFormInstance=ut,Object.defineProperties(ot,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|