asiaint-lowcode 3.1.34 → 3.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +26 -26
- package/dist/index.d.ts +5 -6
- package/dist/lazy/{Card-BcBYtKp1.js → Card-81VpOUTK.js} +39 -35
- package/dist/lazy/{Cascader-BFGcI_Kc.js → Cascader-CgphNyvI.js} +1 -1
- package/dist/lazy/{Checkbox-DJsC-8Iu.js → Checkbox-Z2VDXtJ_.js} +2 -2
- package/dist/lazy/{Collapse-BX90HzXK.js → Collapse-CxP24Ehx.js} +3 -3
- package/dist/lazy/{Component-Rdshx6m_.js → Component-BGfFk5oi.js} +1 -1
- package/dist/lazy/{Component-CyxVCfnE.js → Component-CKDyTe6o.js} +4 -4
- package/dist/lazy/{Component-BFYQgTNo.js → Component-ClJY2QSX.js} +7 -7
- package/dist/lazy/{Component-CmDm1a-b.js → Component-CqIYjwRl.js} +5 -5
- package/dist/lazy/{Component-Cqyvcel7.js → Component-YxT9eJEy.js} +1 -1
- package/dist/lazy/{Component-BXgrIUQ8.js → Component-laBmgTv3.js} +2 -2
- package/dist/lazy/{CurdCard-BPBb_E38.js → CurdCard-BRrLoC4H.js} +2 -2
- package/dist/lazy/{Custom-BsSbau_V.js → Custom-DSidsEF8.js} +7 -7
- package/dist/lazy/{DatePicker-DI0BgjL_.js → DatePicker-BacIM6m6.js} +1 -1
- package/dist/lazy/{DragList-D8LE61RT.js → DragList-1L7PDOkp.js} +18 -18
- package/dist/lazy/{FilterSearch-Cu47ZphN.js → FilterSearch-Dl1gL5cg.js} +12 -12
- package/dist/lazy/{FormList-wXCgfZWH.js → FormList-DTgjNJoF.js} +1 -1
- package/dist/lazy/{Grid-FMbzhJIk.js → Grid-CvYY7o9l.js} +3 -3
- package/dist/lazy/{InfiniteScroll-BLtNpTs4.js → InfiniteScroll-BRqUeno5.js} +4 -4
- package/dist/lazy/{Inline-E7Q-z1-E.js → Inline-DhO0gCtY.js} +4 -4
- package/dist/lazy/{JsonEdit-DF-m8XP_.js → JsonEdit-BmsPmCE7.js} +3 -3
- package/dist/lazy/{LogList-MzWH6ysL.js → LogList-BwB7JYx7.js} +12 -12
- package/dist/lazy/{ObjGroup-BuexLbbs.js → ObjGroup-CkxdwbdY.js} +1 -1
- package/dist/lazy/{OfferDetails-Dh7GaY8a.js → OfferDetails-Mm-FIcpl.js} +2 -2
- package/dist/lazy/{Pagination-BlJC01z0.js → Pagination-CabjK2s_.js} +10 -10
- package/dist/lazy/{Progress-C5vGO_Sl.js → Progress-C5o-MKr0.js} +15 -15
- package/dist/lazy/{Radio-KiEeEX-t.js → Radio-CubrpaJV.js} +8 -8
- package/dist/lazy/{SearchSelect-DnBT0fle.js → SearchSelect-BaWeYE5z.js} +23 -23
- package/dist/lazy/{Select-kPnMdrZz.js → Select-C5BSRWHq.js} +2 -2
- package/dist/lazy/{Table-DjLFpWAa.js → Table-B9ENxNat.js} +2 -2
- package/dist/lazy/{Tabs-Be7TIMNn.js → Tabs-CHASfjxk.js} +1 -1
- package/dist/lazy/TextArea-MRfjW15_.js +36 -0
- package/dist/lazy/{Wrapper-Bcnn4WVE.js → Wrapper-Oa504gqM.js} +5 -5
- package/dist/lazy/{index-BfZzxhj6.js → index-DUdJGaTM.js} +797 -792
- package/dist/lazy/{useSelect-D5Q_n4a3.js → useSelect-D9CHm3uf.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/TextArea-DBUM3-2Q.js +0 -25
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(yt,A){typeof exports=="object"&&typeof module<"u"?A(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],A):(yt=typeof globalThis<"u"?globalThis:yt||self,A(yt.AsiaintLowcode={},yt.Vue,yt.ElementPlus))})(this,function(yt,A,Yt){"use strict";var rG=Object.defineProperty;var aG=(yt,A,Yt)=>A in yt?rG(yt,A,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):yt[A]=Yt;var Ct=(yt,A,Yt)=>aG(yt,typeof A!="symbol"?A+"":A,Yt);function mm(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const Em=mm(A);var vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fu(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ba={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
|
-
*/Ba.exports,function(n,e){(function(){var t,i="4.17.21",u=200,I="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",w=500,S="__lodash_placeholder__",N=1,H=2,$=4,K=1,T=2,D=1,Q=2,L=4,k=8,v=16,B=32,p=64,d=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,m=2,E=3,M=1/0,x=9007199254740991,P=17976931348623157e292,Y=NaN,J=4294967295,q=J-1,W=J>>>1,z=[["ary",d],["bind",D],["bindKey",Q],["curry",k],["curryRight",v],["flip",g],["partial",B],["partialRight",p],["rearg",l]],X="[object Arguments]",_="[object Array]",AA="[object AsyncFunction]",G="[object Boolean]",eA="[object Date]",sA="[object DOMException]",oA="[object Error]",hA="[object Function]",EA="[object GeneratorFunction]",gA="[object Map]",CA="[object Number]",O="[object Null]",tA="[object Object]",lA="[object Promise]",uA="[object Proxy]",Z="[object RegExp]",V="[object Set]",iA="[object String]",rA="[object Symbol]",BA="[object Undefined]",vA="[object WeakMap]",UA="[object WeakSet]",JA="[object ArrayBuffer]",qA="[object DataView]",WA="[object Float32Array]",le="[object Float64Array]",ne="[object Int8Array]",LA="[object Int16Array]",SA="[object Int32Array]",ZA="[object Uint8Array]",Be="[object Uint8ClampedArray]",De="[object Uint16Array]",xe="[object Uint32Array]",YA=/\b__p \+= '';/g,$A=/\b(__p \+=) '' \+/g,XA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,he=/&(?:amp|lt|gt|quot|#39);/g,ge=/[&<>"']/g,Ee=RegExp(he.source),ke=RegExp(ge.source),wA=/<%-([\s\S]+?)%>/g,NA=/<%([\s\S]+?)%>/g,HA=/<%=([\s\S]+?)%>/g,ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(ue.source),tt=/^\s+/,lt=/\s/,MA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,RA=/,? & /,zA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,OA=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,pt=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,mt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Nn="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",gn=Nn+Xt+Vt,wn="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",On="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",pi=" \\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",Ci="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Bi=An+On+en+pi,ei="['’]",Pi="["+nt+"]",go="["+Bi+"]",ti="["+gn+"]",bn="\\d+",Hi="["+wn+"]",Jo="["+St+"]",uo="[^"+nt+Bi+bn+wn+St+Ci+"]",Fn="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ti+"|"+Fn+")",bs="[^"+nt+"]",Zo="(?:\\ud83c[\\udde6-\\uddff]){2}",Wo="[\\ud800-\\udbff][\\udc00-\\udfff]",ni="["+Ci+"]",ys="\\u200d",Ds="(?:"+Jo+"|"+uo+")",vs="(?:"+ni+"|"+uo+")",ks="(?:"+ei+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+ei+"(?:D|LL|M|RE|S|T|VE))?",Or=ho+"?",$r="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Zo,Wo].join("|")+")"+$r+Or+")*",zr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Jr=$r+Or+sg,cg="(?:"+[Hi,Zo,Wo].join("|")+")"+Jr,jo="(?:"+[bs+ti+"?",ti,Zo,Wo,Pi].join("|")+")",gg=RegExp(ei,"g"),Ms=RegExp(ti,"g"),qo=RegExp(Fn+"(?="+Fn+")|"+jo+Jr,"g"),ug=RegExp([ni+"?"+Jo+"+"+ks+"(?="+[go,ni,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ni+Ds,"$"].join("|")+")",ni+"?"+Ds+"+"+ks,ni+"+"+_s,lg,zr,bn,cg].join("|"),"g"),xs=RegExp("["+ys+nt+gn+co+"]"),Ss=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,dg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,rt={};rt[WA]=rt[le]=rt[ne]=rt[LA]=rt[SA]=rt[ZA]=rt[Be]=rt[De]=rt[xe]=!0,rt[X]=rt[_]=rt[JA]=rt[G]=rt[qA]=rt[eA]=rt[oA]=rt[hA]=rt[gA]=rt[CA]=rt[tA]=rt[Z]=rt[V]=rt[iA]=rt[vA]=!1;var ct={};ct[X]=ct[_]=ct[JA]=ct[qA]=ct[G]=ct[eA]=ct[WA]=ct[le]=ct[ne]=ct[LA]=ct[SA]=ct[gA]=ct[CA]=ct[tA]=ct[Z]=ct[V]=ct[iA]=ct[rA]=ct[ZA]=ct[Be]=ct[De]=ct[xe]=!0,ct[oA]=ct[hA]=ct[vA]=!1;var Zr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Xo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Nt=Xo||pg||Function("return this")(),Rn=e&&!e.nodeType&&e,mi=Rn&&!0&&n&&!n.nodeType&&n,Ls=mi&&mi.exports===Rn,jr=Ls&&Xo.process,tn=function(){try{var kA=mi&&mi.require&&mi.require("util").types;return kA||jr&&jr.binding&&jr.binding("util")}catch{}}(),qr=tn&&tn.isArrayBuffer,Gt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,TA,PA){switch(PA.length){case 0:return kA.call(TA);case 1:return kA.call(TA,PA[0]);case 2:return kA.call(TA,PA[0],PA[1]);case 3:return kA.call(TA,PA[0],PA[1],PA[2])}return kA.apply(TA,PA)}function Cg(kA,TA,PA,VA){for(var Ce=-1,He=kA==null?0:kA.length;++Ce<He;){var Ke=kA[Ce];TA(VA,Ke,PA(Ke),kA)}return VA}function un(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA&&TA(kA[PA],PA,kA)!==!1;);return kA}function Bg(kA,TA){for(var PA=kA==null?0:kA.length;PA--&&TA(kA[PA],PA,kA)!==!1;);return kA}function Xr(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA;)if(!TA(kA[PA],PA,kA))return!1;return!0}function yn(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length,Ce=0,He=[];++PA<VA;){var Ke=kA[PA];TA(Ke,PA,kA)&&(He[Ce++]=Ke)}return He}function Ln(kA,TA){var PA=kA==null?0:kA.length;return!!PA&&Ti(kA,TA,0)>-1}function Ki(kA,TA,PA){for(var VA=-1,Ce=kA==null?0:kA.length;++VA<Ce;)if(PA(TA,kA[VA]))return!0;return!1}function ht(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length,Ce=Array(VA);++PA<VA;)Ce[PA]=TA(kA[PA],PA,kA);return Ce}function $n(kA,TA){for(var PA=-1,VA=TA.length,Ce=kA.length;++PA<VA;)kA[Ce+PA]=TA[PA];return kA}function Vo(kA,TA,PA,VA){var Ce=-1,He=kA==null?0:kA.length;for(VA&&He&&(PA=kA[++Ce]);++Ce<He;)PA=TA(PA,kA[Ce],Ce,kA);return PA}function Ts(kA,TA,PA,VA){var Ce=kA==null?0:kA.length;for(VA&&Ce&&(PA=kA[--Ce]);Ce--;)PA=TA(PA,kA[Ce],Ce,kA);return PA}function Ei(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA;)if(TA(kA[PA],PA,kA))return!0;return!1}var mg=Aa("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(zA)||[]}function Us(kA,TA,PA){var VA;return PA(kA,function(Ce,He,Ke){if(TA(Ce,He,Ke))return VA=He,!1}),VA}function Ar(kA,TA,PA,VA){for(var Ce=kA.length,He=PA+(VA?1:-1);VA?He--:++He<Ce;)if(TA(kA[He],He,kA))return He;return-1}function Ti(kA,TA,PA){return TA===TA?IA(kA,TA,PA):Ar(kA,Ys,PA)}function Vr(kA,TA,PA,VA){for(var Ce=PA-1,He=kA.length;++Ce<He;)if(VA(kA[Ce],TA))return Ce;return-1}function Ys(kA){return kA!==kA}function Co(kA,TA){var PA=kA==null?0:kA.length;return PA?er(kA,TA)/PA:Y}function Aa(kA){return function(TA){return TA==null?t:TA[kA]}}function Bo(kA){return function(TA){return kA==null?t:kA[TA]}}function Os(kA,TA,PA,VA,Ce){return Ce(kA,function(He,Ke,Oe){PA=VA?(VA=!1,He):TA(PA,He,Ke,Oe)}),PA}function Ig(kA,TA){var PA=kA.length;for(kA.sort(TA);PA--;)kA[PA]=kA[PA].value;return kA}function er(kA,TA){for(var PA,VA=-1,Ce=kA.length;++VA<Ce;){var He=TA(kA[VA]);He!==t&&(PA=PA===t?He:PA+He)}return PA}function Qi(kA,TA){for(var PA=-1,VA=Array(kA);++PA<kA;)VA[PA]=TA(PA);return VA}function ii(kA,TA){return ht(TA,function(PA){return[PA,kA[PA]]})}function ea(kA){return kA&&kA.slice(0,GA(kA)+1).replace(tt,"")}function Kt(kA){return function(TA){return kA(TA)}}function ta(kA,TA){return ht(TA,function(PA){return kA[PA]})}function mo(kA,TA){return kA.has(TA)}function $s(kA,TA){for(var PA=-1,VA=kA.length;++PA<VA&&Ti(TA,kA[PA],0)>-1;);return PA}function zs(kA,TA){for(var PA=kA.length;PA--&&Ti(TA,kA[PA],0)>-1;);return PA}function fg(kA,TA){for(var PA=kA.length,VA=0;PA--;)kA[PA]===TA&&++VA;return VA}var wg=Bo(Zr),bg=Bo(Ns);function yg(kA){return"\\"+Wr[kA]}function Dg(kA,TA){return kA==null?t:kA[TA]}function Ui(kA){return xs.test(kA)}function R(kA){return Ss.test(kA)}function F(kA){for(var TA,PA=[];!(TA=kA.next()).done;)PA.push(TA.value);return PA}function j(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA,Ce){PA[++TA]=[Ce,VA]}),PA}function nA(kA,TA){return function(PA){return kA(TA(PA))}}function cA(kA,TA){for(var PA=-1,VA=kA.length,Ce=0,He=[];++PA<VA;){var Ke=kA[PA];(Ke===TA||Ke===S)&&(kA[PA]=S,He[Ce++]=PA)}return He}function dA(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA){PA[++TA]=VA}),PA}function mA(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA){PA[++TA]=[VA,VA]}),PA}function IA(kA,TA,PA){for(var VA=PA-1,Ce=kA.length;++VA<Ce;)if(kA[VA]===TA)return VA;return-1}function yA(kA,TA,PA){for(var VA=PA+1;VA--;)if(kA[VA]===TA)return VA;return VA}function xA(kA){return Ui(kA)?ce(kA):mg(kA)}function DA(kA){return Ui(kA)?re(kA):Eg(kA)}function GA(kA){for(var TA=kA.length;TA--&<.test(kA.charAt(TA)););return TA}var jA=Bo(hg);function ce(kA){for(var TA=qo.lastIndex=0;qo.test(kA);)++TA;return TA}function re(kA){return kA.match(qo)||[]}function de(kA){return kA.match(ug)||[]}var ye=function kA(TA){TA=TA==null?Nt:Qe.defaults(Nt.Object(),TA,Qe.pick(Nt,dg));var PA=TA.Array,VA=TA.Date,Ce=TA.Error,He=TA.Function,Ke=TA.Math,Oe=TA.Object,on=TA.RegExp,zn=TA.String,Tt=TA.TypeError,oi=PA.prototype,Wx=He.prototype,tr=Oe.prototype,Js=TA["__core-js_shared__"],Zs=Wx.toString,st=tr.hasOwnProperty,jx=0,vC=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=tr.toString,qx=Zs.call(Oe),Xx=Nt._,Vx=on("^"+Zs.call(st).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?TA.Buffer:t,Yi=TA.Symbol,qs=TA.Uint8Array,kC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),_C=Oe.create,MC=tr.propertyIsEnumerable,Vs=oi.splice,xC=Yi?Yi.isConcatSpreadable:t,na=Yi?Yi.iterator:t,Eo=Yi?Yi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),AS=TA.clearTimeout!==Nt.clearTimeout&&TA.clearTimeout,eS=VA&&VA.now!==Nt.Date.now&&VA.now,tS=TA.setTimeout!==Nt.setTimeout&&TA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,nS=js?js.isBuffer:t,SC=TA.isFinite,iS=oi.join,oS=nA(Oe.keys,Oe),Ft=Ke.max,$t=Ke.min,rS=VA.now,aS=TA.parseInt,NC=Ke.random,sS=oi.reverse,kg=bo(TA,"DataView"),ia=bo(TA,"Map"),_g=bo(TA,"Promise"),nr=bo(TA,"Set"),oa=bo(TA,"WeakMap"),ra=bo(Oe,"create"),nl=oa&&new oa,ir={},lS=yo(kg),cS=yo(ia),gS=yo(_g),uS=yo(nr),dS=yo(oa),il=Yi?Yi.prototype:t,aa=il?il.valueOf:t,FC=il?il.toString:t;function QA(c){if(ft(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Gn)return c;if(st.call(c,"__wrapped__"))return RB(c)}return new Gn(c)}var or=function(){function c(){}return function(f){if(!Et(f))return{};if(_C)return _C(f);c.prototype=f;var U=new c;return c.prototype=t,U}}();function ol(){}function Gn(c,f){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=t}QA.templateSettings={escape:wA,evaluate:NA,interpolate:HA,variable:"",imports:{_:QA}},QA.prototype=ol.prototype,QA.prototype.constructor=QA,Gn.prototype=or(ol.prototype),Gn.prototype.constructor=Gn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function hS(){var c=new Xe(this.__wrapped__);return c.__actions__=dn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=dn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=dn(this.__views__),c}function pS(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function CS(){var c=this.__wrapped__.value(),f=this.__dir__,U=Te(c),aA=f<0,pA=U?c.length:0,fA=k4(0,pA,this.__views__),_A=fA.start,FA=fA.end,KA=FA-_A,Ae=aA?FA:_A-1,ee=this.__iteratees__,ae=ee.length,we=0,ve=$t(KA,this.__takeCount__);if(!U||!aA&&pA==KA&&ve==KA)return iB(c,this.__actions__);var Ne=[];A:for(;KA--&&we<ve;){Ae+=f;for(var Je=-1,Fe=c[Ae];++Je<ae;){var We=ee[Je],Ve=We.iteratee,kn=We.type,sn=Ve(Fe);if(kn==m)Fe=sn;else if(!sn){if(kn==r)continue A;break A}}Ne[we++]=Fe}return Ne}Xe.prototype=or(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function BS(){this.__data__=ra?ra(null):{},this.size=0}function mS(c){var f=this.has(c)&&delete this.__data__[c];return this.size-=f?1:0,f}function ES(c){var f=this.__data__;if(ra){var U=f[c];return U===y?t:U}return st.call(f,c)?f[c]:t}function QS(c){var f=this.__data__;return ra?f[c]!==t:st.call(f,c)}function IS(c,f){var U=this.__data__;return this.size+=this.has(c)?0:1,U[c]=ra&&f===t?y:f,this}Qo.prototype.clear=BS,Qo.prototype.delete=mS,Qo.prototype.get=ES,Qo.prototype.has=QS,Qo.prototype.set=IS;function Ii(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function fS(){this.__data__=[],this.size=0}function wS(c){var f=this.__data__,U=rl(f,c);if(U<0)return!1;var aA=f.length-1;return U==aA?f.pop():Vs.call(f,U,1),--this.size,!0}function bS(c){var f=this.__data__,U=rl(f,c);return U<0?t:f[U][1]}function yS(c){return rl(this.__data__,c)>-1}function DS(c,f){var U=this.__data__,aA=rl(U,c);return aA<0?(++this.size,U.push([c,f])):U[aA][1]=f,this}Ii.prototype.clear=fS,Ii.prototype.delete=wS,Ii.prototype.get=bS,Ii.prototype.has=yS,Ii.prototype.set=DS;function fi(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function vS(){this.size=0,this.__data__={hash:new Qo,map:new(ia||Ii),string:new Qo}}function kS(c){var f=ml(this,c).delete(c);return this.size-=f?1:0,f}function _S(c){return ml(this,c).get(c)}function MS(c){return ml(this,c).has(c)}function xS(c,f){var U=ml(this,c),aA=U.size;return U.set(c,f),this.size+=U.size==aA?0:1,this}fi.prototype.clear=vS,fi.prototype.delete=kS,fi.prototype.get=_S,fi.prototype.has=MS,fi.prototype.set=xS;function Io(c){var f=-1,U=c==null?0:c.length;for(this.__data__=new fi;++f<U;)this.add(c[f])}function SS(c){return this.__data__.set(c,y),this}function NS(c){return this.__data__.has(c)}Io.prototype.add=Io.prototype.push=SS,Io.prototype.has=NS;function Jn(c){var f=this.__data__=new Ii(c);this.size=f.size}function FS(){this.__data__=new Ii,this.size=0}function RS(c){var f=this.__data__,U=f.delete(c);return this.size=f.size,U}function LS(c){return this.__data__.get(c)}function GS(c){return this.__data__.has(c)}function PS(c,f){var U=this.__data__;if(U instanceof Ii){var aA=U.__data__;if(!ia||aA.length<u-1)return aA.push([c,f]),this.size=++U.size,this;U=this.__data__=new fi(aA)}return U.set(c,f),this.size=U.size,this}Jn.prototype.clear=FS,Jn.prototype.delete=RS,Jn.prototype.get=LS,Jn.prototype.has=GS,Jn.prototype.set=PS;function RC(c,f){var U=Te(c),aA=!U&&Do(c),pA=!U&&!aA&&Zi(c),fA=!U&&!aA&&!pA&&lr(c),_A=U||aA||pA||fA,FA=_A?Qi(c.length,zn):[],KA=FA.length;for(var Ae in c)(f||st.call(c,Ae))&&!(_A&&(Ae=="length"||pA&&(Ae=="offset"||Ae=="parent")||fA&&(Ae=="buffer"||Ae=="byteLength"||Ae=="byteOffset")||Di(Ae,KA)))&&FA.push(Ae);return FA}function LC(c){var f=c.length;return f?c[Kg(0,f-1)]:t}function HS(c,f){return El(dn(c),fo(f,0,c.length))}function KS(c){return El(dn(c))}function Mg(c,f,U){(U!==t&&!Zn(c[f],U)||U===t&&!(f in c))&&wi(c,f,U)}function sa(c,f,U){var aA=c[f];(!(st.call(c,f)&&Zn(aA,U))||U===t&&!(f in c))&&wi(c,f,U)}function rl(c,f){for(var U=c.length;U--;)if(Zn(c[U][0],f))return U;return-1}function TS(c,f,U,aA){return Oi(c,function(pA,fA,_A){f(aA,pA,U(pA),_A)}),aA}function GC(c,f){return c&&ai(f,Pt(f),c)}function US(c,f){return c&&ai(f,pn(f),c)}function wi(c,f,U){f=="__proto__"&&Al?Al(c,f,{configurable:!0,enumerable:!0,value:U,writable:!0}):c[f]=U}function xg(c,f){for(var U=-1,aA=f.length,pA=PA(aA),fA=c==null;++U<aA;)pA[U]=fA?t:gu(c,f[U]);return pA}function fo(c,f,U){return c===c&&(U!==t&&(c=c<=U?c:U),f!==t&&(c=c>=f?c:f)),c}function Pn(c,f,U,aA,pA,fA){var _A,FA=f&N,KA=f&H,Ae=f&$;if(U&&(_A=pA?U(c,aA,pA,fA):U(c)),_A!==t)return _A;if(!Et(c))return c;var ee=Te(c);if(ee){if(_A=M4(c),!FA)return dn(c,_A)}else{var ae=zt(c),we=ae==hA||ae==EA;if(Zi(c))return aB(c,FA);if(ae==tA||ae==X||we&&!pA){if(_A=KA||we?{}:DB(c),!FA)return KA?E4(c,US(_A,c)):m4(c,GC(_A,c))}else{if(!ct[ae])return pA?c:{};_A=x4(c,ae,FA)}}fA||(fA=new Jn);var ve=fA.get(c);if(ve)return ve;fA.set(c,_A),em(c)?c.forEach(function(Fe){_A.add(Pn(Fe,f,U,Fe,c,fA))}):VB(c)&&c.forEach(function(Fe,We){_A.set(We,Pn(Fe,f,U,We,c,fA))});var Ne=Ae?KA?qg:jg:KA?pn:Pt,Je=ee?t:Ne(c);return un(Je||c,function(Fe,We){Je&&(We=Fe,Fe=c[We]),sa(_A,We,Pn(Fe,f,U,We,c,fA))}),_A}function YS(c){var f=Pt(c);return function(U){return PC(U,c,f)}}function PC(c,f,U){var aA=U.length;if(c==null)return!aA;for(c=Oe(c);aA--;){var pA=U[aA],fA=f[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function HC(c,f,U){if(typeof c!="function")throw new Tt(o);return pa(function(){c.apply(t,U)},f)}function la(c,f,U,aA){var pA=-1,fA=Ln,_A=!0,FA=c.length,KA=[],Ae=f.length;if(!FA)return KA;U&&(f=ht(f,Kt(U))),aA?(fA=Ki,_A=!1):f.length>=u&&(fA=mo,_A=!1,f=new Io(f));A:for(;++pA<FA;){var ee=c[pA],ae=U==null?ee:U(ee);if(ee=aA||ee!==0?ee:0,_A&&ae===ae){for(var we=Ae;we--;)if(f[we]===ae)continue A;KA.push(ee)}else fA(f,ae,aA)||KA.push(ee)}return KA}var Oi=uB(ri),KC=uB(Ng,!0);function OS(c,f){var U=!0;return Oi(c,function(aA,pA,fA){return U=!!f(aA,pA,fA),U}),U}function al(c,f,U){for(var aA=-1,pA=c.length;++aA<pA;){var fA=c[aA],_A=f(fA);if(_A!=null&&(FA===t?_A===_A&&!vn(_A):U(_A,FA)))var FA=_A,KA=fA}return KA}function $S(c,f,U,aA){var pA=c.length;for(U=$e(U),U<0&&(U=-U>pA?0:pA+U),aA=aA===t||aA>pA?pA:$e(aA),aA<0&&(aA+=pA),aA=U>aA?0:nm(aA);U<aA;)c[U++]=f;return c}function TC(c,f){var U=[];return Oi(c,function(aA,pA,fA){f(aA,pA,fA)&&U.push(aA)}),U}function Ut(c,f,U,aA,pA){var fA=-1,_A=c.length;for(U||(U=N4),pA||(pA=[]);++fA<_A;){var FA=c[fA];f>0&&U(FA)?f>1?Ut(FA,f-1,U,aA,pA):$n(pA,FA):aA||(pA[pA.length]=FA)}return pA}var Sg=dB(),UC=dB(!0);function ri(c,f){return c&&Sg(c,f,Pt)}function Ng(c,f){return c&&UC(c,f,Pt)}function sl(c,f){return yn(f,function(U){return vi(c[U])})}function wo(c,f){f=zi(f,c);for(var U=0,aA=f.length;c!=null&&U<aA;)c=c[si(f[U++])];return U&&U==aA?c:t}function YC(c,f,U){var aA=f(c);return Te(c)?aA:$n(aA,U(c))}function rn(c){return c==null?c===t?BA:O:Eo&&Eo in Oe(c)?v4(c):K4(c)}function Fg(c,f){return c>f}function zS(c,f){return c!=null&&st.call(c,f)}function JS(c,f){return c!=null&&f in Oe(c)}function ZS(c,f,U){return c>=$t(f,U)&&c<Ft(f,U)}function Rg(c,f,U){for(var aA=U?Ki:Ln,pA=c[0].length,fA=c.length,_A=fA,FA=PA(fA),KA=1/0,Ae=[];_A--;){var ee=c[_A];_A&&f&&(ee=ht(ee,Kt(f))),KA=$t(ee.length,KA),FA[_A]=!U&&(f||pA>=120&&ee.length>=120)?new Io(_A&&ee):t}ee=c[0];var ae=-1,we=FA[0];A:for(;++ae<pA&&Ae.length<KA;){var ve=ee[ae],Ne=f?f(ve):ve;if(ve=U||ve!==0?ve:0,!(we?mo(we,Ne):aA(Ae,Ne,U))){for(_A=fA;--_A;){var Je=FA[_A];if(!(Je?mo(Je,Ne):aA(c[_A],Ne,U)))continue A}we&&we.push(Ne),Ae.push(ve)}}return Ae}function WS(c,f,U,aA){return ri(c,function(pA,fA,_A){f(aA,U(pA),fA,_A)}),aA}function ca(c,f,U){f=zi(f,c),c=MB(c,f);var aA=c==null?c:c[si(Kn(f))];return aA==null?t:nn(aA,c,U)}function OC(c){return ft(c)&&rn(c)==X}function jS(c){return ft(c)&&rn(c)==JA}function qS(c){return ft(c)&&rn(c)==eA}function ga(c,f,U,aA,pA){return c===f?!0:c==null||f==null||!ft(c)&&!ft(f)?c!==c&&f!==f:XS(c,f,U,aA,ga,pA)}function XS(c,f,U,aA,pA,fA){var _A=Te(c),FA=Te(f),KA=_A?_:zt(c),Ae=FA?_:zt(f);KA=KA==X?tA:KA,Ae=Ae==X?tA:Ae;var ee=KA==tA,ae=Ae==tA,we=KA==Ae;if(we&&Zi(c)){if(!Zi(f))return!1;_A=!0,ee=!1}if(we&&!ee)return fA||(fA=new Jn),_A||lr(c)?wB(c,f,U,aA,pA,fA):y4(c,f,KA,U,aA,pA,fA);if(!(U&K)){var ve=ee&&st.call(c,"__wrapped__"),Ne=ae&&st.call(f,"__wrapped__");if(ve||Ne){var Je=ve?c.value():c,Fe=Ne?f.value():f;return fA||(fA=new Jn),pA(Je,Fe,U,aA,fA)}}return we?(fA||(fA=new Jn),D4(c,f,U,aA,pA,fA)):!1}function VS(c){return ft(c)&&zt(c)==gA}function Lg(c,f,U,aA){var pA=U.length,fA=pA,_A=!aA;if(c==null)return!fA;for(c=Oe(c);pA--;){var FA=U[pA];if(_A&&FA[2]?FA[1]!==c[FA[0]]:!(FA[0]in c))return!1}for(;++pA<fA;){FA=U[pA];var KA=FA[0],Ae=c[KA],ee=FA[1];if(_A&&FA[2]){if(Ae===t&&!(KA in c))return!1}else{var ae=new Jn;if(aA)var we=aA(Ae,ee,KA,c,f,ae);if(!(we===t?ga(ee,Ae,K|T,aA,ae):we))return!1}}return!0}function $C(c){if(!Et(c)||R4(c))return!1;var f=vi(c)?Vx:ze;return f.test(yo(c))}function A4(c){return ft(c)&&rn(c)==Z}function e4(c){return ft(c)&&zt(c)==V}function t4(c){return ft(c)&&yl(c.length)&&!!rt[rn(c)]}function zC(c){return typeof c=="function"?c:c==null?Cn:typeof c=="object"?Te(c)?WC(c[0],c[1]):ZC(c):hm(c)}function Gg(c){if(!ha(c))return oS(c);var f=[];for(var U in Oe(c))st.call(c,U)&&U!="constructor"&&f.push(U);return f}function n4(c){if(!Et(c))return H4(c);var f=ha(c),U=[];for(var aA in c)aA=="constructor"&&(f||!st.call(c,aA))||U.push(aA);return U}function Pg(c,f){return c<f}function JC(c,f){var U=-1,aA=hn(c)?PA(c.length):[];return Oi(c,function(pA,fA,_A){aA[++U]=f(pA,fA,_A)}),aA}function ZC(c){var f=Vg(c);return f.length==1&&f[0][2]?kB(f[0][0],f[0][1]):function(U){return U===c||Lg(U,c,f)}}function WC(c,f){return eu(c)&&vB(f)?kB(si(c),f):function(U){var aA=gu(U,c);return aA===t&&aA===f?uu(U,c):ga(f,aA,K|T)}}function ll(c,f,U,aA,pA){c!==f&&Sg(f,function(fA,_A){if(pA||(pA=new Jn),Et(fA))i4(c,f,_A,U,ll,aA,pA);else{var FA=aA?aA(nu(c,_A),fA,_A+"",c,f,pA):t;FA===t&&(FA=fA),Mg(c,_A,FA)}},pn)}function i4(c,f,U,aA,pA,fA,_A){var FA=nu(c,U),KA=nu(f,U),Ae=_A.get(KA);if(Ae){Mg(c,U,Ae);return}var ee=fA?fA(FA,KA,U+"",c,f,_A):t,ae=ee===t;if(ae){var we=Te(KA),ve=!we&&Zi(KA),Ne=!we&&!ve&&lr(KA);ee=KA,we||ve||Ne?Te(FA)?ee=FA:yt(FA)?ee=dn(FA):ve?(ae=!1,ee=aB(KA,!0)):Ne?(ae=!1,ee=sB(KA,!0)):ee=[]:Ca(KA)||Do(KA)?(ee=FA,Do(FA)?ee=im(FA):(!Et(FA)||vi(FA))&&(ee=DB(KA))):ae=!1}ae&&(_A.set(KA,ee),pA(ee,KA,aA,fA,_A),_A.delete(KA)),Mg(c,U,ee)}function jC(c,f){var U=c.length;if(U)return f+=f<0?U:0,Di(f,U)?c[f]:t}function qC(c,f,U){f.length?f=ht(f,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):f=[Cn];var aA=-1;f=ht(f,Kt(Se()));var pA=JC(c,function(fA,_A,FA){var KA=ht(f,function(Ae){return Ae(fA)});return{criteria:KA,index:++aA,value:fA}});return Ig(pA,function(fA,_A){return B4(fA,_A,U)})}function o4(c,f){return XC(c,f,function(U,aA){return uu(c,aA)})}function XC(c,f,U){for(var aA=-1,pA=f.length,fA={};++aA<pA;){var _A=f[aA],FA=wo(c,_A);U(FA,_A)&&ua(fA,zi(_A,c),FA)}return fA}function r4(c){return function(f){return wo(f,c)}}function Hg(c,f,U,aA){var pA=aA?Vr:Ti,fA=-1,_A=f.length,FA=c;for(c===f&&(f=dn(f)),U&&(FA=ht(c,Kt(U)));++fA<_A;)for(var KA=0,Ae=f[fA],ee=U?U(Ae):Ae;(KA=pA(FA,ee,KA,aA))>-1;)FA!==c&&Vs.call(FA,KA,1),Vs.call(c,KA,1);return c}function VC(c,f){for(var U=c?f.length:0,aA=U-1;U--;){var pA=f[U];if(U==aA||pA!==fA){var fA=pA;Di(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,f){return c+tl(NC()*(f-c+1))}function a4(c,f,U,aA){for(var pA=-1,fA=Ft(el((f-c)/(U||1)),0),_A=PA(fA);fA--;)_A[aA?fA:++pA]=c,c+=U;return _A}function Tg(c,f){var U="";if(!c||f<1||f>x)return U;do f%2&&(U+=c),f=tl(f/2),f&&(c+=c);while(f);return U}function Ze(c,f){return iu(_B(c,f,Cn),c+"")}function s4(c){return LC(cr(c))}function l4(c,f){var U=cr(c);return El(U,fo(f,0,U.length))}function ua(c,f,U,aA){if(!Et(c))return c;f=zi(f,c);for(var pA=-1,fA=f.length,_A=fA-1,FA=c;FA!=null&&++pA<fA;){var KA=si(f[pA]),Ae=U;if(KA==="__proto__"||KA==="constructor"||KA==="prototype")return c;if(pA!=_A){var ee=FA[KA];Ae=aA?aA(ee,KA,FA):t,Ae===t&&(Ae=Et(ee)?ee:Di(f[pA+1])?[]:{})}sa(FA,KA,Ae),FA=FA[KA]}return c}var AB=nl?function(c,f){return nl.set(c,f),c}:Cn,c4=Al?function(c,f){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hu(f),writable:!0})}:Cn;function g4(c){return El(cr(c))}function Hn(c,f,U){var aA=-1,pA=c.length;f<0&&(f=-f>pA?0:pA+f),U=U>pA?pA:U,U<0&&(U+=pA),pA=f>U?0:U-f>>>0,f>>>=0;for(var fA=PA(pA);++aA<pA;)fA[aA]=c[aA+f];return fA}function u4(c,f){var U;return Oi(c,function(aA,pA,fA){return U=f(aA,pA,fA),!U}),!!U}function cl(c,f,U){var aA=0,pA=c==null?aA:c.length;if(typeof f=="number"&&f===f&&pA<=W){for(;aA<pA;){var fA=aA+pA>>>1,_A=c[fA];_A!==null&&!vn(_A)&&(U?_A<=f:_A<f)?aA=fA+1:pA=fA}return pA}return Ug(c,f,Cn,U)}function Ug(c,f,U,aA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;f=U(f);for(var _A=f!==f,FA=f===null,KA=vn(f),Ae=f===t;pA<fA;){var ee=tl((pA+fA)/2),ae=U(c[ee]),we=ae!==t,ve=ae===null,Ne=ae===ae,Je=vn(ae);if(_A)var Fe=aA||Ne;else Ae?Fe=Ne&&(aA||we):FA?Fe=Ne&&we&&(aA||!ve):KA?Fe=Ne&&we&&!ve&&(aA||!Je):ve||Je?Fe=!1:Fe=aA?ae<=f:ae<f;Fe?pA=ee+1:fA=ee}return $t(fA,q)}function eB(c,f){for(var U=-1,aA=c.length,pA=0,fA=[];++U<aA;){var _A=c[U],FA=f?f(_A):_A;if(!U||!Zn(FA,KA)){var KA=FA;fA[pA++]=_A===0?0:_A}}return fA}function tB(c){return typeof c=="number"?c:vn(c)?Y:+c}function Dn(c){if(typeof c=="string")return c;if(Te(c))return ht(c,Dn)+"";if(vn(c))return FC?FC.call(c):"";var f=c+"";return f=="0"&&1/c==-M?"-0":f}function $i(c,f,U){var aA=-1,pA=Ln,fA=c.length,_A=!0,FA=[],KA=FA;if(U)_A=!1,pA=Ki;else if(fA>=u){var Ae=f?null:w4(c);if(Ae)return dA(Ae);_A=!1,pA=mo,KA=new Io}else KA=f?[]:FA;A:for(;++aA<fA;){var ee=c[aA],ae=f?f(ee):ee;if(ee=U||ee!==0?ee:0,_A&&ae===ae){for(var we=KA.length;we--;)if(KA[we]===ae)continue A;f&&KA.push(ae),FA.push(ee)}else pA(KA,ae,U)||(KA!==FA&&KA.push(ae),FA.push(ee))}return FA}function Yg(c,f){return f=zi(f,c),c=MB(c,f),c==null||delete c[si(Kn(f))]}function nB(c,f,U,aA){return ua(c,f,U(wo(c,f)),aA)}function gl(c,f,U,aA){for(var pA=c.length,fA=aA?pA:-1;(aA?fA--:++fA<pA)&&f(c[fA],fA,c););return U?Hn(c,aA?0:fA,aA?fA+1:pA):Hn(c,aA?fA+1:0,aA?pA:fA)}function iB(c,f){var U=c;return U instanceof Xe&&(U=U.value()),Vo(f,function(aA,pA){return pA.func.apply(pA.thisArg,$n([aA],pA.args))},U)}function Og(c,f,U){var aA=c.length;if(aA<2)return aA?$i(c[0]):[];for(var pA=-1,fA=PA(aA);++pA<aA;)for(var _A=c[pA],FA=-1;++FA<aA;)FA!=pA&&(fA[pA]=la(fA[pA]||_A,c[FA],f,U));return $i(Ut(fA,1),f,U)}function oB(c,f,U){for(var aA=-1,pA=c.length,fA=f.length,_A={};++aA<pA;){var FA=aA<fA?f[aA]:t;U(_A,c[aA],FA)}return _A}function $g(c){return yt(c)?c:[]}function zg(c){return typeof c=="function"?c:Cn}function zi(c,f){return Te(c)?c:eu(c,f)?[c]:FB(at(c))}var d4=Ze;function Ji(c,f,U){var aA=c.length;return U=U===t?aA:U,!f&&U>=aA?c:Hn(c,f,U)}var rB=AS||function(c){return Nt.clearTimeout(c)};function aB(c,f){if(f)return c.slice();var U=c.length,aA=kC?kC(U):new c.constructor(U);return c.copy(aA),aA}function Jg(c){var f=new c.constructor(c.byteLength);return new qs(f).set(new qs(c)),f}function h4(c,f){var U=f?Jg(c.buffer):c.buffer;return new c.constructor(U,c.byteOffset,c.byteLength)}function p4(c){var f=new c.constructor(c.source,_e.exec(c));return f.lastIndex=c.lastIndex,f}function C4(c){return aa?Oe(aa.call(c)):{}}function sB(c,f){var U=f?Jg(c.buffer):c.buffer;return new c.constructor(U,c.byteOffset,c.length)}function lB(c,f){if(c!==f){var U=c!==t,aA=c===null,pA=c===c,fA=vn(c),_A=f!==t,FA=f===null,KA=f===f,Ae=vn(f);if(!FA&&!Ae&&!fA&&c>f||fA&&_A&&KA&&!FA&&!Ae||aA&&_A&&KA||!U&&KA||!pA)return 1;if(!aA&&!fA&&!Ae&&c<f||Ae&&U&&pA&&!aA&&!fA||FA&&U&&pA||!_A&&pA||!KA)return-1}return 0}function B4(c,f,U){for(var aA=-1,pA=c.criteria,fA=f.criteria,_A=pA.length,FA=U.length;++aA<_A;){var KA=lB(pA[aA],fA[aA]);if(KA){if(aA>=FA)return KA;var Ae=U[aA];return KA*(Ae=="desc"?-1:1)}}return c.index-f.index}function cB(c,f,U,aA){for(var pA=-1,fA=c.length,_A=U.length,FA=-1,KA=f.length,Ae=Ft(fA-_A,0),ee=PA(KA+Ae),ae=!aA;++FA<KA;)ee[FA]=f[FA];for(;++pA<_A;)(ae||pA<fA)&&(ee[U[pA]]=c[pA]);for(;Ae--;)ee[FA++]=c[pA++];return ee}function gB(c,f,U,aA){for(var pA=-1,fA=c.length,_A=-1,FA=U.length,KA=-1,Ae=f.length,ee=Ft(fA-FA,0),ae=PA(ee+Ae),we=!aA;++pA<ee;)ae[pA]=c[pA];for(var ve=pA;++KA<Ae;)ae[ve+KA]=f[KA];for(;++_A<FA;)(we||pA<fA)&&(ae[ve+U[_A]]=c[pA++]);return ae}function dn(c,f){var U=-1,aA=c.length;for(f||(f=PA(aA));++U<aA;)f[U]=c[U];return f}function ai(c,f,U,aA){var pA=!U;U||(U={});for(var fA=-1,_A=f.length;++fA<_A;){var FA=f[fA],KA=aA?aA(U[FA],c[FA],FA,U,c):t;KA===t&&(KA=c[FA]),pA?wi(U,FA,KA):sa(U,FA,KA)}return U}function m4(c,f){return ai(c,Au(c),f)}function E4(c,f){return ai(c,bB(c),f)}function ul(c,f){return function(U,aA){var pA=Te(U)?Cg:TS,fA=f?f():{};return pA(U,c,Se(aA,2),fA)}}function rr(c){return Ze(function(f,U){var aA=-1,pA=U.length,fA=pA>1?U[pA-1]:t,_A=pA>2?U[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(U[0],U[1],_A)&&(fA=pA<3?t:fA,pA=1),f=Oe(f);++aA<pA;){var FA=U[aA];FA&&c(f,FA,aA,fA)}return f})}function uB(c,f){return function(U,aA){if(U==null)return U;if(!hn(U))return c(U,aA);for(var pA=U.length,fA=f?pA:-1,_A=Oe(U);(f?fA--:++fA<pA)&&aA(_A[fA],fA,_A)!==!1;);return U}}function dB(c){return function(f,U,aA){for(var pA=-1,fA=Oe(f),_A=aA(f),FA=_A.length;FA--;){var KA=_A[c?FA:++pA];if(U(fA[KA],KA,fA)===!1)break}return f}}function Q4(c,f,U){var aA=f&D,pA=da(c);function fA(){var _A=this&&this!==Nt&&this instanceof fA?pA:c;return _A.apply(aA?U:this,arguments)}return fA}function hB(c){return function(f){f=at(f);var U=Ui(f)?DA(f):t,aA=U?U[0]:f.charAt(0),pA=U?Ji(U,1).join(""):f.slice(1);return aA[c]()+pA}}function ar(c){return function(f){return Vo(um(gm(f).replace(gg,"")),c,"")}}function da(c){return function(){var f=arguments;switch(f.length){case 0:return new c;case 1:return new c(f[0]);case 2:return new c(f[0],f[1]);case 3:return new c(f[0],f[1],f[2]);case 4:return new c(f[0],f[1],f[2],f[3]);case 5:return new c(f[0],f[1],f[2],f[3],f[4]);case 6:return new c(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new c(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var U=or(c.prototype),aA=c.apply(U,f);return Et(aA)?aA:U}}function I4(c,f,U){var aA=da(c);function pA(){for(var fA=arguments.length,_A=PA(fA),FA=fA,KA=sr(pA);FA--;)_A[FA]=arguments[FA];var Ae=fA<3&&_A[0]!==KA&&_A[fA-1]!==KA?[]:cA(_A,KA);if(fA-=Ae.length,fA<U)return EB(c,f,dl,pA.placeholder,t,_A,Ae,t,t,U-fA);var ee=this&&this!==Nt&&this instanceof pA?aA:c;return nn(ee,this,_A)}return pA}function pB(c){return function(f,U,aA){var pA=Oe(f);if(!hn(f)){var fA=Se(U,3);f=Pt(f),U=function(FA){return fA(pA[FA],FA,pA)}}var _A=c(f,U,aA);return _A>-1?pA[fA?f[_A]:_A]:t}}function CB(c){return yi(function(f){var U=f.length,aA=U,pA=Gn.prototype.thru;for(c&&f.reverse();aA--;){var fA=f[aA];if(typeof fA!="function")throw new Tt(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Gn([],!0)}for(aA=_A?aA:U;++aA<U;){fA=f[aA];var FA=Bl(fA),KA=FA=="wrapper"?Xg(fA):t;KA&&tu(KA[0])&&KA[1]==(d|k|B|l)&&!KA[4].length&&KA[9]==1?_A=_A[Bl(KA[0])].apply(_A,KA[3]):_A=fA.length==1&&tu(fA)?_A[FA]():_A.thru(fA)}return function(){var Ae=arguments,ee=Ae[0];if(_A&&Ae.length==1&&Te(ee))return _A.plant(ee).value();for(var ae=0,we=U?f[ae].apply(this,Ae):ee;++ae<U;)we=f[ae].call(this,we);return we}})}function dl(c,f,U,aA,pA,fA,_A,FA,KA,Ae){var ee=f&d,ae=f&D,we=f&Q,ve=f&(k|v),Ne=f&g,Je=we?t:da(c);function Fe(){for(var We=arguments.length,Ve=PA(We),kn=We;kn--;)Ve[kn]=arguments[kn];if(ve)var sn=sr(Fe),_n=fg(Ve,sn);if(aA&&(Ve=cB(Ve,aA,pA,ve)),fA&&(Ve=gB(Ve,fA,_A,ve)),We-=_n,ve&&We<Ae){var Dt=cA(Ve,sn);return EB(c,f,dl,Fe.placeholder,U,Ve,Dt,FA,KA,Ae-We)}var Wn=ae?U:this,_i=we?Wn[c]:c;return We=Ve.length,FA?Ve=T4(Ve,FA):Ne&&We>1&&Ve.reverse(),ee&&KA<We&&(Ve.length=KA),this&&this!==Nt&&this instanceof Fe&&(_i=Je||da(_i)),_i.apply(Wn,Ve)}return Fe}function BB(c,f){return function(U,aA){return WS(U,c,f(aA),{})}}function hl(c,f){return function(U,aA){var pA;if(U===t&&aA===t)return f;if(U!==t&&(pA=U),aA!==t){if(pA===t)return aA;typeof U=="string"||typeof aA=="string"?(U=Dn(U),aA=Dn(aA)):(U=tB(U),aA=tB(aA)),pA=c(U,aA)}return pA}}function Zg(c){return yi(function(f){return f=ht(f,Kt(Se())),Ze(function(U){var aA=this;return c(f,function(pA){return nn(pA,aA,U)})})})}function pl(c,f){f=f===t?" ":Dn(f);var U=f.length;if(U<2)return U?Tg(f,c):f;var aA=Tg(f,el(c/xA(f)));return Ui(f)?Ji(DA(aA),0,c).join(""):aA.slice(0,c)}function f4(c,f,U,aA){var pA=f&D,fA=da(c);function _A(){for(var FA=-1,KA=arguments.length,Ae=-1,ee=aA.length,ae=PA(ee+KA),we=this&&this!==Nt&&this instanceof _A?fA:c;++Ae<ee;)ae[Ae]=aA[Ae];for(;KA--;)ae[Ae++]=arguments[++FA];return nn(we,pA?U:this,ae)}return _A}function mB(c){return function(f,U,aA){return aA&&typeof aA!="number"&&an(f,U,aA)&&(U=aA=t),f=ki(f),U===t?(U=f,f=0):U=ki(U),aA=aA===t?f<U?1:-1:ki(aA),a4(f,U,aA,c)}}function Cl(c){return function(f,U){return typeof f=="string"&&typeof U=="string"||(f=Tn(f),U=Tn(U)),c(f,U)}}function EB(c,f,U,aA,pA,fA,_A,FA,KA,Ae){var ee=f&k,ae=ee?_A:t,we=ee?t:_A,ve=ee?fA:t,Ne=ee?t:fA;f|=ee?B:p,f&=~(ee?p:B),f&L||(f&=~(D|Q));var Je=[c,f,pA,ve,ae,Ne,we,FA,KA,Ae],Fe=U.apply(t,Je);return tu(c)&&xB(Fe,Je),Fe.placeholder=aA,SB(Fe,c,f)}function Wg(c){var f=Ke[c];return function(U,aA){if(U=Tn(U),aA=aA==null?0:$t($e(aA),292),aA&&SC(U)){var pA=(at(U)+"e").split("e"),fA=f(pA[0]+"e"+(+pA[1]+aA));return pA=(at(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-aA))}return f(U)}}var w4=nr&&1/dA(new nr([,-0]))[1]==M?function(c){return new nr(c)}:Bu;function QB(c){return function(f){var U=zt(f);return U==gA?j(f):U==V?mA(f):ii(f,c(f))}}function bi(c,f,U,aA,pA,fA,_A,FA){var KA=f&Q;if(!KA&&typeof c!="function")throw new Tt(o);var Ae=aA?aA.length:0;if(Ae||(f&=~(B|p),aA=pA=t),_A=_A===t?_A:Ft($e(_A),0),FA=FA===t?FA:$e(FA),Ae-=pA?pA.length:0,f&p){var ee=aA,ae=pA;aA=pA=t}var we=KA?t:Xg(c),ve=[c,f,U,aA,pA,ee,ae,fA,_A,FA];if(we&&P4(ve,we),c=ve[0],f=ve[1],U=ve[2],aA=ve[3],pA=ve[4],FA=ve[9]=ve[9]===t?KA?0:c.length:Ft(ve[9]-Ae,0),!FA&&f&(k|v)&&(f&=~(k|v)),!f||f==D)var Ne=Q4(c,f,U);else f==k||f==v?Ne=I4(c,f,FA):(f==B||f==(D|B))&&!pA.length?Ne=f4(c,f,U,aA):Ne=dl.apply(t,ve);var Je=we?AB:xB;return SB(Je(Ne,ve),c,f)}function IB(c,f,U,aA){return c===t||Zn(c,tr[U])&&!st.call(aA,U)?f:c}function fB(c,f,U,aA,pA,fA){return Et(c)&&Et(f)&&(fA.set(f,c),ll(c,f,t,fB,fA),fA.delete(f)),c}function b4(c){return Ca(c)?t:c}function wB(c,f,U,aA,pA,fA){var _A=U&K,FA=c.length,KA=f.length;if(FA!=KA&&!(_A&&KA>FA))return!1;var Ae=fA.get(c),ee=fA.get(f);if(Ae&&ee)return Ae==f&&ee==c;var ae=-1,we=!0,ve=U&T?new Io:t;for(fA.set(c,f),fA.set(f,c);++ae<FA;){var Ne=c[ae],Je=f[ae];if(aA)var Fe=_A?aA(Je,Ne,ae,f,c,fA):aA(Ne,Je,ae,c,f,fA);if(Fe!==t){if(Fe)continue;we=!1;break}if(ve){if(!Ei(f,function(We,Ve){if(!mo(ve,Ve)&&(Ne===We||pA(Ne,We,U,aA,fA)))return ve.push(Ve)})){we=!1;break}}else if(!(Ne===Je||pA(Ne,Je,U,aA,fA))){we=!1;break}}return fA.delete(c),fA.delete(f),we}function y4(c,f,U,aA,pA,fA,_A){switch(U){case qA:if(c.byteLength!=f.byteLength||c.byteOffset!=f.byteOffset)return!1;c=c.buffer,f=f.buffer;case JA:return!(c.byteLength!=f.byteLength||!fA(new qs(c),new qs(f)));case G:case eA:case CA:return Zn(+c,+f);case oA:return c.name==f.name&&c.message==f.message;case Z:case iA:return c==f+"";case gA:var FA=j;case V:var KA=aA&K;if(FA||(FA=dA),c.size!=f.size&&!KA)return!1;var Ae=_A.get(c);if(Ae)return Ae==f;aA|=T,_A.set(c,f);var ee=wB(FA(c),FA(f),aA,pA,fA,_A);return _A.delete(c),ee;case rA:if(aa)return aa.call(c)==aa.call(f)}return!1}function D4(c,f,U,aA,pA,fA){var _A=U&K,FA=jg(c),KA=FA.length,Ae=jg(f),ee=Ae.length;if(KA!=ee&&!_A)return!1;for(var ae=KA;ae--;){var we=FA[ae];if(!(_A?we in f:st.call(f,we)))return!1}var ve=fA.get(c),Ne=fA.get(f);if(ve&&Ne)return ve==f&&Ne==c;var Je=!0;fA.set(c,f),fA.set(f,c);for(var Fe=_A;++ae<KA;){we=FA[ae];var We=c[we],Ve=f[we];if(aA)var kn=_A?aA(Ve,We,we,f,c,fA):aA(We,Ve,we,c,f,fA);if(!(kn===t?We===Ve||pA(We,Ve,U,aA,fA):kn)){Je=!1;break}Fe||(Fe=we=="constructor")}if(Je&&!Fe){var sn=c.constructor,_n=f.constructor;sn!=_n&&"constructor"in c&&"constructor"in f&&!(typeof sn=="function"&&sn instanceof sn&&typeof _n=="function"&&_n instanceof _n)&&(Je=!1)}return fA.delete(c),fA.delete(f),Je}function yi(c){return iu(_B(c,t,PB),c+"")}function jg(c){return YC(c,Pt,Au)}function qg(c){return YC(c,pn,bB)}var Xg=nl?function(c){return nl.get(c)}:Bu;function Bl(c){for(var f=c.name+"",U=ir[f],aA=st.call(ir,f)?U.length:0;aA--;){var pA=U[aA],fA=pA.func;if(fA==null||fA==c)return pA.name}return f}function sr(c){var f=st.call(QA,"placeholder")?QA:c;return f.placeholder}function Se(){var c=QA.iteratee||pu;return c=c===pu?zC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,f){var U=c.__data__;return F4(f)?U[typeof f=="string"?"string":"hash"]:U.map}function Vg(c){for(var f=Pt(c),U=f.length;U--;){var aA=f[U],pA=c[aA];f[U]=[aA,pA,vB(pA)]}return f}function bo(c,f){var U=Dg(c,f);return $C(U)?U:t}function v4(c){var f=st.call(c,Eo),U=c[Eo];try{c[Eo]=t;var aA=!0}catch{}var pA=Ws.call(c);return aA&&(f?c[Eo]=U:delete c[Eo]),pA}var Au=vg?function(c){return c==null?[]:(c=Oe(c),yn(vg(c),function(f){return MC.call(c,f)}))}:mu,bB=vg?function(c){for(var f=[];c;)$n(f,Au(c)),c=Xs(c);return f}:mu,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=qA||ia&&zt(new ia)!=gA||_g&&zt(_g.resolve())!=lA||nr&&zt(new nr)!=V||oa&&zt(new oa)!=vA)&&(zt=function(c){var f=rn(c),U=f==tA?c.constructor:t,aA=U?yo(U):"";if(aA)switch(aA){case lS:return qA;case cS:return gA;case gS:return lA;case uS:return V;case dS:return vA}return f});function k4(c,f,U){for(var aA=-1,pA=U.length;++aA<pA;){var fA=U[aA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":f-=_A;break;case"take":f=$t(f,c+_A);break;case"takeRight":c=Ft(c,f-_A);break}}return{start:c,end:f}}function _4(c){var f=c.match(bA);return f?f[1].split(RA):[]}function yB(c,f,U){f=zi(f,c);for(var aA=-1,pA=f.length,fA=!1;++aA<pA;){var _A=si(f[aA]);if(!(fA=c!=null&&U(c,_A)))break;c=c[_A]}return fA||++aA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&Di(_A,pA)&&(Te(c)||Do(c)))}function M4(c){var f=c.length,U=new c.constructor(f);return f&&typeof c[0]=="string"&&st.call(c,"index")&&(U.index=c.index,U.input=c.input),U}function DB(c){return typeof c.constructor=="function"&&!ha(c)?or(Xs(c)):{}}function x4(c,f,U){var aA=c.constructor;switch(f){case JA:return Jg(c);case G:case eA:return new aA(+c);case qA:return h4(c,U);case WA:case le:case ne:case LA:case SA:case ZA:case Be:case De:case xe:return sB(c,U);case gA:return new aA;case CA:case iA:return new aA(c);case Z:return p4(c);case V:return new aA;case rA:return C4(c)}}function S4(c,f){var U=f.length;if(!U)return c;var aA=U-1;return f[aA]=(U>1?"& ":"")+f[aA],f=f.join(U>2?", ":" "),c.replace(MA,`{
|
|
8
|
+
*/Ba.exports,function(n,e){(function(){var t,i="4.17.21",u=200,I="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",b="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",w=500,S="__lodash_placeholder__",N=1,H=2,$=4,K=1,T=2,D=1,Q=2,L=4,k=8,v=16,B=32,p=64,d=128,l=256,g=512,s=30,h="...",C=800,a=16,r=1,m=2,E=3,M=1/0,x=9007199254740991,P=17976931348623157e292,Y=NaN,J=4294967295,q=J-1,W=J>>>1,z=[["ary",d],["bind",D],["bindKey",Q],["curry",k],["curryRight",v],["flip",g],["partial",B],["partialRight",p],["rearg",l]],X="[object Arguments]",_="[object Array]",AA="[object AsyncFunction]",G="[object Boolean]",eA="[object Date]",sA="[object DOMException]",oA="[object Error]",hA="[object Function]",EA="[object GeneratorFunction]",gA="[object Map]",CA="[object Number]",O="[object Null]",tA="[object Object]",lA="[object Promise]",uA="[object Proxy]",Z="[object RegExp]",V="[object Set]",iA="[object String]",rA="[object Symbol]",BA="[object Undefined]",vA="[object WeakMap]",UA="[object WeakSet]",JA="[object ArrayBuffer]",qA="[object DataView]",WA="[object Float32Array]",le="[object Float64Array]",ne="[object Int8Array]",LA="[object Int16Array]",SA="[object Int32Array]",ZA="[object Uint8Array]",Be="[object Uint8ClampedArray]",De="[object Uint16Array]",xe="[object Uint32Array]",YA=/\b__p \+= '';/g,$A=/\b(__p \+=) '' \+/g,XA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,he=/&(?:amp|lt|gt|quot|#39);/g,ge=/[&<>"']/g,Ee=RegExp(he.source),ke=RegExp(ge.source),wA=/<%-([\s\S]+?)%>/g,NA=/<%([\s\S]+?)%>/g,HA=/<%=([\s\S]+?)%>/g,ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(ue.source),tt=/^\s+/,lt=/\s/,MA=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bA=/\{\n\/\* \[wrapped with (.+)\] \*/,RA=/,? & /,zA=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,OA=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,pt=/^0b[01]+$/i,ze=/^\[object .+?Constructor\]$/,At=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,Pe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ot=/($^)/,mt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",Nn="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",gn=Nn+Xt+Vt,wn="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",An="\\xac\\xb1\\xd7\\xf7",On="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",pi=" \\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",Ci="A-Z\\xc0-\\xd6\\xd8-\\xde",co="\\ufe0e\\ufe0f",Bi=An+On+en+pi,ei="['’]",Pi="["+nt+"]",go="["+Bi+"]",ti="["+gn+"]",bn="\\d+",Hi="["+wn+"]",Jo="["+St+"]",uo="[^"+nt+Bi+bn+wn+St+Ci+"]",Fn="\\ud83c[\\udffb-\\udfff]",ho="(?:"+ti+"|"+Fn+")",bs="[^"+nt+"]",Zo="(?:\\ud83c[\\udde6-\\uddff]){2}",Wo="[\\ud800-\\udbff][\\udc00-\\udfff]",ni="["+Ci+"]",ys="\\u200d",Ds="(?:"+Jo+"|"+uo+")",vs="(?:"+ni+"|"+uo+")",ks="(?:"+ei+"(?:d|ll|m|re|s|t|ve))?",_s="(?:"+ei+"(?:D|LL|M|RE|S|T|VE))?",Or=ho+"?",$r="["+co+"]?",sg="(?:"+ys+"(?:"+[bs,Zo,Wo].join("|")+")"+$r+Or+")*",zr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Jr=$r+Or+sg,cg="(?:"+[Hi,Zo,Wo].join("|")+")"+Jr,jo="(?:"+[bs+ti+"?",ti,Zo,Wo,Pi].join("|")+")",gg=RegExp(ei,"g"),Ms=RegExp(ti,"g"),qo=RegExp(Fn+"(?="+Fn+")|"+jo+Jr,"g"),ug=RegExp([ni+"?"+Jo+"+"+ks+"(?="+[go,ni,"$"].join("|")+")",vs+"+"+_s+"(?="+[go,ni+Ds,"$"].join("|")+")",ni+"?"+Ds+"+"+ks,ni+"+"+_s,lg,zr,bn,cg].join("|"),"g"),xs=RegExp("["+ys+nt+gn+co+"]"),Ss=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,dg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],po=-1,rt={};rt[WA]=rt[le]=rt[ne]=rt[LA]=rt[SA]=rt[ZA]=rt[Be]=rt[De]=rt[xe]=!0,rt[X]=rt[_]=rt[JA]=rt[G]=rt[qA]=rt[eA]=rt[oA]=rt[hA]=rt[gA]=rt[CA]=rt[tA]=rt[Z]=rt[V]=rt[iA]=rt[vA]=!1;var ct={};ct[X]=ct[_]=ct[JA]=ct[qA]=ct[G]=ct[eA]=ct[WA]=ct[le]=ct[ne]=ct[LA]=ct[SA]=ct[gA]=ct[CA]=ct[tA]=ct[Z]=ct[V]=ct[iA]=ct[rA]=ct[ZA]=ct[Be]=ct[De]=ct[xe]=!0,ct[oA]=ct[hA]=ct[vA]=!1;var Zr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ns={"&":"&","<":"<",">":">",'"':""","'":"'"},hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fs=parseFloat,Rs=parseInt,Xo=typeof vo=="object"&&vo&&vo.Object===Object&&vo,pg=typeof self=="object"&&self&&self.Object===Object&&self,Nt=Xo||pg||Function("return this")(),Rn=e&&!e.nodeType&&e,mi=Rn&&!0&&n&&!n.nodeType&&n,Ls=mi&&mi.exports===Rn,jr=Ls&&Xo.process,tn=function(){try{var kA=mi&&mi.require&&mi.require("util").types;return kA||jr&&jr.binding&&jr.binding("util")}catch{}}(),qr=tn&&tn.isArrayBuffer,Gt=tn&&tn.isDate,Gs=tn&&tn.isMap,Ps=tn&&tn.isRegExp,Hs=tn&&tn.isSet,Ks=tn&&tn.isTypedArray;function nn(kA,TA,PA){switch(PA.length){case 0:return kA.call(TA);case 1:return kA.call(TA,PA[0]);case 2:return kA.call(TA,PA[0],PA[1]);case 3:return kA.call(TA,PA[0],PA[1],PA[2])}return kA.apply(TA,PA)}function Cg(kA,TA,PA,VA){for(var Ce=-1,He=kA==null?0:kA.length;++Ce<He;){var Ke=kA[Ce];TA(VA,Ke,PA(Ke),kA)}return VA}function un(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA&&TA(kA[PA],PA,kA)!==!1;);return kA}function Bg(kA,TA){for(var PA=kA==null?0:kA.length;PA--&&TA(kA[PA],PA,kA)!==!1;);return kA}function Xr(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA;)if(!TA(kA[PA],PA,kA))return!1;return!0}function yn(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length,Ce=0,He=[];++PA<VA;){var Ke=kA[PA];TA(Ke,PA,kA)&&(He[Ce++]=Ke)}return He}function Ln(kA,TA){var PA=kA==null?0:kA.length;return!!PA&&Ti(kA,TA,0)>-1}function Ki(kA,TA,PA){for(var VA=-1,Ce=kA==null?0:kA.length;++VA<Ce;)if(PA(TA,kA[VA]))return!0;return!1}function ht(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length,Ce=Array(VA);++PA<VA;)Ce[PA]=TA(kA[PA],PA,kA);return Ce}function $n(kA,TA){for(var PA=-1,VA=TA.length,Ce=kA.length;++PA<VA;)kA[Ce+PA]=TA[PA];return kA}function Vo(kA,TA,PA,VA){var Ce=-1,He=kA==null?0:kA.length;for(VA&&He&&(PA=kA[++Ce]);++Ce<He;)PA=TA(PA,kA[Ce],Ce,kA);return PA}function Ts(kA,TA,PA,VA){var Ce=kA==null?0:kA.length;for(VA&&Ce&&(PA=kA[--Ce]);Ce--;)PA=TA(PA,kA[Ce],Ce,kA);return PA}function Ei(kA,TA){for(var PA=-1,VA=kA==null?0:kA.length;++PA<VA;)if(TA(kA[PA],PA,kA))return!0;return!1}var mg=Aa("length");function Eg(kA){return kA.split("")}function Qg(kA){return kA.match(zA)||[]}function Us(kA,TA,PA){var VA;return PA(kA,function(Ce,He,Ke){if(TA(Ce,He,Ke))return VA=He,!1}),VA}function Ar(kA,TA,PA,VA){for(var Ce=kA.length,He=PA+(VA?1:-1);VA?He--:++He<Ce;)if(TA(kA[He],He,kA))return He;return-1}function Ti(kA,TA,PA){return TA===TA?IA(kA,TA,PA):Ar(kA,Ys,PA)}function Vr(kA,TA,PA,VA){for(var Ce=PA-1,He=kA.length;++Ce<He;)if(VA(kA[Ce],TA))return Ce;return-1}function Ys(kA){return kA!==kA}function Co(kA,TA){var PA=kA==null?0:kA.length;return PA?er(kA,TA)/PA:Y}function Aa(kA){return function(TA){return TA==null?t:TA[kA]}}function Bo(kA){return function(TA){return kA==null?t:kA[TA]}}function Os(kA,TA,PA,VA,Ce){return Ce(kA,function(He,Ke,Oe){PA=VA?(VA=!1,He):TA(PA,He,Ke,Oe)}),PA}function Ig(kA,TA){var PA=kA.length;for(kA.sort(TA);PA--;)kA[PA]=kA[PA].value;return kA}function er(kA,TA){for(var PA,VA=-1,Ce=kA.length;++VA<Ce;){var He=TA(kA[VA]);He!==t&&(PA=PA===t?He:PA+He)}return PA}function Qi(kA,TA){for(var PA=-1,VA=Array(kA);++PA<kA;)VA[PA]=TA(PA);return VA}function ii(kA,TA){return ht(TA,function(PA){return[PA,kA[PA]]})}function ea(kA){return kA&&kA.slice(0,GA(kA)+1).replace(tt,"")}function Kt(kA){return function(TA){return kA(TA)}}function ta(kA,TA){return ht(TA,function(PA){return kA[PA]})}function mo(kA,TA){return kA.has(TA)}function $s(kA,TA){for(var PA=-1,VA=kA.length;++PA<VA&&Ti(TA,kA[PA],0)>-1;);return PA}function zs(kA,TA){for(var PA=kA.length;PA--&&Ti(TA,kA[PA],0)>-1;);return PA}function fg(kA,TA){for(var PA=kA.length,VA=0;PA--;)kA[PA]===TA&&++VA;return VA}var wg=Bo(Zr),bg=Bo(Ns);function yg(kA){return"\\"+Wr[kA]}function Dg(kA,TA){return kA==null?t:kA[TA]}function Ui(kA){return xs.test(kA)}function R(kA){return Ss.test(kA)}function F(kA){for(var TA,PA=[];!(TA=kA.next()).done;)PA.push(TA.value);return PA}function j(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA,Ce){PA[++TA]=[Ce,VA]}),PA}function nA(kA,TA){return function(PA){return kA(TA(PA))}}function cA(kA,TA){for(var PA=-1,VA=kA.length,Ce=0,He=[];++PA<VA;){var Ke=kA[PA];(Ke===TA||Ke===S)&&(kA[PA]=S,He[Ce++]=PA)}return He}function dA(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA){PA[++TA]=VA}),PA}function mA(kA){var TA=-1,PA=Array(kA.size);return kA.forEach(function(VA){PA[++TA]=[VA,VA]}),PA}function IA(kA,TA,PA){for(var VA=PA-1,Ce=kA.length;++VA<Ce;)if(kA[VA]===TA)return VA;return-1}function yA(kA,TA,PA){for(var VA=PA+1;VA--;)if(kA[VA]===TA)return VA;return VA}function xA(kA){return Ui(kA)?ce(kA):mg(kA)}function DA(kA){return Ui(kA)?re(kA):Eg(kA)}function GA(kA){for(var TA=kA.length;TA--&<.test(kA.charAt(TA)););return TA}var jA=Bo(hg);function ce(kA){for(var TA=qo.lastIndex=0;qo.test(kA);)++TA;return TA}function re(kA){return kA.match(qo)||[]}function de(kA){return kA.match(ug)||[]}var ye=function kA(TA){TA=TA==null?Nt:Qe.defaults(Nt.Object(),TA,Qe.pick(Nt,dg));var PA=TA.Array,VA=TA.Date,Ce=TA.Error,He=TA.Function,Ke=TA.Math,Oe=TA.Object,on=TA.RegExp,zn=TA.String,Tt=TA.TypeError,oi=PA.prototype,AS=He.prototype,tr=Oe.prototype,Js=TA["__core-js_shared__"],Zs=AS.toString,st=tr.hasOwnProperty,eS=0,vC=function(){var c=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ws=tr.toString,tS=Zs.call(Oe),nS=Nt._,iS=on("^"+Zs.call(st).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),js=Ls?TA.Buffer:t,Yi=TA.Symbol,qs=TA.Uint8Array,kC=js?js.allocUnsafe:t,Xs=nA(Oe.getPrototypeOf,Oe),_C=Oe.create,MC=tr.propertyIsEnumerable,Vs=oi.splice,xC=Yi?Yi.isConcatSpreadable:t,na=Yi?Yi.iterator:t,Eo=Yi?Yi.toStringTag:t,Al=function(){try{var c=bo(Oe,"defineProperty");return c({},"",{}),c}catch{}}(),oS=TA.clearTimeout!==Nt.clearTimeout&&TA.clearTimeout,rS=VA&&VA.now!==Nt.Date.now&&VA.now,aS=TA.setTimeout!==Nt.setTimeout&&TA.setTimeout,el=Ke.ceil,tl=Ke.floor,vg=Oe.getOwnPropertySymbols,sS=js?js.isBuffer:t,SC=TA.isFinite,lS=oi.join,cS=nA(Oe.keys,Oe),Ft=Ke.max,$t=Ke.min,gS=VA.now,uS=TA.parseInt,NC=Ke.random,dS=oi.reverse,kg=bo(TA,"DataView"),ia=bo(TA,"Map"),_g=bo(TA,"Promise"),nr=bo(TA,"Set"),oa=bo(TA,"WeakMap"),ra=bo(Oe,"create"),nl=oa&&new oa,ir={},hS=yo(kg),pS=yo(ia),CS=yo(_g),BS=yo(nr),mS=yo(oa),il=Yi?Yi.prototype:t,aa=il?il.valueOf:t,FC=il?il.toString:t;function QA(c){if(bt(c)&&!Te(c)&&!(c instanceof Xe)){if(c instanceof Gn)return c;if(st.call(c,"__wrapped__"))return RB(c)}return new Gn(c)}var or=function(){function c(){}return function(f){if(!Et(f))return{};if(_C)return _C(f);c.prototype=f;var U=new c;return c.prototype=t,U}}();function ol(){}function Gn(c,f){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=t}QA.templateSettings={escape:wA,evaluate:NA,interpolate:HA,variable:"",imports:{_:QA}},QA.prototype=ol.prototype,QA.prototype.constructor=QA,Gn.prototype=or(ol.prototype),Gn.prototype.constructor=Gn;function Xe(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function ES(){var c=new Xe(this.__wrapped__);return c.__actions__=dn(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=dn(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=dn(this.__views__),c}function QS(){if(this.__filtered__){var c=new Xe(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function IS(){var c=this.__wrapped__.value(),f=this.__dir__,U=Te(c),aA=f<0,pA=U?c.length:0,fA=N4(0,pA,this.__views__),_A=fA.start,FA=fA.end,KA=FA-_A,Ae=aA?FA:_A-1,ee=this.__iteratees__,ae=ee.length,we=0,ve=$t(KA,this.__takeCount__);if(!U||!aA&&pA==KA&&ve==KA)return iB(c,this.__actions__);var Ne=[];A:for(;KA--&&we<ve;){Ae+=f;for(var Je=-1,Fe=c[Ae];++Je<ae;){var We=ee[Je],Ve=We.iteratee,kn=We.type,sn=Ve(Fe);if(kn==m)Fe=sn;else if(!sn){if(kn==r)continue A;break A}}Ne[we++]=Fe}return Ne}Xe.prototype=or(ol.prototype),Xe.prototype.constructor=Xe;function Qo(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function fS(){this.__data__=ra?ra(null):{},this.size=0}function wS(c){var f=this.has(c)&&delete this.__data__[c];return this.size-=f?1:0,f}function bS(c){var f=this.__data__;if(ra){var U=f[c];return U===y?t:U}return st.call(f,c)?f[c]:t}function yS(c){var f=this.__data__;return ra?f[c]!==t:st.call(f,c)}function DS(c,f){var U=this.__data__;return this.size+=this.has(c)?0:1,U[c]=ra&&f===t?y:f,this}Qo.prototype.clear=fS,Qo.prototype.delete=wS,Qo.prototype.get=bS,Qo.prototype.has=yS,Qo.prototype.set=DS;function Ii(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function vS(){this.__data__=[],this.size=0}function kS(c){var f=this.__data__,U=rl(f,c);if(U<0)return!1;var aA=f.length-1;return U==aA?f.pop():Vs.call(f,U,1),--this.size,!0}function _S(c){var f=this.__data__,U=rl(f,c);return U<0?t:f[U][1]}function MS(c){return rl(this.__data__,c)>-1}function xS(c,f){var U=this.__data__,aA=rl(U,c);return aA<0?(++this.size,U.push([c,f])):U[aA][1]=f,this}Ii.prototype.clear=vS,Ii.prototype.delete=kS,Ii.prototype.get=_S,Ii.prototype.has=MS,Ii.prototype.set=xS;function fi(c){var f=-1,U=c==null?0:c.length;for(this.clear();++f<U;){var aA=c[f];this.set(aA[0],aA[1])}}function SS(){this.size=0,this.__data__={hash:new Qo,map:new(ia||Ii),string:new Qo}}function NS(c){var f=ml(this,c).delete(c);return this.size-=f?1:0,f}function FS(c){return ml(this,c).get(c)}function RS(c){return ml(this,c).has(c)}function LS(c,f){var U=ml(this,c),aA=U.size;return U.set(c,f),this.size+=U.size==aA?0:1,this}fi.prototype.clear=SS,fi.prototype.delete=NS,fi.prototype.get=FS,fi.prototype.has=RS,fi.prototype.set=LS;function Io(c){var f=-1,U=c==null?0:c.length;for(this.__data__=new fi;++f<U;)this.add(c[f])}function GS(c){return this.__data__.set(c,y),this}function PS(c){return this.__data__.has(c)}Io.prototype.add=Io.prototype.push=GS,Io.prototype.has=PS;function Jn(c){var f=this.__data__=new Ii(c);this.size=f.size}function HS(){this.__data__=new Ii,this.size=0}function KS(c){var f=this.__data__,U=f.delete(c);return this.size=f.size,U}function TS(c){return this.__data__.get(c)}function US(c){return this.__data__.has(c)}function YS(c,f){var U=this.__data__;if(U instanceof Ii){var aA=U.__data__;if(!ia||aA.length<u-1)return aA.push([c,f]),this.size=++U.size,this;U=this.__data__=new fi(aA)}return U.set(c,f),this.size=U.size,this}Jn.prototype.clear=HS,Jn.prototype.delete=KS,Jn.prototype.get=TS,Jn.prototype.has=US,Jn.prototype.set=YS;function RC(c,f){var U=Te(c),aA=!U&&Do(c),pA=!U&&!aA&&Zi(c),fA=!U&&!aA&&!pA&&lr(c),_A=U||aA||pA||fA,FA=_A?Qi(c.length,zn):[],KA=FA.length;for(var Ae in c)(f||st.call(c,Ae))&&!(_A&&(Ae=="length"||pA&&(Ae=="offset"||Ae=="parent")||fA&&(Ae=="buffer"||Ae=="byteLength"||Ae=="byteOffset")||Di(Ae,KA)))&&FA.push(Ae);return FA}function LC(c){var f=c.length;return f?c[Kg(0,f-1)]:t}function OS(c,f){return El(dn(c),fo(f,0,c.length))}function $S(c){return El(dn(c))}function Mg(c,f,U){(U!==t&&!Zn(c[f],U)||U===t&&!(f in c))&&wi(c,f,U)}function sa(c,f,U){var aA=c[f];(!(st.call(c,f)&&Zn(aA,U))||U===t&&!(f in c))&&wi(c,f,U)}function rl(c,f){for(var U=c.length;U--;)if(Zn(c[U][0],f))return U;return-1}function zS(c,f,U,aA){return Oi(c,function(pA,fA,_A){f(aA,pA,U(pA),_A)}),aA}function GC(c,f){return c&&ai(f,Pt(f),c)}function JS(c,f){return c&&ai(f,pn(f),c)}function wi(c,f,U){f=="__proto__"&&Al?Al(c,f,{configurable:!0,enumerable:!0,value:U,writable:!0}):c[f]=U}function xg(c,f){for(var U=-1,aA=f.length,pA=PA(aA),fA=c==null;++U<aA;)pA[U]=fA?t:gu(c,f[U]);return pA}function fo(c,f,U){return c===c&&(U!==t&&(c=c<=U?c:U),f!==t&&(c=c>=f?c:f)),c}function Pn(c,f,U,aA,pA,fA){var _A,FA=f&N,KA=f&H,Ae=f&$;if(U&&(_A=pA?U(c,aA,pA,fA):U(c)),_A!==t)return _A;if(!Et(c))return c;var ee=Te(c);if(ee){if(_A=R4(c),!FA)return dn(c,_A)}else{var ae=zt(c),we=ae==hA||ae==EA;if(Zi(c))return aB(c,FA);if(ae==tA||ae==X||we&&!pA){if(_A=KA||we?{}:DB(c),!FA)return KA?b4(c,JS(_A,c)):w4(c,GC(_A,c))}else{if(!ct[ae])return pA?c:{};_A=L4(c,ae,FA)}}fA||(fA=new Jn);var ve=fA.get(c);if(ve)return ve;fA.set(c,_A),em(c)?c.forEach(function(Fe){_A.add(Pn(Fe,f,U,Fe,c,fA))}):VB(c)&&c.forEach(function(Fe,We){_A.set(We,Pn(Fe,f,U,We,c,fA))});var Ne=Ae?KA?qg:jg:KA?pn:Pt,Je=ee?t:Ne(c);return un(Je||c,function(Fe,We){Je&&(We=Fe,Fe=c[We]),sa(_A,We,Pn(Fe,f,U,We,c,fA))}),_A}function ZS(c){var f=Pt(c);return function(U){return PC(U,c,f)}}function PC(c,f,U){var aA=U.length;if(c==null)return!aA;for(c=Oe(c);aA--;){var pA=U[aA],fA=f[pA],_A=c[pA];if(_A===t&&!(pA in c)||!fA(_A))return!1}return!0}function HC(c,f,U){if(typeof c!="function")throw new Tt(o);return pa(function(){c.apply(t,U)},f)}function la(c,f,U,aA){var pA=-1,fA=Ln,_A=!0,FA=c.length,KA=[],Ae=f.length;if(!FA)return KA;U&&(f=ht(f,Kt(U))),aA?(fA=Ki,_A=!1):f.length>=u&&(fA=mo,_A=!1,f=new Io(f));A:for(;++pA<FA;){var ee=c[pA],ae=U==null?ee:U(ee);if(ee=aA||ee!==0?ee:0,_A&&ae===ae){for(var we=Ae;we--;)if(f[we]===ae)continue A;KA.push(ee)}else fA(f,ae,aA)||KA.push(ee)}return KA}var Oi=uB(ri),KC=uB(Ng,!0);function WS(c,f){var U=!0;return Oi(c,function(aA,pA,fA){return U=!!f(aA,pA,fA),U}),U}function al(c,f,U){for(var aA=-1,pA=c.length;++aA<pA;){var fA=c[aA],_A=f(fA);if(_A!=null&&(FA===t?_A===_A&&!vn(_A):U(_A,FA)))var FA=_A,KA=fA}return KA}function jS(c,f,U,aA){var pA=c.length;for(U=$e(U),U<0&&(U=-U>pA?0:pA+U),aA=aA===t||aA>pA?pA:$e(aA),aA<0&&(aA+=pA),aA=U>aA?0:nm(aA);U<aA;)c[U++]=f;return c}function TC(c,f){var U=[];return Oi(c,function(aA,pA,fA){f(aA,pA,fA)&&U.push(aA)}),U}function Ut(c,f,U,aA,pA){var fA=-1,_A=c.length;for(U||(U=P4),pA||(pA=[]);++fA<_A;){var FA=c[fA];f>0&&U(FA)?f>1?Ut(FA,f-1,U,aA,pA):$n(pA,FA):aA||(pA[pA.length]=FA)}return pA}var Sg=dB(),UC=dB(!0);function ri(c,f){return c&&Sg(c,f,Pt)}function Ng(c,f){return c&&UC(c,f,Pt)}function sl(c,f){return yn(f,function(U){return vi(c[U])})}function wo(c,f){f=zi(f,c);for(var U=0,aA=f.length;c!=null&&U<aA;)c=c[si(f[U++])];return U&&U==aA?c:t}function YC(c,f,U){var aA=f(c);return Te(c)?aA:$n(aA,U(c))}function rn(c){return c==null?c===t?BA:O:Eo&&Eo in Oe(c)?S4(c):$4(c)}function Fg(c,f){return c>f}function qS(c,f){return c!=null&&st.call(c,f)}function XS(c,f){return c!=null&&f in Oe(c)}function VS(c,f,U){return c>=$t(f,U)&&c<Ft(f,U)}function Rg(c,f,U){for(var aA=U?Ki:Ln,pA=c[0].length,fA=c.length,_A=fA,FA=PA(fA),KA=1/0,Ae=[];_A--;){var ee=c[_A];_A&&f&&(ee=ht(ee,Kt(f))),KA=$t(ee.length,KA),FA[_A]=!U&&(f||pA>=120&&ee.length>=120)?new Io(_A&&ee):t}ee=c[0];var ae=-1,we=FA[0];A:for(;++ae<pA&&Ae.length<KA;){var ve=ee[ae],Ne=f?f(ve):ve;if(ve=U||ve!==0?ve:0,!(we?mo(we,Ne):aA(Ae,Ne,U))){for(_A=fA;--_A;){var Je=FA[_A];if(!(Je?mo(Je,Ne):aA(c[_A],Ne,U)))continue A}we&&we.push(Ne),Ae.push(ve)}}return Ae}function A4(c,f,U,aA){return ri(c,function(pA,fA,_A){f(aA,U(pA),fA,_A)}),aA}function ca(c,f,U){f=zi(f,c),c=MB(c,f);var aA=c==null?c:c[si(Kn(f))];return aA==null?t:nn(aA,c,U)}function OC(c){return bt(c)&&rn(c)==X}function e4(c){return bt(c)&&rn(c)==JA}function t4(c){return bt(c)&&rn(c)==eA}function ga(c,f,U,aA,pA){return c===f?!0:c==null||f==null||!bt(c)&&!bt(f)?c!==c&&f!==f:n4(c,f,U,aA,ga,pA)}function n4(c,f,U,aA,pA,fA){var _A=Te(c),FA=Te(f),KA=_A?_:zt(c),Ae=FA?_:zt(f);KA=KA==X?tA:KA,Ae=Ae==X?tA:Ae;var ee=KA==tA,ae=Ae==tA,we=KA==Ae;if(we&&Zi(c)){if(!Zi(f))return!1;_A=!0,ee=!1}if(we&&!ee)return fA||(fA=new Jn),_A||lr(c)?wB(c,f,U,aA,pA,fA):M4(c,f,KA,U,aA,pA,fA);if(!(U&K)){var ve=ee&&st.call(c,"__wrapped__"),Ne=ae&&st.call(f,"__wrapped__");if(ve||Ne){var Je=ve?c.value():c,Fe=Ne?f.value():f;return fA||(fA=new Jn),pA(Je,Fe,U,aA,fA)}}return we?(fA||(fA=new Jn),x4(c,f,U,aA,pA,fA)):!1}function i4(c){return bt(c)&&zt(c)==gA}function Lg(c,f,U,aA){var pA=U.length,fA=pA,_A=!aA;if(c==null)return!fA;for(c=Oe(c);pA--;){var FA=U[pA];if(_A&&FA[2]?FA[1]!==c[FA[0]]:!(FA[0]in c))return!1}for(;++pA<fA;){FA=U[pA];var KA=FA[0],Ae=c[KA],ee=FA[1];if(_A&&FA[2]){if(Ae===t&&!(KA in c))return!1}else{var ae=new Jn;if(aA)var we=aA(Ae,ee,KA,c,f,ae);if(!(we===t?ga(ee,Ae,K|T,aA,ae):we))return!1}}return!0}function $C(c){if(!Et(c)||K4(c))return!1;var f=vi(c)?iS:ze;return f.test(yo(c))}function o4(c){return bt(c)&&rn(c)==Z}function r4(c){return bt(c)&&zt(c)==V}function a4(c){return bt(c)&&yl(c.length)&&!!rt[rn(c)]}function zC(c){return typeof c=="function"?c:c==null?Cn:typeof c=="object"?Te(c)?WC(c[0],c[1]):ZC(c):hm(c)}function Gg(c){if(!ha(c))return cS(c);var f=[];for(var U in Oe(c))st.call(c,U)&&U!="constructor"&&f.push(U);return f}function s4(c){if(!Et(c))return O4(c);var f=ha(c),U=[];for(var aA in c)aA=="constructor"&&(f||!st.call(c,aA))||U.push(aA);return U}function Pg(c,f){return c<f}function JC(c,f){var U=-1,aA=hn(c)?PA(c.length):[];return Oi(c,function(pA,fA,_A){aA[++U]=f(pA,fA,_A)}),aA}function ZC(c){var f=Vg(c);return f.length==1&&f[0][2]?kB(f[0][0],f[0][1]):function(U){return U===c||Lg(U,c,f)}}function WC(c,f){return eu(c)&&vB(f)?kB(si(c),f):function(U){var aA=gu(U,c);return aA===t&&aA===f?uu(U,c):ga(f,aA,K|T)}}function ll(c,f,U,aA,pA){c!==f&&Sg(f,function(fA,_A){if(pA||(pA=new Jn),Et(fA))l4(c,f,_A,U,ll,aA,pA);else{var FA=aA?aA(nu(c,_A),fA,_A+"",c,f,pA):t;FA===t&&(FA=fA),Mg(c,_A,FA)}},pn)}function l4(c,f,U,aA,pA,fA,_A){var FA=nu(c,U),KA=nu(f,U),Ae=_A.get(KA);if(Ae){Mg(c,U,Ae);return}var ee=fA?fA(FA,KA,U+"",c,f,_A):t,ae=ee===t;if(ae){var we=Te(KA),ve=!we&&Zi(KA),Ne=!we&&!ve&&lr(KA);ee=KA,we||ve||Ne?Te(FA)?ee=FA:Dt(FA)?ee=dn(FA):ve?(ae=!1,ee=aB(KA,!0)):Ne?(ae=!1,ee=sB(KA,!0)):ee=[]:Ca(KA)||Do(KA)?(ee=FA,Do(FA)?ee=im(FA):(!Et(FA)||vi(FA))&&(ee=DB(KA))):ae=!1}ae&&(_A.set(KA,ee),pA(ee,KA,aA,fA,_A),_A.delete(KA)),Mg(c,U,ee)}function jC(c,f){var U=c.length;if(U)return f+=f<0?U:0,Di(f,U)?c[f]:t}function qC(c,f,U){f.length?f=ht(f,function(fA){return Te(fA)?function(_A){return wo(_A,fA.length===1?fA[0]:fA)}:fA}):f=[Cn];var aA=-1;f=ht(f,Kt(Se()));var pA=JC(c,function(fA,_A,FA){var KA=ht(f,function(Ae){return Ae(fA)});return{criteria:KA,index:++aA,value:fA}});return Ig(pA,function(fA,_A){return f4(fA,_A,U)})}function c4(c,f){return XC(c,f,function(U,aA){return uu(c,aA)})}function XC(c,f,U){for(var aA=-1,pA=f.length,fA={};++aA<pA;){var _A=f[aA],FA=wo(c,_A);U(FA,_A)&&ua(fA,zi(_A,c),FA)}return fA}function g4(c){return function(f){return wo(f,c)}}function Hg(c,f,U,aA){var pA=aA?Vr:Ti,fA=-1,_A=f.length,FA=c;for(c===f&&(f=dn(f)),U&&(FA=ht(c,Kt(U)));++fA<_A;)for(var KA=0,Ae=f[fA],ee=U?U(Ae):Ae;(KA=pA(FA,ee,KA,aA))>-1;)FA!==c&&Vs.call(FA,KA,1),Vs.call(c,KA,1);return c}function VC(c,f){for(var U=c?f.length:0,aA=U-1;U--;){var pA=f[U];if(U==aA||pA!==fA){var fA=pA;Di(pA)?Vs.call(c,pA,1):Yg(c,pA)}}return c}function Kg(c,f){return c+tl(NC()*(f-c+1))}function u4(c,f,U,aA){for(var pA=-1,fA=Ft(el((f-c)/(U||1)),0),_A=PA(fA);fA--;)_A[aA?fA:++pA]=c,c+=U;return _A}function Tg(c,f){var U="";if(!c||f<1||f>x)return U;do f%2&&(U+=c),f=tl(f/2),f&&(c+=c);while(f);return U}function Ze(c,f){return iu(_B(c,f,Cn),c+"")}function d4(c){return LC(cr(c))}function h4(c,f){var U=cr(c);return El(U,fo(f,0,U.length))}function ua(c,f,U,aA){if(!Et(c))return c;f=zi(f,c);for(var pA=-1,fA=f.length,_A=fA-1,FA=c;FA!=null&&++pA<fA;){var KA=si(f[pA]),Ae=U;if(KA==="__proto__"||KA==="constructor"||KA==="prototype")return c;if(pA!=_A){var ee=FA[KA];Ae=aA?aA(ee,KA,FA):t,Ae===t&&(Ae=Et(ee)?ee:Di(f[pA+1])?[]:{})}sa(FA,KA,Ae),FA=FA[KA]}return c}var AB=nl?function(c,f){return nl.set(c,f),c}:Cn,p4=Al?function(c,f){return Al(c,"toString",{configurable:!0,enumerable:!1,value:hu(f),writable:!0})}:Cn;function C4(c){return El(cr(c))}function Hn(c,f,U){var aA=-1,pA=c.length;f<0&&(f=-f>pA?0:pA+f),U=U>pA?pA:U,U<0&&(U+=pA),pA=f>U?0:U-f>>>0,f>>>=0;for(var fA=PA(pA);++aA<pA;)fA[aA]=c[aA+f];return fA}function B4(c,f){var U;return Oi(c,function(aA,pA,fA){return U=f(aA,pA,fA),!U}),!!U}function cl(c,f,U){var aA=0,pA=c==null?aA:c.length;if(typeof f=="number"&&f===f&&pA<=W){for(;aA<pA;){var fA=aA+pA>>>1,_A=c[fA];_A!==null&&!vn(_A)&&(U?_A<=f:_A<f)?aA=fA+1:pA=fA}return pA}return Ug(c,f,Cn,U)}function Ug(c,f,U,aA){var pA=0,fA=c==null?0:c.length;if(fA===0)return 0;f=U(f);for(var _A=f!==f,FA=f===null,KA=vn(f),Ae=f===t;pA<fA;){var ee=tl((pA+fA)/2),ae=U(c[ee]),we=ae!==t,ve=ae===null,Ne=ae===ae,Je=vn(ae);if(_A)var Fe=aA||Ne;else Ae?Fe=Ne&&(aA||we):FA?Fe=Ne&&we&&(aA||!ve):KA?Fe=Ne&&we&&!ve&&(aA||!Je):ve||Je?Fe=!1:Fe=aA?ae<=f:ae<f;Fe?pA=ee+1:fA=ee}return $t(fA,q)}function eB(c,f){for(var U=-1,aA=c.length,pA=0,fA=[];++U<aA;){var _A=c[U],FA=f?f(_A):_A;if(!U||!Zn(FA,KA)){var KA=FA;fA[pA++]=_A===0?0:_A}}return fA}function tB(c){return typeof c=="number"?c:vn(c)?Y:+c}function Dn(c){if(typeof c=="string")return c;if(Te(c))return ht(c,Dn)+"";if(vn(c))return FC?FC.call(c):"";var f=c+"";return f=="0"&&1/c==-M?"-0":f}function $i(c,f,U){var aA=-1,pA=Ln,fA=c.length,_A=!0,FA=[],KA=FA;if(U)_A=!1,pA=Ki;else if(fA>=u){var Ae=f?null:k4(c);if(Ae)return dA(Ae);_A=!1,pA=mo,KA=new Io}else KA=f?[]:FA;A:for(;++aA<fA;){var ee=c[aA],ae=f?f(ee):ee;if(ee=U||ee!==0?ee:0,_A&&ae===ae){for(var we=KA.length;we--;)if(KA[we]===ae)continue A;f&&KA.push(ae),FA.push(ee)}else pA(KA,ae,U)||(KA!==FA&&KA.push(ae),FA.push(ee))}return FA}function Yg(c,f){return f=zi(f,c),c=MB(c,f),c==null||delete c[si(Kn(f))]}function nB(c,f,U,aA){return ua(c,f,U(wo(c,f)),aA)}function gl(c,f,U,aA){for(var pA=c.length,fA=aA?pA:-1;(aA?fA--:++fA<pA)&&f(c[fA],fA,c););return U?Hn(c,aA?0:fA,aA?fA+1:pA):Hn(c,aA?fA+1:0,aA?pA:fA)}function iB(c,f){var U=c;return U instanceof Xe&&(U=U.value()),Vo(f,function(aA,pA){return pA.func.apply(pA.thisArg,$n([aA],pA.args))},U)}function Og(c,f,U){var aA=c.length;if(aA<2)return aA?$i(c[0]):[];for(var pA=-1,fA=PA(aA);++pA<aA;)for(var _A=c[pA],FA=-1;++FA<aA;)FA!=pA&&(fA[pA]=la(fA[pA]||_A,c[FA],f,U));return $i(Ut(fA,1),f,U)}function oB(c,f,U){for(var aA=-1,pA=c.length,fA=f.length,_A={};++aA<pA;){var FA=aA<fA?f[aA]:t;U(_A,c[aA],FA)}return _A}function $g(c){return Dt(c)?c:[]}function zg(c){return typeof c=="function"?c:Cn}function zi(c,f){return Te(c)?c:eu(c,f)?[c]:FB(at(c))}var m4=Ze;function Ji(c,f,U){var aA=c.length;return U=U===t?aA:U,!f&&U>=aA?c:Hn(c,f,U)}var rB=oS||function(c){return Nt.clearTimeout(c)};function aB(c,f){if(f)return c.slice();var U=c.length,aA=kC?kC(U):new c.constructor(U);return c.copy(aA),aA}function Jg(c){var f=new c.constructor(c.byteLength);return new qs(f).set(new qs(c)),f}function E4(c,f){var U=f?Jg(c.buffer):c.buffer;return new c.constructor(U,c.byteOffset,c.byteLength)}function Q4(c){var f=new c.constructor(c.source,_e.exec(c));return f.lastIndex=c.lastIndex,f}function I4(c){return aa?Oe(aa.call(c)):{}}function sB(c,f){var U=f?Jg(c.buffer):c.buffer;return new c.constructor(U,c.byteOffset,c.length)}function lB(c,f){if(c!==f){var U=c!==t,aA=c===null,pA=c===c,fA=vn(c),_A=f!==t,FA=f===null,KA=f===f,Ae=vn(f);if(!FA&&!Ae&&!fA&&c>f||fA&&_A&&KA&&!FA&&!Ae||aA&&_A&&KA||!U&&KA||!pA)return 1;if(!aA&&!fA&&!Ae&&c<f||Ae&&U&&pA&&!aA&&!fA||FA&&U&&pA||!_A&&pA||!KA)return-1}return 0}function f4(c,f,U){for(var aA=-1,pA=c.criteria,fA=f.criteria,_A=pA.length,FA=U.length;++aA<_A;){var KA=lB(pA[aA],fA[aA]);if(KA){if(aA>=FA)return KA;var Ae=U[aA];return KA*(Ae=="desc"?-1:1)}}return c.index-f.index}function cB(c,f,U,aA){for(var pA=-1,fA=c.length,_A=U.length,FA=-1,KA=f.length,Ae=Ft(fA-_A,0),ee=PA(KA+Ae),ae=!aA;++FA<KA;)ee[FA]=f[FA];for(;++pA<_A;)(ae||pA<fA)&&(ee[U[pA]]=c[pA]);for(;Ae--;)ee[FA++]=c[pA++];return ee}function gB(c,f,U,aA){for(var pA=-1,fA=c.length,_A=-1,FA=U.length,KA=-1,Ae=f.length,ee=Ft(fA-FA,0),ae=PA(ee+Ae),we=!aA;++pA<ee;)ae[pA]=c[pA];for(var ve=pA;++KA<Ae;)ae[ve+KA]=f[KA];for(;++_A<FA;)(we||pA<fA)&&(ae[ve+U[_A]]=c[pA++]);return ae}function dn(c,f){var U=-1,aA=c.length;for(f||(f=PA(aA));++U<aA;)f[U]=c[U];return f}function ai(c,f,U,aA){var pA=!U;U||(U={});for(var fA=-1,_A=f.length;++fA<_A;){var FA=f[fA],KA=aA?aA(U[FA],c[FA],FA,U,c):t;KA===t&&(KA=c[FA]),pA?wi(U,FA,KA):sa(U,FA,KA)}return U}function w4(c,f){return ai(c,Au(c),f)}function b4(c,f){return ai(c,bB(c),f)}function ul(c,f){return function(U,aA){var pA=Te(U)?Cg:zS,fA=f?f():{};return pA(U,c,Se(aA,2),fA)}}function rr(c){return Ze(function(f,U){var aA=-1,pA=U.length,fA=pA>1?U[pA-1]:t,_A=pA>2?U[2]:t;for(fA=c.length>3&&typeof fA=="function"?(pA--,fA):t,_A&&an(U[0],U[1],_A)&&(fA=pA<3?t:fA,pA=1),f=Oe(f);++aA<pA;){var FA=U[aA];FA&&c(f,FA,aA,fA)}return f})}function uB(c,f){return function(U,aA){if(U==null)return U;if(!hn(U))return c(U,aA);for(var pA=U.length,fA=f?pA:-1,_A=Oe(U);(f?fA--:++fA<pA)&&aA(_A[fA],fA,_A)!==!1;);return U}}function dB(c){return function(f,U,aA){for(var pA=-1,fA=Oe(f),_A=aA(f),FA=_A.length;FA--;){var KA=_A[c?FA:++pA];if(U(fA[KA],KA,fA)===!1)break}return f}}function y4(c,f,U){var aA=f&D,pA=da(c);function fA(){var _A=this&&this!==Nt&&this instanceof fA?pA:c;return _A.apply(aA?U:this,arguments)}return fA}function hB(c){return function(f){f=at(f);var U=Ui(f)?DA(f):t,aA=U?U[0]:f.charAt(0),pA=U?Ji(U,1).join(""):f.slice(1);return aA[c]()+pA}}function ar(c){return function(f){return Vo(um(gm(f).replace(gg,"")),c,"")}}function da(c){return function(){var f=arguments;switch(f.length){case 0:return new c;case 1:return new c(f[0]);case 2:return new c(f[0],f[1]);case 3:return new c(f[0],f[1],f[2]);case 4:return new c(f[0],f[1],f[2],f[3]);case 5:return new c(f[0],f[1],f[2],f[3],f[4]);case 6:return new c(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new c(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var U=or(c.prototype),aA=c.apply(U,f);return Et(aA)?aA:U}}function D4(c,f,U){var aA=da(c);function pA(){for(var fA=arguments.length,_A=PA(fA),FA=fA,KA=sr(pA);FA--;)_A[FA]=arguments[FA];var Ae=fA<3&&_A[0]!==KA&&_A[fA-1]!==KA?[]:cA(_A,KA);if(fA-=Ae.length,fA<U)return EB(c,f,dl,pA.placeholder,t,_A,Ae,t,t,U-fA);var ee=this&&this!==Nt&&this instanceof pA?aA:c;return nn(ee,this,_A)}return pA}function pB(c){return function(f,U,aA){var pA=Oe(f);if(!hn(f)){var fA=Se(U,3);f=Pt(f),U=function(FA){return fA(pA[FA],FA,pA)}}var _A=c(f,U,aA);return _A>-1?pA[fA?f[_A]:_A]:t}}function CB(c){return yi(function(f){var U=f.length,aA=U,pA=Gn.prototype.thru;for(c&&f.reverse();aA--;){var fA=f[aA];if(typeof fA!="function")throw new Tt(o);if(pA&&!_A&&Bl(fA)=="wrapper")var _A=new Gn([],!0)}for(aA=_A?aA:U;++aA<U;){fA=f[aA];var FA=Bl(fA),KA=FA=="wrapper"?Xg(fA):t;KA&&tu(KA[0])&&KA[1]==(d|k|B|l)&&!KA[4].length&&KA[9]==1?_A=_A[Bl(KA[0])].apply(_A,KA[3]):_A=fA.length==1&&tu(fA)?_A[FA]():_A.thru(fA)}return function(){var Ae=arguments,ee=Ae[0];if(_A&&Ae.length==1&&Te(ee))return _A.plant(ee).value();for(var ae=0,we=U?f[ae].apply(this,Ae):ee;++ae<U;)we=f[ae].call(this,we);return we}})}function dl(c,f,U,aA,pA,fA,_A,FA,KA,Ae){var ee=f&d,ae=f&D,we=f&Q,ve=f&(k|v),Ne=f&g,Je=we?t:da(c);function Fe(){for(var We=arguments.length,Ve=PA(We),kn=We;kn--;)Ve[kn]=arguments[kn];if(ve)var sn=sr(Fe),_n=fg(Ve,sn);if(aA&&(Ve=cB(Ve,aA,pA,ve)),fA&&(Ve=gB(Ve,fA,_A,ve)),We-=_n,ve&&We<Ae){var vt=cA(Ve,sn);return EB(c,f,dl,Fe.placeholder,U,Ve,vt,FA,KA,Ae-We)}var Wn=ae?U:this,_i=we?Wn[c]:c;return We=Ve.length,FA?Ve=z4(Ve,FA):Ne&&We>1&&Ve.reverse(),ee&&KA<We&&(Ve.length=KA),this&&this!==Nt&&this instanceof Fe&&(_i=Je||da(_i)),_i.apply(Wn,Ve)}return Fe}function BB(c,f){return function(U,aA){return A4(U,c,f(aA),{})}}function hl(c,f){return function(U,aA){var pA;if(U===t&&aA===t)return f;if(U!==t&&(pA=U),aA!==t){if(pA===t)return aA;typeof U=="string"||typeof aA=="string"?(U=Dn(U),aA=Dn(aA)):(U=tB(U),aA=tB(aA)),pA=c(U,aA)}return pA}}function Zg(c){return yi(function(f){return f=ht(f,Kt(Se())),Ze(function(U){var aA=this;return c(f,function(pA){return nn(pA,aA,U)})})})}function pl(c,f){f=f===t?" ":Dn(f);var U=f.length;if(U<2)return U?Tg(f,c):f;var aA=Tg(f,el(c/xA(f)));return Ui(f)?Ji(DA(aA),0,c).join(""):aA.slice(0,c)}function v4(c,f,U,aA){var pA=f&D,fA=da(c);function _A(){for(var FA=-1,KA=arguments.length,Ae=-1,ee=aA.length,ae=PA(ee+KA),we=this&&this!==Nt&&this instanceof _A?fA:c;++Ae<ee;)ae[Ae]=aA[Ae];for(;KA--;)ae[Ae++]=arguments[++FA];return nn(we,pA?U:this,ae)}return _A}function mB(c){return function(f,U,aA){return aA&&typeof aA!="number"&&an(f,U,aA)&&(U=aA=t),f=ki(f),U===t?(U=f,f=0):U=ki(U),aA=aA===t?f<U?1:-1:ki(aA),u4(f,U,aA,c)}}function Cl(c){return function(f,U){return typeof f=="string"&&typeof U=="string"||(f=Tn(f),U=Tn(U)),c(f,U)}}function EB(c,f,U,aA,pA,fA,_A,FA,KA,Ae){var ee=f&k,ae=ee?_A:t,we=ee?t:_A,ve=ee?fA:t,Ne=ee?t:fA;f|=ee?B:p,f&=~(ee?p:B),f&L||(f&=~(D|Q));var Je=[c,f,pA,ve,ae,Ne,we,FA,KA,Ae],Fe=U.apply(t,Je);return tu(c)&&xB(Fe,Je),Fe.placeholder=aA,SB(Fe,c,f)}function Wg(c){var f=Ke[c];return function(U,aA){if(U=Tn(U),aA=aA==null?0:$t($e(aA),292),aA&&SC(U)){var pA=(at(U)+"e").split("e"),fA=f(pA[0]+"e"+(+pA[1]+aA));return pA=(at(fA)+"e").split("e"),+(pA[0]+"e"+(+pA[1]-aA))}return f(U)}}var k4=nr&&1/dA(new nr([,-0]))[1]==M?function(c){return new nr(c)}:Bu;function QB(c){return function(f){var U=zt(f);return U==gA?j(f):U==V?mA(f):ii(f,c(f))}}function bi(c,f,U,aA,pA,fA,_A,FA){var KA=f&Q;if(!KA&&typeof c!="function")throw new Tt(o);var Ae=aA?aA.length:0;if(Ae||(f&=~(B|p),aA=pA=t),_A=_A===t?_A:Ft($e(_A),0),FA=FA===t?FA:$e(FA),Ae-=pA?pA.length:0,f&p){var ee=aA,ae=pA;aA=pA=t}var we=KA?t:Xg(c),ve=[c,f,U,aA,pA,ee,ae,fA,_A,FA];if(we&&Y4(ve,we),c=ve[0],f=ve[1],U=ve[2],aA=ve[3],pA=ve[4],FA=ve[9]=ve[9]===t?KA?0:c.length:Ft(ve[9]-Ae,0),!FA&&f&(k|v)&&(f&=~(k|v)),!f||f==D)var Ne=y4(c,f,U);else f==k||f==v?Ne=D4(c,f,FA):(f==B||f==(D|B))&&!pA.length?Ne=v4(c,f,U,aA):Ne=dl.apply(t,ve);var Je=we?AB:xB;return SB(Je(Ne,ve),c,f)}function IB(c,f,U,aA){return c===t||Zn(c,tr[U])&&!st.call(aA,U)?f:c}function fB(c,f,U,aA,pA,fA){return Et(c)&&Et(f)&&(fA.set(f,c),ll(c,f,t,fB,fA),fA.delete(f)),c}function _4(c){return Ca(c)?t:c}function wB(c,f,U,aA,pA,fA){var _A=U&K,FA=c.length,KA=f.length;if(FA!=KA&&!(_A&&KA>FA))return!1;var Ae=fA.get(c),ee=fA.get(f);if(Ae&&ee)return Ae==f&&ee==c;var ae=-1,we=!0,ve=U&T?new Io:t;for(fA.set(c,f),fA.set(f,c);++ae<FA;){var Ne=c[ae],Je=f[ae];if(aA)var Fe=_A?aA(Je,Ne,ae,f,c,fA):aA(Ne,Je,ae,c,f,fA);if(Fe!==t){if(Fe)continue;we=!1;break}if(ve){if(!Ei(f,function(We,Ve){if(!mo(ve,Ve)&&(Ne===We||pA(Ne,We,U,aA,fA)))return ve.push(Ve)})){we=!1;break}}else if(!(Ne===Je||pA(Ne,Je,U,aA,fA))){we=!1;break}}return fA.delete(c),fA.delete(f),we}function M4(c,f,U,aA,pA,fA,_A){switch(U){case qA:if(c.byteLength!=f.byteLength||c.byteOffset!=f.byteOffset)return!1;c=c.buffer,f=f.buffer;case JA:return!(c.byteLength!=f.byteLength||!fA(new qs(c),new qs(f)));case G:case eA:case CA:return Zn(+c,+f);case oA:return c.name==f.name&&c.message==f.message;case Z:case iA:return c==f+"";case gA:var FA=j;case V:var KA=aA&K;if(FA||(FA=dA),c.size!=f.size&&!KA)return!1;var Ae=_A.get(c);if(Ae)return Ae==f;aA|=T,_A.set(c,f);var ee=wB(FA(c),FA(f),aA,pA,fA,_A);return _A.delete(c),ee;case rA:if(aa)return aa.call(c)==aa.call(f)}return!1}function x4(c,f,U,aA,pA,fA){var _A=U&K,FA=jg(c),KA=FA.length,Ae=jg(f),ee=Ae.length;if(KA!=ee&&!_A)return!1;for(var ae=KA;ae--;){var we=FA[ae];if(!(_A?we in f:st.call(f,we)))return!1}var ve=fA.get(c),Ne=fA.get(f);if(ve&&Ne)return ve==f&&Ne==c;var Je=!0;fA.set(c,f),fA.set(f,c);for(var Fe=_A;++ae<KA;){we=FA[ae];var We=c[we],Ve=f[we];if(aA)var kn=_A?aA(Ve,We,we,f,c,fA):aA(We,Ve,we,c,f,fA);if(!(kn===t?We===Ve||pA(We,Ve,U,aA,fA):kn)){Je=!1;break}Fe||(Fe=we=="constructor")}if(Je&&!Fe){var sn=c.constructor,_n=f.constructor;sn!=_n&&"constructor"in c&&"constructor"in f&&!(typeof sn=="function"&&sn instanceof sn&&typeof _n=="function"&&_n instanceof _n)&&(Je=!1)}return fA.delete(c),fA.delete(f),Je}function yi(c){return iu(_B(c,t,PB),c+"")}function jg(c){return YC(c,Pt,Au)}function qg(c){return YC(c,pn,bB)}var Xg=nl?function(c){return nl.get(c)}:Bu;function Bl(c){for(var f=c.name+"",U=ir[f],aA=st.call(ir,f)?U.length:0;aA--;){var pA=U[aA],fA=pA.func;if(fA==null||fA==c)return pA.name}return f}function sr(c){var f=st.call(QA,"placeholder")?QA:c;return f.placeholder}function Se(){var c=QA.iteratee||pu;return c=c===pu?zC:c,arguments.length?c(arguments[0],arguments[1]):c}function ml(c,f){var U=c.__data__;return H4(f)?U[typeof f=="string"?"string":"hash"]:U.map}function Vg(c){for(var f=Pt(c),U=f.length;U--;){var aA=f[U],pA=c[aA];f[U]=[aA,pA,vB(pA)]}return f}function bo(c,f){var U=Dg(c,f);return $C(U)?U:t}function S4(c){var f=st.call(c,Eo),U=c[Eo];try{c[Eo]=t;var aA=!0}catch{}var pA=Ws.call(c);return aA&&(f?c[Eo]=U:delete c[Eo]),pA}var Au=vg?function(c){return c==null?[]:(c=Oe(c),yn(vg(c),function(f){return MC.call(c,f)}))}:mu,bB=vg?function(c){for(var f=[];c;)$n(f,Au(c)),c=Xs(c);return f}:mu,zt=rn;(kg&&zt(new kg(new ArrayBuffer(1)))!=qA||ia&&zt(new ia)!=gA||_g&&zt(_g.resolve())!=lA||nr&&zt(new nr)!=V||oa&&zt(new oa)!=vA)&&(zt=function(c){var f=rn(c),U=f==tA?c.constructor:t,aA=U?yo(U):"";if(aA)switch(aA){case hS:return qA;case pS:return gA;case CS:return lA;case BS:return V;case mS:return vA}return f});function N4(c,f,U){for(var aA=-1,pA=U.length;++aA<pA;){var fA=U[aA],_A=fA.size;switch(fA.type){case"drop":c+=_A;break;case"dropRight":f-=_A;break;case"take":f=$t(f,c+_A);break;case"takeRight":c=Ft(c,f-_A);break}}return{start:c,end:f}}function F4(c){var f=c.match(bA);return f?f[1].split(RA):[]}function yB(c,f,U){f=zi(f,c);for(var aA=-1,pA=f.length,fA=!1;++aA<pA;){var _A=si(f[aA]);if(!(fA=c!=null&&U(c,_A)))break;c=c[_A]}return fA||++aA!=pA?fA:(pA=c==null?0:c.length,!!pA&&yl(pA)&&Di(_A,pA)&&(Te(c)||Do(c)))}function R4(c){var f=c.length,U=new c.constructor(f);return f&&typeof c[0]=="string"&&st.call(c,"index")&&(U.index=c.index,U.input=c.input),U}function DB(c){return typeof c.constructor=="function"&&!ha(c)?or(Xs(c)):{}}function L4(c,f,U){var aA=c.constructor;switch(f){case JA:return Jg(c);case G:case eA:return new aA(+c);case qA:return E4(c,U);case WA:case le:case ne:case LA:case SA:case ZA:case Be:case De:case xe:return sB(c,U);case gA:return new aA;case CA:case iA:return new aA(c);case Z:return Q4(c);case V:return new aA;case rA:return I4(c)}}function G4(c,f){var U=f.length;if(!U)return c;var aA=U-1;return f[aA]=(U>1?"& ":"")+f[aA],f=f.join(U>2?", ":" "),c.replace(MA,`{
|
|
9
9
|
/* [wrapped with `+f+`] */
|
|
10
|
-
`)}function N4(c){return Te(c)||Do(c)||!!(xC&&c&&c[xC])}function Di(c,f){var U=typeof c;return f=f??x,!!f&&(U=="number"||U!="symbol"&>.test(c))&&c>-1&&c%1==0&&c<f}function an(c,f,U){if(!Et(U))return!1;var aA=typeof f;return(aA=="number"?hn(U)&&Di(f,U.length):aA=="string"&&f in U)?Zn(U[f],c):!1}function eu(c,f){if(Te(c))return!1;var U=typeof c;return U=="number"||U=="symbol"||U=="boolean"||c==null||vn(c)?!0:be.test(c)||!ie.test(c)||f!=null&&c in Oe(f)}function F4(c){var f=typeof c;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?c!=="__proto__":c===null}function tu(c){var f=Bl(c),U=QA[f];if(typeof U!="function"||!(f in Xe.prototype))return!1;if(c===U)return!0;var aA=Xg(U);return!!aA&&c===aA[0]}function R4(c){return!!vC&&vC in c}var L4=Js?vi:Eu;function ha(c){var f=c&&c.constructor,U=typeof f=="function"&&f.prototype||tr;return c===U}function vB(c){return c===c&&!Et(c)}function kB(c,f){return function(U){return U==null?!1:U[c]===f&&(f!==t||c in Oe(U))}}function G4(c){var f=wl(c,function(aA){return U.size===w&&U.clear(),aA}),U=f.cache;return f}function P4(c,f){var U=c[1],aA=f[1],pA=U|aA,fA=pA<(D|Q|d),_A=aA==d&&U==k||aA==d&&U==l&&c[7].length<=f[8]||aA==(d|l)&&f[7].length<=f[8]&&U==k;if(!(fA||_A))return c;aA&D&&(c[2]=f[2],pA|=U&D?0:L);var FA=f[3];if(FA){var KA=c[3];c[3]=KA?cB(KA,FA,f[4]):FA,c[4]=KA?cA(c[3],S):f[4]}return FA=f[5],FA&&(KA=c[5],c[5]=KA?gB(KA,FA,f[6]):FA,c[6]=KA?cA(c[5],S):f[6]),FA=f[7],FA&&(c[7]=FA),aA&d&&(c[8]=c[8]==null?f[8]:$t(c[8],f[8])),c[9]==null&&(c[9]=f[9]),c[0]=f[0],c[1]=pA,c}function H4(c){var f=[];if(c!=null)for(var U in Oe(c))f.push(U);return f}function K4(c){return Ws.call(c)}function _B(c,f,U){return f=Ft(f===t?c.length-1:f,0),function(){for(var aA=arguments,pA=-1,fA=Ft(aA.length-f,0),_A=PA(fA);++pA<fA;)_A[pA]=aA[f+pA];pA=-1;for(var FA=PA(f+1);++pA<f;)FA[pA]=aA[pA];return FA[f]=U(_A),nn(c,this,FA)}}function MB(c,f){return f.length<2?c:wo(c,Hn(f,0,-1))}function T4(c,f){for(var U=c.length,aA=$t(f.length,U),pA=dn(c);aA--;){var fA=f[aA];c[aA]=Di(fA,U)?pA[fA]:t}return c}function nu(c,f){if(!(f==="constructor"&&typeof c[f]=="function")&&f!="__proto__")return c[f]}var xB=NB(AB),pa=tS||function(c,f){return Nt.setTimeout(c,f)},iu=NB(c4);function SB(c,f,U){var aA=f+"";return iu(c,S4(aA,U4(_4(aA),U)))}function NB(c){var f=0,U=0;return function(){var aA=rS(),pA=a-(aA-U);if(U=aA,pA>0){if(++f>=C)return arguments[0]}else f=0;return c.apply(t,arguments)}}function El(c,f){var U=-1,aA=c.length,pA=aA-1;for(f=f===t?aA:f;++U<f;){var fA=Kg(U,pA),_A=c[fA];c[fA]=c[U],c[U]=_A}return c.length=f,c}var FB=G4(function(c){var f=[];return c.charCodeAt(0)===46&&f.push(""),c.replace(oe,function(U,aA,pA,fA){f.push(pA?fA.replace(fe,"$1"):aA||U)}),f});function si(c){if(typeof c=="string"||vn(c))return c;var f=c+"";return f=="0"&&1/c==-M?"-0":f}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function U4(c,f){return un(z,function(U){var aA="_."+U[0];f&U[1]&&!Ln(c,aA)&&c.push(aA)}),c.sort()}function RB(c){if(c instanceof Xe)return c.clone();var f=new Gn(c.__wrapped__,c.__chain__);return f.__actions__=dn(c.__actions__),f.__index__=c.__index__,f.__values__=c.__values__,f}function Y4(c,f,U){(U?an(c,f,U):f===t)?f=1:f=Ft($e(f),0);var aA=c==null?0:c.length;if(!aA||f<1)return[];for(var pA=0,fA=0,_A=PA(el(aA/f));pA<aA;)_A[fA++]=Hn(c,pA,pA+=f);return _A}function O4(c){for(var f=-1,U=c==null?0:c.length,aA=0,pA=[];++f<U;){var fA=c[f];fA&&(pA[aA++]=fA)}return pA}function $4(){var c=arguments.length;if(!c)return[];for(var f=PA(c-1),U=arguments[0],aA=c;aA--;)f[aA-1]=arguments[aA];return $n(Te(U)?dn(U):[U],Ut(f,1))}var z4=Ze(function(c,f){return yt(c)?la(c,Ut(f,1,yt,!0)):[]}),J4=Ze(function(c,f){var U=Kn(f);return yt(U)&&(U=t),yt(c)?la(c,Ut(f,1,yt,!0),Se(U,2)):[]}),Z4=Ze(function(c,f){var U=Kn(f);return yt(U)&&(U=t),yt(c)?la(c,Ut(f,1,yt,!0),t,U):[]});function W4(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),Hn(c,f<0?0:f,aA)):[]}function j4(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),f=aA-f,Hn(c,0,f<0?0:f)):[]}function q4(c,f){return c&&c.length?gl(c,Se(f,3),!0,!0):[]}function X4(c,f){return c&&c.length?gl(c,Se(f,3),!0):[]}function V4(c,f,U,aA){var pA=c==null?0:c.length;return pA?(U&&typeof U!="number"&&an(c,f,U)&&(U=0,aA=pA),$S(c,f,U,aA)):[]}function LB(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=U==null?0:$e(U);return pA<0&&(pA=Ft(aA+pA,0)),Ar(c,Se(f,3),pA)}function GB(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=aA-1;return U!==t&&(pA=$e(U),pA=U<0?Ft(aA+pA,0):$t(pA,aA-1)),Ar(c,Se(f,3),pA,!0)}function PB(c){var f=c==null?0:c.length;return f?Ut(c,1):[]}function AN(c){var f=c==null?0:c.length;return f?Ut(c,M):[]}function eN(c,f){var U=c==null?0:c.length;return U?(f=f===t?1:$e(f),Ut(c,f)):[]}function tN(c){for(var f=-1,U=c==null?0:c.length,aA={};++f<U;){var pA=c[f];aA[pA[0]]=pA[1]}return aA}function HB(c){return c&&c.length?c[0]:t}function nN(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=U==null?0:$e(U);return pA<0&&(pA=Ft(aA+pA,0)),Ti(c,f,pA)}function iN(c){var f=c==null?0:c.length;return f?Hn(c,0,-1):[]}var oN=Ze(function(c){var f=ht(c,$g);return f.length&&f[0]===c[0]?Rg(f):[]}),rN=Ze(function(c){var f=Kn(c),U=ht(c,$g);return f===Kn(U)?f=t:U.pop(),U.length&&U[0]===c[0]?Rg(U,Se(f,2)):[]}),aN=Ze(function(c){var f=Kn(c),U=ht(c,$g);return f=typeof f=="function"?f:t,f&&U.pop(),U.length&&U[0]===c[0]?Rg(U,t,f):[]});function sN(c,f){return c==null?"":iS.call(c,f)}function Kn(c){var f=c==null?0:c.length;return f?c[f-1]:t}function lN(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=aA;return U!==t&&(pA=$e(U),pA=pA<0?Ft(aA+pA,0):$t(pA,aA-1)),f===f?yA(c,f,pA):Ar(c,Ys,pA,!0)}function cN(c,f){return c&&c.length?jC(c,$e(f)):t}var gN=Ze(KB);function KB(c,f){return c&&c.length&&f&&f.length?Hg(c,f):c}function uN(c,f,U){return c&&c.length&&f&&f.length?Hg(c,f,Se(U,2)):c}function dN(c,f,U){return c&&c.length&&f&&f.length?Hg(c,f,t,U):c}var hN=yi(function(c,f){var U=c==null?0:c.length,aA=xg(c,f);return VC(c,ht(f,function(pA){return Di(pA,U)?+pA:pA}).sort(lB)),aA});function pN(c,f){var U=[];if(!(c&&c.length))return U;var aA=-1,pA=[],fA=c.length;for(f=Se(f,3);++aA<fA;){var _A=c[aA];f(_A,aA,c)&&(U.push(_A),pA.push(aA))}return VC(c,pA),U}function ou(c){return c==null?c:sS.call(c)}function CN(c,f,U){var aA=c==null?0:c.length;return aA?(U&&typeof U!="number"&&an(c,f,U)?(f=0,U=aA):(f=f==null?0:$e(f),U=U===t?aA:$e(U)),Hn(c,f,U)):[]}function BN(c,f){return cl(c,f)}function mN(c,f,U){return Ug(c,f,Se(U,2))}function EN(c,f){var U=c==null?0:c.length;if(U){var aA=cl(c,f);if(aA<U&&Zn(c[aA],f))return aA}return-1}function QN(c,f){return cl(c,f,!0)}function IN(c,f,U){return Ug(c,f,Se(U,2),!0)}function fN(c,f){var U=c==null?0:c.length;if(U){var aA=cl(c,f,!0)-1;if(Zn(c[aA],f))return aA}return-1}function wN(c){return c&&c.length?eB(c):[]}function bN(c,f){return c&&c.length?eB(c,Se(f,2)):[]}function yN(c){var f=c==null?0:c.length;return f?Hn(c,1,f):[]}function DN(c,f,U){return c&&c.length?(f=U||f===t?1:$e(f),Hn(c,0,f<0?0:f)):[]}function vN(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),f=aA-f,Hn(c,f<0?0:f,aA)):[]}function kN(c,f){return c&&c.length?gl(c,Se(f,3),!1,!0):[]}function _N(c,f){return c&&c.length?gl(c,Se(f,3)):[]}var MN=Ze(function(c){return $i(Ut(c,1,yt,!0))}),xN=Ze(function(c){var f=Kn(c);return yt(f)&&(f=t),$i(Ut(c,1,yt,!0),Se(f,2))}),SN=Ze(function(c){var f=Kn(c);return f=typeof f=="function"?f:t,$i(Ut(c,1,yt,!0),t,f)});function NN(c){return c&&c.length?$i(c):[]}function FN(c,f){return c&&c.length?$i(c,Se(f,2)):[]}function RN(c,f){return f=typeof f=="function"?f:t,c&&c.length?$i(c,t,f):[]}function ru(c){if(!(c&&c.length))return[];var f=0;return c=yn(c,function(U){if(yt(U))return f=Ft(U.length,f),!0}),Qi(f,function(U){return ht(c,Aa(U))})}function TB(c,f){if(!(c&&c.length))return[];var U=ru(c);return f==null?U:ht(U,function(aA){return nn(f,t,aA)})}var LN=Ze(function(c,f){return yt(c)?la(c,f):[]}),GN=Ze(function(c){return Og(yn(c,yt))}),PN=Ze(function(c){var f=Kn(c);return yt(f)&&(f=t),Og(yn(c,yt),Se(f,2))}),HN=Ze(function(c){var f=Kn(c);return f=typeof f=="function"?f:t,Og(yn(c,yt),t,f)}),KN=Ze(ru);function TN(c,f){return oB(c||[],f||[],sa)}function UN(c,f){return oB(c||[],f||[],ua)}var YN=Ze(function(c){var f=c.length,U=f>1?c[f-1]:t;return U=typeof U=="function"?(c.pop(),U):t,TB(c,U)});function UB(c){var f=QA(c);return f.__chain__=!0,f}function ON(c,f){return f(c),c}function Ql(c,f){return f(c)}var $N=yi(function(c){var f=c.length,U=f?c[0]:0,aA=this.__wrapped__,pA=function(fA){return xg(fA,c)};return f>1||this.__actions__.length||!(aA instanceof Xe)||!Di(U)?this.thru(pA):(aA=aA.slice(U,+U+(f?1:0)),aA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Gn(aA,this.__chain__).thru(function(fA){return f&&!fA.length&&fA.push(t),fA}))});function zN(){return UB(this)}function JN(){return new Gn(this.value(),this.__chain__)}function ZN(){this.__values__===t&&(this.__values__=tm(this.value()));var c=this.__index__>=this.__values__.length,f=c?t:this.__values__[this.__index__++];return{done:c,value:f}}function WN(){return this}function jN(c){for(var f,U=this;U instanceof ol;){var aA=RB(U);aA.__index__=0,aA.__values__=t,f?pA.__wrapped__=aA:f=aA;var pA=aA;U=U.__wrapped__}return pA.__wrapped__=c,f}function qN(){var c=this.__wrapped__;if(c instanceof Xe){var f=c;return this.__actions__.length&&(f=new Xe(this)),f=f.reverse(),f.__actions__.push({func:Ql,args:[ou],thisArg:t}),new Gn(f,this.__chain__)}return this.thru(ou)}function XN(){return iB(this.__wrapped__,this.__actions__)}var VN=ul(function(c,f,U){st.call(c,U)?++c[U]:wi(c,U,1)});function AF(c,f,U){var aA=Te(c)?Xr:OS;return U&&an(c,f,U)&&(f=t),aA(c,Se(f,3))}function eF(c,f){var U=Te(c)?yn:TC;return U(c,Se(f,3))}var tF=pB(LB),nF=pB(GB);function iF(c,f){return Ut(Il(c,f),1)}function oF(c,f){return Ut(Il(c,f),M)}function rF(c,f,U){return U=U===t?1:$e(U),Ut(Il(c,f),U)}function YB(c,f){var U=Te(c)?un:Oi;return U(c,Se(f,3))}function OB(c,f){var U=Te(c)?Bg:KC;return U(c,Se(f,3))}var aF=ul(function(c,f,U){st.call(c,U)?c[U].push(f):wi(c,U,[f])});function sF(c,f,U,aA){c=hn(c)?c:cr(c),U=U&&!aA?$e(U):0;var pA=c.length;return U<0&&(U=Ft(pA+U,0)),Dl(c)?U<=pA&&c.indexOf(f,U)>-1:!!pA&&Ti(c,f,U)>-1}var lF=Ze(function(c,f,U){var aA=-1,pA=typeof f=="function",fA=hn(c)?PA(c.length):[];return Oi(c,function(_A){fA[++aA]=pA?nn(f,_A,U):ca(_A,f,U)}),fA}),cF=ul(function(c,f,U){wi(c,U,f)});function Il(c,f){var U=Te(c)?ht:JC;return U(c,Se(f,3))}function gF(c,f,U,aA){return c==null?[]:(Te(f)||(f=f==null?[]:[f]),U=aA?t:U,Te(U)||(U=U==null?[]:[U]),qC(c,f,U))}var uF=ul(function(c,f,U){c[U?0:1].push(f)},function(){return[[],[]]});function dF(c,f,U){var aA=Te(c)?Vo:Os,pA=arguments.length<3;return aA(c,Se(f,4),U,pA,Oi)}function hF(c,f,U){var aA=Te(c)?Ts:Os,pA=arguments.length<3;return aA(c,Se(f,4),U,pA,KC)}function pF(c,f){var U=Te(c)?yn:TC;return U(c,bl(Se(f,3)))}function CF(c){var f=Te(c)?LC:s4;return f(c)}function BF(c,f,U){(U?an(c,f,U):f===t)?f=1:f=$e(f);var aA=Te(c)?HS:l4;return aA(c,f)}function mF(c){var f=Te(c)?KS:g4;return f(c)}function EF(c){if(c==null)return 0;if(hn(c))return Dl(c)?xA(c):c.length;var f=zt(c);return f==gA||f==V?c.size:Gg(c).length}function QF(c,f,U){var aA=Te(c)?Ei:u4;return U&&an(c,f,U)&&(f=t),aA(c,Se(f,3))}var IF=Ze(function(c,f){if(c==null)return[];var U=f.length;return U>1&&an(c,f[0],f[1])?f=[]:U>2&&an(f[0],f[1],f[2])&&(f=[f[0]]),qC(c,Ut(f,1),[])}),fl=eS||function(){return Nt.Date.now()};function fF(c,f){if(typeof f!="function")throw new Tt(o);return c=$e(c),function(){if(--c<1)return f.apply(this,arguments)}}function $B(c,f,U){return f=U?t:f,f=c&&f==null?c.length:f,bi(c,d,t,t,t,t,f)}function zB(c,f){var U;if(typeof f!="function")throw new Tt(o);return c=$e(c),function(){return--c>0&&(U=f.apply(this,arguments)),c<=1&&(f=t),U}}var au=Ze(function(c,f,U){var aA=D;if(U.length){var pA=cA(U,sr(au));aA|=B}return bi(c,aA,f,U,pA)}),JB=Ze(function(c,f,U){var aA=D|Q;if(U.length){var pA=cA(U,sr(JB));aA|=B}return bi(f,aA,c,U,pA)});function ZB(c,f,U){f=U?t:f;var aA=bi(c,k,t,t,t,t,t,f);return aA.placeholder=ZB.placeholder,aA}function WB(c,f,U){f=U?t:f;var aA=bi(c,v,t,t,t,t,t,f);return aA.placeholder=WB.placeholder,aA}function jB(c,f,U){var aA,pA,fA,_A,FA,KA,Ae=0,ee=!1,ae=!1,we=!0;if(typeof c!="function")throw new Tt(o);f=Tn(f)||0,Et(U)&&(ee=!!U.leading,ae="maxWait"in U,fA=ae?Ft(Tn(U.maxWait)||0,f):fA,we="trailing"in U?!!U.trailing:we);function ve(Dt){var Wn=aA,_i=pA;return aA=pA=t,Ae=Dt,_A=c.apply(_i,Wn),_A}function Ne(Dt){return Ae=Dt,FA=pa(We,f),ee?ve(Dt):_A}function Je(Dt){var Wn=Dt-KA,_i=Dt-Ae,pm=f-Wn;return ae?$t(pm,fA-_i):pm}function Fe(Dt){var Wn=Dt-KA,_i=Dt-Ae;return KA===t||Wn>=f||Wn<0||ae&&_i>=fA}function We(){var Dt=fl();if(Fe(Dt))return Ve(Dt);FA=pa(We,Je(Dt))}function Ve(Dt){return FA=t,we&&aA?ve(Dt):(aA=pA=t,_A)}function kn(){FA!==t&&rB(FA),Ae=0,aA=KA=pA=FA=t}function sn(){return FA===t?_A:Ve(fl())}function _n(){var Dt=fl(),Wn=Fe(Dt);if(aA=arguments,pA=this,KA=Dt,Wn){if(FA===t)return Ne(KA);if(ae)return rB(FA),FA=pa(We,f),ve(KA)}return FA===t&&(FA=pa(We,f)),_A}return _n.cancel=kn,_n.flush=sn,_n}var wF=Ze(function(c,f){return HC(c,1,f)}),bF=Ze(function(c,f,U){return HC(c,Tn(f)||0,U)});function yF(c){return bi(c,g)}function wl(c,f){if(typeof c!="function"||f!=null&&typeof f!="function")throw new Tt(o);var U=function(){var aA=arguments,pA=f?f.apply(this,aA):aA[0],fA=U.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,aA);return U.cache=fA.set(pA,_A)||fA,_A};return U.cache=new(wl.Cache||fi),U}wl.Cache=fi;function bl(c){if(typeof c!="function")throw new Tt(o);return function(){var f=arguments;switch(f.length){case 0:return!c.call(this);case 1:return!c.call(this,f[0]);case 2:return!c.call(this,f[0],f[1]);case 3:return!c.call(this,f[0],f[1],f[2])}return!c.apply(this,f)}}function DF(c){return zB(2,c)}var vF=d4(function(c,f){f=f.length==1&&Te(f[0])?ht(f[0],Kt(Se())):ht(Ut(f,1),Kt(Se()));var U=f.length;return Ze(function(aA){for(var pA=-1,fA=$t(aA.length,U);++pA<fA;)aA[pA]=f[pA].call(this,aA[pA]);return nn(c,this,aA)})}),su=Ze(function(c,f){var U=cA(f,sr(su));return bi(c,B,t,f,U)}),qB=Ze(function(c,f){var U=cA(f,sr(qB));return bi(c,p,t,f,U)}),kF=yi(function(c,f){return bi(c,l,t,t,t,f)});function _F(c,f){if(typeof c!="function")throw new Tt(o);return f=f===t?f:$e(f),Ze(c,f)}function MF(c,f){if(typeof c!="function")throw new Tt(o);return f=f==null?0:Ft($e(f),0),Ze(function(U){var aA=U[f],pA=Ji(U,0,f);return aA&&$n(pA,aA),nn(c,this,pA)})}function xF(c,f,U){var aA=!0,pA=!0;if(typeof c!="function")throw new Tt(o);return Et(U)&&(aA="leading"in U?!!U.leading:aA,pA="trailing"in U?!!U.trailing:pA),jB(c,f,{leading:aA,maxWait:f,trailing:pA})}function SF(c){return $B(c,1)}function NF(c,f){return su(zg(f),c)}function FF(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function RF(c){return Pn(c,$)}function LF(c,f){return f=typeof f=="function"?f:t,Pn(c,$,f)}function GF(c){return Pn(c,N|$)}function PF(c,f){return f=typeof f=="function"?f:t,Pn(c,N|$,f)}function HF(c,f){return f==null||PC(c,f,Pt(f))}function Zn(c,f){return c===f||c!==c&&f!==f}var KF=Cl(Fg),TF=Cl(function(c,f){return c>=f}),Do=OC(function(){return arguments}())?OC:function(c){return ft(c)&&st.call(c,"callee")&&!MC.call(c,"callee")},Te=PA.isArray,UF=qr?Kt(qr):jS;function hn(c){return c!=null&&yl(c.length)&&!vi(c)}function yt(c){return ft(c)&&hn(c)}function YF(c){return c===!0||c===!1||ft(c)&&rn(c)==G}var Zi=nS||Eu,OF=Gt?Kt(Gt):qS;function $F(c){return ft(c)&&c.nodeType===1&&!Ca(c)}function zF(c){if(c==null)return!0;if(hn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Zi(c)||lr(c)||Do(c)))return!c.length;var f=zt(c);if(f==gA||f==V)return!c.size;if(ha(c))return!Gg(c).length;for(var U in c)if(st.call(c,U))return!1;return!0}function JF(c,f){return ga(c,f)}function ZF(c,f,U){U=typeof U=="function"?U:t;var aA=U?U(c,f):t;return aA===t?ga(c,f,t,U):!!aA}function lu(c){if(!ft(c))return!1;var f=rn(c);return f==oA||f==sA||typeof c.message=="string"&&typeof c.name=="string"&&!Ca(c)}function WF(c){return typeof c=="number"&&SC(c)}function vi(c){if(!Et(c))return!1;var f=rn(c);return f==hA||f==EA||f==AA||f==uA}function XB(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=x}function Et(c){var f=typeof c;return c!=null&&(f=="object"||f=="function")}function ft(c){return c!=null&&typeof c=="object"}var VB=Gs?Kt(Gs):VS;function jF(c,f){return c===f||Lg(c,f,Vg(f))}function qF(c,f,U){return U=typeof U=="function"?U:t,Lg(c,f,Vg(f),U)}function XF(c){return Am(c)&&c!=+c}function VF(c){if(L4(c))throw new Ce(I);return $C(c)}function AR(c){return c===null}function eR(c){return c==null}function Am(c){return typeof c=="number"||ft(c)&&rn(c)==CA}function Ca(c){if(!ft(c)||rn(c)!=tA)return!1;var f=Xs(c);if(f===null)return!0;var U=st.call(f,"constructor")&&f.constructor;return typeof U=="function"&&U instanceof U&&Zs.call(U)==qx}var cu=Ps?Kt(Ps):A4;function tR(c){return XB(c)&&c>=-x&&c<=x}var em=Hs?Kt(Hs):e4;function Dl(c){return typeof c=="string"||!Te(c)&&ft(c)&&rn(c)==iA}function vn(c){return typeof c=="symbol"||ft(c)&&rn(c)==rA}var lr=Ks?Kt(Ks):t4;function nR(c){return c===t}function iR(c){return ft(c)&&zt(c)==vA}function oR(c){return ft(c)&&rn(c)==UA}var rR=Cl(Pg),aR=Cl(function(c,f){return c<=f});function tm(c){if(!c)return[];if(hn(c))return Dl(c)?DA(c):dn(c);if(na&&c[na])return F(c[na]());var f=zt(c),U=f==gA?j:f==V?dA:cr;return U(c)}function ki(c){if(!c)return c===0?c:0;if(c=Tn(c),c===M||c===-M){var f=c<0?-1:1;return f*P}return c===c?c:0}function $e(c){var f=ki(c),U=f%1;return f===f?U?f-U:f:0}function nm(c){return c?fo($e(c),0,J):0}function Tn(c){if(typeof c=="number")return c;if(vn(c))return Y;if(Et(c)){var f=typeof c.valueOf=="function"?c.valueOf():c;c=Et(f)?f+"":f}if(typeof c!="string")return c===0?c:+c;c=ea(c);var U=pt.test(c);return U||At.test(c)?Rs(c.slice(2),U?2:8):qe.test(c)?Y:+c}function im(c){return ai(c,pn(c))}function sR(c){return c?fo($e(c),-x,x):c===0?c:0}function at(c){return c==null?"":Dn(c)}var lR=rr(function(c,f){if(ha(f)||hn(f)){ai(f,Pt(f),c);return}for(var U in f)st.call(f,U)&&sa(c,U,f[U])}),om=rr(function(c,f){ai(f,pn(f),c)}),vl=rr(function(c,f,U,aA){ai(f,pn(f),c,aA)}),cR=rr(function(c,f,U,aA){ai(f,Pt(f),c,aA)}),gR=yi(xg);function uR(c,f){var U=or(c);return f==null?U:GC(U,f)}var dR=Ze(function(c,f){c=Oe(c);var U=-1,aA=f.length,pA=aA>2?f[2]:t;for(pA&&an(f[0],f[1],pA)&&(aA=1);++U<aA;)for(var fA=f[U],_A=pn(fA),FA=-1,KA=_A.length;++FA<KA;){var Ae=_A[FA],ee=c[Ae];(ee===t||Zn(ee,tr[Ae])&&!st.call(c,Ae))&&(c[Ae]=fA[Ae])}return c}),hR=Ze(function(c){return c.push(t,fB),nn(rm,t,c)});function pR(c,f){return Us(c,Se(f,3),ri)}function CR(c,f){return Us(c,Se(f,3),Ng)}function BR(c,f){return c==null?c:Sg(c,Se(f,3),pn)}function mR(c,f){return c==null?c:UC(c,Se(f,3),pn)}function ER(c,f){return c&&ri(c,Se(f,3))}function QR(c,f){return c&&Ng(c,Se(f,3))}function IR(c){return c==null?[]:sl(c,Pt(c))}function fR(c){return c==null?[]:sl(c,pn(c))}function gu(c,f,U){var aA=c==null?t:wo(c,f);return aA===t?U:aA}function wR(c,f){return c!=null&&yB(c,f,zS)}function uu(c,f){return c!=null&&yB(c,f,JS)}var bR=BB(function(c,f,U){f!=null&&typeof f.toString!="function"&&(f=Ws.call(f)),c[f]=U},hu(Cn)),yR=BB(function(c,f,U){f!=null&&typeof f.toString!="function"&&(f=Ws.call(f)),st.call(c,f)?c[f].push(U):c[f]=[U]},Se),DR=Ze(ca);function Pt(c){return hn(c)?RC(c):Gg(c)}function pn(c){return hn(c)?RC(c,!0):n4(c)}function vR(c,f){var U={};return f=Se(f,3),ri(c,function(aA,pA,fA){wi(U,f(aA,pA,fA),aA)}),U}function kR(c,f){var U={};return f=Se(f,3),ri(c,function(aA,pA,fA){wi(U,pA,f(aA,pA,fA))}),U}var _R=rr(function(c,f,U){ll(c,f,U)}),rm=rr(function(c,f,U,aA){ll(c,f,U,aA)}),MR=yi(function(c,f){var U={};if(c==null)return U;var aA=!1;f=ht(f,function(fA){return fA=zi(fA,c),aA||(aA=fA.length>1),fA}),ai(c,qg(c),U),aA&&(U=Pn(U,N|H|$,b4));for(var pA=f.length;pA--;)Yg(U,f[pA]);return U});function xR(c,f){return am(c,bl(Se(f)))}var SR=yi(function(c,f){return c==null?{}:o4(c,f)});function am(c,f){if(c==null)return{};var U=ht(qg(c),function(aA){return[aA]});return f=Se(f),XC(c,U,function(aA,pA){return f(aA,pA[0])})}function NR(c,f,U){f=zi(f,c);var aA=-1,pA=f.length;for(pA||(pA=1,c=t);++aA<pA;){var fA=c==null?t:c[si(f[aA])];fA===t&&(aA=pA,fA=U),c=vi(fA)?fA.call(c):fA}return c}function FR(c,f,U){return c==null?c:ua(c,f,U)}function RR(c,f,U,aA){return aA=typeof aA=="function"?aA:t,c==null?c:ua(c,f,U,aA)}var sm=QB(Pt),lm=QB(pn);function LR(c,f,U){var aA=Te(c),pA=aA||Zi(c)||lr(c);if(f=Se(f,4),U==null){var fA=c&&c.constructor;pA?U=aA?new fA:[]:Et(c)?U=vi(fA)?or(Xs(c)):{}:U={}}return(pA?un:ri)(c,function(_A,FA,KA){return f(U,_A,FA,KA)}),U}function GR(c,f){return c==null?!0:Yg(c,f)}function PR(c,f,U){return c==null?c:nB(c,f,zg(U))}function HR(c,f,U,aA){return aA=typeof aA=="function"?aA:t,c==null?c:nB(c,f,zg(U),aA)}function cr(c){return c==null?[]:ta(c,Pt(c))}function KR(c){return c==null?[]:ta(c,pn(c))}function TR(c,f,U){return U===t&&(U=f,f=t),U!==t&&(U=Tn(U),U=U===U?U:0),f!==t&&(f=Tn(f),f=f===f?f:0),fo(Tn(c),f,U)}function UR(c,f,U){return f=ki(f),U===t?(U=f,f=0):U=ki(U),c=Tn(c),ZS(c,f,U)}function YR(c,f,U){if(U&&typeof U!="boolean"&&an(c,f,U)&&(f=U=t),U===t&&(typeof f=="boolean"?(U=f,f=t):typeof c=="boolean"&&(U=c,c=t)),c===t&&f===t?(c=0,f=1):(c=ki(c),f===t?(f=c,c=0):f=ki(f)),c>f){var aA=c;c=f,f=aA}if(U||c%1||f%1){var pA=NC();return $t(c+pA*(f-c+Fs("1e-"+((pA+"").length-1))),f)}return Kg(c,f)}var OR=ar(function(c,f,U){return f=f.toLowerCase(),c+(U?cm(f):f)});function cm(c){return du(at(c).toLowerCase())}function gm(c){return c=at(c),c&&c.replace(Pe,wg).replace(Ms,"")}function $R(c,f,U){c=at(c),f=Dn(f);var aA=c.length;U=U===t?aA:fo($e(U),0,aA);var pA=U;return U-=f.length,U>=0&&c.slice(U,pA)==f}function zR(c){return c=at(c),c&&ke.test(c)?c.replace(ge,bg):c}function JR(c){return c=at(c),c&&Me.test(c)?c.replace(ue,"\\$&"):c}var ZR=ar(function(c,f,U){return c+(U?"-":"")+f.toLowerCase()}),WR=ar(function(c,f,U){return c+(U?" ":"")+f.toLowerCase()}),jR=hB("toLowerCase");function qR(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;if(!f||aA>=f)return c;var pA=(f-aA)/2;return pl(tl(pA),U)+c+pl(el(pA),U)}function XR(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;return f&&aA<f?c+pl(f-aA,U):c}function VR(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;return f&&aA<f?pl(f-aA,U)+c:c}function AL(c,f,U){return U||f==null?f=0:f&&(f=+f),aS(at(c).replace(tt,""),f||0)}function eL(c,f,U){return(U?an(c,f,U):f===t)?f=1:f=$e(f),Tg(at(c),f)}function tL(){var c=arguments,f=at(c[0]);return c.length<3?f:f.replace(c[1],c[2])}var nL=ar(function(c,f,U){return c+(U?"_":"")+f.toLowerCase()});function iL(c,f,U){return U&&typeof U!="number"&&an(c,f,U)&&(f=U=t),U=U===t?J:U>>>0,U?(c=at(c),c&&(typeof f=="string"||f!=null&&!cu(f))&&(f=Dn(f),!f&&Ui(c))?Ji(DA(c),0,U):c.split(f,U)):[]}var oL=ar(function(c,f,U){return c+(U?" ":"")+du(f)});function rL(c,f,U){return c=at(c),U=U==null?0:fo($e(U),0,c.length),f=Dn(f),c.slice(U,U+f.length)==f}function aL(c,f,U){var aA=QA.templateSettings;U&&an(c,f,U)&&(f=t),c=at(c),f=vl({},f,aA,IB);var pA=vl({},f.imports,aA.imports,IB),fA=Pt(pA),_A=ta(pA,fA),FA,KA,Ae=0,ee=f.interpolate||ot,ae="__p += '",we=on((f.escape||ot).source+"|"+ee.source+"|"+(ee===HA?te:ot).source+"|"+(f.evaluate||ot).source+"|$","g"),ve="//# sourceURL="+(st.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
10
|
+
`)}function P4(c){return Te(c)||Do(c)||!!(xC&&c&&c[xC])}function Di(c,f){var U=typeof c;return f=f??x,!!f&&(U=="number"||U!="symbol"&>.test(c))&&c>-1&&c%1==0&&c<f}function an(c,f,U){if(!Et(U))return!1;var aA=typeof f;return(aA=="number"?hn(U)&&Di(f,U.length):aA=="string"&&f in U)?Zn(U[f],c):!1}function eu(c,f){if(Te(c))return!1;var U=typeof c;return U=="number"||U=="symbol"||U=="boolean"||c==null||vn(c)?!0:be.test(c)||!ie.test(c)||f!=null&&c in Oe(f)}function H4(c){var f=typeof c;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?c!=="__proto__":c===null}function tu(c){var f=Bl(c),U=QA[f];if(typeof U!="function"||!(f in Xe.prototype))return!1;if(c===U)return!0;var aA=Xg(U);return!!aA&&c===aA[0]}function K4(c){return!!vC&&vC in c}var T4=Js?vi:Eu;function ha(c){var f=c&&c.constructor,U=typeof f=="function"&&f.prototype||tr;return c===U}function vB(c){return c===c&&!Et(c)}function kB(c,f){return function(U){return U==null?!1:U[c]===f&&(f!==t||c in Oe(U))}}function U4(c){var f=wl(c,function(aA){return U.size===w&&U.clear(),aA}),U=f.cache;return f}function Y4(c,f){var U=c[1],aA=f[1],pA=U|aA,fA=pA<(D|Q|d),_A=aA==d&&U==k||aA==d&&U==l&&c[7].length<=f[8]||aA==(d|l)&&f[7].length<=f[8]&&U==k;if(!(fA||_A))return c;aA&D&&(c[2]=f[2],pA|=U&D?0:L);var FA=f[3];if(FA){var KA=c[3];c[3]=KA?cB(KA,FA,f[4]):FA,c[4]=KA?cA(c[3],S):f[4]}return FA=f[5],FA&&(KA=c[5],c[5]=KA?gB(KA,FA,f[6]):FA,c[6]=KA?cA(c[5],S):f[6]),FA=f[7],FA&&(c[7]=FA),aA&d&&(c[8]=c[8]==null?f[8]:$t(c[8],f[8])),c[9]==null&&(c[9]=f[9]),c[0]=f[0],c[1]=pA,c}function O4(c){var f=[];if(c!=null)for(var U in Oe(c))f.push(U);return f}function $4(c){return Ws.call(c)}function _B(c,f,U){return f=Ft(f===t?c.length-1:f,0),function(){for(var aA=arguments,pA=-1,fA=Ft(aA.length-f,0),_A=PA(fA);++pA<fA;)_A[pA]=aA[f+pA];pA=-1;for(var FA=PA(f+1);++pA<f;)FA[pA]=aA[pA];return FA[f]=U(_A),nn(c,this,FA)}}function MB(c,f){return f.length<2?c:wo(c,Hn(f,0,-1))}function z4(c,f){for(var U=c.length,aA=$t(f.length,U),pA=dn(c);aA--;){var fA=f[aA];c[aA]=Di(fA,U)?pA[fA]:t}return c}function nu(c,f){if(!(f==="constructor"&&typeof c[f]=="function")&&f!="__proto__")return c[f]}var xB=NB(AB),pa=aS||function(c,f){return Nt.setTimeout(c,f)},iu=NB(p4);function SB(c,f,U){var aA=f+"";return iu(c,G4(aA,J4(F4(aA),U)))}function NB(c){var f=0,U=0;return function(){var aA=gS(),pA=a-(aA-U);if(U=aA,pA>0){if(++f>=C)return arguments[0]}else f=0;return c.apply(t,arguments)}}function El(c,f){var U=-1,aA=c.length,pA=aA-1;for(f=f===t?aA:f;++U<f;){var fA=Kg(U,pA),_A=c[fA];c[fA]=c[U],c[U]=_A}return c.length=f,c}var FB=U4(function(c){var f=[];return c.charCodeAt(0)===46&&f.push(""),c.replace(oe,function(U,aA,pA,fA){f.push(pA?fA.replace(fe,"$1"):aA||U)}),f});function si(c){if(typeof c=="string"||vn(c))return c;var f=c+"";return f=="0"&&1/c==-M?"-0":f}function yo(c){if(c!=null){try{return Zs.call(c)}catch{}try{return c+""}catch{}}return""}function J4(c,f){return un(z,function(U){var aA="_."+U[0];f&U[1]&&!Ln(c,aA)&&c.push(aA)}),c.sort()}function RB(c){if(c instanceof Xe)return c.clone();var f=new Gn(c.__wrapped__,c.__chain__);return f.__actions__=dn(c.__actions__),f.__index__=c.__index__,f.__values__=c.__values__,f}function Z4(c,f,U){(U?an(c,f,U):f===t)?f=1:f=Ft($e(f),0);var aA=c==null?0:c.length;if(!aA||f<1)return[];for(var pA=0,fA=0,_A=PA(el(aA/f));pA<aA;)_A[fA++]=Hn(c,pA,pA+=f);return _A}function W4(c){for(var f=-1,U=c==null?0:c.length,aA=0,pA=[];++f<U;){var fA=c[f];fA&&(pA[aA++]=fA)}return pA}function j4(){var c=arguments.length;if(!c)return[];for(var f=PA(c-1),U=arguments[0],aA=c;aA--;)f[aA-1]=arguments[aA];return $n(Te(U)?dn(U):[U],Ut(f,1))}var q4=Ze(function(c,f){return Dt(c)?la(c,Ut(f,1,Dt,!0)):[]}),X4=Ze(function(c,f){var U=Kn(f);return Dt(U)&&(U=t),Dt(c)?la(c,Ut(f,1,Dt,!0),Se(U,2)):[]}),V4=Ze(function(c,f){var U=Kn(f);return Dt(U)&&(U=t),Dt(c)?la(c,Ut(f,1,Dt,!0),t,U):[]});function AN(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),Hn(c,f<0?0:f,aA)):[]}function eN(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),f=aA-f,Hn(c,0,f<0?0:f)):[]}function tN(c,f){return c&&c.length?gl(c,Se(f,3),!0,!0):[]}function nN(c,f){return c&&c.length?gl(c,Se(f,3),!0):[]}function iN(c,f,U,aA){var pA=c==null?0:c.length;return pA?(U&&typeof U!="number"&&an(c,f,U)&&(U=0,aA=pA),jS(c,f,U,aA)):[]}function LB(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=U==null?0:$e(U);return pA<0&&(pA=Ft(aA+pA,0)),Ar(c,Se(f,3),pA)}function GB(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=aA-1;return U!==t&&(pA=$e(U),pA=U<0?Ft(aA+pA,0):$t(pA,aA-1)),Ar(c,Se(f,3),pA,!0)}function PB(c){var f=c==null?0:c.length;return f?Ut(c,1):[]}function oN(c){var f=c==null?0:c.length;return f?Ut(c,M):[]}function rN(c,f){var U=c==null?0:c.length;return U?(f=f===t?1:$e(f),Ut(c,f)):[]}function aN(c){for(var f=-1,U=c==null?0:c.length,aA={};++f<U;){var pA=c[f];aA[pA[0]]=pA[1]}return aA}function HB(c){return c&&c.length?c[0]:t}function sN(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=U==null?0:$e(U);return pA<0&&(pA=Ft(aA+pA,0)),Ti(c,f,pA)}function lN(c){var f=c==null?0:c.length;return f?Hn(c,0,-1):[]}var cN=Ze(function(c){var f=ht(c,$g);return f.length&&f[0]===c[0]?Rg(f):[]}),gN=Ze(function(c){var f=Kn(c),U=ht(c,$g);return f===Kn(U)?f=t:U.pop(),U.length&&U[0]===c[0]?Rg(U,Se(f,2)):[]}),uN=Ze(function(c){var f=Kn(c),U=ht(c,$g);return f=typeof f=="function"?f:t,f&&U.pop(),U.length&&U[0]===c[0]?Rg(U,t,f):[]});function dN(c,f){return c==null?"":lS.call(c,f)}function Kn(c){var f=c==null?0:c.length;return f?c[f-1]:t}function hN(c,f,U){var aA=c==null?0:c.length;if(!aA)return-1;var pA=aA;return U!==t&&(pA=$e(U),pA=pA<0?Ft(aA+pA,0):$t(pA,aA-1)),f===f?yA(c,f,pA):Ar(c,Ys,pA,!0)}function pN(c,f){return c&&c.length?jC(c,$e(f)):t}var CN=Ze(KB);function KB(c,f){return c&&c.length&&f&&f.length?Hg(c,f):c}function BN(c,f,U){return c&&c.length&&f&&f.length?Hg(c,f,Se(U,2)):c}function mN(c,f,U){return c&&c.length&&f&&f.length?Hg(c,f,t,U):c}var EN=yi(function(c,f){var U=c==null?0:c.length,aA=xg(c,f);return VC(c,ht(f,function(pA){return Di(pA,U)?+pA:pA}).sort(lB)),aA});function QN(c,f){var U=[];if(!(c&&c.length))return U;var aA=-1,pA=[],fA=c.length;for(f=Se(f,3);++aA<fA;){var _A=c[aA];f(_A,aA,c)&&(U.push(_A),pA.push(aA))}return VC(c,pA),U}function ou(c){return c==null?c:dS.call(c)}function IN(c,f,U){var aA=c==null?0:c.length;return aA?(U&&typeof U!="number"&&an(c,f,U)?(f=0,U=aA):(f=f==null?0:$e(f),U=U===t?aA:$e(U)),Hn(c,f,U)):[]}function fN(c,f){return cl(c,f)}function wN(c,f,U){return Ug(c,f,Se(U,2))}function bN(c,f){var U=c==null?0:c.length;if(U){var aA=cl(c,f);if(aA<U&&Zn(c[aA],f))return aA}return-1}function yN(c,f){return cl(c,f,!0)}function DN(c,f,U){return Ug(c,f,Se(U,2),!0)}function vN(c,f){var U=c==null?0:c.length;if(U){var aA=cl(c,f,!0)-1;if(Zn(c[aA],f))return aA}return-1}function kN(c){return c&&c.length?eB(c):[]}function _N(c,f){return c&&c.length?eB(c,Se(f,2)):[]}function MN(c){var f=c==null?0:c.length;return f?Hn(c,1,f):[]}function xN(c,f,U){return c&&c.length?(f=U||f===t?1:$e(f),Hn(c,0,f<0?0:f)):[]}function SN(c,f,U){var aA=c==null?0:c.length;return aA?(f=U||f===t?1:$e(f),f=aA-f,Hn(c,f<0?0:f,aA)):[]}function NN(c,f){return c&&c.length?gl(c,Se(f,3),!1,!0):[]}function FN(c,f){return c&&c.length?gl(c,Se(f,3)):[]}var RN=Ze(function(c){return $i(Ut(c,1,Dt,!0))}),LN=Ze(function(c){var f=Kn(c);return Dt(f)&&(f=t),$i(Ut(c,1,Dt,!0),Se(f,2))}),GN=Ze(function(c){var f=Kn(c);return f=typeof f=="function"?f:t,$i(Ut(c,1,Dt,!0),t,f)});function PN(c){return c&&c.length?$i(c):[]}function HN(c,f){return c&&c.length?$i(c,Se(f,2)):[]}function KN(c,f){return f=typeof f=="function"?f:t,c&&c.length?$i(c,t,f):[]}function ru(c){if(!(c&&c.length))return[];var f=0;return c=yn(c,function(U){if(Dt(U))return f=Ft(U.length,f),!0}),Qi(f,function(U){return ht(c,Aa(U))})}function TB(c,f){if(!(c&&c.length))return[];var U=ru(c);return f==null?U:ht(U,function(aA){return nn(f,t,aA)})}var TN=Ze(function(c,f){return Dt(c)?la(c,f):[]}),UN=Ze(function(c){return Og(yn(c,Dt))}),YN=Ze(function(c){var f=Kn(c);return Dt(f)&&(f=t),Og(yn(c,Dt),Se(f,2))}),ON=Ze(function(c){var f=Kn(c);return f=typeof f=="function"?f:t,Og(yn(c,Dt),t,f)}),$N=Ze(ru);function zN(c,f){return oB(c||[],f||[],sa)}function JN(c,f){return oB(c||[],f||[],ua)}var ZN=Ze(function(c){var f=c.length,U=f>1?c[f-1]:t;return U=typeof U=="function"?(c.pop(),U):t,TB(c,U)});function UB(c){var f=QA(c);return f.__chain__=!0,f}function WN(c,f){return f(c),c}function Ql(c,f){return f(c)}var jN=yi(function(c){var f=c.length,U=f?c[0]:0,aA=this.__wrapped__,pA=function(fA){return xg(fA,c)};return f>1||this.__actions__.length||!(aA instanceof Xe)||!Di(U)?this.thru(pA):(aA=aA.slice(U,+U+(f?1:0)),aA.__actions__.push({func:Ql,args:[pA],thisArg:t}),new Gn(aA,this.__chain__).thru(function(fA){return f&&!fA.length&&fA.push(t),fA}))});function qN(){return UB(this)}function XN(){return new Gn(this.value(),this.__chain__)}function VN(){this.__values__===t&&(this.__values__=tm(this.value()));var c=this.__index__>=this.__values__.length,f=c?t:this.__values__[this.__index__++];return{done:c,value:f}}function AF(){return this}function eF(c){for(var f,U=this;U instanceof ol;){var aA=RB(U);aA.__index__=0,aA.__values__=t,f?pA.__wrapped__=aA:f=aA;var pA=aA;U=U.__wrapped__}return pA.__wrapped__=c,f}function tF(){var c=this.__wrapped__;if(c instanceof Xe){var f=c;return this.__actions__.length&&(f=new Xe(this)),f=f.reverse(),f.__actions__.push({func:Ql,args:[ou],thisArg:t}),new Gn(f,this.__chain__)}return this.thru(ou)}function nF(){return iB(this.__wrapped__,this.__actions__)}var iF=ul(function(c,f,U){st.call(c,U)?++c[U]:wi(c,U,1)});function oF(c,f,U){var aA=Te(c)?Xr:WS;return U&&an(c,f,U)&&(f=t),aA(c,Se(f,3))}function rF(c,f){var U=Te(c)?yn:TC;return U(c,Se(f,3))}var aF=pB(LB),sF=pB(GB);function lF(c,f){return Ut(Il(c,f),1)}function cF(c,f){return Ut(Il(c,f),M)}function gF(c,f,U){return U=U===t?1:$e(U),Ut(Il(c,f),U)}function YB(c,f){var U=Te(c)?un:Oi;return U(c,Se(f,3))}function OB(c,f){var U=Te(c)?Bg:KC;return U(c,Se(f,3))}var uF=ul(function(c,f,U){st.call(c,U)?c[U].push(f):wi(c,U,[f])});function dF(c,f,U,aA){c=hn(c)?c:cr(c),U=U&&!aA?$e(U):0;var pA=c.length;return U<0&&(U=Ft(pA+U,0)),Dl(c)?U<=pA&&c.indexOf(f,U)>-1:!!pA&&Ti(c,f,U)>-1}var hF=Ze(function(c,f,U){var aA=-1,pA=typeof f=="function",fA=hn(c)?PA(c.length):[];return Oi(c,function(_A){fA[++aA]=pA?nn(f,_A,U):ca(_A,f,U)}),fA}),pF=ul(function(c,f,U){wi(c,U,f)});function Il(c,f){var U=Te(c)?ht:JC;return U(c,Se(f,3))}function CF(c,f,U,aA){return c==null?[]:(Te(f)||(f=f==null?[]:[f]),U=aA?t:U,Te(U)||(U=U==null?[]:[U]),qC(c,f,U))}var BF=ul(function(c,f,U){c[U?0:1].push(f)},function(){return[[],[]]});function mF(c,f,U){var aA=Te(c)?Vo:Os,pA=arguments.length<3;return aA(c,Se(f,4),U,pA,Oi)}function EF(c,f,U){var aA=Te(c)?Ts:Os,pA=arguments.length<3;return aA(c,Se(f,4),U,pA,KC)}function QF(c,f){var U=Te(c)?yn:TC;return U(c,bl(Se(f,3)))}function IF(c){var f=Te(c)?LC:d4;return f(c)}function fF(c,f,U){(U?an(c,f,U):f===t)?f=1:f=$e(f);var aA=Te(c)?OS:h4;return aA(c,f)}function wF(c){var f=Te(c)?$S:C4;return f(c)}function bF(c){if(c==null)return 0;if(hn(c))return Dl(c)?xA(c):c.length;var f=zt(c);return f==gA||f==V?c.size:Gg(c).length}function yF(c,f,U){var aA=Te(c)?Ei:B4;return U&&an(c,f,U)&&(f=t),aA(c,Se(f,3))}var DF=Ze(function(c,f){if(c==null)return[];var U=f.length;return U>1&&an(c,f[0],f[1])?f=[]:U>2&&an(f[0],f[1],f[2])&&(f=[f[0]]),qC(c,Ut(f,1),[])}),fl=rS||function(){return Nt.Date.now()};function vF(c,f){if(typeof f!="function")throw new Tt(o);return c=$e(c),function(){if(--c<1)return f.apply(this,arguments)}}function $B(c,f,U){return f=U?t:f,f=c&&f==null?c.length:f,bi(c,d,t,t,t,t,f)}function zB(c,f){var U;if(typeof f!="function")throw new Tt(o);return c=$e(c),function(){return--c>0&&(U=f.apply(this,arguments)),c<=1&&(f=t),U}}var au=Ze(function(c,f,U){var aA=D;if(U.length){var pA=cA(U,sr(au));aA|=B}return bi(c,aA,f,U,pA)}),JB=Ze(function(c,f,U){var aA=D|Q;if(U.length){var pA=cA(U,sr(JB));aA|=B}return bi(f,aA,c,U,pA)});function ZB(c,f,U){f=U?t:f;var aA=bi(c,k,t,t,t,t,t,f);return aA.placeholder=ZB.placeholder,aA}function WB(c,f,U){f=U?t:f;var aA=bi(c,v,t,t,t,t,t,f);return aA.placeholder=WB.placeholder,aA}function jB(c,f,U){var aA,pA,fA,_A,FA,KA,Ae=0,ee=!1,ae=!1,we=!0;if(typeof c!="function")throw new Tt(o);f=Tn(f)||0,Et(U)&&(ee=!!U.leading,ae="maxWait"in U,fA=ae?Ft(Tn(U.maxWait)||0,f):fA,we="trailing"in U?!!U.trailing:we);function ve(vt){var Wn=aA,_i=pA;return aA=pA=t,Ae=vt,_A=c.apply(_i,Wn),_A}function Ne(vt){return Ae=vt,FA=pa(We,f),ee?ve(vt):_A}function Je(vt){var Wn=vt-KA,_i=vt-Ae,pm=f-Wn;return ae?$t(pm,fA-_i):pm}function Fe(vt){var Wn=vt-KA,_i=vt-Ae;return KA===t||Wn>=f||Wn<0||ae&&_i>=fA}function We(){var vt=fl();if(Fe(vt))return Ve(vt);FA=pa(We,Je(vt))}function Ve(vt){return FA=t,we&&aA?ve(vt):(aA=pA=t,_A)}function kn(){FA!==t&&rB(FA),Ae=0,aA=KA=pA=FA=t}function sn(){return FA===t?_A:Ve(fl())}function _n(){var vt=fl(),Wn=Fe(vt);if(aA=arguments,pA=this,KA=vt,Wn){if(FA===t)return Ne(KA);if(ae)return rB(FA),FA=pa(We,f),ve(KA)}return FA===t&&(FA=pa(We,f)),_A}return _n.cancel=kn,_n.flush=sn,_n}var kF=Ze(function(c,f){return HC(c,1,f)}),_F=Ze(function(c,f,U){return HC(c,Tn(f)||0,U)});function MF(c){return bi(c,g)}function wl(c,f){if(typeof c!="function"||f!=null&&typeof f!="function")throw new Tt(o);var U=function(){var aA=arguments,pA=f?f.apply(this,aA):aA[0],fA=U.cache;if(fA.has(pA))return fA.get(pA);var _A=c.apply(this,aA);return U.cache=fA.set(pA,_A)||fA,_A};return U.cache=new(wl.Cache||fi),U}wl.Cache=fi;function bl(c){if(typeof c!="function")throw new Tt(o);return function(){var f=arguments;switch(f.length){case 0:return!c.call(this);case 1:return!c.call(this,f[0]);case 2:return!c.call(this,f[0],f[1]);case 3:return!c.call(this,f[0],f[1],f[2])}return!c.apply(this,f)}}function xF(c){return zB(2,c)}var SF=m4(function(c,f){f=f.length==1&&Te(f[0])?ht(f[0],Kt(Se())):ht(Ut(f,1),Kt(Se()));var U=f.length;return Ze(function(aA){for(var pA=-1,fA=$t(aA.length,U);++pA<fA;)aA[pA]=f[pA].call(this,aA[pA]);return nn(c,this,aA)})}),su=Ze(function(c,f){var U=cA(f,sr(su));return bi(c,B,t,f,U)}),qB=Ze(function(c,f){var U=cA(f,sr(qB));return bi(c,p,t,f,U)}),NF=yi(function(c,f){return bi(c,l,t,t,t,f)});function FF(c,f){if(typeof c!="function")throw new Tt(o);return f=f===t?f:$e(f),Ze(c,f)}function RF(c,f){if(typeof c!="function")throw new Tt(o);return f=f==null?0:Ft($e(f),0),Ze(function(U){var aA=U[f],pA=Ji(U,0,f);return aA&&$n(pA,aA),nn(c,this,pA)})}function LF(c,f,U){var aA=!0,pA=!0;if(typeof c!="function")throw new Tt(o);return Et(U)&&(aA="leading"in U?!!U.leading:aA,pA="trailing"in U?!!U.trailing:pA),jB(c,f,{leading:aA,maxWait:f,trailing:pA})}function GF(c){return $B(c,1)}function PF(c,f){return su(zg(f),c)}function HF(){if(!arguments.length)return[];var c=arguments[0];return Te(c)?c:[c]}function KF(c){return Pn(c,$)}function TF(c,f){return f=typeof f=="function"?f:t,Pn(c,$,f)}function UF(c){return Pn(c,N|$)}function YF(c,f){return f=typeof f=="function"?f:t,Pn(c,N|$,f)}function OF(c,f){return f==null||PC(c,f,Pt(f))}function Zn(c,f){return c===f||c!==c&&f!==f}var $F=Cl(Fg),zF=Cl(function(c,f){return c>=f}),Do=OC(function(){return arguments}())?OC:function(c){return bt(c)&&st.call(c,"callee")&&!MC.call(c,"callee")},Te=PA.isArray,JF=qr?Kt(qr):e4;function hn(c){return c!=null&&yl(c.length)&&!vi(c)}function Dt(c){return bt(c)&&hn(c)}function ZF(c){return c===!0||c===!1||bt(c)&&rn(c)==G}var Zi=sS||Eu,WF=Gt?Kt(Gt):t4;function jF(c){return bt(c)&&c.nodeType===1&&!Ca(c)}function qF(c){if(c==null)return!0;if(hn(c)&&(Te(c)||typeof c=="string"||typeof c.splice=="function"||Zi(c)||lr(c)||Do(c)))return!c.length;var f=zt(c);if(f==gA||f==V)return!c.size;if(ha(c))return!Gg(c).length;for(var U in c)if(st.call(c,U))return!1;return!0}function XF(c,f){return ga(c,f)}function VF(c,f,U){U=typeof U=="function"?U:t;var aA=U?U(c,f):t;return aA===t?ga(c,f,t,U):!!aA}function lu(c){if(!bt(c))return!1;var f=rn(c);return f==oA||f==sA||typeof c.message=="string"&&typeof c.name=="string"&&!Ca(c)}function AR(c){return typeof c=="number"&&SC(c)}function vi(c){if(!Et(c))return!1;var f=rn(c);return f==hA||f==EA||f==AA||f==uA}function XB(c){return typeof c=="number"&&c==$e(c)}function yl(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=x}function Et(c){var f=typeof c;return c!=null&&(f=="object"||f=="function")}function bt(c){return c!=null&&typeof c=="object"}var VB=Gs?Kt(Gs):i4;function eR(c,f){return c===f||Lg(c,f,Vg(f))}function tR(c,f,U){return U=typeof U=="function"?U:t,Lg(c,f,Vg(f),U)}function nR(c){return Am(c)&&c!=+c}function iR(c){if(T4(c))throw new Ce(I);return $C(c)}function oR(c){return c===null}function rR(c){return c==null}function Am(c){return typeof c=="number"||bt(c)&&rn(c)==CA}function Ca(c){if(!bt(c)||rn(c)!=tA)return!1;var f=Xs(c);if(f===null)return!0;var U=st.call(f,"constructor")&&f.constructor;return typeof U=="function"&&U instanceof U&&Zs.call(U)==tS}var cu=Ps?Kt(Ps):o4;function aR(c){return XB(c)&&c>=-x&&c<=x}var em=Hs?Kt(Hs):r4;function Dl(c){return typeof c=="string"||!Te(c)&&bt(c)&&rn(c)==iA}function vn(c){return typeof c=="symbol"||bt(c)&&rn(c)==rA}var lr=Ks?Kt(Ks):a4;function sR(c){return c===t}function lR(c){return bt(c)&&zt(c)==vA}function cR(c){return bt(c)&&rn(c)==UA}var gR=Cl(Pg),uR=Cl(function(c,f){return c<=f});function tm(c){if(!c)return[];if(hn(c))return Dl(c)?DA(c):dn(c);if(na&&c[na])return F(c[na]());var f=zt(c),U=f==gA?j:f==V?dA:cr;return U(c)}function ki(c){if(!c)return c===0?c:0;if(c=Tn(c),c===M||c===-M){var f=c<0?-1:1;return f*P}return c===c?c:0}function $e(c){var f=ki(c),U=f%1;return f===f?U?f-U:f:0}function nm(c){return c?fo($e(c),0,J):0}function Tn(c){if(typeof c=="number")return c;if(vn(c))return Y;if(Et(c)){var f=typeof c.valueOf=="function"?c.valueOf():c;c=Et(f)?f+"":f}if(typeof c!="string")return c===0?c:+c;c=ea(c);var U=pt.test(c);return U||At.test(c)?Rs(c.slice(2),U?2:8):qe.test(c)?Y:+c}function im(c){return ai(c,pn(c))}function dR(c){return c?fo($e(c),-x,x):c===0?c:0}function at(c){return c==null?"":Dn(c)}var hR=rr(function(c,f){if(ha(f)||hn(f)){ai(f,Pt(f),c);return}for(var U in f)st.call(f,U)&&sa(c,U,f[U])}),om=rr(function(c,f){ai(f,pn(f),c)}),vl=rr(function(c,f,U,aA){ai(f,pn(f),c,aA)}),pR=rr(function(c,f,U,aA){ai(f,Pt(f),c,aA)}),CR=yi(xg);function BR(c,f){var U=or(c);return f==null?U:GC(U,f)}var mR=Ze(function(c,f){c=Oe(c);var U=-1,aA=f.length,pA=aA>2?f[2]:t;for(pA&&an(f[0],f[1],pA)&&(aA=1);++U<aA;)for(var fA=f[U],_A=pn(fA),FA=-1,KA=_A.length;++FA<KA;){var Ae=_A[FA],ee=c[Ae];(ee===t||Zn(ee,tr[Ae])&&!st.call(c,Ae))&&(c[Ae]=fA[Ae])}return c}),ER=Ze(function(c){return c.push(t,fB),nn(rm,t,c)});function QR(c,f){return Us(c,Se(f,3),ri)}function IR(c,f){return Us(c,Se(f,3),Ng)}function fR(c,f){return c==null?c:Sg(c,Se(f,3),pn)}function wR(c,f){return c==null?c:UC(c,Se(f,3),pn)}function bR(c,f){return c&&ri(c,Se(f,3))}function yR(c,f){return c&&Ng(c,Se(f,3))}function DR(c){return c==null?[]:sl(c,Pt(c))}function vR(c){return c==null?[]:sl(c,pn(c))}function gu(c,f,U){var aA=c==null?t:wo(c,f);return aA===t?U:aA}function kR(c,f){return c!=null&&yB(c,f,qS)}function uu(c,f){return c!=null&&yB(c,f,XS)}var _R=BB(function(c,f,U){f!=null&&typeof f.toString!="function"&&(f=Ws.call(f)),c[f]=U},hu(Cn)),MR=BB(function(c,f,U){f!=null&&typeof f.toString!="function"&&(f=Ws.call(f)),st.call(c,f)?c[f].push(U):c[f]=[U]},Se),xR=Ze(ca);function Pt(c){return hn(c)?RC(c):Gg(c)}function pn(c){return hn(c)?RC(c,!0):s4(c)}function SR(c,f){var U={};return f=Se(f,3),ri(c,function(aA,pA,fA){wi(U,f(aA,pA,fA),aA)}),U}function NR(c,f){var U={};return f=Se(f,3),ri(c,function(aA,pA,fA){wi(U,pA,f(aA,pA,fA))}),U}var FR=rr(function(c,f,U){ll(c,f,U)}),rm=rr(function(c,f,U,aA){ll(c,f,U,aA)}),RR=yi(function(c,f){var U={};if(c==null)return U;var aA=!1;f=ht(f,function(fA){return fA=zi(fA,c),aA||(aA=fA.length>1),fA}),ai(c,qg(c),U),aA&&(U=Pn(U,N|H|$,_4));for(var pA=f.length;pA--;)Yg(U,f[pA]);return U});function LR(c,f){return am(c,bl(Se(f)))}var GR=yi(function(c,f){return c==null?{}:c4(c,f)});function am(c,f){if(c==null)return{};var U=ht(qg(c),function(aA){return[aA]});return f=Se(f),XC(c,U,function(aA,pA){return f(aA,pA[0])})}function PR(c,f,U){f=zi(f,c);var aA=-1,pA=f.length;for(pA||(pA=1,c=t);++aA<pA;){var fA=c==null?t:c[si(f[aA])];fA===t&&(aA=pA,fA=U),c=vi(fA)?fA.call(c):fA}return c}function HR(c,f,U){return c==null?c:ua(c,f,U)}function KR(c,f,U,aA){return aA=typeof aA=="function"?aA:t,c==null?c:ua(c,f,U,aA)}var sm=QB(Pt),lm=QB(pn);function TR(c,f,U){var aA=Te(c),pA=aA||Zi(c)||lr(c);if(f=Se(f,4),U==null){var fA=c&&c.constructor;pA?U=aA?new fA:[]:Et(c)?U=vi(fA)?or(Xs(c)):{}:U={}}return(pA?un:ri)(c,function(_A,FA,KA){return f(U,_A,FA,KA)}),U}function UR(c,f){return c==null?!0:Yg(c,f)}function YR(c,f,U){return c==null?c:nB(c,f,zg(U))}function OR(c,f,U,aA){return aA=typeof aA=="function"?aA:t,c==null?c:nB(c,f,zg(U),aA)}function cr(c){return c==null?[]:ta(c,Pt(c))}function $R(c){return c==null?[]:ta(c,pn(c))}function zR(c,f,U){return U===t&&(U=f,f=t),U!==t&&(U=Tn(U),U=U===U?U:0),f!==t&&(f=Tn(f),f=f===f?f:0),fo(Tn(c),f,U)}function JR(c,f,U){return f=ki(f),U===t?(U=f,f=0):U=ki(U),c=Tn(c),VS(c,f,U)}function ZR(c,f,U){if(U&&typeof U!="boolean"&&an(c,f,U)&&(f=U=t),U===t&&(typeof f=="boolean"?(U=f,f=t):typeof c=="boolean"&&(U=c,c=t)),c===t&&f===t?(c=0,f=1):(c=ki(c),f===t?(f=c,c=0):f=ki(f)),c>f){var aA=c;c=f,f=aA}if(U||c%1||f%1){var pA=NC();return $t(c+pA*(f-c+Fs("1e-"+((pA+"").length-1))),f)}return Kg(c,f)}var WR=ar(function(c,f,U){return f=f.toLowerCase(),c+(U?cm(f):f)});function cm(c){return du(at(c).toLowerCase())}function gm(c){return c=at(c),c&&c.replace(Pe,wg).replace(Ms,"")}function jR(c,f,U){c=at(c),f=Dn(f);var aA=c.length;U=U===t?aA:fo($e(U),0,aA);var pA=U;return U-=f.length,U>=0&&c.slice(U,pA)==f}function qR(c){return c=at(c),c&&ke.test(c)?c.replace(ge,bg):c}function XR(c){return c=at(c),c&&Me.test(c)?c.replace(ue,"\\$&"):c}var VR=ar(function(c,f,U){return c+(U?"-":"")+f.toLowerCase()}),AL=ar(function(c,f,U){return c+(U?" ":"")+f.toLowerCase()}),eL=hB("toLowerCase");function tL(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;if(!f||aA>=f)return c;var pA=(f-aA)/2;return pl(tl(pA),U)+c+pl(el(pA),U)}function nL(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;return f&&aA<f?c+pl(f-aA,U):c}function iL(c,f,U){c=at(c),f=$e(f);var aA=f?xA(c):0;return f&&aA<f?pl(f-aA,U)+c:c}function oL(c,f,U){return U||f==null?f=0:f&&(f=+f),uS(at(c).replace(tt,""),f||0)}function rL(c,f,U){return(U?an(c,f,U):f===t)?f=1:f=$e(f),Tg(at(c),f)}function aL(){var c=arguments,f=at(c[0]);return c.length<3?f:f.replace(c[1],c[2])}var sL=ar(function(c,f,U){return c+(U?"_":"")+f.toLowerCase()});function lL(c,f,U){return U&&typeof U!="number"&&an(c,f,U)&&(f=U=t),U=U===t?J:U>>>0,U?(c=at(c),c&&(typeof f=="string"||f!=null&&!cu(f))&&(f=Dn(f),!f&&Ui(c))?Ji(DA(c),0,U):c.split(f,U)):[]}var cL=ar(function(c,f,U){return c+(U?" ":"")+du(f)});function gL(c,f,U){return c=at(c),U=U==null?0:fo($e(U),0,c.length),f=Dn(f),c.slice(U,U+f.length)==f}function uL(c,f,U){var aA=QA.templateSettings;U&&an(c,f,U)&&(f=t),c=at(c),f=vl({},f,aA,IB);var pA=vl({},f.imports,aA.imports,IB),fA=Pt(pA),_A=ta(pA,fA),FA,KA,Ae=0,ee=f.interpolate||ot,ae="__p += '",we=on((f.escape||ot).source+"|"+ee.source+"|"+(ee===HA?te:ot).source+"|"+(f.evaluate||ot).source+"|$","g"),ve="//# sourceURL="+(st.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++po+"]")+`
|
|
11
11
|
`;c.replace(we,function(Fe,We,Ve,kn,sn,_n){return Ve||(Ve=kn),ae+=c.slice(Ae,_n).replace(mt,yg),We&&(FA=!0,ae+=`' +
|
|
12
12
|
__e(`+We+`) +
|
|
13
13
|
'`),sn&&(KA=!0,ae+=`';
|
|
@@ -24,7 +24,7 @@ __p += '`),Ve&&(ae+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+ae+`return __p
|
|
27
|
-
}`;var Je=dm(function(){return He(fA,ve+"return "+ae).apply(t,_A)});if(Je.source=ae,lu(Je))throw Je;return Je}function sL(c){return at(c).toLowerCase()}function lL(c){return at(c).toUpperCase()}function cL(c,f,U){if(c=at(c),c&&(U||f===t))return ea(c);if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=DA(f),fA=$s(aA,pA),_A=zs(aA,pA)+1;return Ji(aA,fA,_A).join("")}function gL(c,f,U){if(c=at(c),c&&(U||f===t))return c.slice(0,GA(c)+1);if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=zs(aA,DA(f))+1;return Ji(aA,0,pA).join("")}function uL(c,f,U){if(c=at(c),c&&(U||f===t))return c.replace(tt,"");if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=$s(aA,DA(f));return Ji(aA,pA).join("")}function dL(c,f){var U=s,aA=h;if(Et(f)){var pA="separator"in f?f.separator:pA;U="length"in f?$e(f.length):U,aA="omission"in f?Dn(f.omission):aA}c=at(c);var fA=c.length;if(Ui(c)){var _A=DA(c);fA=_A.length}if(U>=fA)return c;var FA=U-xA(aA);if(FA<1)return aA;var KA=_A?Ji(_A,0,FA).join(""):c.slice(0,FA);if(pA===t)return KA+aA;if(_A&&(FA+=KA.length-FA),cu(pA)){if(c.slice(FA).search(pA)){var Ae,ee=KA;for(pA.global||(pA=on(pA.source,at(_e.exec(pA))+"g")),pA.lastIndex=0;Ae=pA.exec(ee);)var ae=Ae.index;KA=KA.slice(0,ae===t?FA:ae)}}else if(c.indexOf(Dn(pA),FA)!=FA){var we=KA.lastIndexOf(pA);we>-1&&(KA=KA.slice(0,we))}return KA+aA}function hL(c){return c=at(c),c&&Ee.test(c)?c.replace(he,jA):c}var pL=ar(function(c,f,U){return c+(U?" ":"")+f.toUpperCase()}),du=hB("toUpperCase");function um(c,f,U){return c=at(c),f=U?t:f,f===t?R(c)?de(c):Qg(c):c.match(f)||[]}var dm=Ze(function(c,f){try{return nn(c,t,f)}catch(U){return lu(U)?U:new Ce(U)}}),CL=yi(function(c,f){return un(f,function(U){U=si(U),wi(c,U,au(c[U],c))}),c});function BL(c){var f=c==null?0:c.length,U=Se();return c=f?ht(c,function(aA){if(typeof aA[1]!="function")throw new Tt(o);return[U(aA[0]),aA[1]]}):[],Ze(function(aA){for(var pA=-1;++pA<f;){var fA=c[pA];if(nn(fA[0],this,aA))return nn(fA[1],this,aA)}})}function mL(c){return YS(Pn(c,N))}function hu(c){return function(){return c}}function EL(c,f){return c==null||c!==c?f:c}var QL=CB(),IL=CB(!0);function Cn(c){return c}function pu(c){return zC(typeof c=="function"?c:Pn(c,N))}function fL(c){return ZC(Pn(c,N))}function wL(c,f){return WC(c,Pn(f,N))}var bL=Ze(function(c,f){return function(U){return ca(U,c,f)}}),yL=Ze(function(c,f){return function(U){return ca(c,U,f)}});function Cu(c,f,U){var aA=Pt(f),pA=sl(f,aA);U==null&&!(Et(f)&&(pA.length||!aA.length))&&(U=f,f=c,c=this,pA=sl(f,Pt(f)));var fA=!(Et(U)&&"chain"in U)||!!U.chain,_A=vi(c);return un(pA,function(FA){var KA=f[FA];c[FA]=KA,_A&&(c.prototype[FA]=function(){var Ae=this.__chain__;if(fA||Ae){var ee=c(this.__wrapped__),ae=ee.__actions__=dn(this.__actions__);return ae.push({func:KA,args:arguments,thisArg:c}),ee.__chain__=Ae,ee}return KA.apply(c,$n([this.value()],arguments))})}),c}function DL(){return Nt._===this&&(Nt._=Xx),this}function Bu(){}function vL(c){return c=$e(c),Ze(function(f){return jC(f,c)})}var kL=Zg(ht),_L=Zg(Xr),ML=Zg(Ei);function hm(c){return eu(c)?Aa(si(c)):r4(c)}function xL(c){return function(f){return c==null?t:wo(c,f)}}var SL=mB(),NL=mB(!0);function mu(){return[]}function Eu(){return!1}function FL(){return{}}function RL(){return""}function LL(){return!0}function GL(c,f){if(c=$e(c),c<1||c>x)return[];var U=J,aA=$t(c,J);f=Se(f),c-=J;for(var pA=Qi(aA,f);++U<c;)f(U);return pA}function PL(c){return Te(c)?ht(c,si):vn(c)?[c]:dn(FB(at(c)))}function HL(c){var f=++jx;return at(c)+f}var KL=hl(function(c,f){return c+f},0),TL=Wg("ceil"),UL=hl(function(c,f){return c/f},1),YL=Wg("floor");function OL(c){return c&&c.length?al(c,Cn,Fg):t}function $L(c,f){return c&&c.length?al(c,Se(f,2),Fg):t}function zL(c){return Co(c,Cn)}function JL(c,f){return Co(c,Se(f,2))}function ZL(c){return c&&c.length?al(c,Cn,Pg):t}function WL(c,f){return c&&c.length?al(c,Se(f,2),Pg):t}var jL=hl(function(c,f){return c*f},1),qL=Wg("round"),XL=hl(function(c,f){return c-f},0);function VL(c){return c&&c.length?er(c,Cn):0}function AG(c,f){return c&&c.length?er(c,Se(f,2)):0}return QA.after=fF,QA.ary=$B,QA.assign=lR,QA.assignIn=om,QA.assignInWith=vl,QA.assignWith=cR,QA.at=gR,QA.before=zB,QA.bind=au,QA.bindAll=CL,QA.bindKey=JB,QA.castArray=FF,QA.chain=UB,QA.chunk=Y4,QA.compact=O4,QA.concat=$4,QA.cond=BL,QA.conforms=mL,QA.constant=hu,QA.countBy=VN,QA.create=uR,QA.curry=ZB,QA.curryRight=WB,QA.debounce=jB,QA.defaults=dR,QA.defaultsDeep=hR,QA.defer=wF,QA.delay=bF,QA.difference=z4,QA.differenceBy=J4,QA.differenceWith=Z4,QA.drop=W4,QA.dropRight=j4,QA.dropRightWhile=q4,QA.dropWhile=X4,QA.fill=V4,QA.filter=eF,QA.flatMap=iF,QA.flatMapDeep=oF,QA.flatMapDepth=rF,QA.flatten=PB,QA.flattenDeep=AN,QA.flattenDepth=eN,QA.flip=yF,QA.flow=QL,QA.flowRight=IL,QA.fromPairs=tN,QA.functions=IR,QA.functionsIn=fR,QA.groupBy=aF,QA.initial=iN,QA.intersection=oN,QA.intersectionBy=rN,QA.intersectionWith=aN,QA.invert=bR,QA.invertBy=yR,QA.invokeMap=lF,QA.iteratee=pu,QA.keyBy=cF,QA.keys=Pt,QA.keysIn=pn,QA.map=Il,QA.mapKeys=vR,QA.mapValues=kR,QA.matches=fL,QA.matchesProperty=wL,QA.memoize=wl,QA.merge=_R,QA.mergeWith=rm,QA.method=bL,QA.methodOf=yL,QA.mixin=Cu,QA.negate=bl,QA.nthArg=vL,QA.omit=MR,QA.omitBy=xR,QA.once=DF,QA.orderBy=gF,QA.over=kL,QA.overArgs=vF,QA.overEvery=_L,QA.overSome=ML,QA.partial=su,QA.partialRight=qB,QA.partition=uF,QA.pick=SR,QA.pickBy=am,QA.property=hm,QA.propertyOf=xL,QA.pull=gN,QA.pullAll=KB,QA.pullAllBy=uN,QA.pullAllWith=dN,QA.pullAt=hN,QA.range=SL,QA.rangeRight=NL,QA.rearg=kF,QA.reject=pF,QA.remove=pN,QA.rest=_F,QA.reverse=ou,QA.sampleSize=BF,QA.set=FR,QA.setWith=RR,QA.shuffle=mF,QA.slice=CN,QA.sortBy=IF,QA.sortedUniq=wN,QA.sortedUniqBy=bN,QA.split=iL,QA.spread=MF,QA.tail=yN,QA.take=DN,QA.takeRight=vN,QA.takeRightWhile=kN,QA.takeWhile=_N,QA.tap=ON,QA.throttle=xF,QA.thru=Ql,QA.toArray=tm,QA.toPairs=sm,QA.toPairsIn=lm,QA.toPath=PL,QA.toPlainObject=im,QA.transform=LR,QA.unary=SF,QA.union=MN,QA.unionBy=xN,QA.unionWith=SN,QA.uniq=NN,QA.uniqBy=FN,QA.uniqWith=RN,QA.unset=GR,QA.unzip=ru,QA.unzipWith=TB,QA.update=PR,QA.updateWith=HR,QA.values=cr,QA.valuesIn=KR,QA.without=LN,QA.words=um,QA.wrap=NF,QA.xor=GN,QA.xorBy=PN,QA.xorWith=HN,QA.zip=KN,QA.zipObject=TN,QA.zipObjectDeep=UN,QA.zipWith=YN,QA.entries=sm,QA.entriesIn=lm,QA.extend=om,QA.extendWith=vl,Cu(QA,QA),QA.add=KL,QA.attempt=dm,QA.camelCase=OR,QA.capitalize=cm,QA.ceil=TL,QA.clamp=TR,QA.clone=RF,QA.cloneDeep=GF,QA.cloneDeepWith=PF,QA.cloneWith=LF,QA.conformsTo=HF,QA.deburr=gm,QA.defaultTo=EL,QA.divide=UL,QA.endsWith=$R,QA.eq=Zn,QA.escape=zR,QA.escapeRegExp=JR,QA.every=AF,QA.find=tF,QA.findIndex=LB,QA.findKey=pR,QA.findLast=nF,QA.findLastIndex=GB,QA.findLastKey=CR,QA.floor=YL,QA.forEach=YB,QA.forEachRight=OB,QA.forIn=BR,QA.forInRight=mR,QA.forOwn=ER,QA.forOwnRight=QR,QA.get=gu,QA.gt=KF,QA.gte=TF,QA.has=wR,QA.hasIn=uu,QA.head=HB,QA.identity=Cn,QA.includes=sF,QA.indexOf=nN,QA.inRange=UR,QA.invoke=DR,QA.isArguments=Do,QA.isArray=Te,QA.isArrayBuffer=UF,QA.isArrayLike=hn,QA.isArrayLikeObject=yt,QA.isBoolean=YF,QA.isBuffer=Zi,QA.isDate=OF,QA.isElement=$F,QA.isEmpty=zF,QA.isEqual=JF,QA.isEqualWith=ZF,QA.isError=lu,QA.isFinite=WF,QA.isFunction=vi,QA.isInteger=XB,QA.isLength=yl,QA.isMap=VB,QA.isMatch=jF,QA.isMatchWith=qF,QA.isNaN=XF,QA.isNative=VF,QA.isNil=eR,QA.isNull=AR,QA.isNumber=Am,QA.isObject=Et,QA.isObjectLike=ft,QA.isPlainObject=Ca,QA.isRegExp=cu,QA.isSafeInteger=tR,QA.isSet=em,QA.isString=Dl,QA.isSymbol=vn,QA.isTypedArray=lr,QA.isUndefined=nR,QA.isWeakMap=iR,QA.isWeakSet=oR,QA.join=sN,QA.kebabCase=ZR,QA.last=Kn,QA.lastIndexOf=lN,QA.lowerCase=WR,QA.lowerFirst=jR,QA.lt=rR,QA.lte=aR,QA.max=OL,QA.maxBy=$L,QA.mean=zL,QA.meanBy=JL,QA.min=ZL,QA.minBy=WL,QA.stubArray=mu,QA.stubFalse=Eu,QA.stubObject=FL,QA.stubString=RL,QA.stubTrue=LL,QA.multiply=jL,QA.nth=cN,QA.noConflict=DL,QA.noop=Bu,QA.now=fl,QA.pad=qR,QA.padEnd=XR,QA.padStart=VR,QA.parseInt=AL,QA.random=YR,QA.reduce=dF,QA.reduceRight=hF,QA.repeat=eL,QA.replace=tL,QA.result=NR,QA.round=qL,QA.runInContext=kA,QA.sample=CF,QA.size=EF,QA.snakeCase=nL,QA.some=QF,QA.sortedIndex=BN,QA.sortedIndexBy=mN,QA.sortedIndexOf=EN,QA.sortedLastIndex=QN,QA.sortedLastIndexBy=IN,QA.sortedLastIndexOf=fN,QA.startCase=oL,QA.startsWith=rL,QA.subtract=XL,QA.sum=VL,QA.sumBy=AG,QA.template=aL,QA.times=GL,QA.toFinite=ki,QA.toInteger=$e,QA.toLength=nm,QA.toLower=sL,QA.toNumber=Tn,QA.toSafeInteger=sR,QA.toString=at,QA.toUpper=lL,QA.trim=cL,QA.trimEnd=gL,QA.trimStart=uL,QA.truncate=dL,QA.unescape=hL,QA.uniqueId=HL,QA.upperCase=pL,QA.upperFirst=du,QA.each=YB,QA.eachRight=OB,QA.first=HB,Cu(QA,function(){var c={};return ri(QA,function(f,U){st.call(QA.prototype,U)||(c[U]=f)}),c}(),{chain:!1}),QA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){QA[c].placeholder=QA}),un(["drop","take"],function(c,f){Xe.prototype[c]=function(U){U=U===t?1:Ft($e(U),0);var aA=this.__filtered__&&!f?new Xe(this):this.clone();return aA.__filtered__?aA.__takeCount__=$t(U,aA.__takeCount__):aA.__views__.push({size:$t(U,J),type:c+(aA.__dir__<0?"Right":"")}),aA},Xe.prototype[c+"Right"]=function(U){return this.reverse()[c](U).reverse()}}),un(["filter","map","takeWhile"],function(c,f){var U=f+1,aA=U==r||U==E;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Se(pA,3),type:U}),fA.__filtered__=fA.__filtered__||aA,fA}}),un(["head","last"],function(c,f){var U="take"+(f?"Right":"");Xe.prototype[c]=function(){return this[U](1).value()[0]}}),un(["initial","tail"],function(c,f){var U="drop"+(f?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[U](1)}}),Xe.prototype.compact=function(){return this.filter(Cn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,f){return typeof c=="function"?new Xe(this):this.map(function(U){return ca(U,c,f)})}),Xe.prototype.reject=function(c){return this.filter(bl(Se(c)))},Xe.prototype.slice=function(c,f){c=$e(c);var U=this;return U.__filtered__&&(c>0||f<0)?new Xe(U):(c<0?U=U.takeRight(-c):c&&(U=U.drop(c)),f!==t&&(f=$e(f),U=f<0?U.dropRight(-f):U.take(f-c)),U)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(J)},ri(Xe.prototype,function(c,f){var U=/^(?:filter|find|map|reject)|While$/.test(f),aA=/^(?:head|last)$/.test(f),pA=QA[aA?"take"+(f=="last"?"Right":""):f],fA=aA||/^find/.test(f);pA&&(QA.prototype[f]=function(){var _A=this.__wrapped__,FA=aA?[1]:arguments,KA=_A instanceof Xe,Ae=FA[0],ee=KA||Te(_A),ae=function(We){var Ve=pA.apply(QA,$n([We],FA));return aA&&we?Ve[0]:Ve};ee&&U&&typeof Ae=="function"&&Ae.length!=1&&(KA=ee=!1);var we=this.__chain__,ve=!!this.__actions__.length,Ne=fA&&!we,Je=KA&&!ve;if(!fA&&ee){_A=Je?_A:new Xe(this);var Fe=c.apply(_A,FA);return Fe.__actions__.push({func:Ql,args:[ae],thisArg:t}),new Gn(Fe,we)}return Ne&&Je?c.apply(this,FA):(Fe=this.thru(ae),Ne?aA?Fe.value()[0]:Fe.value():Fe)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var f=oi[c],U=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",aA=/^(?:pop|shift)$/.test(c);QA.prototype[c]=function(){var pA=arguments;if(aA&&!this.__chain__){var fA=this.value();return f.apply(Te(fA)?fA:[],pA)}return this[U](function(_A){return f.apply(Te(_A)?_A:[],pA)})}}),ri(Xe.prototype,function(c,f){var U=QA[f];if(U){var aA=U.name+"";st.call(ir,aA)||(ir[aA]=[]),ir[aA].push({name:f,func:U})}}),ir[dl(t,Q).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=hS,Xe.prototype.reverse=pS,Xe.prototype.value=CS,QA.prototype.at=$N,QA.prototype.chain=zN,QA.prototype.commit=JN,QA.prototype.next=ZN,QA.prototype.plant=jN,QA.prototype.reverse=qN,QA.prototype.toJSON=QA.prototype.valueOf=QA.prototype.value=XN,QA.prototype.first=QA.prototype.head,na&&(QA.prototype[na]=WN),QA},Qe=ye();mi?((mi.exports=Qe)._=Qe,Rn._=Qe):Nt._=Qe}).call(vo)}(Ba,Ba.exports);var ut=Ba.exports;const Qm=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},Rt=(n,e)=>ut.isString(n)?Qm(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:Rt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>Rt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),u=e.split(".");function I(o,b,y){if(b.length===1){o[b[0]]=y;return}const w=b[0],S=b[1];o[w]||(isNaN(Number(S))?o[w]={}:o[w]=[]),I(o[w],b.slice(1),y)}return I(i,u,t),i},ma=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const u of t)if(i&&typeof i=="object"&&u in i)i=i[u];else return;return i},Mi=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const u=Math.floor(Math.random()*e.length);t+=e.charAt(u)}return t};function Im(n){return/[.*+?^${}()|[\]\\]/.test(n)}function fm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wu=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wu(i.children,e)}:i),xi=(n,e)=>{var t,i,u,I,o,b,y,w,S;for(const N of n){if(N.name===e)return N;if((t=N.props)!=null&&t.btns&&Array.isArray((i=N.props)==null?void 0:i.btns)||(u=N.props)!=null&&u.rowBtns&&Array.isArray((I=N.props)==null?void 0:I.rowBtns)){const H=N.props.btns||N.props.rowBtns;for(const $ of H){if($.name===e||$.key===e)return $;if($.component==="Popover"){if(Array.isArray($.children)&&$.children.length>0){const K=xi($.children,e);if(K)return K}if(Array.isArray((o=$==null?void 0:$.props)==null?void 0:o.children)&&((b=$==null?void 0:$.props)==null?void 0:b.children.length)>0){const K=xi($.props.children,e);if(K)return K}}}}if((y=N.props)!=null&&y.formSlots&&Array.isArray((w=N.props)==null?void 0:w.formSlots)){const H=xi((S=N.props)==null?void 0:S.formSlots,e);if(H)return H}if(N.children&&N.children.length>0){const H=xi(N.children,e);if(H)return H}}return null};/**
|
|
27
|
+
}`;var Je=dm(function(){return He(fA,ve+"return "+ae).apply(t,_A)});if(Je.source=ae,lu(Je))throw Je;return Je}function dL(c){return at(c).toLowerCase()}function hL(c){return at(c).toUpperCase()}function pL(c,f,U){if(c=at(c),c&&(U||f===t))return ea(c);if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=DA(f),fA=$s(aA,pA),_A=zs(aA,pA)+1;return Ji(aA,fA,_A).join("")}function CL(c,f,U){if(c=at(c),c&&(U||f===t))return c.slice(0,GA(c)+1);if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=zs(aA,DA(f))+1;return Ji(aA,0,pA).join("")}function BL(c,f,U){if(c=at(c),c&&(U||f===t))return c.replace(tt,"");if(!c||!(f=Dn(f)))return c;var aA=DA(c),pA=$s(aA,DA(f));return Ji(aA,pA).join("")}function mL(c,f){var U=s,aA=h;if(Et(f)){var pA="separator"in f?f.separator:pA;U="length"in f?$e(f.length):U,aA="omission"in f?Dn(f.omission):aA}c=at(c);var fA=c.length;if(Ui(c)){var _A=DA(c);fA=_A.length}if(U>=fA)return c;var FA=U-xA(aA);if(FA<1)return aA;var KA=_A?Ji(_A,0,FA).join(""):c.slice(0,FA);if(pA===t)return KA+aA;if(_A&&(FA+=KA.length-FA),cu(pA)){if(c.slice(FA).search(pA)){var Ae,ee=KA;for(pA.global||(pA=on(pA.source,at(_e.exec(pA))+"g")),pA.lastIndex=0;Ae=pA.exec(ee);)var ae=Ae.index;KA=KA.slice(0,ae===t?FA:ae)}}else if(c.indexOf(Dn(pA),FA)!=FA){var we=KA.lastIndexOf(pA);we>-1&&(KA=KA.slice(0,we))}return KA+aA}function EL(c){return c=at(c),c&&Ee.test(c)?c.replace(he,jA):c}var QL=ar(function(c,f,U){return c+(U?" ":"")+f.toUpperCase()}),du=hB("toUpperCase");function um(c,f,U){return c=at(c),f=U?t:f,f===t?R(c)?de(c):Qg(c):c.match(f)||[]}var dm=Ze(function(c,f){try{return nn(c,t,f)}catch(U){return lu(U)?U:new Ce(U)}}),IL=yi(function(c,f){return un(f,function(U){U=si(U),wi(c,U,au(c[U],c))}),c});function fL(c){var f=c==null?0:c.length,U=Se();return c=f?ht(c,function(aA){if(typeof aA[1]!="function")throw new Tt(o);return[U(aA[0]),aA[1]]}):[],Ze(function(aA){for(var pA=-1;++pA<f;){var fA=c[pA];if(nn(fA[0],this,aA))return nn(fA[1],this,aA)}})}function wL(c){return ZS(Pn(c,N))}function hu(c){return function(){return c}}function bL(c,f){return c==null||c!==c?f:c}var yL=CB(),DL=CB(!0);function Cn(c){return c}function pu(c){return zC(typeof c=="function"?c:Pn(c,N))}function vL(c){return ZC(Pn(c,N))}function kL(c,f){return WC(c,Pn(f,N))}var _L=Ze(function(c,f){return function(U){return ca(U,c,f)}}),ML=Ze(function(c,f){return function(U){return ca(c,U,f)}});function Cu(c,f,U){var aA=Pt(f),pA=sl(f,aA);U==null&&!(Et(f)&&(pA.length||!aA.length))&&(U=f,f=c,c=this,pA=sl(f,Pt(f)));var fA=!(Et(U)&&"chain"in U)||!!U.chain,_A=vi(c);return un(pA,function(FA){var KA=f[FA];c[FA]=KA,_A&&(c.prototype[FA]=function(){var Ae=this.__chain__;if(fA||Ae){var ee=c(this.__wrapped__),ae=ee.__actions__=dn(this.__actions__);return ae.push({func:KA,args:arguments,thisArg:c}),ee.__chain__=Ae,ee}return KA.apply(c,$n([this.value()],arguments))})}),c}function xL(){return Nt._===this&&(Nt._=nS),this}function Bu(){}function SL(c){return c=$e(c),Ze(function(f){return jC(f,c)})}var NL=Zg(ht),FL=Zg(Xr),RL=Zg(Ei);function hm(c){return eu(c)?Aa(si(c)):g4(c)}function LL(c){return function(f){return c==null?t:wo(c,f)}}var GL=mB(),PL=mB(!0);function mu(){return[]}function Eu(){return!1}function HL(){return{}}function KL(){return""}function TL(){return!0}function UL(c,f){if(c=$e(c),c<1||c>x)return[];var U=J,aA=$t(c,J);f=Se(f),c-=J;for(var pA=Qi(aA,f);++U<c;)f(U);return pA}function YL(c){return Te(c)?ht(c,si):vn(c)?[c]:dn(FB(at(c)))}function OL(c){var f=++eS;return at(c)+f}var $L=hl(function(c,f){return c+f},0),zL=Wg("ceil"),JL=hl(function(c,f){return c/f},1),ZL=Wg("floor");function WL(c){return c&&c.length?al(c,Cn,Fg):t}function jL(c,f){return c&&c.length?al(c,Se(f,2),Fg):t}function qL(c){return Co(c,Cn)}function XL(c,f){return Co(c,Se(f,2))}function VL(c){return c&&c.length?al(c,Cn,Pg):t}function AG(c,f){return c&&c.length?al(c,Se(f,2),Pg):t}var eG=hl(function(c,f){return c*f},1),tG=Wg("round"),nG=hl(function(c,f){return c-f},0);function iG(c){return c&&c.length?er(c,Cn):0}function oG(c,f){return c&&c.length?er(c,Se(f,2)):0}return QA.after=vF,QA.ary=$B,QA.assign=hR,QA.assignIn=om,QA.assignInWith=vl,QA.assignWith=pR,QA.at=CR,QA.before=zB,QA.bind=au,QA.bindAll=IL,QA.bindKey=JB,QA.castArray=HF,QA.chain=UB,QA.chunk=Z4,QA.compact=W4,QA.concat=j4,QA.cond=fL,QA.conforms=wL,QA.constant=hu,QA.countBy=iF,QA.create=BR,QA.curry=ZB,QA.curryRight=WB,QA.debounce=jB,QA.defaults=mR,QA.defaultsDeep=ER,QA.defer=kF,QA.delay=_F,QA.difference=q4,QA.differenceBy=X4,QA.differenceWith=V4,QA.drop=AN,QA.dropRight=eN,QA.dropRightWhile=tN,QA.dropWhile=nN,QA.fill=iN,QA.filter=rF,QA.flatMap=lF,QA.flatMapDeep=cF,QA.flatMapDepth=gF,QA.flatten=PB,QA.flattenDeep=oN,QA.flattenDepth=rN,QA.flip=MF,QA.flow=yL,QA.flowRight=DL,QA.fromPairs=aN,QA.functions=DR,QA.functionsIn=vR,QA.groupBy=uF,QA.initial=lN,QA.intersection=cN,QA.intersectionBy=gN,QA.intersectionWith=uN,QA.invert=_R,QA.invertBy=MR,QA.invokeMap=hF,QA.iteratee=pu,QA.keyBy=pF,QA.keys=Pt,QA.keysIn=pn,QA.map=Il,QA.mapKeys=SR,QA.mapValues=NR,QA.matches=vL,QA.matchesProperty=kL,QA.memoize=wl,QA.merge=FR,QA.mergeWith=rm,QA.method=_L,QA.methodOf=ML,QA.mixin=Cu,QA.negate=bl,QA.nthArg=SL,QA.omit=RR,QA.omitBy=LR,QA.once=xF,QA.orderBy=CF,QA.over=NL,QA.overArgs=SF,QA.overEvery=FL,QA.overSome=RL,QA.partial=su,QA.partialRight=qB,QA.partition=BF,QA.pick=GR,QA.pickBy=am,QA.property=hm,QA.propertyOf=LL,QA.pull=CN,QA.pullAll=KB,QA.pullAllBy=BN,QA.pullAllWith=mN,QA.pullAt=EN,QA.range=GL,QA.rangeRight=PL,QA.rearg=NF,QA.reject=QF,QA.remove=QN,QA.rest=FF,QA.reverse=ou,QA.sampleSize=fF,QA.set=HR,QA.setWith=KR,QA.shuffle=wF,QA.slice=IN,QA.sortBy=DF,QA.sortedUniq=kN,QA.sortedUniqBy=_N,QA.split=lL,QA.spread=RF,QA.tail=MN,QA.take=xN,QA.takeRight=SN,QA.takeRightWhile=NN,QA.takeWhile=FN,QA.tap=WN,QA.throttle=LF,QA.thru=Ql,QA.toArray=tm,QA.toPairs=sm,QA.toPairsIn=lm,QA.toPath=YL,QA.toPlainObject=im,QA.transform=TR,QA.unary=GF,QA.union=RN,QA.unionBy=LN,QA.unionWith=GN,QA.uniq=PN,QA.uniqBy=HN,QA.uniqWith=KN,QA.unset=UR,QA.unzip=ru,QA.unzipWith=TB,QA.update=YR,QA.updateWith=OR,QA.values=cr,QA.valuesIn=$R,QA.without=TN,QA.words=um,QA.wrap=PF,QA.xor=UN,QA.xorBy=YN,QA.xorWith=ON,QA.zip=$N,QA.zipObject=zN,QA.zipObjectDeep=JN,QA.zipWith=ZN,QA.entries=sm,QA.entriesIn=lm,QA.extend=om,QA.extendWith=vl,Cu(QA,QA),QA.add=$L,QA.attempt=dm,QA.camelCase=WR,QA.capitalize=cm,QA.ceil=zL,QA.clamp=zR,QA.clone=KF,QA.cloneDeep=UF,QA.cloneDeepWith=YF,QA.cloneWith=TF,QA.conformsTo=OF,QA.deburr=gm,QA.defaultTo=bL,QA.divide=JL,QA.endsWith=jR,QA.eq=Zn,QA.escape=qR,QA.escapeRegExp=XR,QA.every=oF,QA.find=aF,QA.findIndex=LB,QA.findKey=QR,QA.findLast=sF,QA.findLastIndex=GB,QA.findLastKey=IR,QA.floor=ZL,QA.forEach=YB,QA.forEachRight=OB,QA.forIn=fR,QA.forInRight=wR,QA.forOwn=bR,QA.forOwnRight=yR,QA.get=gu,QA.gt=$F,QA.gte=zF,QA.has=kR,QA.hasIn=uu,QA.head=HB,QA.identity=Cn,QA.includes=dF,QA.indexOf=sN,QA.inRange=JR,QA.invoke=xR,QA.isArguments=Do,QA.isArray=Te,QA.isArrayBuffer=JF,QA.isArrayLike=hn,QA.isArrayLikeObject=Dt,QA.isBoolean=ZF,QA.isBuffer=Zi,QA.isDate=WF,QA.isElement=jF,QA.isEmpty=qF,QA.isEqual=XF,QA.isEqualWith=VF,QA.isError=lu,QA.isFinite=AR,QA.isFunction=vi,QA.isInteger=XB,QA.isLength=yl,QA.isMap=VB,QA.isMatch=eR,QA.isMatchWith=tR,QA.isNaN=nR,QA.isNative=iR,QA.isNil=rR,QA.isNull=oR,QA.isNumber=Am,QA.isObject=Et,QA.isObjectLike=bt,QA.isPlainObject=Ca,QA.isRegExp=cu,QA.isSafeInteger=aR,QA.isSet=em,QA.isString=Dl,QA.isSymbol=vn,QA.isTypedArray=lr,QA.isUndefined=sR,QA.isWeakMap=lR,QA.isWeakSet=cR,QA.join=dN,QA.kebabCase=VR,QA.last=Kn,QA.lastIndexOf=hN,QA.lowerCase=AL,QA.lowerFirst=eL,QA.lt=gR,QA.lte=uR,QA.max=WL,QA.maxBy=jL,QA.mean=qL,QA.meanBy=XL,QA.min=VL,QA.minBy=AG,QA.stubArray=mu,QA.stubFalse=Eu,QA.stubObject=HL,QA.stubString=KL,QA.stubTrue=TL,QA.multiply=eG,QA.nth=pN,QA.noConflict=xL,QA.noop=Bu,QA.now=fl,QA.pad=tL,QA.padEnd=nL,QA.padStart=iL,QA.parseInt=oL,QA.random=ZR,QA.reduce=mF,QA.reduceRight=EF,QA.repeat=rL,QA.replace=aL,QA.result=PR,QA.round=tG,QA.runInContext=kA,QA.sample=IF,QA.size=bF,QA.snakeCase=sL,QA.some=yF,QA.sortedIndex=fN,QA.sortedIndexBy=wN,QA.sortedIndexOf=bN,QA.sortedLastIndex=yN,QA.sortedLastIndexBy=DN,QA.sortedLastIndexOf=vN,QA.startCase=cL,QA.startsWith=gL,QA.subtract=nG,QA.sum=iG,QA.sumBy=oG,QA.template=uL,QA.times=UL,QA.toFinite=ki,QA.toInteger=$e,QA.toLength=nm,QA.toLower=dL,QA.toNumber=Tn,QA.toSafeInteger=dR,QA.toString=at,QA.toUpper=hL,QA.trim=pL,QA.trimEnd=CL,QA.trimStart=BL,QA.truncate=mL,QA.unescape=EL,QA.uniqueId=OL,QA.upperCase=QL,QA.upperFirst=du,QA.each=YB,QA.eachRight=OB,QA.first=HB,Cu(QA,function(){var c={};return ri(QA,function(f,U){st.call(QA.prototype,U)||(c[U]=f)}),c}(),{chain:!1}),QA.VERSION=i,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){QA[c].placeholder=QA}),un(["drop","take"],function(c,f){Xe.prototype[c]=function(U){U=U===t?1:Ft($e(U),0);var aA=this.__filtered__&&!f?new Xe(this):this.clone();return aA.__filtered__?aA.__takeCount__=$t(U,aA.__takeCount__):aA.__views__.push({size:$t(U,J),type:c+(aA.__dir__<0?"Right":"")}),aA},Xe.prototype[c+"Right"]=function(U){return this.reverse()[c](U).reverse()}}),un(["filter","map","takeWhile"],function(c,f){var U=f+1,aA=U==r||U==E;Xe.prototype[c]=function(pA){var fA=this.clone();return fA.__iteratees__.push({iteratee:Se(pA,3),type:U}),fA.__filtered__=fA.__filtered__||aA,fA}}),un(["head","last"],function(c,f){var U="take"+(f?"Right":"");Xe.prototype[c]=function(){return this[U](1).value()[0]}}),un(["initial","tail"],function(c,f){var U="drop"+(f?"":"Right");Xe.prototype[c]=function(){return this.__filtered__?new Xe(this):this[U](1)}}),Xe.prototype.compact=function(){return this.filter(Cn)},Xe.prototype.find=function(c){return this.filter(c).head()},Xe.prototype.findLast=function(c){return this.reverse().find(c)},Xe.prototype.invokeMap=Ze(function(c,f){return typeof c=="function"?new Xe(this):this.map(function(U){return ca(U,c,f)})}),Xe.prototype.reject=function(c){return this.filter(bl(Se(c)))},Xe.prototype.slice=function(c,f){c=$e(c);var U=this;return U.__filtered__&&(c>0||f<0)?new Xe(U):(c<0?U=U.takeRight(-c):c&&(U=U.drop(c)),f!==t&&(f=$e(f),U=f<0?U.dropRight(-f):U.take(f-c)),U)},Xe.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Xe.prototype.toArray=function(){return this.take(J)},ri(Xe.prototype,function(c,f){var U=/^(?:filter|find|map|reject)|While$/.test(f),aA=/^(?:head|last)$/.test(f),pA=QA[aA?"take"+(f=="last"?"Right":""):f],fA=aA||/^find/.test(f);pA&&(QA.prototype[f]=function(){var _A=this.__wrapped__,FA=aA?[1]:arguments,KA=_A instanceof Xe,Ae=FA[0],ee=KA||Te(_A),ae=function(We){var Ve=pA.apply(QA,$n([We],FA));return aA&&we?Ve[0]:Ve};ee&&U&&typeof Ae=="function"&&Ae.length!=1&&(KA=ee=!1);var we=this.__chain__,ve=!!this.__actions__.length,Ne=fA&&!we,Je=KA&&!ve;if(!fA&&ee){_A=Je?_A:new Xe(this);var Fe=c.apply(_A,FA);return Fe.__actions__.push({func:Ql,args:[ae],thisArg:t}),new Gn(Fe,we)}return Ne&&Je?c.apply(this,FA):(Fe=this.thru(ae),Ne?aA?Fe.value()[0]:Fe.value():Fe)})}),un(["pop","push","shift","sort","splice","unshift"],function(c){var f=oi[c],U=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",aA=/^(?:pop|shift)$/.test(c);QA.prototype[c]=function(){var pA=arguments;if(aA&&!this.__chain__){var fA=this.value();return f.apply(Te(fA)?fA:[],pA)}return this[U](function(_A){return f.apply(Te(_A)?_A:[],pA)})}}),ri(Xe.prototype,function(c,f){var U=QA[f];if(U){var aA=U.name+"";st.call(ir,aA)||(ir[aA]=[]),ir[aA].push({name:f,func:U})}}),ir[dl(t,Q).name]=[{name:"wrapper",func:t}],Xe.prototype.clone=ES,Xe.prototype.reverse=QS,Xe.prototype.value=IS,QA.prototype.at=jN,QA.prototype.chain=qN,QA.prototype.commit=XN,QA.prototype.next=VN,QA.prototype.plant=eF,QA.prototype.reverse=tF,QA.prototype.toJSON=QA.prototype.valueOf=QA.prototype.value=nF,QA.prototype.first=QA.prototype.head,na&&(QA.prototype[na]=AF),QA},Qe=ye();mi?((mi.exports=Qe)._=Qe,Rn._=Qe):Nt._=Qe}).call(vo)}(Ba,Ba.exports);var ut=Ba.exports;const Qm=(n,e)=>{if(!n||typeof n!="string")return n;const t=n.match(/{{(.+?)}}/);if(t)try{return new Function(Object.keys(e).join(","),"return "+t[1])(...Object.values(e))}catch{return n}else return n},Rt=(n,e)=>ut.isString(n)?Qm(n,e):ut.isPlainObject(n)?Object.keys(n).reduce((t,i)=>({...t,[i]:Rt(n[i],e)}),{}):ut.isArray(n)?n.map(t=>Rt(t,e)):n,ko=(n,e,t)=>{if(e===".")return t;const i=ut.cloneDeep(n),u=e.split(".");function I(o,b,y){if(b.length===1){o[b[0]]=y;return}const w=b[0],S=b[1];o[w]||(isNaN(Number(S))?o[w]={}:o[w]=[]),I(o[w],b.slice(1),y)}return I(i,u,t),i},ma=(n,e="data")=>{if(e==="."||typeof e!="string")return n;const t=e.split(".");let i=n;for(const u of t)if(i&&typeof i=="object"&&u in i)i=i[u];else return;return i},Mi=n=>{const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let t="";for(let i=0;i<n;i++){const u=Math.floor(Math.random()*e.length);t+=e.charAt(u)}return t};function Im(n){return/[.*+?^${}()|[\]\\]/.test(n)}function fm(n){const e=n.match(/^\/(.*)\/([gimsuy]*)$/);if(e){const t=e[1],i=e[2];return new RegExp(t,i)}return null}const wu=(n,e)=>n.filter(e).map(i=>i.children?{...i,children:wu(i.children,e)}:i),xi=(n,e)=>{var t,i,u,I,o,b,y,w,S;for(const N of n){if(N.name===e)return N;if((t=N.props)!=null&&t.btns&&Array.isArray((i=N.props)==null?void 0:i.btns)||(u=N.props)!=null&&u.rowBtns&&Array.isArray((I=N.props)==null?void 0:I.rowBtns)){const H=N.props.btns||N.props.rowBtns;for(const $ of H){if($.name===e||$.key===e)return $;if($.component==="Popover"){if(Array.isArray($.children)&&$.children.length>0){const K=xi($.children,e);if(K)return K}if(Array.isArray((o=$==null?void 0:$.props)==null?void 0:o.children)&&((b=$==null?void 0:$.props)==null?void 0:b.children.length)>0){const K=xi($.props.children,e);if(K)return K}}}}if((y=N.props)!=null&&y.formSlots&&Array.isArray((w=N.props)==null?void 0:w.formSlots)){const H=xi((S=N.props)==null?void 0:S.formSlots,e);if(H)return H}if(N.children&&N.children.length>0){const H=xi(N.children,e);if(H)return H}}return null};/**
|
|
28
28
|
* @vue/shared v3.5.13
|
|
29
29
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
30
|
* @license MIT
|
|
@@ -77,17 +77,17 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
|
|
|
77
77
|
`+g)}d&&(v?v=d+v+`
|
|
78
78
|
`+l:v=d+l),D.print_newline(!1),v&&(Q.text=v,Q.whitespace_before="",Q.newlines=0,D.add_raw_token(Q),D.print_newline(!0))}},H.prototype._handle_tag_open=function(D,Q,L,k,v){var B=this._get_tag_open_token(Q);if((L.is_unformatted||L.is_content_unformatted)&&!L.is_empty_element&&Q.type===i.TAG_OPEN&&!B.is_start_tag?(D.add_raw_token(Q),B.start_tag_token=this._tag_stack.try_pop(B.tag_name)):(D.traverse_whitespace(Q),this._set_tag_position(D,Q,B,L,k),B.is_inline_element||D.set_wrap_point(),D.print_token(Q)),B.is_start_tag&&this._is_wrap_attributes_force){var p=0,d;do d=v.peek(p),d.type===i.ATTRIBUTE&&(B.attr_count+=1),p+=1;while(d.type!==i.EOF&&d.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(B.alignment_size=Q.text.length+1),!B.tag_complete&&!B.is_unformatted&&(D.alignment_size=B.alignment_size),B};var $=function(D,Q){if(this.parent=D||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="",!Q)this.tag_complete=!0;else{var L;this.tag_start_char=Q.text[0],this.text=Q.text,this.tag_start_char==="<"?(L=Q.text.match(/^<([^\s>]*)/),this.tag_check=L?L[1]:""):(L=Q.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=L?L[1]:"",(Q.text.startsWith("{{#>")||Q.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&Q.next!==null?this.tag_check=Q.next.text.split(" ")[0]:this.tag_check=Q.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),Q.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||Q.closed&&Q.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)))}};H.prototype._get_tag_open_token=function(D){var Q=new $(this._tag_stack.get_parser_token(),D);return Q.alignment_size=this._options.wrap_attributes_indent_size,Q.is_end_tag=Q.is_end_tag||w(Q.tag_check,this._options.void_elements),Q.is_empty_element=Q.tag_complete||Q.is_start_tag&&Q.is_end_tag,Q.is_unformatted=!Q.tag_complete&&w(Q.tag_check,this._options.unformatted),Q.is_content_unformatted=!Q.is_empty_element&&w(Q.tag_check,this._options.content_unformatted),Q.is_inline_element=w(Q.tag_name,this._options.inline)||this._options.inline_custom_elements&&Q.tag_name.includes("-")||Q.tag_start_char==="{",Q},H.prototype._set_tag_position=function(D,Q,L,k,v){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||D.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=y(L.tag_check,Q)))),w(L.tag_check,this._options.extra_liners)&&(D.print_newline(!1),D._output.just_added_blankline()||D.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 B=D.current_line_has_match(/{{#if/);B||D.print_newline(!1)}L.tag_name==="!--"&&v.type===i.TAG_CLOSE&&k.is_end_tag&&L.text.indexOf(`
|
|
79
79
|
`)===-1||(L.is_inline_element||L.is_unformatted||D.print_newline(!1),this._calcluate_parent_multiline(D,L))}else if(L.is_end_tag){var p=!1;p=L.start_tag_token&&L.start_tag_token.multiline_content,p=p||!L.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(v.type===i.TAG_CLOSE&&L.start_tag_token===k)&&v.type!=="TK_CONTENT",(L.is_content_unformatted||L.is_unformatted)&&(p=!1),p&&D.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)&&(v.type!=="TK_CONTENT"||L.is_content_unformatted)&&D.print_newline(!1),this._calcluate_parent_multiline(D,L)},H.prototype._calcluate_parent_multiline=function(D,Q){Q.parent&&D._output.just_added_newline()&&!((Q.is_inline_element||Q.is_unformatted)&&Q.parent.is_inline_element)&&(Q.parent.multiline_content=!0)};var K=["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"],T=["a","audio","del","ins","map","noscript","video"];return H.prototype._do_optional_end_element=function(D){var Q=null;if(!(D.is_empty_element||!D.is_start_tag||!D.parent)){if(D.tag_name==="body")Q=Q||this._tag_stack.try_pop("head");else if(D.tag_name==="li")Q=Q||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(D.tag_name==="dd"||D.tag_name==="dt")Q=Q||this._tag_stack.try_pop("dt",["dl"]),Q=Q||this._tag_stack.try_pop("dd",["dl"]);else if(D.parent.tag_name==="p"&&K.indexOf(D.tag_name)!==-1){var L=D.parent.parent;(!L||T.indexOf(L.tag_name)===-1)&&(Q=Q||this._tag_stack.try_pop("p"))}else D.tag_name==="rp"||D.tag_name==="rt"?(Q=Q||this._tag_stack.try_pop("rt",["ruby","rtc"]),Q=Q||this._tag_stack.try_pop("rp",["ruby","rtc"])):D.tag_name==="optgroup"?Q=Q||this._tag_stack.try_pop("optgroup",["select"]):D.tag_name==="option"?Q=Q||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):D.tag_name==="colgroup"?Q=Q||this._tag_stack.try_pop("caption",["table"]):D.tag_name==="thead"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"])):D.tag_name==="tbody"||D.tag_name==="tfoot"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"]),Q=Q||this._tag_stack.try_pop("thead",["table"]),Q=Q||this._tag_stack.try_pop("tbody",["table"])):D.tag_name==="tr"?(Q=Q||this._tag_stack.try_pop("caption",["table"]),Q=Q||this._tag_stack.try_pop("colgroup",["table"]),Q=Q||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(D.tag_name==="th"||D.tag_name==="td")&&(Q=Q||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Q=Q||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return D.parent=this._tag_stack.get_parser_token(),Q}},Ac.Beautifier=H,Ac}var _d;function vE(){if(_d)return Ma.exports;_d=1;var n=DE().Beautifier,e=yd().Options;function t(i,u,I,o){var b=new n(i,u,I,o);return b.beautify()}return Ma.exports=t,Ma.exports.defaultOptions=function(){return new e},Ma.exports}var Md;function kE(){if(Md)return hr;Md=1;var n=wE(),e=yE(),t=vE();function i(u,I,o,b){return o=o||n,b=b||e,t(u,I,o,b)}return i.defaultOptions=t.defaultOptions,hr.js=n,hr.css=e,hr.html=i,hr}(function(n){function e(t,i,u){var I=function(o,b){return t.js_beautify(o,b)};return I.js=t.js_beautify,I.css=i.css_beautify,I.html=u.html_beautify,I.js_beautify=t.js_beautify,I.css_beautify=i.css_beautify,I.html_beautify=u.html_beautify,I}(function(t){var i=kE();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=e(i,i,i)})(n)})(Ad);var _E=Ad.exports,ME=EE(_E),xd=function(){function n(e){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],u=t.attributes().disabled!==void 0,I=ur(t.element)&&i.includes(t.element.tagName);return u&&I},this.wrapperElement=e}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(ur);if(t.length===0)return[];var i=Pu([],t.filter(function(u){return u.matches(e)}));return t.forEach(function(u){i.push.apply(i,Array.from(u.querySelectorAll(e)))}),i},n.prototype.find=function(e){if(typeof e=="object"&&"ref"in e){var t=this.getCurrentComponent();if(!t)return Si("DOMWrapper");var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?dr(i):Si("DOMWrapper")}var u=this.findAll(e);return u.length>0?u[0]:Si("DOMWrapper")},n.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return Si("VueWrapper");if(typeof e=="object"&&"ref"in e){var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?Ll(null,i):Si("VueWrapper")}if(qu(t.vnode,e)&&this.element.contains(t.vnode.el))return Ll(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var u=this.findAllComponents(e)[0];return u??Si("VueWrapper")},n.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var i=pE(t.subTree,e);return i.map(function(u){return u.proxy?Ll(null,u.proxy):dr(u.vnode.el)})},n.prototype.html=function(e){var t=this.getRootNodes().map(function(i){return mE(i)});return e!=null&&e.raw?t.join(""):t.map(function(i){return ME.html(i,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
|
|
80
|
-
`)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),u=0,I=i;u<I.length;u++){var o=I[u];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xu(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(u){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=aE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),xE=function(n){Gu(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Ku.plugins.DOMWrapper.extend(i),i):Si("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:Si("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),dr):[]},e.prototype.findAllComponents=function(t){var i=this,u=n.prototype.findAllComponents.call(this,t);return u.filter(function(I){return i.element.contains(I.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,u;return t===void 0&&(t=!0),Fl(this,function(I){if(i=this.element,u=this.attributes().type,u==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,u=i.tagName,I=this.attributes().type;if(u==="OPTION")return this.setSelected(),Promise.resolve();if(u==="INPUT"&&I==="checkbox")return this.setChecked(t);if(u==="INPUT"&&I==="radio")return this.setChecked(t);if(u==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var y=o.options[b];y.selected=t.includes(y.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(u==="INPUT"||u==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(u))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var u=new e(i);return u.trigger("input"),u.trigger("change")}},e}(xd);Vu(xo.DOMWrapper,function(n){return new xE(n)});function Sa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Sa(e)}else{if(n.shapeFlag&128)return Sa(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 u=n.children.flat();return u.flatMap(function(I){return Sa(I)}).filter(qm)}}return[]}var ji={};function SE(n,e){var t=n.$.uid,i=ji[t]||{};return e?i?i[e]:void 0:i}var NE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var u=i.uid;u in ji||(ji[u]={}),e in ji[u]||(ji[u][e]=[]),ji[u][e].push(t)},FE=function(n){var e=n.$.uid;delete ji[e]};function RE(n,e){return new Proxy(n,{get:function(t,i,u){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,u):i in e?Reflect.get(e,i,u):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,u):t.$.ctx[i]},set:function(t,i,u,I){return i in e?Reflect.set(e,i,u,I):Reflect.set(t,i,u,I)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,u){return i in e?Reflect.defineProperty(e,i,u):Reflect.defineProperty(t,i,u)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Gu(e,n);function e(t,i,u){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=u,I.attachNativeEventListener(),Ku.plugins.VueWrapper.extend(I),I}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var u;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((u=i.component)===null||u===void 0)&&u.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Sa(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(dr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],u=this.getRootNodes().filter(function(N){return N instanceof Element});if(u.length===1)for(var I=u[0],o=function(N){if(i.includes(N))return"continue";var H=function(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K];NE(t.$,N,$)};I.addEventListener(N,H),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,H)})},b=this,y=0,w=Object.keys(Uu);y<w.length;y++){var S=w[y];o(S)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return SE(this.vm,t)},e.prototype.isVisible=function(){var t=dr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Tu(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var u=i||"modelValue";return this.vm.$emit("update:".concat(u),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");FE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xd);Vu(xo.VueWrapper,function(n,e,t){return new LE(n,e,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return GE}),u=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?u:A.h("a",void 0,u)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),Sd=Symbol(),Nd=Symbol(),Fd={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"}}}},Na=[{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"}]}],PE=[{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"}],HE="vfc",je=(n="")=>`${HE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const u=tc(i.children,e);if(u)return u}return t},null),Rd=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Rd(t.children,e)}:t),Ld=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Mi(4)}`,name:Mi(8)};return e.children&&(t.children=Ld(e.children)),t}),Gd=(n,e)=>n.reduce((t,i)=>{var u;if(i.children?t.push({...i,children:Gd(i.children,e)}):t.push(i),i.designKey===e){const I={...ut.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Ld(i.children)),i.label&&!((u=I.label)!=null&&u.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pd=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Mi(4)}`,name:e.name||`form-${Mi(4)}`};return e.children&&(t.children=Pd(e.children)),t}),bt=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(Sd,n)},KE=()=>{const{fetchOptionsFn:n}=A.inject(jn);return n},Cr=n=>{const e=bt(),t=KE(),i=A.ref([]),u=A.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;u.value=!0;const S=++I;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(S!==I)return;const H=n.defaultOptions||[];if(i.value=[...H,...N],n.filters&&(i.value=i.value.filter(T=>Array.isArray(n.filters)?!n.filters.includes(T[n.valueKey||"value"]):!0)),n.name){const T=xi(e.schema.items,n.name);T&&T.props&&(T.props.options=i.value)}const $=e.formValues[n.name],K=i.value.findIndex(T=>T[n.valueKey||"value"]===$)!==-1;if(n.refreshFlag&&i.value.length>0&&!K){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const T=xi(e.schema.items,n.name);T&&T.props&&(T.props.refreshFlag=!1)}}finally{u.value=!1}},300);A.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),A.watch(()=>n.apiParams,(S,N)=>{ut.isEqual(S,N)||(i.value=[],o())}),A.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),A.watch(()=>n.mode,S=>{S==="static"&&(i.value=n.options||[]),S==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:y}=n;if(b==="remote"&&Array.isArray(y))for(const S of y)A.watch(()=>e.formValues[S],(N,H)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:H,name:$}=n;let K={};H&&Array.isArray(S)?K=i.value.filter(T=>S.includes(T[N])):K=i.value.find(T=>T[N]===S)||{},e.selectData&&$&&e.updateSelectData($,K)},currentOptions:i,loading:u,fetchData:o}};function nc(){const n=A.inject(jn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function ci(){const n=nc();return A.computed(()=>Fd[(n==null?void 0:n.value)||"en"])}const se=(n,e)=>{const t=n.__vccOpts||n;for(const[i,u]of e)t[i]=u;return t},TE={},UE={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 YE(n,e){return A.openBlock(),A.createElementBlock("svg",UE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:se(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},zE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function JE(n,e){return A.openBlock(),A.createElementBlock("svg",zE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const ZE=Object.freeze(Object.defineProperty({__proto__:null,default:se($E,[["render",JE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,e){return A.openBlock(),A.createElementBlock("svg",jE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:se(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,e){return A.openBlock(),A.createElementBlock("svg",AQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,e){return A.openBlock(),A.createElementBlock("svg",iQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={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 lQ(n,e){return A.openBlock(),A.createElementBlock("svg",sQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,e){return A.openBlock(),A.createElementBlock("svg",uQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},CQ={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 BQ(n,e){return A.openBlock(),A.createElementBlock("svg",CQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(pQ,[["render",BQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={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 IQ(n,e){return A.openBlock(),A.createElementBlock("svg",QQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={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 yQ(n,e){return A.openBlock(),A.createElementBlock("svg",bQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const DQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(wQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={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 _Q(n,e){return A.openBlock(),A.createElementBlock("svg",kQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={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 NQ(n,e){return A.openBlock(),A.createElementBlock("svg",SQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const FQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,e){return A.openBlock(),A.createElementBlock("svg",LQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={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 TQ(n,e){return A.openBlock(),A.createElementBlock("svg",KQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const UQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,e){return A.openBlock(),A.createElementBlock("svg",OQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const zQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),JQ={},ZQ={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 WQ(n,e){return A.openBlock(),A.createElementBlock("svg",ZQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(JQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,e){return A.openBlock(),A.createElementBlock("svg",XQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:se(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={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 nI(n,e){return A.openBlock(),A.createElementBlock("svg",tI,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:se(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={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 aI(n,e){return A.openBlock(),A.createElementBlock("svg",rI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:se(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={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 gI(n,e){return A.openBlock(),A.createElementBlock("svg",cI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const uI=Object.freeze(Object.defineProperty({__proto__:null,default:se(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),dI={},hI={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 pI(n,e){return A.openBlock(),A.createElementBlock("svg",hI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:se(dI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),BI={},mI={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 EI(n,e){return A.openBlock(),A.createElementBlock("svg",mI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:se(BI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={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 wI(n,e){return A.openBlock(),A.createElementBlock("svg",fI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const bI=Object.freeze(Object.defineProperty({__proto__:null,default:se(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),yI={},DI={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 vI(n,e){return A.openBlock(),A.createElementBlock("svg",DI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:se(yI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={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 xI(n,e){return A.openBlock(),A.createElementBlock("svg",MI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:se(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),NI={},FI={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 RI(n,e){return A.openBlock(),A.createElementBlock("svg",FI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:se(NI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={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 HI(n,e){return A.openBlock(),A.createElementBlock("svg",PI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const KI=Object.freeze(Object.defineProperty({__proto__:null,default:se(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={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 YI(n,e){return A.openBlock(),A.createElementBlock("svg",UI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:se(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},zI={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 JI(n,e){return A.openBlock(),A.createElementBlock("svg",zI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:se($I,[["render",JI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={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 qI(n,e){return A.openBlock(),A.createElementBlock("svg",jI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:se(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={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 ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:se(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:se(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:se(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),uf={},df={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 hf(n,e){return A.openBlock(),A.createElementBlock("svg",df,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:se(uf,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={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 mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:se(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,e){return A.openBlock(),A.createElementBlock("svg",If,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={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 Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:se(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const xf=Object.freeze(Object.defineProperty({__proto__:null,default:se(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={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 Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 Aw(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:se(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={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 iw(n,e){return A.openBlock(),A.createElementBlock("svg",nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:se(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={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 sw(n,e){return A.openBlock(),A.createElementBlock("svg",aw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const lw=Object.freeze(Object.defineProperty({__proto__:null,default:se(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={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 uw(n,e){return A.openBlock(),A.createElementBlock("svg",gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:se(cw,[["render",uw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={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 Cw(n,e){return A.openBlock(),A.createElementBlock("svg",pw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:se(hw,[["render",Cw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={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 Qw(n,e){return A.openBlock(),A.createElementBlock("svg",Ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:se(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={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 bw(n,e){return A.openBlock(),A.createElementBlock("svg",ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:se(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),Dw={},vw={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 kw(n,e){return A.openBlock(),A.createElementBlock("svg",vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:se(Dw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={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 Sw(n,e){return A.openBlock(),A.createElementBlock("svg",xw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Nw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Fw={},Rw={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 Lw(n,e){return A.openBlock(),A.createElementBlock("svg",Rw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Fw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={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 Kw(n,e){return A.openBlock(),A.createElementBlock("svg",Hw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={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 Ow(n,e){return A.openBlock(),A.createElementBlock("svg",Yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const $w=Object.freeze(Object.defineProperty({__proto__:null,default:se(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),zw={},Jw={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 Zw(n,e){return A.openBlock(),A.createElementBlock("svg",Jw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:se(zw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={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 Xw(n,e){return A.openBlock(),A.createElementBlock("svg",qw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const Vw=Object.freeze(Object.defineProperty({__proto__:null,default:se(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={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 t0(n,e){return A.openBlock(),A.createElementBlock("svg",e0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const n0=Object.freeze(Object.defineProperty({__proto__:null,default:se(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={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 r0(n,e){return A.openBlock(),A.createElementBlock("svg",o0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const a0=Object.freeze(Object.defineProperty({__proto__:null,default:se(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={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 c0(n,e){return A.openBlock(),A.createElementBlock("svg",l0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const g0=Object.freeze(Object.defineProperty({__proto__:null,default:se(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),Ie=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":DQ,"./icons/copy.vue":MQ,"./icons/custom.vue":FQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":zQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":uI,"./icons/formList.vue":CI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":Jf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":dw,"./icons/tableEmpty.vue":Bw,"./icons/tabs.vue":Iw,"./icons/tag.vue":yw,"./icons/text.vue":_w,"./icons/textarea.vue":Nw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[u,I])=>{const o=u.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,u)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),u0={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"}]},d0=se(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=bt(),t=A.computed(()=>e.schema.read),i=A.useModel(n,"modelValue"),u=A.useAttrs(),I=A.computed(()=>u.inputColor?`--input-color: ${u.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>u.inputColor?`el-input--${u.styleType} el-input custom-input-color`:`el-input--${u.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},y=n,w=A.inject("ruleModule",void 0),S=A.inject("pageMethodMap",{}),N=D=>{const Q=["E","e","+","-"];u.type==="number"&&Q.includes(D.key)&&D.preventDefault()},H=D=>{if(y.onInput&&w)try{w[y.onInput](S,D)}catch(Q){console.error(Q+`
|
|
80
|
+
`)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),u=0,I=i;u<I.length;u++){var o=I[u];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xu(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(u){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=aE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),xE=function(n){Gu(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Ku.plugins.DOMWrapper.extend(i),i):Si("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:Si("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),dr):[]},e.prototype.findAllComponents=function(t){var i=this,u=n.prototype.findAllComponents.call(this,t);return u.filter(function(I){return i.element.contains(I.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,u;return t===void 0&&(t=!0),Fl(this,function(I){if(i=this.element,u=this.attributes().type,u==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,u=i.tagName,I=this.attributes().type;if(u==="OPTION")return this.setSelected(),Promise.resolve();if(u==="INPUT"&&I==="checkbox")return this.setChecked(t);if(u==="INPUT"&&I==="radio")return this.setChecked(t);if(u==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var y=o.options[b];y.selected=t.includes(y.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(u==="INPUT"||u==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(u))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var u=new e(i);return u.trigger("input"),u.trigger("change")}},e}(xd);Vu(xo.DOMWrapper,function(n){return new xE(n)});function Sa(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Sa(e)}else{if(n.shapeFlag&128)return Sa(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 u=n.children.flat();return u.flatMap(function(I){return Sa(I)}).filter(qm)}}return[]}var ji={};function SE(n,e){var t=n.$.uid,i=ji[t]||{};return e?i?i[e]:void 0:i}var NE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var u=i.uid;u in ji||(ji[u]={}),e in ji[u]||(ji[u][e]=[]),ji[u][e].push(t)},FE=function(n){var e=n.$.uid;delete ji[e]};function RE(n,e){return new Proxy(n,{get:function(t,i,u){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,u):i in e?Reflect.get(e,i,u):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,u):t.$.ctx[i]},set:function(t,i,u,I){return i in e?Reflect.set(e,i,u,I):Reflect.set(t,i,u,I)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,u){return i in e?Reflect.defineProperty(e,i,u):Reflect.defineProperty(t,i,u)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Gu(e,n);function e(t,i,u){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=u,I.attachNativeEventListener(),Ku.plugins.VueWrapper.extend(I),I}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var u;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((u=i.component)===null||u===void 0)&&u.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Sa(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(dr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],u=this.getRootNodes().filter(function(N){return N instanceof Element});if(u.length===1)for(var I=u[0],o=function(N){if(i.includes(N))return"continue";var H=function(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K];NE(t.$,N,$)};I.addEventListener(N,H),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,H)})},b=this,y=0,w=Object.keys(Uu);y<w.length;y++){var S=w[y];o(S)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return SE(this.vm,t)},e.prototype.isVisible=function(){var t=dr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Tu(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var u=i||"modelValue";return this.vm.$emit("update:".concat(u),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");FE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xd);Vu(xo.VueWrapper,function(n,e,t){return new LE(n,e,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return GE}),u=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?u:A.h("a",void 0,u)}}),typeof setImmediate=="function"&&setImmediate;const jn=Symbol(),Sd=Symbol(),Nd=Symbol(),Fd={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"}}}},Na=[{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"}]}],PE=[{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"}],HE="vfc",je=(n="")=>`${HE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const u=tc(i.children,e);if(u)return u}return t},null),Rd=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Rd(t.children,e)}:t),Ld=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Mi(4)}`,name:Mi(8)};return e.children&&(t.children=Ld(e.children)),t}),Gd=(n,e)=>n.reduce((t,i)=>{var u;if(i.children?t.push({...i,children:Gd(i.children,e)}):t.push(i),i.designKey===e){const I={...ut.cloneDeep(i),designKey:`form-${Mi(4)}`,name:`${i.name}-${Mi(2)}`};i.children&&(I.children=Ld(i.children)),i.label&&!((u=I.label)!=null&&u.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pd=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Mi(4)}`,name:e.name||`form-${Mi(4)}`};return e.children&&(t.children=Pd(e.children)),t}),Qt=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(Sd,n)},KE=()=>{const{fetchOptionsFn:n}=A.inject(jn);return n},Cr=n=>{const e=Qt(),t=KE(),i=A.ref([]),u=A.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;u.value=!0;const S=++I;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(S!==I)return;const H=n.defaultOptions||[];if(i.value=[...H,...N],n.filters&&(i.value=i.value.filter(T=>Array.isArray(n.filters)?!n.filters.includes(T[n.valueKey||"value"]):!0)),n.name){const T=xi(e.schema.items,n.name);T&&T.props&&(T.props.options=i.value)}const $=e.formValues[n.name],K=i.value.findIndex(T=>T[n.valueKey||"value"]===$)!==-1;if(n.refreshFlag&&i.value.length>0&&!K){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const T=xi(e.schema.items,n.name);T&&T.props&&(T.props.refreshFlag=!1)}}finally{u.value=!1}},300);A.onMounted(()=>{const{mode:S,options:N=[]}=n;S==="static"&&(i.value=N),S==="remote"&&o()}),A.watch(()=>n.apiParams,(S,N)=>{ut.isEqual(S,N)||(i.value=[],o())}),A.watch(()=>n.options,(S=[])=>{n.mode==="static"&&(i.value=S)}),A.watch(()=>n.mode,S=>{S==="static"&&(i.value=n.options||[]),S==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:y}=n;if(b==="remote"&&Array.isArray(y))for(const S of y)A.watch(()=>e.formValues[S],(N,H)=>{o()});return{selectChange:S=>{const{valueKey:N="value",multiple:H,name:$}=n;let K={};H&&Array.isArray(S)?K=i.value.filter(T=>S.includes(T[N])):K=i.value.find(T=>T[N]===S)||{},e.selectData&&$&&e.updateSelectData($,K)},currentOptions:i,loading:u,fetchData:o}};function nc(){const n=A.inject(jn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function ci(){const n=nc();return A.computed(()=>Fd[(n==null?void 0:n.value)||"en"])}const se=(n,e)=>{const t=n.__vccOpts||n;for(const[i,u]of e)t[i]=u;return t},TE={},UE={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 YE(n,e){return A.openBlock(),A.createElementBlock("svg",UE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:se(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},zE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function JE(n,e){return A.openBlock(),A.createElementBlock("svg",zE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const ZE=Object.freeze(Object.defineProperty({__proto__:null,default:se($E,[["render",JE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,e){return A.openBlock(),A.createElementBlock("svg",jE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:se(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={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 eQ(n,e){return A.openBlock(),A.createElementBlock("svg",AQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={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 oQ(n,e){return A.openBlock(),A.createElementBlock("svg",iQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={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 lQ(n,e){return A.openBlock(),A.createElementBlock("svg",sQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={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 dQ(n,e){return A.openBlock(),A.createElementBlock("svg",uQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},CQ={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 BQ(n,e){return A.openBlock(),A.createElementBlock("svg",CQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(pQ,[["render",BQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={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 IQ(n,e){return A.openBlock(),A.createElementBlock("svg",QQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={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 yQ(n,e){return A.openBlock(),A.createElementBlock("svg",bQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const DQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(wQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={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 _Q(n,e){return A.openBlock(),A.createElementBlock("svg",kQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={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 NQ(n,e){return A.openBlock(),A.createElementBlock("svg",SQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const FQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={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 GQ(n,e){return A.openBlock(),A.createElementBlock("svg",LQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={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 TQ(n,e){return A.openBlock(),A.createElementBlock("svg",KQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const UQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={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 $Q(n,e){return A.openBlock(),A.createElementBlock("svg",OQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const zQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),JQ={},ZQ={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 WQ(n,e){return A.openBlock(),A.createElementBlock("svg",ZQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:se(JQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={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 VQ(n,e){return A.openBlock(),A.createElementBlock("svg",XQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:se(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={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 nI(n,e){return A.openBlock(),A.createElementBlock("svg",tI,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:se(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={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 aI(n,e){return A.openBlock(),A.createElementBlock("svg",rI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:se(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={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 gI(n,e){return A.openBlock(),A.createElementBlock("svg",cI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const uI=Object.freeze(Object.defineProperty({__proto__:null,default:se(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),dI={},hI={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 pI(n,e){return A.openBlock(),A.createElementBlock("svg",hI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:se(dI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),BI={},mI={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 EI(n,e){return A.openBlock(),A.createElementBlock("svg",mI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:se(BI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={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 wI(n,e){return A.openBlock(),A.createElementBlock("svg",fI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const bI=Object.freeze(Object.defineProperty({__proto__:null,default:se(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),yI={},DI={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 vI(n,e){return A.openBlock(),A.createElementBlock("svg",DI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:se(yI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={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 xI(n,e){return A.openBlock(),A.createElementBlock("svg",MI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:se(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),NI={},FI={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 RI(n,e){return A.openBlock(),A.createElementBlock("svg",FI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:se(NI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={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 HI(n,e){return A.openBlock(),A.createElementBlock("svg",PI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const KI=Object.freeze(Object.defineProperty({__proto__:null,default:se(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={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 YI(n,e){return A.openBlock(),A.createElementBlock("svg",UI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:se(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},zI={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 JI(n,e){return A.openBlock(),A.createElementBlock("svg",zI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:se($I,[["render",JI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={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 qI(n,e){return A.openBlock(),A.createElementBlock("svg",jI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:se(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={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 ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:se(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={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 rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:se(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={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 cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:se(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),uf={},df={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 hf(n,e){return A.openBlock(),A.createElementBlock("svg",df,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:se(uf,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={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 mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:se(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,e){return A.openBlock(),A.createElementBlock("svg",If,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={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 Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:se(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={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 Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const xf=Object.freeze(Object.defineProperty({__proto__:null,default:se(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={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 Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={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 Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={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 Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={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 zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={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 jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:se(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={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 Aw(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:se(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={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 iw(n,e){return A.openBlock(),A.createElementBlock("svg",nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:se(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={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 sw(n,e){return A.openBlock(),A.createElementBlock("svg",aw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const lw=Object.freeze(Object.defineProperty({__proto__:null,default:se(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={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 uw(n,e){return A.openBlock(),A.createElementBlock("svg",gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:se(cw,[["render",uw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={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 Cw(n,e){return A.openBlock(),A.createElementBlock("svg",pw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:se(hw,[["render",Cw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={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 Qw(n,e){return A.openBlock(),A.createElementBlock("svg",Ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:se(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={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 bw(n,e){return A.openBlock(),A.createElementBlock("svg",ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:se(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),Dw={},vw={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 kw(n,e){return A.openBlock(),A.createElementBlock("svg",vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:se(Dw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={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 Sw(n,e){return A.openBlock(),A.createElementBlock("svg",xw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Nw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Fw={},Rw={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 Lw(n,e){return A.openBlock(),A.createElementBlock("svg",Rw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Fw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={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 Kw(n,e){return A.openBlock(),A.createElementBlock("svg",Hw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:se(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={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 Ow(n,e){return A.openBlock(),A.createElementBlock("svg",Yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const $w=Object.freeze(Object.defineProperty({__proto__:null,default:se(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),zw={},Jw={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 Zw(n,e){return A.openBlock(),A.createElementBlock("svg",Jw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:se(zw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={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 Xw(n,e){return A.openBlock(),A.createElementBlock("svg",qw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const Vw=Object.freeze(Object.defineProperty({__proto__:null,default:se(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={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 t0(n,e){return A.openBlock(),A.createElementBlock("svg",e0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const n0=Object.freeze(Object.defineProperty({__proto__:null,default:se(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={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 r0(n,e){return A.openBlock(),A.createElementBlock("svg",o0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const a0=Object.freeze(Object.defineProperty({__proto__:null,default:se(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={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 c0(n,e){return A.openBlock(),A.createElementBlock("svg",l0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const g0=Object.freeze(Object.defineProperty({__proto__:null,default:se(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),Ie=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":DQ,"./icons/copy.vue":MQ,"./icons/custom.vue":FQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":zQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":uI,"./icons/formList.vue":CI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":Jf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":dw,"./icons/tableEmpty.vue":Bw,"./icons/tabs.vue":Iw,"./icons/tag.vue":yw,"./icons/text.vue":_w,"./icons/textarea.vue":Nw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[u,I])=>{const o=u.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,u)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),u0={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"}]},d0=se(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Qt(),t=A.computed(()=>e.schema.read),i=A.useModel(n,"modelValue"),u=A.useAttrs(),I=A.computed(()=>u.inputColor?`--input-color: ${u.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>u.inputColor?`el-input--${u.styleType} el-input custom-input-color`:`el-input--${u.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},y=n,w=A.inject("ruleModule",void 0),S=A.inject("pageMethodMap",{}),N=D=>{const Q=["E","e","+","-"];u.type==="number"&&Q.includes(D.key)&&D.preventDefault()},H=D=>{if(y.onInput&&w)try{w[y.onInput](S,D)}catch(Q){console.error(Q+`
|
|
81
81
|
onInput: ${y.onInput}`)}},$=D=>{if(y.onEnter&&w)try{w[y.onEnter](S,D)}catch(Q){console.error(Q+`
|
|
82
82
|
onEnter: ${y.onEnter}`)}},K=D=>{if(y.onChange&&w)try{w[y.onChange](S,D)}catch(Q){console.error(Q+`
|
|
83
83
|
onChange: ${y.onChange}`)}},T=()=>{if(y.onClick&&w)try{w[y.onClick](S,i.value)}catch(D){console.error(D+`
|
|
84
|
-
onClick: ${y.onClick}`)}};return(D,Q)=>{const L=A.resolveComponent("el-input");return D.read||t.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.readTextColor})},A.toDisplayString(i.value||"--"),5)):(A.openBlock(),A.createBlock(L,A.mergeProps({key:1},D.$attrs,{class:o.value,style:I.value,modelValue:i.value,"onUpdate:modelValue":Q[0]||(Q[0]=k=>i.value=k),onInput:H,onChange:K,onKeydown:N,onKeyup:A.withKeys($,["enter"]),onBlur:b,onClick:T}),null,16,["class","style","modelValue"]))}}}),[["__scopeId","data-v-d67a1959"]]),h0={title:"单行文本",component:"Input",icon:A.h(Ie,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:d0},p0={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}]},C0={title:"多行文本",component:"TextArea",icon:A.h(Ie,{name:"textarea"}),type:"basic",order:2,attrSchema:p0,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>K8))},B0={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"}]},m0=["xlink:href"],Re=se(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const e=n,t=A.computed(()=>e.color?{color:e.color}:void 0);return(i,u)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large"}]),"aria-hidden":"true",style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,m0)],6))}}),[["__scopeId","data-v-90b18dd2"]]),E0=["onClick"],Q0={key:1,class:"bold-style"},I0=se(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Gi(),u=(b,y,w)=>{try{t[b](i,y,w)}catch(S){console.error(S)}},I=A.computed(()=>{const b=/\{(\d+)\}/g,y=[];let w=0,S;for(;(S=b.exec(e.description))!==null;)S.index>w&&y.push({type:"text",value:e.description.slice(w,S.index)}),y.push({type:"value",index:Number(S[1])}),w=b.lastIndex;return w<e.description.length&&y.push({type:"text",value:e.description.slice(w)}),y}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,y)=>{const w=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(w,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(Re,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(S.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof S.index=="number"&&e.values&&e.values[S.index]&&typeof e.values[S.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:H=>u(e.values[S.index].onClick,e.values[S.index].text,e.values[S.index])},A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),9,E0)):(A.openBlock(),A.createElementBlock("span",Q0,A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-9ede71f0"]]),f0={title:"提示框",component:"Alert",icon:A.h(Ie,{name:"alert"}),type:"assist",order:2,attrSchema:B0,render:I0},w0={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Y8)),icon:A.h(Ie,{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"}]}},b0={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"}]}]},y0={title:"级联选择器",icon:A.h(Ie,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:b0,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>O8))},D0={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}]},v0={title:"JSON编辑",component:"JsonEdit",icon:A.h(Ie,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:D0,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>q8))},k0={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"},...Na]},_0={title:"多选框组",icon:A.h(Ie,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>V8)),order:4,attrSchema:k0},M0={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"}]},x0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(Ie,{name:"colorPicker"}),type:"basic",order:9,attrSchema:M0},S0={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"}]},N0={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>eM)),icon:A.h(Ie,{name:"colorPicker"}),type:"high",order:2,attrSchema:S0},F0={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"}]},R0={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nM)),icon:A.h(Ie,{name:"custom"}),type:"high",order:99,attrSchema:F0},L0={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"}]}}]},G0={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>oM)),icon:A.h(Ie,{name:"datePicker"}),type:"basic",order:9,attrSchema:L0},P0={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"}]},H0={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:A.h(Ie,{name:"divider"}),type:"assist",order:6,attrSchema:P0},K0={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"}]},T0={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hM)),icon:A.h(Ie,{name:"esign"}),type:"basic",order:11,attrSchema:K0},U0={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"},...Na]},Y0={title:"单选框组",icon:A.h(Ie,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>CM)),order:3.5,attrSchema:U0},O0={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"}]},$0={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>fM)),icon:A.h(Ie,{name:"formList"}),type:"high",order:20,attrSchema:O0},z0={title:"栅格布局",type:"layout",icon:A.h(Ie,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wM)),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"}]}}]}},J0={title:"行内布局",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>bM)),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"}]}},Z0={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"}]},W0={title:"计数器",icon:A.h(Ie,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),attrSchema:Z0},j0={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"}]},q0={key:0},X0={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=bt();return(i,u)=>{var o;const I=A.resolveComponent("el-input");return A.unref(t).read?(A.openBlock(),A.createElementBlock("span",q0,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":u[0]||(u[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(Ie,{name:"password"}),type:"basic",order:3,attrSchema:j0},V0={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"},...Na]},Ab={title:"下拉选择框",type:"basic",icon:A.h(Ie,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),order:3,attrSchema:V0},eb={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"}]},tb={title:"评分",component:"Rate",render:"ElRate",icon:A.h(Ie,{name:"rate"}),type:"basic",order:12,attrSchema:eb},nb={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"}}]},ib={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>MM)),icon:A.h(Ie,{name:"input"}),type:"high",order:1,attrSchema:nb},ob={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(Ie,{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}]}},rb={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}]}}]},ab={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xM)),component:"Switch",icon:A.h(Ie,{name:"switch"}),type:"basic",order:8,attrSchema:rb},sb={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>SM)),icon:A.h(Ie,{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"}]}}]}},lb={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"}]},cb={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>FM)),icon:A.h(Ie,{name:"text"}),type:"assist",order:1,attrSchema:lb},gb={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:A.h(Ie,{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"}]}},ub={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"}]}}]},db={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>PM)),icon:A.h(Ie,{name:"upload"}),type:"basic",order:10,attrSchema:ub},hb={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"}]},pb={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>UM)),icon:A.h(Ie,{name:"verifyCode"}),type:"high",order:18,attrSchema:hb},Cb={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>YM)),icon:A.h(Ie,{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"}]}},Bb={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>OM)),icon:A.h(Ie,{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"}]}},mb={title:"对象容器",icon:A.h(Ie,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>JM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Eb={},Qb={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 Ib(n,e){return A.openBlock(),A.createElementBlock("svg",Qb,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const fb=se(Eb,[["render",Ib]]),wb={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"}}]},bb={key:0},yb={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=bt(),i=A.useModel(n,"modelValue"),u=I=>{const o=I.map(b=>e.data.find(y=>y.key===b));t.updateSelectData(e.name,o)};return(I,o)=>{var y;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",bb,A.toDisplayString((y=i.value)==null?void 0:y.map(w=>{var S;return(S=I.data.find(N=>N.key===w))==null?void 0:S.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{data:I.data,onChange:u,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=w=>i.value=w)}),null,16,["data","modelValue"]))}}}),icon:fb,type:"basic",order:12,attrSchema:wb},Db={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"}]},vb=se(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},name:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),u=A.inject("pageMethodMap",{}),I=bt();A.watch(e,w=>{w&&I.clearValidate(t.name)});const o=w=>{if(t.onInput&&i)try{i[t.onInput](u,w)}catch(S){console.error(S+`
|
|
84
|
+
onClick: ${y.onClick}`)}};return(D,Q)=>{const L=A.resolveComponent("el-input");return D.read||t.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.readTextColor})},A.toDisplayString(i.value||"--"),5)):(A.openBlock(),A.createBlock(L,A.mergeProps({key:1},D.$attrs,{class:o.value,style:I.value,modelValue:i.value,"onUpdate:modelValue":Q[0]||(Q[0]=k=>i.value=k),onInput:H,onChange:K,onKeydown:N,onKeyup:A.withKeys($,["enter"]),onBlur:b,onClick:T}),null,16,["class","style","modelValue"]))}}}),[["__scopeId","data-v-3d922c94"]]),h0={title:"单行文本",component:"Input",icon:A.h(Ie,{name:"input"}),type:"basic",order:1,attrSchema:u0,render:d0},p0={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}]},C0={title:"多行文本",component:"TextArea",icon:A.h(Ie,{name:"textarea"}),type:"basic",order:2,attrSchema:p0,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>O8))},B0={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"}]},m0=["xlink:href"],Re=se(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const e=n,t=A.computed(()=>e.color?{color:e.color}:void 0);return(i,u)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large"}]),"aria-hidden":"true",style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,m0)],6))}}),[["__scopeId","data-v-48e9cd32"]]),E0=["onClick"],Q0={key:1,class:"bold-style"},I0=se(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Gi(),u=(b,y,w)=>{try{t[b](i,y,w)}catch(S){console.error(S)}},I=A.computed(()=>{const b=/\{(\d+)\}/g,y=[];let w=0,S;for(;(S=b.exec(e.description))!==null;)S.index>w&&y.push({type:"text",value:e.description.slice(w,S.index)}),y.push({type:"value",index:Number(S[1])}),w=b.lastIndex;return w<e.description.length&&y.push({type:"text",value:e.description.slice(w)}),y}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,y)=>{const w=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(w,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(Re,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(S.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof S.index=="number"&&e.values&&e.values[S.index]&&typeof e.values[S.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:H=>u(e.values[S.index].onClick,e.values[S.index].text,e.values[S.index])},A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),9,E0)):(A.openBlock(),A.createElementBlock("span",Q0,A.toDisplayString(typeof S.index=="number"&&e.values&&e.values[S.index]?e.values[S.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-d591605b"]]),f0={title:"提示框",component:"Alert",icon:A.h(Ie,{name:"alert"}),type:"assist",order:2,attrSchema:B0,render:I0},w0={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Z8)),icon:A.h(Ie,{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"}]}},b0={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"}]}]},y0={title:"级联选择器",icon:A.h(Ie,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:b0,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>W8))},D0={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}]},v0={title:"JSON编辑",component:"JsonEdit",icon:A.h(Ie,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:D0,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tM))},k0={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"},...Na]},_0={title:"多选框组",icon:A.h(Ie,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>iM)),order:4,attrSchema:k0},M0={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"}]},x0={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(Ie,{name:"colorPicker"}),type:"basic",order:9,attrSchema:M0},S0={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"}]},N0={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:A.h(Ie,{name:"colorPicker"}),type:"high",order:2,attrSchema:S0},F0={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"}]},R0={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sM)),icon:A.h(Ie,{name:"custom"}),type:"high",order:99,attrSchema:F0},L0={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"}]}}]},G0={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>cM)),icon:A.h(Ie,{name:"datePicker"}),type:"basic",order:9,attrSchema:L0},P0={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"}]},H0={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>gM)),icon:A.h(Ie,{name:"divider"}),type:"assist",order:6,attrSchema:P0},K0={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"}]},T0={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>EM)),icon:A.h(Ie,{name:"esign"}),type:"basic",order:11,attrSchema:K0},U0={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"},...Na]},Y0={title:"单选框组",icon:A.h(Ie,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>IM)),order:3.5,attrSchema:U0},O0={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"}]},$0={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>vM)),icon:A.h(Ie,{name:"formList"}),type:"high",order:20,attrSchema:O0},z0={title:"栅格布局",type:"layout",icon:A.h(Ie,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),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"}]}}]}},J0={title:"行内布局",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>_M)),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"}]}},Z0={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"}]},W0={title:"计数器",icon:A.h(Ie,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>xM)),attrSchema:Z0},j0={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"}]},q0={key:0},X0={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Qt();return(i,u)=>{var o;const I=A.resolveComponent("el-input");return A.unref(t).read?(A.openBlock(),A.createElementBlock("span",q0,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":u[0]||(u[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(Ie,{name:"password"}),type:"basic",order:3,attrSchema:j0},V0={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"},...Na]},Ab={title:"下拉选择框",type:"basic",icon:A.h(Ie,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),order:3,attrSchema:V0},eb={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"}]},tb={title:"评分",component:"Rate",render:"ElRate",icon:A.h(Ie,{name:"rate"}),type:"basic",order:12,attrSchema:eb},nb={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"}}]},ib={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>RM)),icon:A.h(Ie,{name:"input"}),type:"high",order:1,attrSchema:nb},ob={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(Ie,{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}]}},rb={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}]}}]},ab={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>LM)),component:"Switch",icon:A.h(Ie,{name:"switch"}),type:"basic",order:8,attrSchema:rb},sb={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>GM)),icon:A.h(Ie,{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"}]}}]}},lb={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"}]},cb={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>HM)),icon:A.h(Ie,{name:"text"}),type:"assist",order:1,attrSchema:lb},gb={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>KM)),icon:A.h(Ie,{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"}]}},ub={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"}]}}]},db={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>YM)),icon:A.h(Ie,{name:"upload"}),type:"basic",order:10,attrSchema:ub},hb={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"}]},pb={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>JM)),icon:A.h(Ie,{name:"verifyCode"}),type:"high",order:18,attrSchema:hb},Cb={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ZM)),icon:A.h(Ie,{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"}]}},Bb={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),icon:A.h(Ie,{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"}]}},mb={title:"对象容器",icon:A.h(Ie,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>XM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},Eb={},Qb={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 Ib(n,e){return A.openBlock(),A.createElementBlock("svg",Qb,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const fb=se(Eb,[["render",Ib]]),wb={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"}}]},bb={key:0},yb={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=Qt(),i=A.useModel(n,"modelValue"),u=I=>{const o=I.map(b=>e.data.find(y=>y.key===b));t.updateSelectData(e.name,o)};return(I,o)=>{var y;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",bb,A.toDisplayString((y=i.value)==null?void 0:y.map(w=>{var S;return(S=I.data.find(N=>N.key===w))==null?void 0:S.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{data:I.data,onChange:u,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=w=>i.value=w)}),null,16,["data","modelValue"]))}}}),icon:fb,type:"basic",order:12,attrSchema:wb},Db={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"}]},vb=se(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},name:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),u=A.inject("pageMethodMap",{}),I=Qt();A.watch(e,w=>{w&&I.clearValidate(t.name)});const o=w=>{if(t.onInput&&i)try{i[t.onInput](u,w)}catch(S){console.error(S+`
|
|
85
85
|
onInput: ${t.onInput}`)}},b=()=>{if(t.onSearch&&i)try{i[t.onSearch](u)}catch(w){console.error(w+`
|
|
86
86
|
onSearch: ${t.onSearch}`)}},y=()=>{if(t.onClear&&i&&i[t.onClear])try{i[t.onClear](u)}catch(w){console.error(w+`
|
|
87
|
-
onClear: ${t.onClear}`)}else t.clearable&&(e.value="")};return(w,S)=>{const N=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return w.read?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:w.readTextColor})},A.toDisplayString(e.value||"--"),5)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},w.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=$=>e.value=$),onInput:o,disabled:w.disabled,clearable:!1,readonly:w.readonly,class:{readonlyBg:w.readonly}}),{append:A.withCtx(()=>[A.createVNode(N,{onClick:b,disabled:w.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]),suffix:A.withCtx(()=>[(w.onClear||w.clearable)&&e.value&&!w.disabled?(A.openBlock(),A.createBlock(A.unref(Ie),{key:0,name:"clear",onClick:y,class:"clear-icon"})):A.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled","readonly","class"]))}}}),[["__scopeId","data-v-
|
|
88
|
-
onClick: ${e.onClick}`)}u.value=!1}};return(o,b)=>{const y=A.resolveComponent("el-button");return o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,A.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange}],plain:!o.orange&&o.$attrs.type!=="primary",loading:u.value}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(Re,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-d106ecdc"]]),Nb={title:"按钮",component:"Button",icon:A.h(Ie,{name:"button"}),type:"assist",order:1,attrSchema:xb,render:Sb},Fb={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"}]},Rb={title:"树",component:"Tree",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nx)),icon:A.h(Ie,{name:"tree"}),type:"assist",order:7,attrSchema:Fb},Lb={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"}]},Gb={title:"表格",component:"Table",icon:A.h(Ie,{name:"library"}),type:"assist",order:8,attrSchema:Lb,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ux))},Pb={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Qx)),icon:A.h(Ie,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},Hb={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>wx)),icon:A.h(Ie,{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"}]}},Kb={class:"card-list-item"},Tb={class:"card-list-item-header"},Ub={class:"card-list-item-header-title"},Yb={style:{display:"ruby"}},Ob=["title"],$b=["title"],zb={key:0,class:"card-list-item-header-title__sub"},Jb={class:"sub-title-right"},Zb={class:"card-list-item-header-btns"},Wb=["onClick"],jb={class:"card-list-item-content"},qb=["title"],Xb=["onClick","title"],Vb={key:0,class:"card-list-item-content--more"},Ay=["title"],ey=["title"],ty={key:1,class:"card-list-item-footer"},ny={class:"card-list-item-footer-text"},Hd=se(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),u=b=>{if(b)try{t("clickBtn",b)}catch(y){console.error(y)}},I=A.ref(!1),o=b=>{b.isMore&&(I.value=!I.value)};return(b,y)=>{const w=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",Kb,[A.createElementVNode("div",Tb,[A.createElementVNode("div",Ub,[A.createElementVNode("div",Yb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,S=>(A.openBlock(),A.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:S.color}),title:S.value},A.toDisplayString(S.value),13,Ob))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:y[0]||(y[0]=S=>u(b.data.onClick))},A.toDisplayString(b.data.title),15,$b),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",zb,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",Jb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:S.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(S.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Zb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.condition===void 0||S.condition===null||A.unref(Rt)(S.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:H=>u(S.onClick)},[S.label?(A.openBlock(),A.createBlock(w,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[A.createVNode(Re,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,name:S.icon},null,8,["name"]))],8,Wb)):A.createCommentVNode("",!0)],64))),128))])]),A.createElementVNode("div",jb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,qb),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S),title:S.value},[A.createTextVNode(A.toDisplayString(S.value||"- -")+" ",1),S.isMore?(A.openBlock(),A.createBlock(Re,{key:0,class:A.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],10,Xb)]))),128))]),I.value?(A.openBlock(),A.createElementBlock("div",Vb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,Ay),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:S.value},A.toDisplayString(S.value||"- -"),9,ey)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",ty,[A.createVNode(Re,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",ny,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-f2b5dbc6"]]),iy={key:0,class:"empty-content"},ic=se(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),u=A.inject("pageMethodMap",{}),I=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=($,K,T)=>{try{I.value[$](u,K,T)}catch(D){console.error(D)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map($=>({condition:$.condition,icon:$.icon&&$.icon.name?$.icon.name:"icon-tishi",label:$.label,onClick:$.onClick})):[]),y=e.columns.find($=>$.position==="title"),w=e.columns.find($=>$.position==="subTitle"),S=e.columns.find($=>$.position==="footer"),N={key:"__childList"},H=A.computed(()=>{const $=e.columns.find(K=>K.type==="link");return e.data?e.data.map(K=>{const T={subTitleRight:[],content:[],tag:[],originalData:K};if(y&&$&&$.key===y.key&&(T.titleType="link",T.onClick=$.onClick),y&&(T.title=e.getColText(y,K),T.titleColor=K[y.key+"Color"]),w&&(T.subTitle=e.getColText(w,K),T.subTitleColor=K[w.key+"Color"]),S){const D=e.getColText(S,K);T.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${D||"- -"}`}}return e.columns.forEach(D=>{D.position==="content"?T.content.push({label:D.label,value:e.getColText(D,K)}):D.position==="moreContent"?(T.content.push({label:D.label,value:e.getColText(D,K),isMore:K[N.key]&&K[N.key].length>0}),T.childList=K[N.key]):D.position==="tag"?T.tag.push({label:D.label,value:e.getColText(D,K)}):D.position==="subTitleRight"&&T.subTitleRight.push({label:D.label,value:e.getColText(D,K),color:D.color})}),T}):[]});return($,K)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(H.value,(T,D)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:D},[A.createVNode(Hd,{data:T,btns:b.value,index:D,onClickBtn:Q=>o(Q,T.originalData,D)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!$.data||$.data.length===0?(A.openBlock(),A.createElementBlock("div",iy,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-ea625f99"]]),oy={title:"卡片列表",component:"CardList",render:ic,icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},ry={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Fx)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},ay={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Hx)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},sy={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>zx)),icon:A.h(Ie,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},ly={title:"可拖拽网格容器",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>M8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},cy=se(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let qi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},oc=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function gy(){return 2147483648}function uy(){return typeof performance<"u"?performance.now():Date.now()}const dy=(n,e)=>n+(e-n%e)%e;async function hy(n){let e,t;const i={};function u($){t=$,i.HEAPU8=new Uint8Array($),i.HEAPU32=new Uint32Array($)}function I($,K,T){i.HEAPU8.copyWithin($,K,K+T)}function o($){try{return e.grow($-t.byteLength+65535>>>16),u(e.buffer),1}catch{}}function b($){const K=i.HEAPU8.length;$=$>>>0;const T=gy();if($>T)return!1;for(let D=1;D<=4;D*=2){let Q=K*(1+.2/D);Q=Math.min(Q,$+100663296);const L=Math.min(T,dy(Math.max($,Q),65536));if(o(L))return!0}return!1}const y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w($,K,T=1024){const D=K+T;let Q=K;for(;$[Q]&&!(Q>=D);)++Q;if(Q-K>16&&$.buffer&&y)return y.decode($.subarray(K,Q));let L="";for(;K<Q;){let k=$[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const v=$[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|v);continue}const B=$[K++]&63;if((k&240)===224?k=(k&15)<<12|v<<6|B:k=(k&7)<<18|v<<12|B<<6|$[K++]&63,k<65536)L+=String.fromCharCode(k);else{const p=k-65536;L+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return L}function S($,K){return $?w(i.HEAPU8,$,K):""}const N={emscripten_get_now:uy,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function H(){const K=await n({env:N,wasi_snapshot_preview1:N});e=K.memory,u(e.buffer),Object.assign(i,K),i.UTF8ToString=S}return await H(),i}let Lt=null;function py(n){throw new oc(n.UTF8ToString(n.getLastOnigError()))}class Fa{constructor(e){Ct(this,"utf16Length");Ct(this,"utf8Length");Ct(this,"utf16Value");Ct(this,"utf8Value");Ct(this,"utf16OffsetToUtf8");Ct(this,"utf8OffsetToUtf16");const t=e.length,i=Fa._utf8ByteLength(e),u=i!==t,I=u?new Uint32Array(t+1):null;u&&(I[t]=i);const o=u?new Uint32Array(i+1):null;u&&(o[i]=t);const b=new Uint8Array(i);let y=0;for(let w=0;w<t;w++){const S=e.charCodeAt(w);let N=S,H=!1;if(S>=55296&&S<=56319&&w+1<t){const $=e.charCodeAt(w+1);$>=56320&&$<=57343&&(N=(S-55296<<10)+65536|$-56320,H=!0)}u&&(I[w]=y,H&&(I[w+1]=y),N<=127?o[y+0]=w:N<=2047?(o[y+0]=w,o[y+1]=w):N<=65535?(o[y+0]=w,o[y+1]=w,o[y+2]=w):(o[y+0]=w,o[y+1]=w,o[y+2]=w,o[y+3]=w)),N<=127?b[y++]=N:N<=2047?(b[y++]=192|(N&1984)>>>6,b[y++]=128|(N&63)>>>0):N<=65535?(b[y++]=224|(N&61440)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0):(b[y++]=240|(N&1835008)>>>18,b[y++]=128|(N&258048)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0),H&&w++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,u=e.length;i<u;i++){const I=e.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<u){const y=e.charCodeAt(i+1);y>=56320&&y<=57343&&(o=(I-55296<<10)+65536|y-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const cn=class cn{constructor(e){Ct(this,"id",++cn.LAST_ID);Ct(this,"_onigBinding");Ct(this,"content");Ct(this,"utf16Length");Ct(this,"utf8Length");Ct(this,"utf16OffsetToUtf8");Ct(this,"utf8OffsetToUtf16");Ct(this,"ptr");if(!Lt)throw new oc("Must invoke loadWasm first.");this._onigBinding=Lt,this.content=e;const t=new Fa(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!cn._sharedPtrInUse?(cn._sharedPtr||(cn._sharedPtr=Lt.omalloc(1e4)),cn._sharedPtrInUse=!0,Lt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Lt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===cn._sharedPtr?cn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ct(cn,"LAST_ID",0),Ct(cn,"_sharedPtr",0),Ct(cn,"_sharedPtrInUse",!1);let Ra=cn;class Cy{constructor(e){Ct(this,"_onigBinding");Ct(this,"_ptr");if(!Lt)throw new oc("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,y=e.length;b<y;b++){const w=new Fa(e[b]);t[b]=w.createString(Lt),i[b]=w.utf8Length}const u=Lt.omalloc(4*e.length);Lt.HEAPU32.set(t,u/4);const I=Lt.omalloc(4*e.length);Lt.HEAPU32.set(i,I/4);const o=Lt.createOnigScanner(u,I,e.length);for(let b=0,y=e.length;b<y;b++)Lt.ofree(t[b]);Lt.ofree(I),Lt.ofree(u),o===0&&py(Lt),this._onigBinding=Lt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let u=0;if(typeof i=="number"&&(u=i),typeof e=="string"){e=new Ra(e);const I=this._findNextMatchSync(e,t,!1,u);return e.dispose(),I}return this._findNextMatchSync(e,t,!1,u)}_findNextMatchSync(e,t,i,u){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),u);if(o===0)return null;const b=I.HEAPU32;let y=o/4;const w=b[y++],S=b[y++],N=[];for(let H=0;H<S;H++){const $=e.convertUtf8OffsetToUtf16(b[y++]),K=e.convertUtf8OffsetToUtf16(b[y++]);N[H]={start:$,end:K,length:K-$}}return{index:w,captureIndices:N}}}function By(n){return typeof n.instantiator=="function"}function my(n){return typeof n.default=="function"}function Ey(n){return typeof n.data<"u"}function Qy(n){return typeof Response<"u"&&n instanceof Response}function Iy(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let La;function fy(n){if(La)return La;async function e(){Lt=await hy(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),By(i)?i=await i.instantiator(t):my(i)?i=await i.default(t):(Ey(i)&&(i=i.data),Qy(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await wy(i)(t):i=await by(i)(t):Iy(i)?i=await rc(i)(t):i instanceof WebAssembly.Module?i=await rc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await rc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return La=e(),La}function rc(n){return e=>WebAssembly.instantiate(n,e)}function wy(n){return e=>WebAssembly.instantiateStreaming(n,e)}function by(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let yy;function Dy(){return yy}async function vy(n){return n&&await fy(n),{createScanner(e){return new Cy(e)},createString(e){return new Ra(e)}}}function ky(n){return ac(n)}function ac(n){return Array.isArray(n)?_y(n):typeof n=="object"?My(n):n}function _y(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=ac(n[t]);return e}function My(n){let e={};for(let t in n)e[t]=ac(n[t]);return e}function Kd(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Td(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Td(n.substring(0,n.length-1)):n.substr(~e+1)}var sc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ga=class{static hasCaptures(n){return n===null?!1:(sc.lastIndex=0,sc.test(n))}static replaceCaptures(n,e,t){return n.replace(sc,(i,u,I,o)=>{let b=t[parseInt(u||I,10)];if(b){let y=e.substring(b.start,b.end);for(;y[0]===".";)y=y.substring(1);switch(o){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}else return i})}};function Ud(n,e){return n<e?-1:n>e?1:0}function Yd(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let u=0;u<t;u++){let I=Ud(n[u],e[u]);if(I!==0)return I}return 0}return t-i}function Od(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 $d(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zd=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Pa=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new zd(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(Ny(n),e)}static createFromParsedTheme(n,e){return Ry(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(u=>xy(n.parent,u.parentScopes));return i?new Jd(i.fontStyle,i.foreground,i.background):null}},lc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function xy(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],u=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],u=!0}for(;n&&!Sy(n.scopeName,i);){if(u)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function Sy(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var Jd=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function Ny(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let u=0,I=e.length;u<I;u++){let o=e[u];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let y=-1;if(typeof o.settings.fontStyle=="string"){y=0;let N=o.settings.fontStyle.split(" ");for(let H=0,$=N.length;H<$;H++)switch(N[H]){case"italic":y=y|1;break;case"bold":y=y|2;break;case"underline":y=y|4;break;case"strikethrough":y=y|8;break}}let w=null;typeof o.settings.foreground=="string"&&Od(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Od(o.settings.background)&&(S=o.settings.background);for(let N=0,H=b.length;N<H;N++){let K=b[N].trim().split(" "),T=K[K.length-1],D=null;K.length>1&&(D=K.slice(0,K.length-1),D.reverse()),t[i++]=new Fy(T,D,u,y,w,S)}}return t}var Fy=class{constructor(n,e,t,i,u,I){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=u,this.background=I}},gi=(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))(gi||{});function Ry(n,e){n.sort((y,w)=>{let S=Ud(y.scope,w.scope);return S!==0||(S=Yd(y.parentScopes,w.parentScopes),S!==0)?S:y.index-w.index});let t=0,i="#000000",u="#ffffff";for(;n.length>=1&&n[0].scope==="";){let y=n.shift();y.fontStyle!==-1&&(t=y.fontStyle),y.foreground!==null&&(i=y.foreground),y.background!==null&&(u=y.background)}let I=new Ly(e),o=new Jd(t,I.getId(i),I.getId(u)),b=new Py(new cc(0,null,-1,0,0),[]);for(let y=0,w=n.length;y<w;y++){let S=n[y];b.insert(0,S.scope,S.parentScopes,S.fontStyle,I.getId(S.foreground),I.getId(S.background))}return new Pa(I,o,b)}var Ly=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},Gy=Object.freeze([]),cc=class Cm{constructor(e,t,i,u,I){this.scopeDepth=e,this.parentScopes=t||Gy,this.fontStyle=i,this.foreground=u,this.background=I}clone(){return new Cm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,u=e.length;i<u;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,u){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),u!==0&&(this.background=u)}},Py=class Qu{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,u=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[u]===">"&&u++,!(i>=e.parentScopes.length||u>=t.parentScopes.length);){const I=t.parentScopes[u].length-e.parentScopes[i].length;if(I!==0)return I;i++,u++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),u,I;if(i===-1?(u=e,I=""):(u=e.substring(0,i),I=e.substring(i+1)),this._children.hasOwnProperty(u))return this._children[u].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qu._cmpBySpecificity),t}insert(e,t,i,u,I,o){if(t===""){this._doInsertHere(e,i,u,I,o);return}let b=t.indexOf("."),y,w;b===-1?(y=t,w=""):(y=t.substring(0,b),w=t.substring(b+1));let S;this._children.hasOwnProperty(y)?S=this._children[y]:(S=new Qu(this._mainRule.clone(),cc.cloneArr(this._rulesWithParentScopes)),this._children[y]=S),S.insert(e+1,w,i,u,I,o)}_doInsertHere(e,t,i,u,I){if(t===null){this._mainRule.acceptOverwrite(e,i,u,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let y=this._rulesWithParentScopes[o];if(Yd(y.parentScopes,t)===0){y.acceptOverwrite(e,i,u,I);return}}i===-1&&(i=this._mainRule.fontStyle),u===0&&(u=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new cc(e,t,i,u,I))}},No=class Un{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=Un.getLanguageId(e),i=Un.getTokenType(e),u=Un.getFontStyle(e),I=Un.getForeground(e),o=Un.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:u,foreground:I,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,u,I,o,b){let y=Un.getLanguageId(e),w=Un.getTokenType(e),S=Un.containsBalancedBrackets(e)?1:0,N=Un.getFontStyle(e),H=Un.getForeground(e),$=Un.getBackground(e);return t!==0&&(y=t),i!==8&&(w=i),u!==null&&(S=u?1:0),I!==-1&&(N=I),o!==0&&(H=o),b!==0&&($=b),(y<<0|w<<8|S<<10|N<<11|H<<15|$<<24)>>>0}};function _3(n){return n}function M3(n){return n}function Ha(n,e){const t=[],i=Hy(n);let u=i.next();for(;u!==null;){let y=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=i.next()}let w=o();if(t.push({matcher:w,priority:y}),u!==",")break;u=i.next()}return t;function I(){if(u==="-"){u=i.next();const y=I();return w=>!!y&&!y(w)}if(u==="("){u=i.next();const y=b();return u===")"&&(u=i.next()),y}if(Zd(u)){const y=[];do y.push(u),u=i.next();while(Zd(u));return w=>e(y,w)}return null}function o(){const y=[];let w=I();for(;w;)y.push(w),w=I();return S=>y.every(N=>N(S))}function b(){const y=[];let w=o();for(;w&&(y.push(w),u==="|"||u===",");){do u=i.next();while(u==="|"||u===",");w=o()}return S=>y.some(N=>N(S))}}function Zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function Hy(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Wd(n){typeof n.dispose=="function"&&n.dispose()}var Br=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},Ky=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Ty=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},Uy=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Br(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new Ty;for(const t of n)Yy(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof Br){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 Yy(n,e,t,i){const u=t.lookup(n.scopeName);if(!u){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const I=t.lookup(e);n instanceof Br?Ka({baseGrammar:I,selfGrammar:u},i):gc(n.ruleName,{baseGrammar:I,selfGrammar:u,repository:u.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new Br(b))}function gc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ta([i],e,t)}}function Ka(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ta(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ta(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ta(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const u=i.repository?Kd({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ta(i.patterns,{...e,repository:u},t);const I=i.include;if(!I)continue;const o=jd(I);switch(o.kind){case 0:Ka({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ka(e,t);break;case 2:gc(o.ruleName,{...e,repository:u},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const y={baseGrammar:e.baseGrammar,selfGrammar:b,repository:u};o.kind===4?gc(o.ruleName,y,t):Ka(y,t)}else o.kind===4?t.add(new Ky(o.scopeName,o.ruleName)):t.add(new Br(o.scopeName));break}}}var Oy=class{constructor(){this.kind=0}},$y=class{constructor(){this.kind=1}},zy=class{constructor(n){this.ruleName=n,this.kind=2}},Jy=class{constructor(n){this.scopeName=n,this.kind=3}},Zy=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function jd(n){if(n==="$base")return new Oy;if(n==="$self")return new $y;const e=n.indexOf("#");if(e===-1)return new Jy(n);if(e===0)return new zy(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new Zy(t,i)}}var Wy=/\\(\d+)/,qd=/\\(\d+)/g,jy=-1,Xd=-2;function x3(n){return n}function S3(n){return n}var mr=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Ga.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ga.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Td(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Ga.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ga.replaceCaptures(this._contentName,n,e)}},qy=class extends mr{constructor(n,e,t,i,u){super(n,e,t,i),this.retokenizeCapturedWithRuleId=u}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},Xy=class extends mr{constructor(n,e,t,i,u){super(n,e,t,null),this._match=new Er(i,this.id),this.captures=u,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vd=class extends mr{constructor(n,e,t,i,u){super(n,e,t,i),this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},uc=class extends mr{constructor(n,e,t,i,u,I,o,b,y,w){super(n,e,t,i),this._begin=new Er(u,this.id),this.beginCaptures=I,this._end=new Er(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=y||!1,this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qr;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ua=class extends mr{constructor(n,e,t,i,u,I,o,b,y){super(n,e,t,i),this._begin=new Er(u,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Er(o,Xd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=y.patterns,this.hasMissingPatterns=y.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Qr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Ah=class Jt{static createCaptureRule(e,t,i,u,I){return e.registerRule(o=>new qy(t,o,i,u,I))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(u=>{if(e.id=u,e.match)return new Xy(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Kd({},i,e.repository));let I=e.patterns;return typeof I>"u"&&e.include&&(I=[{include:e.include}]),new Vd(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(I,t,i))}return e.while?new Ua(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new uc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let u=[];if(e){let I=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)u[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let y=0;e[o].patterns&&(y=Jt.getCompiledRuleId(e[o],t,i)),u[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,y)}}return u}static _compilePatterns(e,t,i){let u=[];if(e)for(let I=0,o=e.length;I<o;I++){const b=e[I];let y=-1;if(b.include){const w=jd(b.include);switch(w.kind){case 0:case 1:y=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(y=Jt.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=w.scopeName,H=w.kind===4?w.ruleName:null,$=t.getExternalGrammar(N,i);if($)if(H){let K=$.repository[H];K&&(y=Jt.getCompiledRuleId(K,t,$.repository))}else y=Jt.getCompiledRuleId($.repository.$self,t,$.repository);break}}else y=Jt.getCompiledRuleId(b,t,i);if(y!==-1){const w=t.getRule(y);let S=!1;if((w instanceof Vd||w instanceof uc||w instanceof Ua)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;u.push(y)}}return{patterns:u,hasMissingPatterns:(e?e.length:0)!==u.length}}},Er=class Bm{constructor(e,t){if(e){const i=e.length;let u=0,I=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const w=e.charAt(b+1);w==="z"?(I.push(e.substring(u,b)),I.push("$(?!\\n)(?<!\\n)"),u=b+2):(w==="A"||w==="G")&&(o=!0),b++}this.hasAnchor=o,u===0?this.source=e:(I.push(e.substring(u,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Wy.test(this.source)}clone(){return new Bm(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(u=>e.substring(u.start,u.end));return qd.lastIndex=0,this.source.replace(qd,(u,I)=>$d(i[parseInt(I,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],u=[],I,o,b,y;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),e[I]=b,t[I]=b,i[I]=b,u[I]=b,b==="\\"&&I+1<o&&(y=this.source.charAt(I+1),y==="A"?(e[I+1]="",t[I+1]="",i[I+1]="A",u[I+1]="A"):y==="G"?(e[I+1]="",t[I+1]="G",i[I+1]="",u[I+1]="G"):(e[I+1]=y,t[I+1]=y,i[I+1]=y,u[I+1]=y),I++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:u.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Qr=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new eh(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(u=>u.resolveAnchors(e,t));return new eh(n,i,this._items.map(u=>u.ruleId))}},eh=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
87
|
+
onClear: ${t.onClear}`)}else t.clearable&&(e.value="")};return(w,S)=>{const N=A.resolveComponent("el-button"),H=A.resolveComponent("el-input");return w.read?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:w.readTextColor})},A.toDisplayString(e.value||"--"),5)):(A.openBlock(),A.createBlock(H,A.mergeProps({key:1},w.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=$=>e.value=$),onInput:o,disabled:w.disabled,clearable:!1,readonly:w.readonly,class:{readonlyBg:w.readonly}}),{append:A.withCtx(()=>[A.createVNode(N,{onClick:b,disabled:w.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]),suffix:A.withCtx(()=>[(w.onClear||w.clearable)&&e.value&&!w.disabled?(A.openBlock(),A.createBlock(A.unref(Ie),{key:0,name:"clear",onClick:y,class:"clear-icon"})):A.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled","readonly","class"]))}}}),[["__scopeId","data-v-ce31a252"]]),kb={title:"搜索输入",component:"SearchInput",icon:A.h(Ie,{name:"search"}),type:"high",order:5,attrSchema:Db,render:vb},_b={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"},...Na]},Mb={title:"选择+搜索",type:"high",icon:A.h(Ie,{name:"searchSelect"}),component:"SearchSelect",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nx)),order:3,attrSchema:_b},xb={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"}]},Sb=se(A.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{},suffixIcon:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),u=A.ref(!1),I=async()=>{if(e.onClick&&t){try{u.value=!0,await t[e.onClick](i)}catch(o){console.error(o+`
|
|
88
|
+
onClick: ${e.onClick}`)}u.value=!1}};return(o,b)=>{const y=A.resolveComponent("el-button");return o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,A.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange}],plain:!o.orange&&o.$attrs.type!=="primary",loading:u.value}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(Re,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-d8e13776"]]),Nb={title:"按钮",component:"Button",icon:A.h(Ie,{name:"button"}),type:"assist",order:1,attrSchema:xb,render:Sb},Fb={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"}]},Rb={title:"树",component:"Tree",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(Ie,{name:"tree"}),type:"assist",order:7,attrSchema:Fb},Lb={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"}]},Gb={title:"表格",component:"Table",icon:A.h(Ie,{name:"library"}),type:"assist",order:8,attrSchema:Lb,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Bx))},Pb={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>yx)),icon:A.h(Ie,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},Hb={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kx)),icon:A.h(Ie,{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"}]}},Kb={class:"card-list-item"},Tb={class:"card-list-item-header"},Ub={class:"card-list-item-header-title"},Yb={style:{display:"ruby"}},Ob=["title"],$b=["title"],zb={key:0,class:"card-list-item-header-title__sub"},Jb={class:"sub-title-right"},Zb={class:"card-list-item-header-btns"},Wb=["onClick"],jb={class:"card-list-item-content"},qb=["title"],Xb=["onClick","title"],Vb={key:0,class:"card-list-item-content--more"},Ay=["title"],ey=["title"],ty={key:1,class:"card-list-item-footer"},ny={class:"card-list-item-footer-text"},Hd=se(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),u=b=>{if(b)try{t("clickBtn",b)}catch(y){console.error(y)}},I=A.ref(!1),o=b=>{b.isMore&&(I.value=!I.value)};return(b,y)=>{const w=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",Kb,[A.createElementVNode("div",Tb,[A.createElementVNode("div",Ub,[A.createElementVNode("div",Yb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,S=>(A.openBlock(),A.createElementBlock("div",{key:S.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:S.color}),title:S.value},A.toDisplayString(S.value),13,Ob))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:y[0]||(y[0]=S=>u(b.data.onClick))},A.toDisplayString(b.data.title),15,$b),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",zb,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",Jb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:S.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(S.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Zb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(S,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[S.condition===void 0||S.condition===null||A.unref(Rt)(S.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:H=>u(S.onClick)},[S.label?(A.openBlock(),A.createBlock(w,{key:0,class:"box-item",effect:"dark",content:S.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[A.createVNode(Re,{name:S.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,name:S.icon},null,8,["name"]))],8,Wb)):A.createCommentVNode("",!0)],64))),128))])]),A.createElementVNode("div",jb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,qb),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":S.isMore}]),onClick:N=>o(S),title:S.value},[A.createTextVNode(A.toDisplayString(S.value||"- -")+" ",1),S.isMore?(A.openBlock(),A.createBlock(Re,{key:0,class:A.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],10,Xb)]))),128))]),I.value?(A.openBlock(),A.createElementBlock("div",Vb,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,S=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:S.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:S.label},A.toDisplayString(S.label)+":",9,Ay),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:S.value},A.toDisplayString(S.value||"- -"),9,ey)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",ty,[A.createVNode(Re,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",ny,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-89619b5c"]]),iy={key:0,class:"empty-content"},ic=se(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),u=A.inject("pageMethodMap",{}),I=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=($,K,T)=>{try{I.value[$](u,K,T)}catch(D){console.error(D)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map($=>({condition:$.condition,icon:$.icon&&$.icon.name?$.icon.name:"icon-tishi",label:$.label,onClick:$.onClick})):[]),y=e.columns.find($=>$.position==="title"),w=e.columns.find($=>$.position==="subTitle"),S=e.columns.find($=>$.position==="footer"),N={key:"__childList"},H=A.computed(()=>{const $=e.columns.find(K=>K.type==="link");return e.data?e.data.map(K=>{const T={subTitleRight:[],content:[],tag:[],originalData:K};if(y&&$&&$.key===y.key&&(T.titleType="link",T.onClick=$.onClick),y&&(T.title=e.getColText(y,K),T.titleColor=K[y.key+"Color"]),w&&(T.subTitle=e.getColText(w,K),T.subTitleColor=K[w.key+"Color"]),S){const D=e.getColText(S,K);T.footer={icon:S.footerIcon||"icon-tishi",text:`${S.label}: ${D||"- -"}`}}return e.columns.forEach(D=>{D.position==="content"?T.content.push({label:D.label,value:e.getColText(D,K)}):D.position==="moreContent"?(T.content.push({label:D.label,value:e.getColText(D,K),isMore:K[N.key]&&K[N.key].length>0}),T.childList=K[N.key]):D.position==="tag"?T.tag.push({label:D.label,value:e.getColText(D,K)}):D.position==="subTitleRight"&&T.subTitleRight.push({label:D.label,value:e.getColText(D,K),color:D.color})}),T}):[]});return($,K)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(H.value,(T,D)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:D},[A.createVNode(Hd,{data:T,btns:b.value,index:D,onClickBtn:Q=>o(Q,T.originalData,D)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!$.data||$.data.length===0?(A.openBlock(),A.createElementBlock("div",iy,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-2c41c5cc"]]),oy={title:"卡片列表",component:"CardList",render:ic,icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},ry={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Hx)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},ay={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ox)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},sy={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>qx)),icon:A.h(Ie,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},ly={title:"可拖拽网格容器",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>x8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},cy=se(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let qi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},oc=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function gy(){return 2147483648}function uy(){return typeof performance<"u"?performance.now():Date.now()}const dy=(n,e)=>n+(e-n%e)%e;async function hy(n){let e,t;const i={};function u($){t=$,i.HEAPU8=new Uint8Array($),i.HEAPU32=new Uint32Array($)}function I($,K,T){i.HEAPU8.copyWithin($,K,K+T)}function o($){try{return e.grow($-t.byteLength+65535>>>16),u(e.buffer),1}catch{}}function b($){const K=i.HEAPU8.length;$=$>>>0;const T=gy();if($>T)return!1;for(let D=1;D<=4;D*=2){let Q=K*(1+.2/D);Q=Math.min(Q,$+100663296);const L=Math.min(T,dy(Math.max($,Q),65536));if(o(L))return!0}return!1}const y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function w($,K,T=1024){const D=K+T;let Q=K;for(;$[Q]&&!(Q>=D);)++Q;if(Q-K>16&&$.buffer&&y)return y.decode($.subarray(K,Q));let L="";for(;K<Q;){let k=$[K++];if(!(k&128)){L+=String.fromCharCode(k);continue}const v=$[K++]&63;if((k&224)===192){L+=String.fromCharCode((k&31)<<6|v);continue}const B=$[K++]&63;if((k&240)===224?k=(k&15)<<12|v<<6|B:k=(k&7)<<18|v<<12|B<<6|$[K++]&63,k<65536)L+=String.fromCharCode(k);else{const p=k-65536;L+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return L}function S($,K){return $?w(i.HEAPU8,$,K):""}const N={emscripten_get_now:uy,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function H(){const K=await n({env:N,wasi_snapshot_preview1:N});e=K.memory,u(e.buffer),Object.assign(i,K),i.UTF8ToString=S}return await H(),i}let Lt=null;function py(n){throw new oc(n.UTF8ToString(n.getLastOnigError()))}class Fa{constructor(e){Ct(this,"utf16Length");Ct(this,"utf8Length");Ct(this,"utf16Value");Ct(this,"utf8Value");Ct(this,"utf16OffsetToUtf8");Ct(this,"utf8OffsetToUtf16");const t=e.length,i=Fa._utf8ByteLength(e),u=i!==t,I=u?new Uint32Array(t+1):null;u&&(I[t]=i);const o=u?new Uint32Array(i+1):null;u&&(o[i]=t);const b=new Uint8Array(i);let y=0;for(let w=0;w<t;w++){const S=e.charCodeAt(w);let N=S,H=!1;if(S>=55296&&S<=56319&&w+1<t){const $=e.charCodeAt(w+1);$>=56320&&$<=57343&&(N=(S-55296<<10)+65536|$-56320,H=!0)}u&&(I[w]=y,H&&(I[w+1]=y),N<=127?o[y+0]=w:N<=2047?(o[y+0]=w,o[y+1]=w):N<=65535?(o[y+0]=w,o[y+1]=w,o[y+2]=w):(o[y+0]=w,o[y+1]=w,o[y+2]=w,o[y+3]=w)),N<=127?b[y++]=N:N<=2047?(b[y++]=192|(N&1984)>>>6,b[y++]=128|(N&63)>>>0):N<=65535?(b[y++]=224|(N&61440)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0):(b[y++]=240|(N&1835008)>>>18,b[y++]=128|(N&258048)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0),H&&w++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,u=e.length;i<u;i++){const I=e.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<u){const y=e.charCodeAt(i+1);y>=56320&&y<=57343&&(o=(I-55296<<10)+65536|y-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const cn=class cn{constructor(e){Ct(this,"id",++cn.LAST_ID);Ct(this,"_onigBinding");Ct(this,"content");Ct(this,"utf16Length");Ct(this,"utf8Length");Ct(this,"utf16OffsetToUtf8");Ct(this,"utf8OffsetToUtf16");Ct(this,"ptr");if(!Lt)throw new oc("Must invoke loadWasm first.");this._onigBinding=Lt,this.content=e;const t=new Fa(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!cn._sharedPtrInUse?(cn._sharedPtr||(cn._sharedPtr=Lt.omalloc(1e4)),cn._sharedPtrInUse=!0,Lt.HEAPU8.set(t.utf8Value,cn._sharedPtr),this.ptr=cn._sharedPtr):this.ptr=t.createString(Lt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===cn._sharedPtr?cn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ct(cn,"LAST_ID",0),Ct(cn,"_sharedPtr",0),Ct(cn,"_sharedPtrInUse",!1);let Ra=cn;class Cy{constructor(e){Ct(this,"_onigBinding");Ct(this,"_ptr");if(!Lt)throw new oc("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,y=e.length;b<y;b++){const w=new Fa(e[b]);t[b]=w.createString(Lt),i[b]=w.utf8Length}const u=Lt.omalloc(4*e.length);Lt.HEAPU32.set(t,u/4);const I=Lt.omalloc(4*e.length);Lt.HEAPU32.set(i,I/4);const o=Lt.createOnigScanner(u,I,e.length);for(let b=0,y=e.length;b<y;b++)Lt.ofree(t[b]);Lt.ofree(I),Lt.ofree(u),o===0&&py(Lt),this._onigBinding=Lt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let u=0;if(typeof i=="number"&&(u=i),typeof e=="string"){e=new Ra(e);const I=this._findNextMatchSync(e,t,!1,u);return e.dispose(),I}return this._findNextMatchSync(e,t,!1,u)}_findNextMatchSync(e,t,i,u){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),u);if(o===0)return null;const b=I.HEAPU32;let y=o/4;const w=b[y++],S=b[y++],N=[];for(let H=0;H<S;H++){const $=e.convertUtf8OffsetToUtf16(b[y++]),K=e.convertUtf8OffsetToUtf16(b[y++]);N[H]={start:$,end:K,length:K-$}}return{index:w,captureIndices:N}}}function By(n){return typeof n.instantiator=="function"}function my(n){return typeof n.default=="function"}function Ey(n){return typeof n.data<"u"}function Qy(n){return typeof Response<"u"&&n instanceof Response}function Iy(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let La;function fy(n){if(La)return La;async function e(){Lt=await hy(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),By(i)?i=await i.instantiator(t):my(i)?i=await i.default(t):(Ey(i)&&(i=i.data),Qy(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await wy(i)(t):i=await by(i)(t):Iy(i)?i=await rc(i)(t):i instanceof WebAssembly.Module?i=await rc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await rc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return La=e(),La}function rc(n){return e=>WebAssembly.instantiate(n,e)}function wy(n){return e=>WebAssembly.instantiateStreaming(n,e)}function by(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let yy;function Dy(){return yy}async function vy(n){return n&&await fy(n),{createScanner(e){return new Cy(e)},createString(e){return new Ra(e)}}}function ky(n){return ac(n)}function ac(n){return Array.isArray(n)?_y(n):typeof n=="object"?My(n):n}function _y(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=ac(n[t]);return e}function My(n){let e={};for(let t in n)e[t]=ac(n[t]);return e}function Kd(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Td(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Td(n.substring(0,n.length-1)):n.substr(~e+1)}var sc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ga=class{static hasCaptures(n){return n===null?!1:(sc.lastIndex=0,sc.test(n))}static replaceCaptures(n,e,t){return n.replace(sc,(i,u,I,o)=>{let b=t[parseInt(u||I,10)];if(b){let y=e.substring(b.start,b.end);for(;y[0]===".";)y=y.substring(1);switch(o){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}else return i})}};function Ud(n,e){return n<e?-1:n>e?1:0}function Yd(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let u=0;u<t;u++){let I=Ud(n[u],e[u]);if(I!==0)return I}return 0}return t-i}function Od(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 $d(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zd=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Pa=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new zd(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(Ny(n),e)}static createFromParsedTheme(n,e){return Ry(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(u=>xy(n.parent,u.parentScopes));return i?new Jd(i.fontStyle,i.foreground,i.background):null}},lc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function xy(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],u=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],u=!0}for(;n&&!Sy(n.scopeName,i);){if(u)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function Sy(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var Jd=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function Ny(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let u=0,I=e.length;u<I;u++){let o=e[u];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let y=-1;if(typeof o.settings.fontStyle=="string"){y=0;let N=o.settings.fontStyle.split(" ");for(let H=0,$=N.length;H<$;H++)switch(N[H]){case"italic":y=y|1;break;case"bold":y=y|2;break;case"underline":y=y|4;break;case"strikethrough":y=y|8;break}}let w=null;typeof o.settings.foreground=="string"&&Od(o.settings.foreground)&&(w=o.settings.foreground);let S=null;typeof o.settings.background=="string"&&Od(o.settings.background)&&(S=o.settings.background);for(let N=0,H=b.length;N<H;N++){let K=b[N].trim().split(" "),T=K[K.length-1],D=null;K.length>1&&(D=K.slice(0,K.length-1),D.reverse()),t[i++]=new Fy(T,D,u,y,w,S)}}return t}var Fy=class{constructor(n,e,t,i,u,I){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=u,this.background=I}},gi=(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))(gi||{});function Ry(n,e){n.sort((y,w)=>{let S=Ud(y.scope,w.scope);return S!==0||(S=Yd(y.parentScopes,w.parentScopes),S!==0)?S:y.index-w.index});let t=0,i="#000000",u="#ffffff";for(;n.length>=1&&n[0].scope==="";){let y=n.shift();y.fontStyle!==-1&&(t=y.fontStyle),y.foreground!==null&&(i=y.foreground),y.background!==null&&(u=y.background)}let I=new Ly(e),o=new Jd(t,I.getId(i),I.getId(u)),b=new Py(new cc(0,null,-1,0,0),[]);for(let y=0,w=n.length;y<w;y++){let S=n[y];b.insert(0,S.scope,S.parentScopes,S.fontStyle,I.getId(S.foreground),I.getId(S.background))}return new Pa(I,o,b)}var Ly=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},Gy=Object.freeze([]),cc=class Cm{constructor(e,t,i,u,I){this.scopeDepth=e,this.parentScopes=t||Gy,this.fontStyle=i,this.foreground=u,this.background=I}clone(){return new Cm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,u=e.length;i<u;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,u){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),u!==0&&(this.background=u)}},Py=class Qu{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,u=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[u]===">"&&u++,!(i>=e.parentScopes.length||u>=t.parentScopes.length);){const I=t.parentScopes[u].length-e.parentScopes[i].length;if(I!==0)return I;i++,u++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),u,I;if(i===-1?(u=e,I=""):(u=e.substring(0,i),I=e.substring(i+1)),this._children.hasOwnProperty(u))return this._children[u].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qu._cmpBySpecificity),t}insert(e,t,i,u,I,o){if(t===""){this._doInsertHere(e,i,u,I,o);return}let b=t.indexOf("."),y,w;b===-1?(y=t,w=""):(y=t.substring(0,b),w=t.substring(b+1));let S;this._children.hasOwnProperty(y)?S=this._children[y]:(S=new Qu(this._mainRule.clone(),cc.cloneArr(this._rulesWithParentScopes)),this._children[y]=S),S.insert(e+1,w,i,u,I,o)}_doInsertHere(e,t,i,u,I){if(t===null){this._mainRule.acceptOverwrite(e,i,u,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let y=this._rulesWithParentScopes[o];if(Yd(y.parentScopes,t)===0){y.acceptOverwrite(e,i,u,I);return}}i===-1&&(i=this._mainRule.fontStyle),u===0&&(u=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new cc(e,t,i,u,I))}},No=class Un{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=Un.getLanguageId(e),i=Un.getTokenType(e),u=Un.getFontStyle(e),I=Un.getForeground(e),o=Un.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:u,foreground:I,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,u,I,o,b){let y=Un.getLanguageId(e),w=Un.getTokenType(e),S=Un.containsBalancedBrackets(e)?1:0,N=Un.getFontStyle(e),H=Un.getForeground(e),$=Un.getBackground(e);return t!==0&&(y=t),i!==8&&(w=i),u!==null&&(S=u?1:0),I!==-1&&(N=I),o!==0&&(H=o),b!==0&&($=b),(y<<0|w<<8|S<<10|N<<11|H<<15|$<<24)>>>0}};function F3(n){return n}function R3(n){return n}function Ha(n,e){const t=[],i=Hy(n);let u=i.next();for(;u!==null;){let y=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=i.next()}let w=o();if(t.push({matcher:w,priority:y}),u!==",")break;u=i.next()}return t;function I(){if(u==="-"){u=i.next();const y=I();return w=>!!y&&!y(w)}if(u==="("){u=i.next();const y=b();return u===")"&&(u=i.next()),y}if(Zd(u)){const y=[];do y.push(u),u=i.next();while(Zd(u));return w=>e(y,w)}return null}function o(){const y=[];let w=I();for(;w;)y.push(w),w=I();return S=>y.every(N=>N(S))}function b(){const y=[];let w=o();for(;w&&(y.push(w),u==="|"||u===",");){do u=i.next();while(u==="|"||u===",");w=o()}return S=>y.some(N=>N(S))}}function Zd(n){return!!n&&!!n.match(/[\w\.:]+/)}function Hy(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Wd(n){typeof n.dispose=="function"&&n.dispose()}var Br=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},Ky=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Ty=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},Uy=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Br(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new Ty;for(const t of n)Yy(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof Br){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 Yy(n,e,t,i){const u=t.lookup(n.scopeName);if(!u){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const I=t.lookup(e);n instanceof Br?Ka({baseGrammar:I,selfGrammar:u},i):gc(n.ruleName,{baseGrammar:I,selfGrammar:u,repository:u.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new Br(b))}function gc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ta([i],e,t)}}function Ka(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ta(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ta(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ta(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const u=i.repository?Kd({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ta(i.patterns,{...e,repository:u},t);const I=i.include;if(!I)continue;const o=jd(I);switch(o.kind){case 0:Ka({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ka(e,t);break;case 2:gc(o.ruleName,{...e,repository:u},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const y={baseGrammar:e.baseGrammar,selfGrammar:b,repository:u};o.kind===4?gc(o.ruleName,y,t):Ka(y,t)}else o.kind===4?t.add(new Ky(o.scopeName,o.ruleName)):t.add(new Br(o.scopeName));break}}}var Oy=class{constructor(){this.kind=0}},$y=class{constructor(){this.kind=1}},zy=class{constructor(n){this.ruleName=n,this.kind=2}},Jy=class{constructor(n){this.scopeName=n,this.kind=3}},Zy=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function jd(n){if(n==="$base")return new Oy;if(n==="$self")return new $y;const e=n.indexOf("#");if(e===-1)return new Jy(n);if(e===0)return new zy(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new Zy(t,i)}}var Wy=/\\(\d+)/,qd=/\\(\d+)/g,jy=-1,Xd=-2;function L3(n){return n}function G3(n){return n}var mr=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Ga.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Ga.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Td(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Ga.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ga.replaceCaptures(this._contentName,n,e)}},qy=class extends mr{constructor(n,e,t,i,u){super(n,e,t,i),this.retokenizeCapturedWithRuleId=u}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},Xy=class extends mr{constructor(n,e,t,i,u){super(n,e,t,null),this._match=new Er(i,this.id),this.captures=u,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vd=class extends mr{constructor(n,e,t,i,u){super(n,e,t,i),this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Qr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},uc=class extends mr{constructor(n,e,t,i,u,I,o,b,y,w){super(n,e,t,i),this._begin=new Er(u,this.id),this.beginCaptures=I,this._end=new Er(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=y||!1,this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qr;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ua=class extends mr{constructor(n,e,t,i,u,I,o,b,y){super(n,e,t,i),this._begin=new Er(u,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Er(o,Xd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=y.patterns,this.hasMissingPatterns=y.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Qr;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Qr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Ah=class Jt{static createCaptureRule(e,t,i,u,I){return e.registerRule(o=>new qy(t,o,i,u,I))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(u=>{if(e.id=u,e.match)return new Xy(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Kd({},i,e.repository));let I=e.patterns;return typeof I>"u"&&e.include&&(I=[{include:e.include}]),new Vd(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(I,t,i))}return e.while?new Ua(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new uc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let u=[];if(e){let I=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)u[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let y=0;e[o].patterns&&(y=Jt.getCompiledRuleId(e[o],t,i)),u[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,y)}}return u}static _compilePatterns(e,t,i){let u=[];if(e)for(let I=0,o=e.length;I<o;I++){const b=e[I];let y=-1;if(b.include){const w=jd(b.include);switch(w.kind){case 0:case 1:y=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let S=i[w.ruleName];S&&(y=Jt.getCompiledRuleId(S,t,i));break;case 3:case 4:const N=w.scopeName,H=w.kind===4?w.ruleName:null,$=t.getExternalGrammar(N,i);if($)if(H){let K=$.repository[H];K&&(y=Jt.getCompiledRuleId(K,t,$.repository))}else y=Jt.getCompiledRuleId($.repository.$self,t,$.repository);break}}else y=Jt.getCompiledRuleId(b,t,i);if(y!==-1){const w=t.getRule(y);let S=!1;if((w instanceof Vd||w instanceof uc||w instanceof Ua)&&w.hasMissingPatterns&&w.patterns.length===0&&(S=!0),S)continue;u.push(y)}}return{patterns:u,hasMissingPatterns:(e?e.length:0)!==u.length}}},Er=class Bm{constructor(e,t){if(e){const i=e.length;let u=0,I=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const w=e.charAt(b+1);w==="z"?(I.push(e.substring(u,b)),I.push("$(?!\\n)(?<!\\n)"),u=b+2):(w==="A"||w==="G")&&(o=!0),b++}this.hasAnchor=o,u===0?this.source=e:(I.push(e.substring(u,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=Wy.test(this.source)}clone(){return new Bm(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(u=>e.substring(u.start,u.end));return qd.lastIndex=0,this.source.replace(qd,(u,I)=>$d(i[parseInt(I,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],u=[],I,o,b,y;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),e[I]=b,t[I]=b,i[I]=b,u[I]=b,b==="\\"&&I+1<o&&(y=this.source.charAt(I+1),y==="A"?(e[I+1]="",t[I+1]="",i[I+1]="A",u[I+1]="A"):y==="G"?(e[I+1]="",t[I+1]="G",i[I+1]="",u[I+1]="G"):(e[I+1]=y,t[I+1]=y,i[I+1]=y,u[I+1]=y),I++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:u.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Qr=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new eh(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(u=>u.resolveAnchors(e,t));return new eh(n,i,this._items.map(u=>u.ruleId))}},eh=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
|
|
89
89
|
`)}findNextMatchSync(n,e,t){const i=this.scanner.findNextMatchSync(n,e,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},dc=class{constructor(n,e){this.languageId=n,this.tokenType=e}},hc=class Iu{constructor(e,t){this._getBasicScopeAttributes=new zd(i=>{const u=this._scopeToLanguage(i),I=this._toStandardTokenType(i);return new dc(u,I)}),this._defaultAttributes=new dc(e,8),this._embeddedLanguagesMatcher=new AD(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?Iu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(Iu.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!")}};hc._NULL_SCOPE_METADATA=new dc(0,0),hc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var Vy=hc,AD=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,i])=>$d(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var th=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function nh(n,e,t,i,u,I,o,b){const y=e.content.length;let w=!1,S=-1;if(o){const $=eD(n,e,t,i,u,I);u=$.stack,i=$.linePos,t=$.isFirstLine,S=$.anchorPosition}const N=Date.now();for(;!w;){if(b!==0&&Date.now()-N>b)return new th(u,!0);H()}return new th(u,!1);function H(){const $=tD(n,e,t,i,u,S);if(!$){I.produce(u,y),w=!0;return}const K=$.captureIndices,T=$.matchedRuleId,D=K&&K.length>0?K[0].end>i:!1;if(T===jy){const Q=u.getRule(n);I.produce(u,K[0].start),u=u.withContentNameScopesList(u.nameScopesList),Ir(n,e,t,u,I,Q.endCaptures,K),I.produce(u,K[0].end);const L=u;if(u=u.parent,S=L.getAnchorPos(),!D&&L.getEnterPos()===i){u=L,I.produce(u,y),w=!0;return}}else{const Q=n.getRule(T);I.produce(u,K[0].start);const L=u,k=Q.getName(e.content,K),v=u.contentNameScopesList.pushAttributed(k,n);if(u=u.push(T,i,S,K[0].end===y,null,v,v),Q instanceof uc){const B=Q;Ir(n,e,t,u,I,B.beginCaptures,K),I.produce(u,K[0].end),S=K[0].end;const p=B.getContentName(e.content,K),d=v.pushAttributed(p,n);if(u=u.withContentNameScopesList(d),B.endHasBackReferences&&(u=u.withEndRule(B.getEndWithResolvedBackReferences(e.content,K))),!D&&L.hasSameRuleAs(u)){u=u.pop(),I.produce(u,y),w=!0;return}}else if(Q instanceof Ua){const B=Q;Ir(n,e,t,u,I,B.beginCaptures,K),I.produce(u,K[0].end),S=K[0].end;const p=B.getContentName(e.content,K),d=v.pushAttributed(p,n);if(u=u.withContentNameScopesList(d),B.whileHasBackReferences&&(u=u.withEndRule(B.getWhileWithResolvedBackReferences(e.content,K))),!D&&L.hasSameRuleAs(u)){u=u.pop(),I.produce(u,y),w=!0;return}}else if(Ir(n,e,t,u,I,Q.captures,K),I.produce(u,K[0].end),u=u.pop(),!D){u=u.safePop(),I.produce(u,y),w=!0;return}}K[0].end>i&&(i=K[0].end,t=!1)}}function eD(n,e,t,i,u,I){let o=u.beginRuleCapturedEOL?0:-1;const b=[];for(let y=u;y;y=y.pop()){const w=y.getRule(n);w instanceof Ua&&b.push({rule:w,stack:y})}for(let y=b.pop();y;y=b.pop()){const{ruleScanner:w,findOptions:S}=oD(y.rule,n,y.stack.endRule,t,i===o),N=w.findNextMatchSync(e,i,S);if(N){if(N.ruleId!==Xd){u=y.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(I.produce(y.stack,N.captureIndices[0].start),Ir(n,e,t,y.stack,I,y.rule.whileCaptures,N.captureIndices),I.produce(y.stack,N.captureIndices[0].end),o=N.captureIndices[0].end,N.captureIndices[0].end>i&&(i=N.captureIndices[0].end,t=!1))}else{u=y.stack.pop();break}}return{stack:u,linePos:i,anchorPosition:o,isFirstLine:t}}function tD(n,e,t,i,u,I){const o=nD(n,e,t,i,u,I),b=n.getInjections();if(b.length===0)return o;const y=iD(b,n,e,t,i,u,I);if(!y)return o;if(!o)return y;const w=o.captureIndices[0].start,S=y.captureIndices[0].start;return S<w||y.priorityMatch&&S===w?y:o}function nD(n,e,t,i,u,I){const o=u.getRule(n),{ruleScanner:b,findOptions:y}=ih(o,n,u.endRule,t,i===I),w=b.findNextMatchSync(e,i,y);return w?{captureIndices:w.captureIndices,matchedRuleId:w.ruleId}:null}function iD(n,e,t,i,u,I,o){let b=Number.MAX_VALUE,y=null,w,S=0;const N=I.contentNameScopesList.getScopeNames();for(let H=0,$=n.length;H<$;H++){const K=n[H];if(!K.matcher(N))continue;const T=e.getRule(K.ruleId),{ruleScanner:D,findOptions:Q}=ih(T,e,null,i,u===o),L=D.findNextMatchSync(t,u,Q);if(!L)continue;const k=L.captureIndices[0].start;if(!(k>=b)&&(b=k,y=L.captureIndices,w=L.ruleId,S=K.priority,b===u))break}return y?{priorityMatch:S===-1,captureIndices:y,matchedRuleId:w}:null}function ih(n,e,t,i,u){return{ruleScanner:n.compileAG(e,t,i,u),findOptions:0}}function oD(n,e,t,i,u){return{ruleScanner:n.compileWhileAG(e,t,i,u),findOptions:0}}function Ir(n,e,t,i,u,I,o){if(I.length===0)return;const b=e.content,y=Math.min(I.length,o.length),w=[],S=o[0].end;for(let N=0;N<y;N++){const H=I[N];if(H===null)continue;const $=o[N];if($.length===0)continue;if($.start>S)break;for(;w.length>0&&w[w.length-1].endPos<=$.start;)u.produceFromScopes(w[w.length-1].scopes,w[w.length-1].endPos),w.pop();if(w.length>0?u.produceFromScopes(w[w.length-1].scopes,$.start):u.produce(i,$.start),H.retokenizeCapturedWithRuleId){const T=H.getName(b,o),D=i.contentNameScopesList.pushAttributed(T,n),Q=H.getContentName(b,o),L=D.pushAttributed(Q,n),k=i.push(H.retokenizeCapturedWithRuleId,$.start,-1,!1,null,D,L),v=n.createOnigString(b.substring(0,$.end));nh(n,v,t&&$.start===0,$.start,k,u,!1,0),Wd(v);continue}const K=H.getName(b,o);if(K!==null){const D=(w.length>0?w[w.length-1].scopes:i.contentNameScopesList).pushAttributed(K,n);w.push(new rD(D,$.end))}}for(;w.length>0;)u.produceFromScopes(w[w.length-1].scopes,w[w.length-1].endPos),w.pop()}var rD=class{constructor(n,e){this.scopes=n,this.endPos=e}};function aD(n,e,t,i,u,I,o,b){return new lD(n,e,t,i,u,I,o,b)}function oh(n,e,t,i,u){const I=Ha(e,Ya),o=Ah.getCompiledRuleId(t,i,u.repository);for(const b of I)n.push({debugSelector:e,matcher:b.matcher,ruleId:o,grammar:u,priority:b.priority})}function Ya(n,e){if(e.length<n.length)return!1;let t=0;return n.every(i=>{for(let u=t;u<e.length;u++)if(sD(e[u],i))return t=u+1,!0;return!1})}function sD(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var lD=class{constructor(n,e,t,i,u,I,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=I,this._onigLib=b,this._basicScopeAttributesProvider=new Vy(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=rh(e,null),this._injections=null,this._tokenTypeMatchers=[],u)for(const y of Object.keys(u)){const w=Ha(y,Ya);for(const S of w)this._tokenTypeMatchers.push({matcher:S.matcher,type:u[y]})}}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:u=>u===this._rootScopeName?this._grammar:this.getExternalGrammar(u),injections:u=>this._grammarRepository.injections(u)},e=[],t=this._rootScopeName,i=n.lookup(t);if(i){const u=i.injections;if(u)for(let o in u)oh(e,o,u[o],this,i);const I=this._grammarRepository.injections(t);I&&I.forEach(o=>{const b=this.getExternalGrammar(o);if(b){const y=b.injectionSelector;y&&oh(e,y,b,this,b)}})}return e.sort((u,I)=>u.priority-I.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=rh(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const i=this._tokenize(n,e,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,e,t=0){const i=this._tokenize(n,e,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,e,t,i){this._rootId===-1&&(this._rootId=Ah.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let u;if(!e||e===Cc.NULL){u=!0;const w=this._basicScopeAttributesProvider.getDefaultAttributes(),S=this.themeProvider.getDefaults(),N=No.set(0,w.languageId,w.tokenType,null,S.fontStyle,S.foregroundId,S.backgroundId),H=this.getRule(this._rootId).getName(null,null);let $;H?$=fr.createRootAndLookUpScopeName(H,N,this):$=fr.createRoot("unknown",N),e=new Cc(null,this._rootId,-1,-1,!1,null,$,$)}else u=!1,e.reset();n=n+`
|
|
90
|
-
`;const I=this.createOnigString(n),o=I.content.length,b=new gD(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),y=nh(this,I,u,0,e,b,!0,i);return Wd(I),{lineLength:o,lineTokens:b,ruleStack:y.stack,stoppedEarly:y.stoppedEarly}}};function rh(n,e){return n=ky(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var fr=class li{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,u=(e==null?void 0:e.scopePath)??null;for(const I of t)u=lc.push(u,I.scopeNames),i=new li(i,u,I.encodedTokenAttributes);return i}static createRoot(e,t){return new li(null,new lc(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const u=i.getMetadataForScope(e),I=new lc(null,e),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(t,u,o);return new li(null,I,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return li.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,i){let u=-1,I=0,o=0;return i!==null&&(u=i.fontStyle,I=i.foregroundId,o=i.backgroundId),No.set(e,t.languageId,t.tokenType,null,u,I,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return li._pushAttributed(this,e,t);const i=e.split(/ /g);let u=this;for(const I of i)u=li._pushAttributed(u,I,t);return u}static _pushAttributed(e,t,i){const u=i.getMetadataForScope(t),I=e.scopePath.push(t),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(e.tokenAttributes,u,o);return new li(e,I,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var u;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((u=i.parent)==null?void 0:u.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},pc=class gr{constructor(e,t,i,u,I,o,b,y){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=I,this.endRule=o,this.nameScopesList=b,this.contentNameScopesList=y,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=u}equals(e){return e===null?!1:gr._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?fr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){gr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,u,I,o,b){return new gr(this,e,t,i,u,I,o,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var i,u;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(u=this.contentNameScopesList)==null?void 0:u.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new gr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=fr.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new gr(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,fr.fromExtension(i,t.contentNameScopesList))}};pc.NULL=new pc(null,0,0,0,!1,null,null,null);var Cc=pc,cD=class{constructor(n,e){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ha(t,Ya).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ha(t,Ya).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},gD=class{constructor(n,e,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let u=(n==null?void 0:n.tokenAttributes)??0,I=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(o)&&(u=No.set(u,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(o))}if(I&&(u=No.set(u,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===u){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(u),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,u=this._binaryTokens.length;i<u;i++)t[i]=this._binaryTokens[i];return t}},uD=class{constructor(n,e){this._onigLib=e,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,i,u){if(!this._grammars.has(n)){let I=this._rawGrammars.get(n);if(!I)return null;this._grammars.set(n,aD(n,I,e,t,i,u,this,this._onigLib))}return this._grammars.get(n)}},dD=class{constructor(e){this._options=e,this._syncRegistry=new uD(Pa.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Pa.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new cD(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,u,I){const o=new Uy(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,u,I)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,u=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,u)}_grammarForScopeName(e,t=0,i=null,u=null,I=null){return this._syncRegistry.grammarForScopeName(e,t,i,u,I)}},Bc=Cc.NULL;const hD=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class wr{constructor(e,t,i){this.property=e,this.normal=t,i&&(this.space=i)}}wr.prototype.property={},wr.prototype.normal={},wr.prototype.space=null;function ah(n,e){const t={},i={};let u=-1;for(;++u<n.length;)Object.assign(t,n[u].property),Object.assign(i,n[u].normal);return new wr(t,i,e)}function mc(n){return n.toLowerCase()}class Mn{constructor(e,t){this.property=e,this.attribute=t}}Mn.prototype.space=null,Mn.prototype.boolean=!1,Mn.prototype.booleanish=!1,Mn.prototype.overloadedBoolean=!1,Mn.prototype.number=!1,Mn.prototype.commaSeparated=!1,Mn.prototype.spaceSeparated=!1,Mn.prototype.commaOrSpaceSeparated=!1,Mn.prototype.mustUseProperty=!1,Mn.prototype.defined=!1;let pD=0;const Ue=Xi(),vt=Xi(),sh=Xi(),pe=Xi(),dt=Xi(),Fo=Xi(),Bn=Xi();function Xi(){return 2**++pD}const Ec=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:vt,commaOrSpaceSeparated:Bn,commaSeparated:Fo,number:pe,overloadedBoolean:sh,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Qc=Object.keys(Ec);class Ic extends Mn{constructor(e,t,i,u){let I=-1;if(super(e,t),lh(this,"space",u),typeof i=="number")for(;++I<Qc.length;){const o=Qc[I];lh(this,Qc[I],(i&Ec[o])===Ec[o])}}}Ic.prototype.defined=!0;function lh(n,e,t){t&&(n[e]=t)}const CD={}.hasOwnProperty;function Ro(n){const e={},t={};let i;for(i in n.properties)if(CD.call(n.properties,i)){const u=n.properties[i],I=new Ic(i,n.transform(n.attributes||{},i),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(I.mustUseProperty=!0),e[i]=I,t[mc(i)]=i,t[mc(I.attribute)]=i}return new wr(e,t,n.space)}const ch=Ro({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gh=Ro({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uh(n,e){return e in n?n[e]:e}function dh(n,e){return uh(n,e.toLowerCase())}const hh=Ro({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),ph=Ro({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:vt,ariaAutoComplete:null,ariaBusy:vt,ariaChecked:vt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:vt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:vt,ariaFlowTo:dt,ariaGrabbed:vt,ariaHasPopup:null,ariaHidden:vt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:pe,ariaLive:null,ariaModal:vt,ariaMultiLine:vt,ariaMultiSelectable:vt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:vt,ariaReadOnly:vt,ariaRelevant:null,ariaRequired:vt,ariaRoleDescription:dt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:vt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),BD=Ro({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:dt,autoFocus:Ue,autoPlay:Ue,blocking:dt,capture:null,charSet:null,checked:Ue,cite:null,className:dt,cols:pe,colSpan:null,content:null,contentEditable:vt,controls:Ue,controlsList:dt,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:sh,draggable:vt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:dt,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:dt,itemRef:dt,itemScope:Ue,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ue,optimum:pe,pattern:null,ping:dt,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:dt,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:dt,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:vt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:vt,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:vt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:pe,security:null,unselectable:null}}),mD=Ro({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:uh,properties:{about:Bn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fo,g2:Fo,glyphName:Fo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:Bn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Bn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Bn,rev:Bn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Bn,requiredFeatures:Bn,requiredFonts:Bn,requiredFormats:Bn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:Bn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Bn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Bn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ED=/^data[-\w.:]+$/i,Ch=/-[a-z]/g,QD=/[A-Z]/g;function ID(n,e){const t=mc(e);let i=e,u=Mn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&ED.test(e)){if(e.charAt(4)==="-"){const I=e.slice(5).replace(Ch,wD);i="data"+I.charAt(0).toUpperCase()+I.slice(1)}else{const I=e.slice(4);if(!Ch.test(I)){let o=I.replace(QD,fD);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}u=Ic}return new u(i,e)}function fD(n){return"-"+n.toLowerCase()}function wD(n){return n.charAt(1).toUpperCase()}const bD=ah([gh,ch,hh,ph,BD],"html"),Bh=ah([gh,ch,hh,ph,mD],"svg"),mh={}.hasOwnProperty;function yD(n,e){const t=e||{};function i(u,...I){let o=i.invalid;const b=i.handlers;if(u&&mh.call(u,n)){const y=String(u[n]);o=mh.call(b,y)?b[y]:i.unknown}if(o)return o.call(this,u,...I)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const DD=/["&'<>`]/g,vD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kD=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,_D=/[|\\{}()[\]^$+*?.]/g,Eh=new WeakMap;function MD(n,e){if(n=n.replace(e.subset?xD(e.subset):DD,i),e.subset||e.escapeOnly)return n;return n.replace(vD,t).replace(kD,i);function t(u,I,o){return e.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,o.charCodeAt(I+2),e)}function i(u,I,o){return e.format(u.charCodeAt(0),o.charCodeAt(I+1),e)}}function xD(n){let e=Eh.get(n);return e||(e=SD(n),Eh.set(n,e)),e}function SD(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(_D,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const ND=/[\dA-Fa-f]/;function FD(n,e,t){const i="&#x"+n.toString(16).toUpperCase();return t&&e&&!ND.test(String.fromCharCode(e))?i:i+";"}const RD=/\d/;function LD(n,e,t){const i="&#"+String(n);return t&&e&&!RD.test(String.fromCharCode(e))?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"],fc={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},PD=["cent","copy","divide","gt","lt","not","para","times"],Qh={}.hasOwnProperty,wc={};let Oa;for(Oa in fc)Qh.call(fc,Oa)&&(wc[fc[Oa]]=Oa);const HD=/[^\dA-Za-z]/;function KD(n,e,t,i){const u=String.fromCharCode(n);if(Qh.call(wc,u)){const I=wc[u],o="&"+I;return t&&GD.includes(I)&&!PD.includes(I)&&(!i||e&&e!==61&&HD.test(String.fromCharCode(e)))?o:o+";"}return""}function TD(n,e,t){let i=FD(n,e,t.omitOptionalSemicolons),u;if((t.useNamedReferences||t.useShortestReferences)&&(u=KD(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!u)&&t.useShortestReferences){const I=LD(n,e,t.omitOptionalSemicolons);I.length<i.length&&(i=I)}return u&&(!t.useShortestReferences||u.length<i.length)?u:i}function Lo(n,e){return MD(n,Object.assign({format:TD},e))}const UD=/^>|^->|<!--|-->|--!>|<!-$/g,YD=[">"],OD=["<",">"];function $D(n,e,t,i){return i.settings.bogusComments?"<?"+Lo(n.value,Object.assign({},i.settings.characterReferences,{subset:YD}))+">":"<!--"+n.value.replace(UD,u)+"-->";function u(I){return Lo(I,Object.assign({},i.settings.characterReferences,{subset:OD}))}}function zD(n,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Ih(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let i=0,u=t.indexOf(e);for(;u!==-1;)i++,u=t.indexOf(e,u+e.length);return i}function JD(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function ZD(n){return n.join(" ").trim()}const WD=/[ \t\n\f\r]/g;function bc(n){return typeof n=="object"?n.type==="text"?fh(n.value):!1:fh(n)}function fh(n){return n.replace(WD,"")===""}const Mt=bh(1),wh=bh(-1),jD=[];function bh(n){return e;function e(t,i,u){const I=t?t.children:jD;let o=(i||0)+n,b=I[o];if(!u)for(;b&&bc(b);)o+=n,b=I[o];return b}}const qD={}.hasOwnProperty;function yh(n){return e;function e(t,i,u){return qD.call(n,t.tagName)&&n[t.tagName](t,i,u)}}const yc=yh({body:VD,caption:Dc,colgroup:Dc,dd:nv,dt:tv,head:Dc,html:XD,li:ev,optgroup:iv,option:ov,p:Av,rp:Dh,rt:Dh,tbody:av,td:vh,tfoot:sv,th:vh,thead:rv,tr:lv});function Dc(n,e,t){const i=Mt(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&bc(i.value.charAt(0)))}function XD(n,e,t){const i=Mt(t,e);return!i||i.type!=="comment"}function VD(n,e,t){const i=Mt(t,e);return!i||i.type!=="comment"}function Av(n,e,t){const i=Mt(t,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function ev(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="li"}function tv(n,e,t){const i=Mt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function nv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Dh(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function iv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function ov(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function rv(n,e,t){const i=Mt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function av(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function sv(n,e,t){return!Mt(t,e)}function lv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function vh(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const cv=yh({body:dv,colgroup:hv,head:uv,html:gv,tbody:pv});function gv(n){const e=Mt(n,-1);return!e||e.type!=="comment"}function uv(n){const e=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function dv(n){const e=Mt(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&bc(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function hv(n,e,t){const i=wh(t,e),u=Mt(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&yc(i,t.children.indexOf(i),t)?!1:!!(u&&u.type==="element"&&u.tagName==="col")}function pv(n,e,t){const i=wh(t,e),u=Mt(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&yc(i,t.children.indexOf(i),t)?!1:!!(u&&u.type==="element"&&u.tagName==="tr")}const $a={name:[[`
|
|
90
|
+
`;const I=this.createOnigString(n),o=I.content.length,b=new gD(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),y=nh(this,I,u,0,e,b,!0,i);return Wd(I),{lineLength:o,lineTokens:b,ruleStack:y.stack,stoppedEarly:y.stoppedEarly}}};function rh(n,e){return n=ky(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var fr=class li{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,u=(e==null?void 0:e.scopePath)??null;for(const I of t)u=lc.push(u,I.scopeNames),i=new li(i,u,I.encodedTokenAttributes);return i}static createRoot(e,t){return new li(null,new lc(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const u=i.getMetadataForScope(e),I=new lc(null,e),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(t,u,o);return new li(null,I,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return li.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,i){let u=-1,I=0,o=0;return i!==null&&(u=i.fontStyle,I=i.foregroundId,o=i.backgroundId),No.set(e,t.languageId,t.tokenType,null,u,I,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return li._pushAttributed(this,e,t);const i=e.split(/ /g);let u=this;for(const I of i)u=li._pushAttributed(u,I,t);return u}static _pushAttributed(e,t,i){const u=i.getMetadataForScope(t),I=e.scopePath.push(t),o=i.themeProvider.themeMatch(I),b=li.mergeAttributes(e.tokenAttributes,u,o);return new li(e,I,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var u;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((u=i.parent)==null?void 0:u.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},pc=class gr{constructor(e,t,i,u,I,o,b,y){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=I,this.endRule=o,this.nameScopesList=b,this.contentNameScopesList=y,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=u}equals(e){return e===null?!1:gr._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?fr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){gr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,u,I,o,b){return new gr(this,e,t,i,u,I,o,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var i,u;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(u=this.contentNameScopesList)==null?void 0:u.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new gr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=fr.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new gr(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,fr.fromExtension(i,t.contentNameScopesList))}};pc.NULL=new pc(null,0,0,0,!1,null,null,null);var Cc=pc,cD=class{constructor(n,e){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ha(t,Ya).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ha(t,Ya).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},gD=class{constructor(n,e,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let u=(n==null?void 0:n.tokenAttributes)??0,I=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(o)&&(u=No.set(u,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(o))}if(I&&(u=No.set(u,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===u){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(u),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,u=this._binaryTokens.length;i<u;i++)t[i]=this._binaryTokens[i];return t}},uD=class{constructor(n,e){this._onigLib=e,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,i,u){if(!this._grammars.has(n)){let I=this._rawGrammars.get(n);if(!I)return null;this._grammars.set(n,aD(n,I,e,t,i,u,this,this._onigLib))}return this._grammars.get(n)}},dD=class{constructor(e){this._options=e,this._syncRegistry=new uD(Pa.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Pa.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new cD(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,u,I){const o=new Uy(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,u,I)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,u=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,u)}_grammarForScopeName(e,t=0,i=null,u=null,I=null){return this._syncRegistry.grammarForScopeName(e,t,i,u,I)}},Bc=Cc.NULL;const hD=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class wr{constructor(e,t,i){this.property=e,this.normal=t,i&&(this.space=i)}}wr.prototype.property={},wr.prototype.normal={},wr.prototype.space=null;function ah(n,e){const t={},i={};let u=-1;for(;++u<n.length;)Object.assign(t,n[u].property),Object.assign(i,n[u].normal);return new wr(t,i,e)}function mc(n){return n.toLowerCase()}class Mn{constructor(e,t){this.property=e,this.attribute=t}}Mn.prototype.space=null,Mn.prototype.boolean=!1,Mn.prototype.booleanish=!1,Mn.prototype.overloadedBoolean=!1,Mn.prototype.number=!1,Mn.prototype.commaSeparated=!1,Mn.prototype.spaceSeparated=!1,Mn.prototype.commaOrSpaceSeparated=!1,Mn.prototype.mustUseProperty=!1,Mn.prototype.defined=!1;let pD=0;const Ue=Xi(),kt=Xi(),sh=Xi(),pe=Xi(),dt=Xi(),Fo=Xi(),Bn=Xi();function Xi(){return 2**++pD}const Ec=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:kt,commaOrSpaceSeparated:Bn,commaSeparated:Fo,number:pe,overloadedBoolean:sh,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),Qc=Object.keys(Ec);class Ic extends Mn{constructor(e,t,i,u){let I=-1;if(super(e,t),lh(this,"space",u),typeof i=="number")for(;++I<Qc.length;){const o=Qc[I];lh(this,Qc[I],(i&Ec[o])===Ec[o])}}}Ic.prototype.defined=!0;function lh(n,e,t){t&&(n[e]=t)}const CD={}.hasOwnProperty;function Ro(n){const e={},t={};let i;for(i in n.properties)if(CD.call(n.properties,i)){const u=n.properties[i],I=new Ic(i,n.transform(n.attributes||{},i),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(I.mustUseProperty=!0),e[i]=I,t[mc(i)]=i,t[mc(I.attribute)]=i}return new wr(e,t,n.space)}const ch=Ro({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gh=Ro({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uh(n,e){return e in n?n[e]:e}function dh(n,e){return uh(n,e.toLowerCase())}const hh=Ro({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),ph=Ro({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:kt,ariaAutoComplete:null,ariaBusy:kt,ariaChecked:kt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:kt,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:kt,ariaFlowTo:dt,ariaGrabbed:kt,ariaHasPopup:null,ariaHidden:kt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:pe,ariaLive:null,ariaModal:kt,ariaMultiLine:kt,ariaMultiSelectable:kt,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:kt,ariaReadOnly:kt,ariaRelevant:null,ariaRequired:kt,ariaRoleDescription:dt,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:kt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),BD=Ro({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:dt,autoFocus:Ue,autoPlay:Ue,blocking:dt,capture:null,charSet:null,checked:Ue,cite:null,className:dt,cols:pe,colSpan:null,content:null,contentEditable:kt,controls:Ue,controlsList:dt,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:sh,draggable:kt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:dt,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:dt,itemRef:dt,itemScope:Ue,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ue,optimum:pe,pattern:null,ping:dt,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:dt,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:dt,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:kt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:kt,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:kt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:pe,security:null,unselectable:null}}),mD=Ro({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:uh,properties:{about:Bn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fo,g2:Fo,glyphName:Fo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:Bn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Bn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Bn,rev:Bn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Bn,requiredFeatures:Bn,requiredFonts:Bn,requiredFormats:Bn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:Bn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Bn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Bn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ED=/^data[-\w.:]+$/i,Ch=/-[a-z]/g,QD=/[A-Z]/g;function ID(n,e){const t=mc(e);let i=e,u=Mn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&ED.test(e)){if(e.charAt(4)==="-"){const I=e.slice(5).replace(Ch,wD);i="data"+I.charAt(0).toUpperCase()+I.slice(1)}else{const I=e.slice(4);if(!Ch.test(I)){let o=I.replace(QD,fD);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}u=Ic}return new u(i,e)}function fD(n){return"-"+n.toLowerCase()}function wD(n){return n.charAt(1).toUpperCase()}const bD=ah([gh,ch,hh,ph,BD],"html"),Bh=ah([gh,ch,hh,ph,mD],"svg"),mh={}.hasOwnProperty;function yD(n,e){const t=e||{};function i(u,...I){let o=i.invalid;const b=i.handlers;if(u&&mh.call(u,n)){const y=String(u[n]);o=mh.call(b,y)?b[y]:i.unknown}if(o)return o.call(this,u,...I)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const DD=/["&'<>`]/g,vD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kD=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,_D=/[|\\{}()[\]^$+*?.]/g,Eh=new WeakMap;function MD(n,e){if(n=n.replace(e.subset?xD(e.subset):DD,i),e.subset||e.escapeOnly)return n;return n.replace(vD,t).replace(kD,i);function t(u,I,o){return e.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,o.charCodeAt(I+2),e)}function i(u,I,o){return e.format(u.charCodeAt(0),o.charCodeAt(I+1),e)}}function xD(n){let e=Eh.get(n);return e||(e=SD(n),Eh.set(n,e)),e}function SD(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(_D,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const ND=/[\dA-Fa-f]/;function FD(n,e,t){const i="&#x"+n.toString(16).toUpperCase();return t&&e&&!ND.test(String.fromCharCode(e))?i:i+";"}const RD=/\d/;function LD(n,e,t){const i="&#"+String(n);return t&&e&&!RD.test(String.fromCharCode(e))?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"],fc={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},PD=["cent","copy","divide","gt","lt","not","para","times"],Qh={}.hasOwnProperty,wc={};let Oa;for(Oa in fc)Qh.call(fc,Oa)&&(wc[fc[Oa]]=Oa);const HD=/[^\dA-Za-z]/;function KD(n,e,t,i){const u=String.fromCharCode(n);if(Qh.call(wc,u)){const I=wc[u],o="&"+I;return t&&GD.includes(I)&&!PD.includes(I)&&(!i||e&&e!==61&&HD.test(String.fromCharCode(e)))?o:o+";"}return""}function TD(n,e,t){let i=FD(n,e,t.omitOptionalSemicolons),u;if((t.useNamedReferences||t.useShortestReferences)&&(u=KD(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!u)&&t.useShortestReferences){const I=LD(n,e,t.omitOptionalSemicolons);I.length<i.length&&(i=I)}return u&&(!t.useShortestReferences||u.length<i.length)?u:i}function Lo(n,e){return MD(n,Object.assign({format:TD},e))}const UD=/^>|^->|<!--|-->|--!>|<!-$/g,YD=[">"],OD=["<",">"];function $D(n,e,t,i){return i.settings.bogusComments?"<?"+Lo(n.value,Object.assign({},i.settings.characterReferences,{subset:YD}))+">":"<!--"+n.value.replace(UD,u)+"-->";function u(I){return Lo(I,Object.assign({},i.settings.characterReferences,{subset:OD}))}}function zD(n,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Ih(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let i=0,u=t.indexOf(e);for(;u!==-1;)i++,u=t.indexOf(e,u+e.length);return i}function JD(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function ZD(n){return n.join(" ").trim()}const WD=/[ \t\n\f\r]/g;function bc(n){return typeof n=="object"?n.type==="text"?fh(n.value):!1:fh(n)}function fh(n){return n.replace(WD,"")===""}const Mt=bh(1),wh=bh(-1),jD=[];function bh(n){return e;function e(t,i,u){const I=t?t.children:jD;let o=(i||0)+n,b=I[o];if(!u)for(;b&&bc(b);)o+=n,b=I[o];return b}}const qD={}.hasOwnProperty;function yh(n){return e;function e(t,i,u){return qD.call(n,t.tagName)&&n[t.tagName](t,i,u)}}const yc=yh({body:VD,caption:Dc,colgroup:Dc,dd:nv,dt:tv,head:Dc,html:XD,li:ev,optgroup:iv,option:ov,p:Av,rp:Dh,rt:Dh,tbody:av,td:vh,tfoot:sv,th:vh,thead:rv,tr:lv});function Dc(n,e,t){const i=Mt(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&bc(i.value.charAt(0)))}function XD(n,e,t){const i=Mt(t,e);return!i||i.type!=="comment"}function VD(n,e,t){const i=Mt(t,e);return!i||i.type!=="comment"}function Av(n,e,t){const i=Mt(t,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function ev(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="li"}function tv(n,e,t){const i=Mt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function nv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function Dh(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function iv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function ov(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function rv(n,e,t){const i=Mt(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function av(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function sv(n,e,t){return!Mt(t,e)}function lv(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function vh(n,e,t){const i=Mt(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const cv=yh({body:dv,colgroup:hv,head:uv,html:gv,tbody:pv});function gv(n){const e=Mt(n,-1);return!e||e.type!=="comment"}function uv(n){const e=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function dv(n){const e=Mt(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&bc(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function hv(n,e,t){const i=wh(t,e),u=Mt(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&yc(i,t.children.indexOf(i),t)?!1:!!(u&&u.type==="element"&&u.tagName==="col")}function pv(n,e,t){const i=wh(t,e),u=Mt(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&yc(i,t.children.indexOf(i),t)?!1:!!(u&&u.type==="element"&&u.tagName==="tr")}const $a={name:[[`
|
|
91
91
|
\f\r &/=>`.split(""),`
|
|
92
92
|
\f\r "&'/=>\``.split("")],[`\0
|
|
93
93
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -101,10 +101,10 @@ onClick: ${e.onClick}`)}u.value=!1}};return(o,b)=>{const y=A.resolveComponent("e
|
|
|
101
101
|
* @author RubaXa <trash@rubaxa.org>
|
|
102
102
|
* @author owenm <owen23355@gmail.com>
|
|
103
103
|
* @license MIT
|
|
104
|
-
*/function Zh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),t.push.apply(t,i)}return t}function qn(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Zh(Object(t),!0).forEach(function(i){L1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Zh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function As(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?As=function(e){return typeof e}:As=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},As(n)}function L1(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ui(){return ui=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},ui.apply(this,arguments)}function G1(n,e){if(n==null)return{};var t={},i=Object.keys(n),u,I;for(I=0;I<i.length;I++)u=i[I],!(e.indexOf(u)>=0)&&(t[u]=n[u]);return t}function P1(n,e){if(n==null)return{};var t=G1(n,e),i,u;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(u=0;u<I.length;u++)i=I[u],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var H1="1.14.0";function di(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var hi=di(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kr=di(/Edge/i),Wh=di(/firefox/i),_r=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),jh=di(/iP(ad|od|hone)/i),K1=di(/chrome/i)&&di(/android/i),qh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!hi&&qh)}function et(n,e,t){n.removeEventListener(e,t,!hi&&qh)}function es(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function T1(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Xn(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&es(n,e):es(n,e))||i&&n===t)return n;if(n===t)break}while(n=T1(n))}return null}var Xh=/\s+/g;function mn(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(Xh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(Xh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var u=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return u&&new u(t)}function Vh(n,e,t){if(n){var i=n.getElementsByTagName(e),u=0,I=i.length;if(t)for(;u<I;u++)t(i[u],u);return i}return[]}function Vn(){var n=document.scrollingElement;return n||document.documentElement}function xt(n,e,t,i,u){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,y,w,S,N;if(n!==window&&n.parentNode&&n!==Vn()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,y=I.bottom,w=I.right,S=I.height,N=I.width):(o=0,b=0,y=window.innerHeight,w=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(u=u||n.parentNode,!hi))do if(u&&u.getBoundingClientRect&&(Le(u,"transform")!=="none"||t&&Le(u,"position")!=="static")){var H=u.getBoundingClientRect();o-=H.top+parseInt(Le(u,"border-top-width")),b-=H.left+parseInt(Le(u,"border-left-width")),y=o+I.height,w=b+I.width;break}while(u=u.parentNode);if(i&&n!==window){var $=Po(u||n),K=$&&$.a,T=$&&$.d;$&&(o/=T,b/=K,N/=K,S/=T,y=o+S,w=b+N)}return{top:o,left:b,bottom:y,right:w,width:N,height:S}}}function Ap(n,e,t){for(var i=Ni(n,!0),u=xt(n)[e];i;){var I=xt(i)[t],o=void 0;if(o=u>=I,!o)return i;if(i===Vn())break;i=Ni(i,!1)}return!1}function Ho(n,e,t,i){for(var u=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Ge.ghost&&(i||o[I]!==Ge.dragged)&&Xn(o[I],t.draggable,n,!1)){if(u===e)return o[I];u++}I++}return null}function Sc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!es(t,e));)t=t.previousElementSibling;return t||null}function xn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||es(n,e))&&t++;return t}function ep(n){var e=0,t=0,i=Vn();if(n)do{var u=Po(n),I=u.a,o=u.d;e+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function U1(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ni(n,e){if(!n||!n.getBoundingClientRect)return Vn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var u=Le(t);if(t.clientWidth<t.scrollWidth&&(u.overflowX=="auto"||u.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(u.overflowY=="auto"||u.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Vn();if(i||e)return t;i=!0}}while(t=t.parentNode);return Vn()}function Y1(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Nc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var Mr;function tp(n,e){return function(){if(!Mr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mr=setTimeout(function(){Mr=void 0},e)}}}function O1(){clearTimeout(Mr),Mr=void 0}function np(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function ip(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var En="Sortable"+new Date().getTime();function $1(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(u){if(!(Le(u,"display")==="none"||u===Ge.ghost)){n.push({target:u,rect:xt(u)});var I=qn({},n[n.length-1].rect);if(u.thisAnimationDuration){var o=Po(u,!0);o&&(I.top-=o.f,I.left-=o.e)}u.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(U1(n,{target:i}),1)},animateAll:function(i){var u=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var y=0,w=b.target,S=w.fromRect,N=xt(w),H=w.prevFromRect,$=w.prevToRect,K=b.rect,T=Po(w,!0);T&&(N.top-=T.f,N.left-=T.e),w.toRect=N,w.thisAnimationDuration&&Nc(H,N)&&!Nc(S,N)&&(K.top-N.top)/(K.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(y=J1(K,H,$,u.options)),Nc(N,S)||(w.prevFromRect=S,w.prevToRect=N,y||(y=u.options.animation),u.animate(w,K,N,y)),y&&(I=!0,o=Math.max(o,y),clearTimeout(w.animationResetTimer),w.animationResetTimer=setTimeout(function(){w.animationTime=0,w.prevFromRect=null,w.fromRect=null,w.prevToRect=null,w.thisAnimationDuration=null},y),w.thisAnimationDuration=y)}),clearTimeout(e),I?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,u,I,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),y=b&&b.a,w=b&&b.d,S=(u.left-I.left)/(y||1),N=(u.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!N,Le(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=z1(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function z1(n){return n.offsetWidth}function J1(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Fc={initializeByDefault:!0},xr={mount:function(e){for(var t in Fc)Fc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Fc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var u=this;this.eventCanceled=!1,i.cancel=function(){u.eventCanceled=!0};var I=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](qn({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](qn({sortable:t},i)))})},initializePlugins:function(e,t,i,u){Ko.forEach(function(b){var y=b.pluginName;if(!(!e.options[y]&&!b.initializeByDefault)){var w=new b(e,t,e.options);w.sortable=e,w.options=e.options,e[y]=w,ui(i,w.defaults)}});for(var I in e.options)if(e.options.hasOwnProperty(I)){var o=this.modifyOption(e,I,e.options[I]);typeof o<"u"&&(e.options[I]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(u){typeof u.eventProperties=="function"&&ui(i,u.eventProperties.call(t[u.pluginName],e))}),i},modifyOption:function(e,t,i){var u;return Ko.forEach(function(I){e[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(u=I.optionListeners[t].call(e[I.pluginName],i))}),u}};function Z1(n){var e=n.sortable,t=n.rootEl,i=n.name,u=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,y=n.oldIndex,w=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,H=n.originalEvent,$=n.putSortable,K=n.extraEventProperties;if(e=e||t&&t[En],!!e){var T,D=e.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!kr?T=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(T=document.createEvent("Event"),T.initEvent(i,!0,!0)),T.to=o||t,T.from=b||t,T.item=u||t,T.clone=I,T.oldIndex=y,T.newIndex=w,T.oldDraggableIndex=S,T.newDraggableIndex=N,T.originalEvent=H,T.pullMode=$?$.lastPutMode:void 0;var L=qn(qn({},K),xr.getEventProperties(i,e));for(var k in L)T[k]=L[k];t&&t.dispatchEvent(T),D[Q]&&D[Q].call(e,T)}}var W1=["evt"],ln=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=i.evt,I=P1(i,W1);xr.pluginEvent.bind(Ge)(e,t,qn({dragEl:me,parentEl:Qt,ghostEl:Ye,rootEl:Bt,nextEl:to,lastDownEl:ts,cloneEl:It,cloneHidden:Fi,dragStarted:Nr,putSortable:Ht,activeSortable:Ge.active,originalEvent:u,oldIndex:To,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri,hideGhostForTarget:gp,unhideGhostForTarget:up,cloneNowHidden:function(){Fi=!0},cloneNowShown:function(){Fi=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:u})}},I))};function Wt(n){Z1(qn({putSortable:Ht,cloneEl:It,targetEl:me,rootEl:Bt,oldIndex:To,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri},n))}var me,Qt,Ye,Bt,to,ts,It,Fi,To,Qn,Sr,Ri,ns,Ht,Uo=!1,is=!1,os=[],no,Yn,Rc,Lc,op,rp,Nr,Yo,Fr,Rr=!1,rs=!1,as,Ot,Gc=[],Pc=!1,ss=[],ls=typeof document<"u",cs=jh,ap=kr||hi?"cssFloat":"float",j1=ls&&!K1&&!jh&&"draggable"in document.createElement("div"),sp=function(){if(ls){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),lp=function(e,t){var i=Le(e),u=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Ho(e,0,t),o=Ho(e,1,t),b=I&&Le(I),y=o&&Le(o),w=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+xt(I).width,S=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+xt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(y.clear==="both"||y.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=u&&i[ap]==="none"||o&&i[ap]==="none"&&w+S>u)?"vertical":"horizontal"},q1=function(e,t,i){var u=i?e.left:e.top,I=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,y=i?t.right:t.bottom,w=i?t.width:t.height;return u===b||I===y||u+o/2===b+w/2},X1=function(e,t){var i;return os.some(function(u){var I=u[En].options.emptyInsertThreshold;if(!(!I||Sc(u))){var o=xt(u),b=e>=o.left-I&&e<=o.right+I,y=t>=o.top-I&&t<=o.bottom+I;if(b&&y)return i=u}}),i},cp=function(e){function t(I,o){return function(b,y,w,S){var N=b.options.group.name&&y.options.group.name&&b.options.group.name===y.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,y,w,S),o)(b,y,w,S);var H=(o?b:y).options.group.name;return I===!0||typeof I=="string"&&I===H||I.join&&I.indexOf(H)>-1}}var i={},u=e.group;(!u||As(u)!="object")&&(u={name:u}),i.name=u.name,i.checkPull=t(u.pull,!0),i.checkPut=t(u.put),i.revertClone=u.revertClone,e.group=i},gp=function(){!sp&&Ye&&Le(Ye,"display","none")},up=function(){!sp&&Ye&&Le(Ye,"display","")};ls&&document.addEventListener("click",function(n){if(is)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),is=!1,!1},!0);var io=function(e){if(me){e=e.touches?e.touches[0]:e;var t=X1(e.clientX,e.clientY);if(t){var i={};for(var u in e)e.hasOwnProperty(u)&&(i[u]=e[u]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[En]._onDragOver(i)}}},V1=function(e){me&&me.parentNode[En]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=ui({},e),n[En]=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 lp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!_r,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);cp(e);for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this));this.nativeDraggable=e.forceFallback?!1:j1,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),os.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ui(this,$1())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,u=this.options,I=u.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,y=(b||e).target,w=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||y,S=u.filter;if(ak(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||u.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&_r&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=Xn(y,u.draggable,i,!1),!(y&&y.animated)&&ts!==y)){if(To=xn(y),Sr=xn(y,u.draggable),typeof S=="function"){if(S.call(this,e,y,this)){Wt({sortable:t,rootEl:w,name:"filter",targetEl:y,toEl:i,fromEl:i}),ln("filter",t,{evt:e}),I&&e.cancelable&&e.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=Xn(w,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:y,fromEl:i,toEl:i}),ln("filter",t,{evt:e}),!0}),S)){I&&e.cancelable&&e.preventDefault();return}u.handle&&!Xn(w,u.handle,i,!1)||this._prepareDragStart(e,b,y)}}},_prepareDragStart:function(e,t,i){var u=this,I=u.el,o=u.options,b=I.ownerDocument,y;if(i&&!me&&i.parentNode===I){var w=xt(i);if(Bt=I,me=i,Qt=me.parentNode,to=me.nextSibling,ts=i,ns=o.group,Ge.dragged=me,no={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},op=no.clientX-w.left,rp=no.clientY-w.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",y=function(){if(ln("delayEnded",u,{evt:e}),Ge.eventCanceled){u._onDrop();return}u._disableDelayedDragEvents(),!Wh&&u.nativeDraggable&&(me.draggable=!0),u._triggerDragStart(e,t),Wt({sortable:u,name:"choose",originalEvent:e}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Vh(me,S.trim(),Hc)}),it(b,"dragover",io),it(b,"mousemove",io),it(b,"touchmove",io),it(b,"mouseup",u._onDrop),it(b,"touchend",u._onDrop),it(b,"touchcancel",u._onDrop),Wh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(kr||hi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",u._disableDelayedDrag),it(b,"touchend",u._disableDelayedDrag),it(b,"touchcancel",u._disableDelayedDrag),it(b,"mousemove",u._delayedDragTouchMoveHandler),it(b,"touchmove",u._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",u._delayedDragTouchMoveHandler),u._dragStartTimer=setTimeout(y,o.delay)}else y()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Hc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Bt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Bt&&me){ln("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",V1);var i=this.options;!e&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,gp();for(var e=document.elementFromPoint(Yn.clientX,Yn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Yn.clientX,Yn.clientY),e!==t);)t=e;if(me.parentNode[En]._isOutsideThisEl(e),t)do{if(t[En]){var i=void 0;if(i=t[En]._onDragOver({clientX:Yn.clientX,clientY:Yn.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);up()}},_onTouchMove:function(e){if(no){var t=this.options,i=t.fallbackTolerance,u=t.fallbackOffset,I=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,y=Ye&&o&&o.d,w=cs&&Ot&&ep(Ot),S=(I.clientX-no.clientX+u.x)/(b||1)+(w?w[0]-Gc[0]:0)/(b||1),N=(I.clientY-no.clientY+u.y)/(y||1)+(w?w[1]-Gc[1]:0)/(y||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=S-(Rc||0),o.f+=N-(Lc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var H="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",H),Le(Ye,"mozTransform",H),Le(Ye,"msTransform",H),Le(Ye,"transform",H),Rc=S,Lc=N,Yn=I}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Bt,t=xt(me,!0,cs,!0,e),i=this.options;if(cs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=Vn()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=Vn(),Gc=ep(Ot)}Ye=me.cloneNode(!0),mn(Ye,i.ghostClass,!1),mn(Ye,i.fallbackClass,!0),mn(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",cs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",op/parseInt(Ye.style.width)*100+"% "+rp/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,u=e.dataTransfer,I=i.options;if(ln("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}ln("setupClone",this),Ge.eventCanceled||(It=ip(me),It.draggable=!1,It.style["will-change"]="",this._hideClone(),mn(It,this.options.chosenClass,!1),Ge.clone=It),i.cloneId=us(function(){ln("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Bt.insertBefore(It,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(is=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),u&&(u.effectAllowed="move",I.setData&&I.setData.call(i,u,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Nr=!0,_r&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,u,I,o,b=this.options,y=b.group,w=Ge.active,S=ns===y,N=b.sort,H=Ht||w,$,K=this,T=!1;if(Pc)return;function D(x,P){ln(x,K,qn({evt:e,isOwner:S,axis:$?"vertical":"horizontal",revert:o,dragRect:u,targetRect:I,canSort:N,fromSortable:H,target:i,completed:L,onMove:function(J,q){return gs(Bt,t,me,u,J,xt(J),e,q)},changed:k},P))}function Q(){D("dragOverAnimationCapture"),K.captureAnimationState(),K!==H&&H.captureAnimationState()}function L(x){return D("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==H&&(mn(me,Ht?Ht.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Ht!==K&&K!==Ge.active?Ht=K:K===Ge.active&&Ht&&(Ht=null),H===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){D("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==H&&(H.animateAll(),H._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[En]._isOutsideThisEl(e.target),!x&&io(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),T=!0}function k(){Qn=xn(me),Ri=xn(me,b.draggable),Wt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ri,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=Xn(i,b.draggable,t,!0),D("dragOver"),Ge.eventCanceled)return T;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(is=!1,w&&!b.disabled&&(S?N||(o=Qt!==Bt):Ht===this||(this.lastPutMode=ns.checkPull(this,w,me,e))&&y.checkPut(this,w,me,e))){if($=this._getDirection(e,i)==="vertical",u=xt(me),D("dragOverValid"),Ge.eventCanceled)return T;if(o)return Qt=Bt,Q(),this._hideClone(),D("revert"),Ge.eventCanceled||(to?Bt.insertBefore(me,to):Bt.appendChild(me)),L(!0);var v=Sc(t,b.draggable);if(!v||nk(e,$,this)&&!v.animated){if(v===me)return L(!1);if(v&&t===e.target&&(i=v),i&&(I=xt(i)),gs(Bt,t,me,u,i,I,e,!!i)!==!1)return Q(),t.appendChild(me),Qt=t,k(),L(!0)}else if(v&&tk(e,$,this)){var B=Ho(t,0,b,!0);if(B===me)return L(!1);if(i=B,I=xt(i),gs(Bt,t,me,u,i,I,e,!1)!==!1)return Q(),t.insertBefore(me,B),Qt=t,k(),L(!0)}else if(i.parentNode===t){I=xt(i);var p=0,d,l=me.parentNode!==t,g=!q1(me.animated&&me.toRect||u,i.animated&&i.toRect||I,$),s=$?"top":"left",h=Ap(i,"top","top")||Ap(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(d=I[s],Rr=!1,rs=!g&&b.invertSwap||l),p=ik(e,i,I,$,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,rs,Yo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=Qt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return L(!1);Yo=i,Fr=p;var m=i.nextElementSibling,E=!1;E=p===1;var M=gs(Bt,t,me,u,i,I,e,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Pc=!0,setTimeout(ek,30),Q(),E&&!m?t.appendChild(me):i.parentNode.insertBefore(me,E?m:i),h&&np(h,0,C-h.scrollTop),Qt=me.parentNode,d!==void 0&&!rs&&(as=Math.abs(d-xt(i)[s])),k(),L(!0)}if(t.contains(me))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",io),et(document,"mousemove",io),et(document,"touchmove",io)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(Qn=xn(me),Ri=xn(me,i.draggable),ln("drop",this,{evt:e}),Qt=me&&me.parentNode,Qn=xn(me),Ri=xn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,rs=!1,Rr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Kc(this.cloneId),Kc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_r&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Nr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Bt===Qt||Ht&&Ht.lastPutMode!=="clone")&&It&&It.parentNode&&It.parentNode.removeChild(It),me&&(this.nativeDraggable&&et(me,"dragend",this),Hc(me),me.style["will-change"]="",Nr&&!Uo&&mn(me,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:Qt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Bt!==Qt?(Qn>=0&&(Wt({rootEl:Qt,name:"add",toEl:Qt,fromEl:Bt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:Qt,originalEvent:e}),Wt({rootEl:Qt,name:"sort",toEl:Qt,fromEl:Bt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:e})),Ht&&Ht.save()):Qn!==To&&Qn>=0&&(Wt({sortable:this,name:"update",toEl:Qt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:Qt,originalEvent:e})),Ge.active&&((Qn==null||Qn===-1)&&(Qn=To,Ri=Sr),Wt({sortable:this,name:"end",toEl:Qt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Bt=me=Qt=Ye=to=It=ts=Fi=no=Yn=Nr=Qn=Ri=To=Sr=Yo=Fr=Ht=ns=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ss.forEach(function(e){e.checked=!0}),ss.length=Rc=Lc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),Ak(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,u=0,I=i.length,o=this.options;u<I;u++)t=i[u],Xn(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||rk(t));return e},sort:function(e,t){var i={},u=this.el;this.toArray().forEach(function(I,o){var b=u.children[o];Xn(b,this.options.draggable,u,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),e.forEach(function(I){i[I]&&(u.removeChild(i[I]),u.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Xn(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var u=xr.modifyOption(this,e,t);typeof u<"u"?i[e]=u:i[e]=t,e==="group"&&cp(i)},destroy:function(){ln("destroy",this);var e=this.el;e[En]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),os.splice(os.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Fi){if(ln("hideClone",this),Ge.eventCanceled)return;Le(It,"display","none"),this.options.removeCloneOnHide&&It.parentNode&&It.parentNode.removeChild(It),Fi=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Fi){if(ln("showClone",this),Ge.eventCanceled)return;me.parentNode==Bt&&!this.options.group.revertClone?Bt.insertBefore(It,me):to?Bt.insertBefore(It,to):Bt.appendChild(It),this.options.group.revertClone&&this.animate(me,It),Le(It,"display",""),Fi=!1}}};function Ak(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function gs(n,e,t,i,u,I,o,b){var y,w=n[En],S=w.options.onMove,N;return window.CustomEvent&&!hi&&!kr?y=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent("move",!0,!0)),y.to=e,y.from=n,y.dragged=t,y.draggedRect=i,y.related=u||e,y.relatedRect=I||xt(e),y.willInsertAfter=b,y.originalEvent=o,n.dispatchEvent(y),S&&(N=S.call(w,y,o)),N}function Hc(n){n.draggable=!1}function ek(){Pc=!1}function tk(n,e,t){var i=xt(Ho(t.el,0,t.options,!0)),u=10;return e?n.clientX<i.left-u||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-u||n.clientY<i.bottom&&n.clientX<i.left}function nk(n,e,t){var i=xt(Sc(t.el,t.options.draggable)),u=10;return e?n.clientX>i.right+u||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+u}function ik(n,e,t,i,u,I,o,b){var y=i?n.clientY:n.clientX,w=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,H=!1;if(!o){if(b&&as<w*u){if(!Rr&&(Fr===1?y>S+w*I/2:y<N-w*I/2)&&(Rr=!0),Rr)H=!0;else if(Fr===1?y<S+as:y>N-as)return-Fr}else if(y>S+w*(1-u)/2&&y<N-w*(1-u)/2)return ok(e)}return H=H||o,H&&(y<S+w*I/2||y>N-w*I/2)?y>S+w/2?1:-1:0}function ok(n){return xn(me)<xn(n)?1:-1}function rk(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function ak(n){ss.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ss.push(i)}}function us(n){return setTimeout(n,0)}function Kc(n){return clearTimeout(n)}ls&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Vh,is:function(e,t){return!!Xn(e,t,e,!1)},extend:Y1,throttle:tp,closest:Xn,toggleClass:mn,clone:ip,index:xn,nextTick:us,cancelNextTick:Kc,detectDirection:lp,getChild:Ho},Ge.get=function(n){return n[En]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=qn(qn({},Ge.utils),i.utils)),xr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=H1;var kt=[],Lr,Tc,Uc=!1,Yc,Oc,ds,Gr;function sk(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),hs(),O1()},nulling:function(){ds=Tc=Lr=Uc=Gr=Yc=Oc=null,kt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var u=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(ds=t,i||this.options.forceAutoScrollFallback||kr||hi||_r){$c(t,this.options,b,i);var y=Ni(b,!0);Uc&&(!Gr||I!==Yc||o!==Oc)&&(Gr&&dp(),Gr=setInterval(function(){var w=Ni(document.elementFromPoint(I,o),!0);w!==y&&(y=w,hs()),$c(t,u.options,w,i)},10),Yc=I,Oc=o)}else{if(!this.options.bubbleScroll||Ni(b,!0)===Vn()){hs();return}$c(t,this.options,Ni(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function hs(){kt.forEach(function(n){clearInterval(n.pid)}),kt=[]}function dp(){clearInterval(Gr)}var $c=tp(function(n,e,t,i){if(e.scroll){var u=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,y=Vn(),w=!1,S;Tc!==t&&(Tc=t,hs(),Lr=e.scroll,S=e.scrollFn,Lr===!0&&(Lr=Ni(t,!0)));var N=0,H=Lr;do{var $=H,K=xt($),T=K.top,D=K.bottom,Q=K.left,L=K.right,k=K.width,v=K.height,B=void 0,p=void 0,d=$.scrollWidth,l=$.scrollHeight,g=Le($),s=$.scrollLeft,h=$.scrollTop;$===y?(B=k<d&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=v<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<d&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=v<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(L-u)<=o&&s+k<d)-(Math.abs(Q-u)<=o&&!!s),a=p&&(Math.abs(D-I)<=o&&h+v<l)-(Math.abs(T-I)<=o&&!!h);if(!kt[N])for(var r=0;r<=N;r++)kt[r]||(kt[r]={});(kt[N].vx!=C||kt[N].vy!=a||kt[N].el!==$)&&(kt[N].el=$,kt[N].vx=C,kt[N].vy=a,clearInterval(kt[N].pid),(C!=0||a!=0)&&(w=!0,kt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(ds);var m=kt[this.layer].vy?kt[this.layer].vy*b:0,E=kt[this.layer].vx?kt[this.layer].vx*b:0;typeof S=="function"&&S.call(Ge.dragged.parentNode[En],E,m,n,ds,kt[this.layer].el)!=="continue"||np(kt[this.layer].el,E,m)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&H!==y&&(H=Ni(H,!1)));Uc=w}},30),hp=function(e){var t=e.originalEvent,i=e.putSortable,u=e.dragEl,I=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,y=e.unhideGhostForTarget;if(t){var w=i||I;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);y(),w&&!w.el.contains(N)&&(o("spill"),this.onSpill({dragEl:u,putSortable:i}))}};function zc(){}zc.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var u=Ho(this.sortable.el,this.startIndex,this.options);u?this.sortable.el.insertBefore(t,u):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:hp},ui(zc,{pluginName:"revertOnSpill"});function Jc(){}Jc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,u=i||this.sortable;u.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),u.animateAll()},drop:hp},ui(Jc,{pluginName:"removeOnSpill"}),Ge.mount(new sk),Ge.mount(Jc,zc);var lk=Object.defineProperty,ck=Object.defineProperties,gk=Object.getOwnPropertyDescriptors,pp=Object.getOwnPropertySymbols,uk=Object.prototype.hasOwnProperty,dk=Object.prototype.propertyIsEnumerable,Cp=(n,e,t)=>e in n?lk(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Li=(n,e)=>{for(var t in e||(e={}))uk.call(e,t)&&Cp(n,t,e[t]);if(pp)for(var t of pp(e))dk.call(e,t)&&Cp(n,t,e[t]);return n},ps=(n,e)=>ck(n,gk(e));function Zc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Bp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function hk(){return typeof window<"u"?window.console:global.console}const pk=hk();function Ck(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Bk=/-(\w)/g,mk=Ck(n=>n.replace(Bk,(e,t)=>t.toUpperCase())),mp=["Start","Add","Remove","Update","End"],Ep=["Choose","Unchoose","Sort","Filter","Clone"],Qp=["Move"],Ek=[Qp,mp,Ep].flatMap(n=>n).map(n=>`on${n}`),Wc={manage:Qp,manageAndEmit:mp,emit:Ep};function Qk(n){return Ek.indexOf(n)!==-1}const Ik=["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 fk(n){return Ik.includes(n)}function wk(n){return["transition-group","TransitionGroup"].includes(n)}function Ip(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function bk({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,u])=>Ip(i)));return Li(Li({},t),e)}function yk({$attrs:n,callBackBuilder:e}){const t=fp(wp(n));Object.entries(e).forEach(([u,I])=>{Wc[u].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return ps(Li({},t),{draggable:i})}function wp(n){return Object.entries(n).filter(([e,t])=>!Ip(e)).map(([e,t])=>[mk(e),t]).filter(([e,t])=>!Qk(e))}const bp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},Dk=(n,e)=>n.__draggable_context=e,yp=n=>n.__draggable_context;class vk{constructor({nodes:{header:e,default:t,footer:i},root:u,realList:I}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=u.externalComponent,this.rootTransition=u.transition,this.tag=u.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:u,_isRootComponent:I}=this;return e(i,t,I?{default:()=>u}:u)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,u)=>{Dk(bp(i),{element:t[u],index:u})})}getUnderlyingVm(e){return yp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:u}=i,I=t.children,o=I.item(e);if(o===null)return u;const b=yp(o);if(b)return b.index;if(u===0)return 0;const y=bp(i[0]),w=[...I].findIndex(S=>S===y);return e<w?0:u}}function kk(n,e){const t=n[e];return t?t():[]}function _k({$slots:n,realList:e,getKey:t}){const i=e||[],[u,I]=["header","footer"].map(y=>kk(n,y)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((y,w)=>o({element:y,index:w}).map(S=>(S.key=t(y),S.props=ps(Li({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:u,footer:I,default:b}}function Mk(n){const e=wk(n),t=!fk(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function xk({$slots:n,tag:e,realList:t,getKey:i}){const u=_k({$slots:n,realList:t,getKey:i}),I=Mk(e);return new vk({nodes:u,root:I,realList:t})}function Dp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function vp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Sk(n){const e=vp.call(this,n);return(t,i)=>{e.call(this,t,i),Dp.call(this,n,t)}}let jc=null;const Nk={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}},Fk=["update:modelValue","change",...[...Wc.manageAndEmit,...Wc.emit].map(n=>n.toLowerCase())],kp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Nk,emits:Fk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:u,getKey:I}=this,o=xk({$slots:n,tag:t,realList:u,getKey:I});this.componentStructure=o;const b=bk({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&pk.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=yk({$attrs:n,callBackBuilder:{manageAndEmit:I=>Sk.call(this,I),emit:I=>Dp.bind(this,I),manage:I=>vp.call(this,I)}}),u=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(u,i),this.targetDomElement=u,u.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&wp(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,u={list:i,component:t};if(n!==e&&i){const I=t.getUnderlyingVm(e)||{};return Li(Li({},I),u)}return u},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),jc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Zc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Bp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Zc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Zc(n.item),Bp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),u=n.component.getVmIndexFromDomIndex(i);return t.indexOf(jc)!==-1||!e.willInsertAfter?u:u+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const u=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(u,n),o=ps(Li({},this.context),{futureIndex:I}),b=ps(Li({},n),{relatedContext:u,draggedContext:o});return t(b,e)},onDragEnd(){jc=null}}}),oo=A.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=bt(),i=zo(),u=A.reactive({visible:!1,title:""}),I=()=>{u.visible=!0,u.title=e.label},o=A.computed({get(){return ma(t.formValues,e.name)},set($){const K=ko(t.formValues,e.name,$);t.updateFormValues(K)}}),b=A.computed(()=>{const{rules:$,required:K,component:T}=e,D=[];if(K&&D.push({required:!0,trigger:"blur",message:"Required"}),$){const Q=$.map(L=>{const{type:k,message:v,trigger:B,customReg:p,templateExp:d}=L,l={message:v,trigger:B};return["email","url"].includes(k)?{...l,type:k}:k==="custom"&&p?{...l,pattern:fm(p)}:Im(k)?{...l,pattern:k}:k==="template"?{...l,validator:()=>d}:{}});return[...D,...Q]}if(T==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...D,Q]}return D}),y=A.computed(()=>{const $=i[e.component]||{};return $.modelName||($.modelName="modelValue"),$}),w=A.computed(()=>{const $={name:e.name,...e.props};return e.children&&($.children=e.children),$}),S=()=>{if(e.component!=="DragList")return[];const $=w.value.gridlayout||[],K=w.value.children||[],T=w.value.rowHeight||30;return $.map((D,Q)=>{var L;return{...D,i:(L=K[Q])==null?void 0:L.name,rowHeight:T}})},N=A.ref(S()),H=$=>$==null?void 0:$.replace(/ /g," ");return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const $=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues($),o.value=e.initialValue}}),A.watch(o,($,K)=>{const T=e.change,D=ut.isEqual($,K);if(!T||D)return;let Q=ut.cloneDeep(t.formValues);T.forEach(({target:L,value:k,condition:v})=>{if(v!==!1){if(L.includes(".*.")){const B=L.split(".*."),p=B.pop(),d=B.join("."),l=ma(t.formValues,d);ut.isArray(l)&&(Q=ko(Q,d,l.map(g=>({...g,[p]:k}))));return}Q=ko(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),($,K)=>{var k;const T=A.resolveComponent("el-tooltip"),D=A.resolveComponent("el-dialog"),Q=A.resolveComponent("el-button"),L=A.resolveComponent("el-form-item");return A.unref(t).design||!$.hidden?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[y.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:0},w.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":K[0]||(K[0]=v=>N.value=v)}),null,16,["gridlayout"])):y.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1},w.value,{style:{minWidth:0}}),null,16)):y.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.normalizeProps(A.mergeProps({key:2},w.value)),null,16)):(A.openBlock(),A.createBlock(L,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${$.component}-${$.name}`,{readMode:((k=e.props)==null?void 0:k.read)||A.unref(t).schema.read}]),style:A.normalizeStyle($.style),key:$.name,prop:$.name,"label-width":$.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},A.createSlots({default:A.withCtx(()=>[$.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(D,{modelValue:u.visible,"onUpdate:modelValue":K[2]||(K[2]=v=>u.visible=v),title:u.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({size:A.unref(t).schema.size},w.value,{disabled:A.unref(t).schema.disabled,[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:K[1]||(K[1]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(Q,{type:"primary",plain:"",onClick:I},{default:A.withCtx(()=>K[4]||(K[4]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(Rt)(w.value,A.unref(t).context),{[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:K[3]||(K[3]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:2},[$.hideLabel?void 0:{name:"label",fn:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),$.label&&`${$.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(H($.label)),5),$.help?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(T,{effect:"dark",content:$.help},{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(Ie),{name:"help"})])]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),$.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[$.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(mC,A.normalizeProps(A.mergeProps({key:0},A.unref(Rt)($.labelSuffix.props,A.unref(t).context))),null,16)):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),Rk={key:0,class:"actions-lt"},Lk={class:"canvas-move",size:"small",type:"primary"},Gk={key:1,class:"hidden-ico"},Pk={key:2,class:"actions-rb"},Hk=["onClick"],Kk={key:3,class:"layout-title"},Tk=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Sn(),u=zo()[e.data.component],I=A.computed(()=>{var H;return{[je("canvas-item")]:!0,active:e.data.designKey===((H=t.current)==null?void 0:H.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:w.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},y=H=>{t.updateCurrent(H),t.rightTab="attr"},w=A.ref(!1),S=()=>{w.value=!w.value},N=[{icon:"copy",handle:H=>{const $=Gd(t.list,H.designKey);t.updateList($)}},{icon:"delete",bg:"var(--el-color-danger)",handle:H=>{const $=wu(t.list,K=>K.designKey!==H.designKey);t.updateList($)}}];return(H,$)=>{var K,T;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(I.value),onClick:$[0]||($[0]=A.withModifiers(D=>y(H.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[H.data.designKey===((K=A.unref(t).current)==null?void 0:K.designKey)?(A.openBlock(),A.createElementBlock("div",Rk,[A.createElementVNode("div",Lk,[A.createVNode(A.unref(Ie),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[A.createVNode(A.unref(Ie),{name:"select"})])])):A.createCommentVNode("",!0),H.data.hidden?(A.openBlock(),A.createElementBlock("div",Gk,[A.createVNode(A.unref(Ie),{name:"hidden"})])):A.createCommentVNode("",!0),H.data.designKey===((T=A.unref(t).current)==null?void 0:T.designKey)?(A.openBlock(),A.createElementBlock("ul",Pk,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:D,handle:Q,bg:L})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>Q(H.data),["stop"]),key:D,style:A.normalizeStyle({backgroundColor:L})},[A.createVNode(A.unref(Ie),{name:D},null,8,["name"])],12,Hk)),64))])):A.createCommentVNode("",!0),A.unref(u).lbTitle?(A.openBlock(),A.createElementBlock("div",Kk,A.toDisplayString(A.unref(u).title),1)):A.createCommentVNode("",!0),A.createVNode(oo,A.mergeProps(H.data,{props:H.data.props}),null,16,["props"])],34)}}}),qc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Sn(),i=u=>{const I=u.item._underlying_vm_;t.updateCurrent(tc(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(u,I)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:u.list.length?"auto":"hidden"})},[u.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:u.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(Ie),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(u.emptyText),1)],6)),A.createVNode(A.unref(kp),{list:u.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(u.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Tk,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Uk=typeof window<"u";var _p;Uk&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Yk=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Yk)));function Ok(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(u=>{u(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(e<=0)return Sp(t);let i=0,u;return function(...I){const o=Date.now(),b=o-i;clearTimeout(u),b>=e?(i=o,t(...I)):u=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,e-b))}}function $k(n,e=100){if(typeof n!="function")return Mp;const t=(...u)=>{n(...u)};if(e<=0)return Sp(t);let i;return function(...u){clearTimeout(i),i=setTimeout(()=>{t(...u)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...u){return t=u,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Pr=new Set,Np=new WeakMap;function zk(){Pr.forEach(n=>{n(...Np.get(n))}),Pr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Pr.has(n)&&(Pr.add(n),Pr.size===1&&Promise.resolve().then(zk))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Jk(n){let e=0,t;for(let i=0,u=n.length;i<u;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function Xc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=Zk(n[t]);return e}function Zk(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),u=Tp(n),I=Array(n.length);for(let o=0,b=u.length;o<b;o++){let y=u[o];y.static||(y=Wk(i,y,e,t),i.push(y)),I[n.findIndex(w=>w.i===y.i)]=y,y.moved=!1}return I}function Wk(n,e,t,i){if(t)for(;e.y>0&&!Hr(n,e);)e.y--;else if(i){const I=i[e.i].y;for(;e.y>I&&!Hr(n,e);)e.y--}let u;for(;u=Hr(n,e);)e.y=u.y+u.h;return e}function jk(n,e){const t=Hp(n);for(let i=0,u=n.length;i<u;i++){const I=n[i];if(I.x+I.w>e.cols&&(I.x=e.cols-I.w),I.x<0&&(I.x=0,I.w=e.cols),!I.static)t.push(I);else for(;Hr(t,I);)I.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Hr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Vc(n,e,t,i,u=!1,I=!1){if(e.static)return n;const o=e.x,b=e.y,y=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let w=Tp(n);y&&(w=w.reverse());const S=Pp(w,e);if(I&&S.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,H=S.length;N<H;N++){const $=S[N];$.moved||e.y>$.y&&e.y-$.y>$.h/4||($.static?n=Kp(n,$,e,u):n=Kp(n,e,$,u))}return n}function Kp(n,e,t,i){if(i){const u={x:t.x,y:t.y,w:t.w,h:t.h};if(u.y=Math.max(e.y-t.h,0),!Hr(n,u))return Vc(n,t,void 0,u.y,!1)}return Vc(n,t,void 0,t.y+1,!1)}function qk(n,e,t,i){const u="translate3d("+e+"px,"+n+"px, 0)";return{transform:u,WebkitTransform:u,MozTransform:u,msTransform:u,OTransform:u,width:t+"px",height:i+"px",position:"absolute"}}function Xk(n,e,t,i){const u="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:u,WebkitTransform:u,MozTransform:u,msTransform:u,OTransform:u,width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function A_(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function e_(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let u=0,I=n.length;u<I;u++){const o=n[u];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+u+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+u+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+u+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+u+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+u+"].static must be a boolean!")}}function t_(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,u)=>`${t()}__${i}--${u}`}}function Up(n){return n_(n)}function n_(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),u=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:u,y:I}}function Yp(n,e,t,i){return i_(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function i_(n){return typeof n=="number"&&!Number.isNaN(n)}function o_(n,e){const t=$p(n);let i=t[0];for(let u=1,I=t.length;u<I;u++){const o=t[u];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function r_(n,e,t,i,u,I,o){if(e[i])return Xc(e[i]);let b=n;const y=$p(t),w=y.slice(y.indexOf(i));for(let S=0,N=w.length;S<N;S++){const H=w[S];if(e[H]){b=e[H];break}}return b=Xc(b||[]),Oo(jk(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let a_="auto";function s_(){return typeof document<"u"}function zp(){return s_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):a_}var Cs={exports:{}};Cs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(R,F){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);F&&(nA=nA.filter(function(cA){return Object.getOwnPropertyDescriptor(R,cA).enumerable})),j.push.apply(j,nA)}return j}function i(R){for(var F=1;F<arguments.length;F++){var j=arguments[F]!=null?arguments[F]:{};F%2?t(Object(j),!0).forEach(function(nA){y(R,nA,j[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(j,nA))})}return R}function u(R){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},u(R)}function I(R,F){if(!(R instanceof F))throw new TypeError("Cannot call a class as a function")}function o(R,F){for(var j=0;j<F.length;j++){var nA=F[j];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,T(nA.key),nA)}}function b(R,F,j){return F&&o(R.prototype,F),Object.defineProperty(R,"prototype",{writable:!1}),R}function y(R,F,j){return(F=T(F))in R?Object.defineProperty(R,F,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[F]=j,R}function w(R,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(F&&F.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),F&&N(R,F)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},S(R)}function N(R,F){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,nA){return j.__proto__=nA,j},N(R,F)}function H(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function $(R){var F=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var j,nA=S(R);if(F){var cA=S(this).constructor;j=Reflect.construct(nA,arguments,cA)}else j=nA.apply(this,arguments);return function(dA,mA){if(mA&&(typeof mA=="object"||typeof mA=="function"))return mA;if(mA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H(dA)}(this,j)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,F,j){var nA=function(dA,mA){for(;!Object.prototype.hasOwnProperty.call(dA,mA)&&(dA=S(dA))!==null;);return dA}(R,F);if(nA){var cA=Object.getOwnPropertyDescriptor(nA,F);return cA.get?cA.get.call(arguments.length<3?R:j):cA.value}},K.apply(this,arguments)}function T(R){var F=function(j,nA){if(typeof j!="object"||j===null)return j;var cA=j[Symbol.toPrimitive];if(cA!==void 0){var dA=cA.call(j,nA);if(typeof dA!="object")return dA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(R,"string");return typeof F=="symbol"?F:F+""}var D=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var F=R.document.createTextNode("");F.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(F)===F&&(R=R.wrap(R)),L=R}function v(R){return D(R)?R:(R.ownerDocument||R).defaultView||L.window}typeof window<"u"&&window&&k(window);var B=function(R){return!!R&&u(R)==="object"},p=function(R){return typeof R=="function"},d={window:function(R){return R===L||D(R)},docFrag:function(R){return B(R)&&R.nodeType===11},object:B,func:p,number:function(R){return typeof R=="number"},bool:function(R){return typeof R=="boolean"},string:function(R){return typeof R=="string"},element:function(R){if(!R||u(R)!=="object")return!1;var F=v(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":u(Element))?R instanceof Element||R instanceof F.Element:R.nodeType===1&&typeof R.nodeName=="string"},plainObject:function(R){return B(R)&&!!R.constructor&&/function Object\b/.test(R.constructor.toString())},array:function(R){return B(R)&&R.length!==void 0&&p(R.splice)}};function l(R){var F=R.interaction;if(F.prepared.name==="drag"){var j=F.prepared.axis;j==="x"?(F.coords.cur.page.y=F.coords.start.page.y,F.coords.cur.client.y=F.coords.start.client.y,F.coords.velocity.client.y=0,F.coords.velocity.page.y=0):j==="y"&&(F.coords.cur.page.x=F.coords.start.page.x,F.coords.cur.client.x=F.coords.start.client.x,F.coords.velocity.client.x=0,F.coords.velocity.page.x=0)}}function g(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="drag"){var nA=j.prepared.axis;if(nA==="x"||nA==="y"){var cA=nA==="x"?"y":"x";F.page[cA]=j.coords.start.page[cA],F.client[cA]=j.coords.start.client[cA],F.delta[cA]=0}}}var s={id:"actions/drag",install:function(R){var F=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.draggable=s.draggable,F.map.drag=s,F.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(R){var F=R.interaction,j=R.interactable,nA=R.buttons,cA=j.options.drag;if(cA&&cA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||nA&j.options.drag.mouseButtons))return R.action={name:"drag",axis:cA.lockAxis==="start"?cA.startAxis:cA.lockAxis},!1}},draggable:function(R){return d.object(R)?(this.options.drag.enabled=R.enabled!==!1,this.setPerAction("drag",R),this.setOnEvents("drag",R),/^(xy|x|y|start)$/.test(R.lockAxis)&&(this.options.drag.lockAxis=R.lockAxis),/^(xy|x|y)$/.test(R.startAxis)&&(this.options.drag.startAxis=R.startAxis),this):d.bool(R)?(this.options.drag.enabled=R,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},h=s,C={init:function(R){var F=R;C.document=F.document,C.DocumentFragment=F.DocumentFragment||a,C.SVGElement=F.SVGElement||a,C.SVGSVGElement=F.SVGSVGElement||a,C.SVGElementInstance=F.SVGElementInstance||a,C.Element=F.Element||a,C.HTMLElement=F.HTMLElement||C.Element,C.Event=F.Event,C.Touch=F.Touch||a,C.PointerEvent=F.PointerEvent||F.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,m={init:function(R){var F=r.Element,j=R.navigator||{};m.supportsTouch="ontouchstart"in R||d.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,m.supportsPointerEvent=j.pointerEnabled!==!1&&!!r.PointerEvent,m.isIOS=/iP(hone|od|ad)/.test(j.platform),m.isIOS7=/iP(hone|od|ad)/.test(j.platform)&&/OS 7[^\d]/.test(j.appVersion),m.isIe9=/MSIE 9/.test(j.userAgent),m.isOperaMobile=j.appName==="Opera"&&m.supportsTouch&&/Presto/.test(j.userAgent),m.prefixedMatchesSelector="matches"in F.prototype?"matches":"webkitMatchesSelector"in F.prototype?"webkitMatchesSelector":"mozMatchesSelector"in F.prototype?"mozMatchesSelector":"oMatchesSelector"in F.prototype?"oMatchesSelector":"msMatchesSelector",m.pEventTypes=m.supportsPointerEvent?r.PointerEvent===R.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,m.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},E=m;function M(R,F){if(R.contains)return R.contains(F);for(;F;){if(F===R)return!0;F=F.parentNode}return!1}function x(R,F){for(;d.element(R);){if(Y(R,F))return R;R=P(R)}return null}function P(R){var F=R.parentNode;if(d.docFrag(F)){for(;(F=F.host)&&d.docFrag(F););return F}return F}function Y(R,F){return L!==Q&&(F=F.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](F)}var J=function(R){return R.parentNode||R.host};function q(R,F){for(var j,nA=[],cA=R;(j=J(cA))&&cA!==F&&j!==cA.ownerDocument;)nA.unshift(cA),cA=j;return nA}function W(R,F,j){for(;d.element(R);){if(Y(R,F))return!0;if((R=P(R))===j)return Y(R,F)}return!1}function z(R){return R.correspondingUseElement||R}function X(R){var F=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return F&&{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width||F.right-F.left,height:F.height||F.bottom-F.top}}function _(R){var F,j=X(R);if(!E.isIOS7&&j){var nA={x:(F=(F=v(R))||L).scrollX||F.document.documentElement.scrollLeft,y:F.scrollY||F.document.documentElement.scrollTop};j.left+=nA.x,j.right+=nA.x,j.top+=nA.y,j.bottom+=nA.y}return j}function AA(R){for(var F=[];R;)F.push(R),R=P(R);return F}function G(R){return!!d.string(R)&&(r.document.querySelector(R),!0)}function eA(R,F){for(var j in F)R[j]=F[j];return R}function sA(R,F,j){return R==="parent"?P(j):R==="self"?F.getRect(j):x(j,R)}function oA(R,F,j,nA){var cA=R;return d.string(cA)?cA=sA(cA,F,j):d.func(cA)&&(cA=cA.apply(void 0,nA)),d.element(cA)&&(cA=_(cA)),cA}function hA(R){return R&&{x:"x"in R?R.x:R.left,y:"y"in R?R.y:R.top}}function EA(R){return!R||"x"in R&&"y"in R||((R=eA({},R)).x=R.left||0,R.y=R.top||0,R.width=R.width||(R.right||0)-R.x,R.height=R.height||(R.bottom||0)-R.y),R}function gA(R,F,j){R.left&&(F.left+=j.x),R.right&&(F.right+=j.x),R.top&&(F.top+=j.y),R.bottom&&(F.bottom+=j.y),F.width=F.right-F.left,F.height=F.bottom-F.top}function CA(R,F,j){var nA=j&&R.options[j];return hA(oA(nA&&nA.origin||R.options.origin,R,F,[R&&F]))||{x:0,y:0}}function O(R,F){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},d.string(R)&&R.search(" ")!==-1&&(R=tA(R)),d.array(R))return R.forEach(function(yA){return O(yA,F,j,nA)}),nA;if(d.object(R)&&(F=R,R=""),d.func(F)&&j(R))nA[R]=nA[R]||[],nA[R].push(F);else if(d.array(F))for(var cA=0,dA=F;cA<dA.length;cA++){var mA=dA[cA];O(R,mA,j,nA)}else if(d.object(F))for(var IA in F)O(tA(IA).map(function(yA){return"".concat(R).concat(yA)}),F[IA],j,nA);return nA}function tA(R){return R.trim().split(/ +/)}var lA=function(R,F){return Math.sqrt(R*R+F*F)},uA=["webkit","moz"];function Z(R,F){R.__set||(R.__set={});var j=function(cA){if(uA.some(function(dA){return cA.indexOf(dA)===0}))return 1;typeof R[cA]!="function"&&cA!=="__set"&&Object.defineProperty(R,cA,{get:function(){return cA in R.__set?R.__set[cA]:R.__set[cA]=F[cA]},set:function(dA){R.__set[cA]=dA},configurable:!0})};for(var nA in F)j(nA);return R}function V(R,F){R.page=R.page||{},R.page.x=F.page.x,R.page.y=F.page.y,R.client=R.client||{},R.client.x=F.client.x,R.client.y=F.client.y,R.timeStamp=F.timeStamp}function iA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function rA(R){return R instanceof r.Event||R instanceof r.Touch}function BA(R,F,j){return R=R||"page",(j=j||{}).x=F[R+"X"],j.y=F[R+"Y"],j}function vA(R,F){return F=F||{x:0,y:0},E.isOperaMobile&&rA(R)?(BA("screen",R,F),F.x+=window.scrollX,F.y+=window.scrollY):BA("page",R,F),F}function UA(R){return d.number(R.pointerId)?R.pointerId:R.identifier}function JA(R,F,j){var nA=F.length>1?WA(F):F[0];vA(nA,R.page),function(cA,dA){dA=dA||{},E.isOperaMobile&&rA(cA)?BA("screen",cA,dA):BA("client",cA,dA)}(nA,R.client),R.timeStamp=j}function qA(R){var F=[];return d.array(R)?(F[0]=R[0],F[1]=R[1]):R.type==="touchend"?R.touches.length===1?(F[0]=R.touches[0],F[1]=R.changedTouches[0]):R.touches.length===0&&(F[0]=R.changedTouches[0],F[1]=R.changedTouches[1]):(F[0]=R.touches[0],F[1]=R.touches[1]),F}function WA(R){for(var F={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},j=0;j<R.length;j++){var nA=R[j];for(var cA in F)F[cA]+=nA[cA]}for(var dA in F)F[dA]/=R.length;return F}function le(R){if(!R.length)return null;var F=qA(R),j=Math.min(F[0].pageX,F[1].pageX),nA=Math.min(F[0].pageY,F[1].pageY),cA=Math.max(F[0].pageX,F[1].pageX),dA=Math.max(F[0].pageY,F[1].pageY);return{x:j,y:nA,left:j,top:nA,right:cA,bottom:dA,width:cA-j,height:dA-nA}}function ne(R,F){var j=F+"X",nA=F+"Y",cA=qA(R),dA=cA[0][j]-cA[1][j],mA=cA[0][nA]-cA[1][nA];return lA(dA,mA)}function LA(R,F){var j=F+"X",nA=F+"Y",cA=qA(R),dA=cA[1][j]-cA[0][j],mA=cA[1][nA]-cA[0][nA];return 180*Math.atan2(mA,dA)/Math.PI}function SA(R){return d.string(R.pointerType)?R.pointerType:d.number(R.pointerType)?[void 0,void 0,"touch","pen","mouse"][R.pointerType]:/touch/.test(R.type||"")||R instanceof r.Touch?"touch":"mouse"}function ZA(R){var F=d.func(R.composedPath)?R.composedPath():R.path;return[z(F?F[0]:R.target),z(R.currentTarget)]}var Be=function(){function R(F){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=F}return b(R,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),R}();Object.defineProperty(Be.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var De=function(R,F){for(var j=0;j<F.length;j++){var nA=F[j];R.push(nA)}return R},xe=function(R){return De([],R)},YA=function(R,F){for(var j=0;j<R.length;j++)if(F(R[j],j,R))return j;return-1},$A=function(R,F){return R[YA(R,F)]},XA=function(R){w(j,R);var F=$(j);function j(nA,cA,dA){var mA;I(this,j),(mA=F.call(this,cA._interaction)).dropzone=void 0,mA.dragEvent=void 0,mA.relatedTarget=void 0,mA.draggable=void 0,mA.propagationStopped=!1,mA.immediatePropagationStopped=!1;var IA=dA==="dragleave"?nA.prev:nA.cur,yA=IA.element,xA=IA.dropzone;return mA.type=dA,mA.target=yA,mA.currentTarget=yA,mA.dropzone=xA,mA.dragEvent=cA,mA.relatedTarget=cA.target,mA.draggable=cA.interactable,mA.timeStamp=cA.timeStamp,mA}return b(j,[{key:"reject",value:function(){var nA=this,cA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&cA.cur.dropzone===this.dropzone&&cA.cur.element===this.target)if(cA.prev.dropzone=this.dropzone,cA.prev.element=this.target,cA.rejected=!0,cA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var dA=cA.activeDrops,mA=YA(dA,function(yA){var xA=yA.dropzone,DA=yA.element;return xA===nA.dropzone&&DA===nA.target});cA.activeDrops.splice(mA,1);var IA=new j(cA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new j(cA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),j}(Be);function he(R,F){for(var j=0,nA=R.slice();j<nA.length;j++){var cA=nA[j],dA=cA.dropzone,mA=cA.element;F.dropzone=dA,F.target=mA,dA.fire(F),F.propagationStopped=F.immediatePropagationStopped=!1}}function ge(R,F){for(var j=function(dA,mA){for(var IA=[],yA=0,xA=dA.interactables.list;yA<xA.length;yA++){var DA=xA[yA];if(DA.options.drop.enabled){var GA=DA.options.drop.accept;if(!(d.element(GA)&&GA!==mA||d.string(GA)&&!Y(mA,GA)||d.func(GA)&&!GA({dropzone:DA,draggableElement:mA})))for(var jA=0,ce=DA.getAllElements();jA<ce.length;jA++){var re=ce[jA];re!==mA&&IA.push({dropzone:DA,element:re,rect:DA.getRect(re)})}}}return IA}(R,F),nA=0;nA<j.length;nA++){var cA=j[nA];cA.rect=cA.dropzone.getRect(cA.element)}return j}function Ee(R,F,j){for(var nA=R.dropState,cA=R.interactable,dA=R.element,mA=[],IA=0,yA=nA.activeDrops;IA<yA.length;IA++){var xA=yA[IA],DA=xA.dropzone,GA=xA.element,jA=xA.rect,ce=DA.dropCheck(F,j,cA,dA,GA,jA);mA.push(ce?GA:null)}var re=function(de){for(var ye,Qe,kA,TA=[],PA=0;PA<de.length;PA++){var VA=de[PA],Ce=de[ye];if(VA&&PA!==ye)if(Ce){var He=J(VA),Ke=J(Ce);if(He!==VA.ownerDocument)if(Ke!==VA.ownerDocument)if(He!==Ke){TA=TA.length?TA:q(Ce);var Oe=void 0;if(Ce instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===Ke)continue;Oe=VA.ownerSVGElement}else Oe=VA;for(var on=q(Oe,Ce.ownerDocument),zn=0;on[zn]&&on[zn]===TA[zn];)zn++;var Tt=[on[zn-1],on[zn],TA[zn]];if(Tt[0])for(var oi=Tt[0].lastChild;oi;){if(oi===Tt[1]){ye=PA,TA=on;break}if(oi===Tt[2])break;oi=oi.previousSibling}}else kA=Ce,(parseInt(v(Qe=VA).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(v(kA).getComputedStyle(kA).zIndex,10)||0)&&(ye=PA);else ye=PA}else ye=PA}return ye}(mA);return nA.activeDrops[re]||null}function ke(R,F,j){var nA=R.dropState,cA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return j.type==="dragstart"&&(cA.activate=new XA(nA,j,"dropactivate"),cA.activate.target=null,cA.activate.dropzone=null),j.type==="dragend"&&(cA.deactivate=new XA(nA,j,"dropdeactivate"),cA.deactivate.target=null,cA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(cA.leave=new XA(nA,j,"dragleave"),j.dragLeave=cA.leave.target=nA.prev.element,j.prevDropzone=cA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(cA.enter=new XA(nA,j,"dragenter"),j.dragEnter=nA.cur.element,j.dropzone=nA.cur.dropzone)),j.type==="dragend"&&nA.cur.dropzone&&(cA.drop=new XA(nA,j,"drop"),j.dropzone=nA.cur.dropzone,j.relatedTarget=nA.cur.element),j.type==="dragmove"&&nA.cur.dropzone&&(cA.move=new XA(nA,j,"dropmove"),j.dropzone=nA.cur.dropzone)),cA}function wA(R,F){var j=R.dropState,nA=j.activeDrops,cA=j.cur,dA=j.prev;F.leave&&dA.dropzone.fire(F.leave),F.enter&&cA.dropzone.fire(F.enter),F.move&&cA.dropzone.fire(F.move),F.drop&&cA.dropzone.fire(F.drop),F.deactivate&&he(nA,F.deactivate),j.prev.dropzone=cA.dropzone,j.prev.element=cA.element}function NA(R,F){var j=R.interaction,nA=R.iEvent,cA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var dA=j.dropState;F.dynamicDrop&&(dA.activeDrops=ge(F,j.element));var mA=nA,IA=Ee(j,mA,cA);dA.rejected=dA.rejected&&!!IA&&IA.dropzone===dA.cur.dropzone&&IA.element===dA.cur.element,dA.cur.dropzone=IA&&IA.dropzone,dA.cur.element=IA&&IA.element,dA.events=ke(j,0,mA)}}var HA={id:"actions/drop",install:function(R){var F=R.actions,j=R.interactStatic,nA=R.Interactable,cA=R.defaults;R.usePlugin(h),nA.prototype.dropzone=function(dA){return function(mA,IA){if(d.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var yA=O(IA.listeners),xA=Object.keys(yA).reduce(function(GA,jA){return GA[/^(enter|leave)/.test(jA)?"drag".concat(jA):/^(activate|deactivate|move)/.test(jA)?"drop".concat(jA):jA]=yA[jA],GA},{}),DA=mA.options.drop.listeners;DA&&mA.off(DA),mA.on(xA),mA.options.drop.listeners=xA}return d.func(IA.ondrop)&&mA.on("drop",IA.ondrop),d.func(IA.ondropactivate)&&mA.on("dropactivate",IA.ondropactivate),d.func(IA.ondropdeactivate)&&mA.on("dropdeactivate",IA.ondropdeactivate),d.func(IA.ondragenter)&&mA.on("dragenter",IA.ondragenter),d.func(IA.ondragleave)&&mA.on("dragleave",IA.ondragleave),d.func(IA.ondropmove)&&mA.on("dropmove",IA.ondropmove),/^(pointer|center)$/.test(IA.overlap)?mA.options.drop.overlap=IA.overlap:d.number(IA.overlap)&&(mA.options.drop.overlap=Math.max(Math.min(1,IA.overlap),0)),"accept"in IA&&(mA.options.drop.accept=IA.accept),"checker"in IA&&(mA.options.drop.checker=IA.checker),mA}return d.bool(IA)?(mA.options.drop.enabled=IA,mA):mA.options.drop}(this,dA)},nA.prototype.dropCheck=function(dA,mA,IA,yA,xA,DA){return function(GA,jA,ce,re,de,ye,Qe){var kA=!1;if(!(Qe=Qe||GA.getRect(ye)))return!!GA.options.drop.checker&&GA.options.drop.checker(jA,ce,kA,GA,ye,re,de);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=CA(re,de,"drag"),VA=vA(jA);VA.x+=PA.x,VA.y+=PA.y;var Ce=VA.x>Qe.left&&VA.x<Qe.right,He=VA.y>Qe.top&&VA.y<Qe.bottom;kA=Ce&&He}var Ke=re.getRect(de);if(Ke&&TA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&d.number(TA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=TA),GA.options.drop.checker&&(kA=GA.options.drop.checker(jA,ce,kA,GA,ye,re,de)),kA}(this,dA,mA,IA,yA,xA,DA)},j.dynamicDrop=function(dA){return d.bool(dA)?(R.dynamicDrop=dA,j):R.dynamicDrop},eA(F.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),F.methodDict.drop="dropzone",R.dynamicDrop=!1,cA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var F=R.interaction;F.prepared.name==="drag"&&(F.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,F){var j=R.interaction,nA=(R.event,R.iEvent);if(j.prepared.name==="drag"){var cA=j.dropState;cA.activeDrops=[],cA.events={},cA.activeDrops=ge(F,j.element),cA.events=ke(j,0,nA),cA.events.activate&&(he(cA.activeDrops,cA.events.activate),F.fire("actions/drop:start",{interaction:j,dragEvent:nA}))}},"interactions:action-move":NA,"interactions:after-action-move":function(R,F){var j=R.interaction,nA=R.iEvent;if(j.prepared.name==="drag"){var cA=j.dropState;wA(j,cA.events),F.fire("actions/drop:move",{interaction:j,dragEvent:nA}),cA.events={}}},"interactions:action-end":function(R,F){if(R.interaction.prepared.name==="drag"){var j=R.interaction,nA=R.iEvent;NA(R,F),wA(j,j.dropState.events),F.fire("actions/drop:end",{interaction:j,dragEvent:nA})}},"interactions:stop":function(R){var F=R.interaction;if(F.prepared.name==="drag"){var j=F.dropState;j&&(j.activeDrops=null,j.events=null,j.cur.dropzone=null,j.cur.element=null,j.prev.dropzone=null,j.prev.element=null,j.rejected=!1)}}},getActiveDrops:ge,getDrop:Ee,getDropEvents:ke,fireDropEvents:wA,filterEventType:function(R){return R.search("drag")===0||R.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},ie=HA;function be(R){var F=R.interaction,j=R.iEvent,nA=R.phase;if(F.prepared.name==="gesture"){var cA=F.pointers.map(function(xA){return xA.pointer}),dA=nA==="start",mA=nA==="end",IA=F.interactable.options.deltaSource;if(j.touches=[cA[0],cA[1]],dA)j.distance=ne(cA,IA),j.box=le(cA),j.scale=1,j.ds=0,j.angle=LA(cA,IA),j.da=0,F.gesture.startDistance=j.distance,F.gesture.startAngle=j.angle;else if(mA||F.pointers.length<2){var yA=F.prevEvent;j.distance=yA.distance,j.box=yA.box,j.scale=yA.scale,j.ds=0,j.angle=yA.angle,j.da=0}else j.distance=ne(cA,IA),j.box=le(cA),j.scale=j.distance/F.gesture.startDistance,j.angle=LA(cA,IA),j.ds=j.scale-F.gesture.scale,j.da=j.angle-F.gesture.angle;F.gesture.distance=j.distance,F.gesture.angle=j.angle,d.number(j.scale)&&j.scale!==1/0&&!isNaN(j.scale)&&(F.gesture.scale=j.scale)}}var oe={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var F=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.gesturable=function(cA){return d.object(cA)?(this.options.gesture.enabled=cA.enabled!==!1,this.setPerAction("gesture",cA),this.setOnEvents("gesture",cA),this):d.bool(cA)?(this.options.gesture.enabled=cA,this):this.options.gesture},F.map.gesture=oe,F.methodDict.gesture="gesturable",nA.actions.gesture=oe.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(R){R.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(R){if(!(R.interaction.pointers.length<2)){var F=R.interactable.options.gesture;if(F&&F.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ue=oe;function Me(R,F,j,nA,cA,dA,mA){if(!F)return!1;if(F===!0){var IA=d.number(dA.width)?dA.width:dA.right-dA.left,yA=d.number(dA.height)?dA.height:dA.bottom-dA.top;if(mA=Math.min(mA,Math.abs((R==="left"||R==="right"?IA:yA)/2)),IA<0&&(R==="left"?R="right":R==="right"&&(R="left")),yA<0&&(R==="top"?R="bottom":R==="bottom"&&(R="top")),R==="left"){var xA=IA>=0?dA.left:dA.right;return j.x<xA+mA}if(R==="top"){var DA=yA>=0?dA.top:dA.bottom;return j.y<DA+mA}if(R==="right")return j.x>(IA>=0?dA.right:dA.left)-mA;if(R==="bottom")return j.y>(yA>=0?dA.bottom:dA.top)-mA}return!!d.element(nA)&&(d.element(F)?F===nA:W(nA,F,cA))}function tt(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.resizeAxes){var nA=F;j.interactable.options.resize.square?(j.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=j.resizeAxes,j.resizeAxes==="x"?nA.delta.y=0:j.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var F=R.actions,j=R.browser,nA=R.Interactable,cA=R.defaults;bA.cursors=function(dA){return dA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(j),bA.defaultMargin=j.supportsTouch||j.supportsPointerEvent?20:10,nA.prototype.resizable=function(dA){return function(mA,IA,yA){return d.object(IA)?(mA.options.resize.enabled=IA.enabled!==!1,mA.setPerAction("resize",IA),mA.setOnEvents("resize",IA),d.string(IA.axis)&&/^x$|^y$|^xy$/.test(IA.axis)?mA.options.resize.axis=IA.axis:IA.axis===null&&(mA.options.resize.axis=yA.defaults.actions.resize.axis),d.bool(IA.preserveAspectRatio)?mA.options.resize.preserveAspectRatio=IA.preserveAspectRatio:d.bool(IA.square)&&(mA.options.resize.square=IA.square),mA):d.bool(IA)?(mA.options.resize.enabled=IA,mA):mA.options.resize}(this,dA,R)},F.map.resize=bA,F.methodDict.resize="resizable",cA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(F){var j=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var cA=j,dA=nA.rect;nA._rects={start:eA({},dA),corrected:eA({},dA),previous:eA({},dA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},cA.edges=nA.prepared.edges,cA.rect=nA._rects.corrected,cA.deltaRect=nA._rects.delta}})(R),tt(R)},"interactions:action-move":function(R){(function(F){var j=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var cA=j,dA=nA.interactable.options.resize.invert,mA=dA==="reposition"||dA==="negate",IA=nA.rect,yA=nA._rects,xA=yA.start,DA=yA.corrected,GA=yA.delta,jA=yA.previous;if(eA(jA,DA),mA){if(eA(DA,IA),dA==="reposition"){if(DA.top>DA.bottom){var ce=DA.top;DA.top=DA.bottom,DA.bottom=ce}if(DA.left>DA.right){var re=DA.left;DA.left=DA.right,DA.right=re}}}else DA.top=Math.min(IA.top,xA.bottom),DA.bottom=Math.max(IA.bottom,xA.top),DA.left=Math.min(IA.left,xA.right),DA.right=Math.max(IA.right,xA.left);for(var de in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)GA[de]=DA[de]-jA[de];cA.edges=nA.prepared.edges,cA.rect=DA,cA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.prepared.edges){var nA=F;nA.edges=j.prepared.edges,nA.rect=j._rects.corrected,nA.deltaRect=j._rects.delta}},"auto-start:check":function(R){var F=R.interaction,j=R.interactable,nA=R.element,cA=R.rect,dA=R.buttons;if(cA){var mA=eA({},F.coords.cur.page),IA=j.options.resize;if(IA&&IA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||dA&IA.mouseButtons)){if(d.object(IA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var xA in yA)yA[xA]=Me(xA,IA.edges[xA],mA,F._latestPointer.eventTarget,nA,cA,IA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(R.action={name:"resize",edges:yA})}else{var DA=IA.axis!=="y"&&mA.x>cA.right-bA.defaultMargin,GA=IA.axis!=="x"&&mA.y>cA.bottom-bA.defaultMargin;(DA||GA)&&(R.action={name:"resize",axes:(DA?"x":"")+(GA?"y":"")})}return!R.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(R){var F=R.edges,j=R.axis,nA=R.name,cA=bA.cursors,dA=null;if(j)dA=cA[nA+j];else if(F){for(var mA="",IA=0,yA=["top","bottom","left","right"];IA<yA.length;IA++){var xA=yA[IA];F[xA]&&(mA+=xA)}dA=cA[mA]}return dA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,zA={id:"actions",install:function(R){R.usePlugin(ue),R.usePlugin(RA),R.usePlugin(h),R.usePlugin(ie)}},OA=0,fe={request:function(R){return lt(R)},cancel:function(R){return MA(R)},init:function(R){if(lt=R.requestAnimationFrame,MA=R.cancelAnimationFrame,!lt)for(var F=["ms","moz","webkit","o"],j=0;j<F.length;j++){var nA=F[j];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&<.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(cA){var dA=Date.now(),mA=Math.max(0,16-(dA-OA)),IA=R.setTimeout(function(){cA(dA+mA)},mA);return OA=dA+mA,IA},MA=function(cA){return clearTimeout(cA)})}},te={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(R){te.isScrolling=!0,fe.cancel(te.i),R.autoScroll=te,te.interaction=R,te.prevTime=te.now(),te.i=fe.request(te.scroll)},stop:function(){te.isScrolling=!1,te.interaction&&(te.interaction.autoScroll=null),fe.cancel(te.i)},scroll:function(){var R=te.interaction,F=R.interactable,j=R.element,nA=R.prepared.name,cA=F.options[nA].autoScroll,dA=_e(cA.container,F,j),mA=te.now(),IA=(mA-te.prevTime)/1e3,yA=cA.speed*IA;if(yA>=1){var xA={x:te.x*yA,y:te.y*yA};if(xA.x||xA.y){var DA=qe(dA);d.window(dA)?dA.scrollBy(xA.x,xA.y):dA&&(dA.scrollLeft+=xA.x,dA.scrollTop+=xA.y);var GA=qe(dA),jA={x:GA.x-DA.x,y:GA.y-DA.y};(jA.x||jA.y)&&F.fire({type:"autoscroll",target:j,interactable:F,delta:jA,interaction:R,container:dA})}te.prevTime=mA}te.isScrolling&&(fe.cancel(te.i),te.i=fe.request(te.scroll))},check:function(R,F){var j;return(j=R.options[F].autoScroll)==null?void 0:j.enabled},onInteractionMove:function(R){var F=R.interaction,j=R.pointer;if(F.interacting()&&te.check(F.interactable,F.prepared.name))if(F.simulation)te.x=te.y=0;else{var nA,cA,dA,mA,IA=F.interactable,yA=F.element,xA=F.prepared.name,DA=IA.options[xA].autoScroll,GA=_e(DA.container,IA,yA);if(d.window(GA))mA=j.clientX<te.margin,nA=j.clientY<te.margin,cA=j.clientX>GA.innerWidth-te.margin,dA=j.clientY>GA.innerHeight-te.margin;else{var jA=X(GA);mA=j.clientX<jA.left+te.margin,nA=j.clientY<jA.top+te.margin,cA=j.clientX>jA.right-te.margin,dA=j.clientY>jA.bottom-te.margin}te.x=cA?1:mA?-1:0,te.y=dA?1:nA?-1:0,te.isScrolling||(te.margin=DA.margin,te.speed=DA.speed,te.start(F))}}};function _e(R,F,j){return(d.string(R)?sA(R,F,j):R)||v(j)}function qe(R){return d.window(R)&&(R=window.document.body),{x:R.scrollLeft,y:R.scrollTop}}var pt={id:"auto-scroll",install:function(R){var F=R.defaults,j=R.actions;R.autoScroll=te,te.now=function(){return R.now()},j.phaselessTypes.autoscroll=!0,F.perAction.autoScroll=te.defaults},listeners:{"interactions:new":function(R){R.interaction.autoScroll=null},"interactions:destroy":function(R){R.interaction.autoScroll=null,te.stop(),te.interaction&&(te.interaction=null)},"interactions:stop":te.stop,"interactions:action-move":function(R){return te.onInteractionMove(R)}}},ze=pt;function At(R,F){var j=!1;return function(){return j||(L.console.warn(F),j=!0),R.apply(this,arguments)}}function gt(R,F){return R.name=F.name,R.axis=F.axis,R.edges=F.edges,R}function Pe(R){return d.bool(R)?(this.options.styleCursor=R,this):R===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(R){return d.func(R)?(this.options.actionChecker=R,this):R===null?(delete this.options.actionChecker,this):this.options.actionChecker}var mt={id:"auto-start/interactableMethods",install:function(R){var F=R.Interactable;F.prototype.getAction=function(j,nA,cA,dA){var mA=function(IA,yA,xA,DA,GA){var jA=IA.getRect(DA),ce=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],re={action:null,interactable:IA,interaction:xA,element:DA,rect:jA,buttons:ce};return GA.fire("auto-start:check",re),re.action}(this,nA,cA,dA,R);return this.options.actionChecker?this.options.actionChecker(j,nA,mA,this,dA,cA):mA},F.prototype.ignoreFrom=At(function(j){return this._backCompatOption("ignoreFrom",j)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),F.prototype.allowFrom=At(function(j){return this._backCompatOption("allowFrom",j)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),F.prototype.actionChecker=ot,F.prototype.styleCursor=Pe}};function nt(R,F,j,nA,cA){return F.testIgnoreAllow(F.options[R.name],j,nA)&&F.options[R.name].enabled&&gn(F,j,R,cA)?R:null}function Nn(R,F,j,nA,cA,dA,mA){for(var IA=0,yA=nA.length;IA<yA;IA++){var xA=nA[IA],DA=cA[IA],GA=xA.getAction(F,j,R,DA);if(GA){var jA=nt(GA,xA,DA,dA,mA);if(jA)return{action:jA,interactable:xA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(R,F,j,nA,cA){var dA=[],mA=[],IA=nA;function yA(DA){dA.push(DA),mA.push(IA)}for(;d.element(IA);){dA=[],mA=[],cA.interactables.forEachMatch(IA,yA);var xA=Nn(R,F,j,dA,mA,nA,cA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=P(IA)}return{action:null,interactable:null,element:null}}function Vt(R,F,j){var nA=F.action,cA=F.interactable,dA=F.element;nA=nA||{name:null},R.interactable=cA,R.element=dA,gt(R.prepared,nA),R.rect=cA&&nA.name?cA.getRect(dA):null,An(R,j),j.fire("autoStart:prepared",{interaction:R})}function gn(R,F,j,nA){var cA=R.options,dA=cA[j.name].max,mA=cA[j.name].maxPerElement,IA=nA.autoStart.maxInteractions,yA=0,xA=0,DA=0;if(!(dA&&mA&&IA))return!1;for(var GA=0,jA=nA.interactions.list;GA<jA.length;GA++){var ce=jA[GA],re=ce.prepared.name;if(ce.interacting()&&(++yA>=IA||ce.interactable===R&&((xA+=re===j.name?1:0)>=dA||ce.element===F&&(DA++,re===j.name&&DA>=mA))))return!1}return IA>0}function wn(R,F){return d.number(R)?(F.autoStart.maxInteractions=R,this):F.autoStart.maxInteractions}function St(R,F,j){var nA=j.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=F,R.style.cursor=F,j.autoStart.cursorElement=F?R:null}function An(R,F){var j=R.interactable,nA=R.element,cA=R.prepared;if(R.pointerType==="mouse"&&j&&j.options.styleCursor){var dA="";if(cA.name){var mA=j.options[cA.name].cursorChecker;dA=d.func(mA)?mA(cA,j,nA,R._interacting):F.actions.map[cA.name].getCursor(cA)}St(R.element,dA||"",F)}else F.autoStart.cursorElement&&St(F.autoStart.cursorElement,"",F)}var On={id:"auto-start/base",before:["actions"],install:function(R){var F=R.interactStatic,j=R.defaults;R.usePlugin(mt),j.base.actionChecker=null,j.base.styleCursor=!0,eA(j.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),F.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget;j.interacting()||Vt(j,Xt(j,nA,cA,dA,F),F)},"interactions:move":function(R,F){(function(j,nA){var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget;cA.pointerType!=="mouse"||cA.pointerIsDown||cA.interacting()||Vt(cA,Xt(cA,dA,mA,IA,nA),nA)})(R,F),function(j,nA){var cA=j.interaction;if(cA.pointerIsDown&&!cA.interacting()&&cA.pointerWasMoved&&cA.prepared.name){nA.fire("autoStart:before-start",j);var dA=cA.interactable,mA=cA.prepared.name;mA&&dA&&(dA.options[mA].manualStart||!gn(dA,cA.element,cA.prepared,nA)?cA.stop():(cA.start(cA.prepared,dA,cA.element),An(cA,nA)))}}(R,F)},"interactions:stop":function(R,F){var j=R.interaction,nA=j.interactable;nA&&nA.options.styleCursor&&St(j.element,"",F)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},en=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,F){var j=R.interaction,nA=R.eventTarget,cA=R.dx,dA=R.dy;if(j.prepared.name==="drag"){var mA=Math.abs(cA),IA=Math.abs(dA),yA=j.interactable.options.drag,xA=yA.startAxis,DA=mA>IA?"x":mA<IA?"y":"xy";if(j.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&xA!=="xy"&&xA!==DA){j.prepared.name=null;for(var GA=nA,jA=function(re){if(re!==j.interactable){var de=j.interactable.options.drag;if(!de.manualStart&&re.testIgnoreAllow(de,GA,nA)){var ye=re.getAction(j.downPointer,j.downEvent,j,GA);if(ye&&ye.name==="drag"&&function(Qe,kA){if(!kA)return!1;var TA=kA.options.drag.startAxis;return Qe==="xy"||TA==="xy"||TA===Qe}(DA,re)&&en.validateAction(ye,re,GA,nA,F))return re}}};d.element(GA);){var ce=F.interactables.forEachMatch(GA,jA);if(ce){j.prepared.name="drag",j.interactable=ce,j.element=GA;break}GA=P(GA)}}}}}};function Ci(R){var F=R.prepared&&R.prepared.name;if(!F)return null;var j=R.interactable.options;return j[F].hold||j[F].delay}var co={id:"auto-start/hold",install:function(R){var F=R.defaults;R.usePlugin(en),F.perAction.hold=0,F.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var F=R.interaction,j=Ci(F);j>0&&(F.autoStartHoldTimer=setTimeout(function(){F.start(F.prepared,F.interactable,F.element)},j))},"interactions:move":function(R){var F=R.interaction,j=R.duplicate;F.autoStartHoldTimer&&F.pointerWasMoved&&!j&&(clearTimeout(F.autoStartHoldTimer),F.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var F=R.interaction;Ci(F)>0&&(F.prepared.name=null)}},getHoldDuration:Ci},Bi=co,ei={id:"auto-start",install:function(R){R.usePlugin(en),R.usePlugin(Bi),R.usePlugin(pi)}},Pi=function(R){return/^(always|never|auto)$/.test(R)?(this.options.preventDefault=R,this):d.bool(R)?(this.options.preventDefault=R?"always":"never",this):this.options.preventDefault};function go(R){var F=R.interaction,j=R.event;F.interactable&&F.interactable.checkAndPreventDefault(j)}var ti={id:"core/interactablePreventDefault",install:function(R){var F=R.Interactable;F.prototype.preventDefault=Pi,F.prototype.checkAndPreventDefault=function(j){return function(nA,cA,dA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(cA.events.supportsPassive&&/^touch(start|move)$/.test(dA.type)){var IA=v(dA.target).document,yA=cA.getDocOptions(IA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(dA.type)||d.element(dA.target)&&Y(dA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||dA.preventDefault()}else dA.preventDefault()}(this,R,j)},R.interactions.docEvents.push({type:"dragstart",listener:function(j){for(var nA=0,cA=R.interactions.list;nA<cA.length;nA++){var dA=cA[nA];if(dA.element&&(dA.element===j.target||M(dA.element,j.target)))return void dA.interactable.checkAndPreventDefault(j)}}})},listeners:["down","move","up","cancel"].reduce(function(R,F){return R["interactions:".concat(F)]=go,R},{})};function bn(R,F){if(F.phaselessTypes[R])return!0;for(var j in F.map)if(R.indexOf(j)===0&&R.substr(j.length)in F.phases)return!0;return!1}function Hi(R){var F={};for(var j in R){var nA=R[j];d.plainObject(nA)?F[j]=Hi(nA):d.array(nA)?F[j]=xe(nA):F[j]=nA}return F}var Jo=function(){function R(F){I(this,R),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=F,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(F,j){var nA,cA,dA=F.phase,mA=this.interaction,IA=function(xA){var DA=xA.interactable.options[xA.prepared.name],GA=DA.modifiers;return GA&&GA.length?GA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(jA){var ce=DA[jA];return ce&&ce.enabled&&{options:ce,methods:ce._methods}}).filter(function(jA){return!!jA})}(mA);this.prepareStates(IA),this.startEdges=eA({},mA.edges),this.edges=eA({},this.startEdges),this.startOffset=(nA=mA.rect,cA=j,nA?{left:cA.x-nA.left,top:cA.y-nA.top,right:nA.right-cA.x,bottom:nA.bottom-cA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:dA,pageCoords:j,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(F){var j=this.interaction;return F.interaction=j,F.interactable=j.interactable,F.element=j.element,F.rect||(F.rect=j.rect),F.edges||(F.edges=this.startEdges),F.startOffset=this.startOffset,F}},{key:"startAll",value:function(F){for(var j=0,nA=this.states;j<nA.length;j++){var cA=nA[j];cA.methods.start&&(F.state=cA,cA.methods.start(F))}}},{key:"setAll",value:function(F){var j=F.phase,nA=F.preEnd,cA=F.skipModifiers,dA=F.rect,mA=F.edges;F.coords=eA({},F.pageCoords),F.rect=eA({},dA),F.edges=eA({},mA);for(var IA=cA?this.states.slice(cA):this.states,yA=uo(F.coords,F.rect),xA=0;xA<IA.length;xA++){var DA,GA=IA[xA],jA=GA.options,ce=eA({},F.coords),re=null;(DA=GA.methods)!=null&&DA.set&&this.shouldDo(jA,nA,j)&&(F.state=GA,re=GA.methods.set(F),gA(F.edges,F.rect,{x:F.coords.x-ce.x,y:F.coords.y-ce.y})),yA.eventProps.push(re)}eA(this.edges,F.edges),yA.delta.x=F.coords.x-F.pageCoords.x,yA.delta.y=F.coords.y-F.pageCoords.y,yA.rectDelta.left=F.rect.left-dA.left,yA.rectDelta.right=F.rect.right-dA.right,yA.rectDelta.top=F.rect.top-dA.top,yA.rectDelta.bottom=F.rect.bottom-dA.bottom;var de=this.result.coords,ye=this.result.rect;if(de&&ye){var Qe=yA.rect.left!==ye.left||yA.rect.right!==ye.right||yA.rect.top!==ye.top||yA.rect.bottom!==ye.bottom;yA.changed=Qe||de.x!==yA.coords.x||de.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(F){var j=this.interaction,nA=F.phase,cA=j.coords.cur,dA=j.coords.start,mA=this.result,IA=this.startDelta,yA=mA.delta;nA==="start"&&eA(this.startDelta,mA.delta);for(var xA=0,DA=[[dA,IA],[cA,yA]];xA<DA.length;xA++){var GA=DA[xA],jA=GA[0],ce=GA[1];jA.page.x+=ce.x,jA.page.y+=ce.y,jA.client.x+=ce.x,jA.client.y+=ce.y}var re=this.result.rectDelta,de=F.rect||j.rect;de.left+=re.left,de.right+=re.right,de.top+=re.top,de.bottom+=re.bottom,de.width=de.right-de.left,de.height=de.bottom-de.top}},{key:"setAndApply",value:function(F){var j=this.interaction,nA=F.phase,cA=F.preEnd,dA=F.skipModifiers,mA=this.setAll(this.fillArg({preEnd:cA,phase:nA,pageCoords:F.modifiedCoords||j.coords.cur.page}));if(this.result=mA,!mA.changed&&(!dA||dA<this.states.length)&&j.interacting())return!1;if(F.modifiedCoords){var IA=j.coords.cur.page,yA={x:F.modifiedCoords.x-IA.x,y:F.modifiedCoords.y-IA.y};mA.coords.x+=yA.x,mA.coords.y+=yA.y,mA.delta.x+=yA.x,mA.delta.y+=yA.y}this.applyToInteraction(F)}},{key:"beforeEnd",value:function(F){var j=F.interaction,nA=F.event,cA=this.states;if(cA&&cA.length){for(var dA=!1,mA=0;mA<cA.length;mA++){var IA=cA[mA];F.state=IA;var yA=IA.options,xA=IA.methods,DA=xA.beforeEnd&&xA.beforeEnd(F);if(DA)return this.endResult=DA,!1;dA=dA||!dA&&this.shouldDo(yA,!0,F.phase,!0)}dA&&j.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(F){var j=F.interaction;if(this.states&&this.states.length){var nA=eA({states:this.states,interactable:j.interactable,element:j.element,rect:null},F);this.fillArg(nA);for(var cA=0,dA=this.states;cA<dA.length;cA++){var mA=dA[cA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(F){this.states=[];for(var j=0;j<F.length;j++){var nA=F[j],cA=nA.options,dA=nA.methods,mA=nA.name;this.states.push({options:cA,methods:dA,index:j,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(F){var j=F.interaction,nA=j.coords,cA=j.rect,dA=j.modification;if(dA.result){for(var mA=dA.startDelta,IA=dA.result,yA=IA.delta,xA=IA.rectDelta,DA=0,GA=[[nA.start,mA],[nA.cur,yA]];DA<GA.length;DA++){var jA=GA[DA],ce=jA[0],re=jA[1];ce.page.x-=re.x,ce.page.y-=re.y,ce.client.x-=re.x,ce.client.y-=re.y}cA.left-=xA.left,cA.right-=xA.right,cA.top-=xA.top,cA.bottom-=xA.bottom}}},{key:"shouldDo",value:function(F,j,nA,cA){return!(!F||F.enabled===!1||cA&&!F.endOnly||F.endOnly&&!j||nA==="start"&&!F.setStart)}},{key:"copyFrom",value:function(F){this.startOffset=F.startOffset,this.startDelta=F.startDelta,this.startEdges=F.startEdges,this.edges=F.edges,this.states=F.states.map(function(j){return Hi(j)}),this.result=uo(eA({},F.result.coords),eA({},F.result.rect))}},{key:"destroy",value:function(){for(var F in this)this[F]=null}}]),R}();function uo(R,F){return{rect:F,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Fn(R,F){var j=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},cA=function(dA){var mA=dA||{};for(var IA in mA.enabled=mA.enabled!==!1,j)IA in mA||(mA[IA]=j[IA]);var yA={options:mA,methods:nA,name:F,enable:function(){return mA.enabled=!0,yA},disable:function(){return mA.enabled=!1,yA}};return yA};return F&&typeof F=="string"&&(cA._defaults=j,cA._methods=nA),cA}function ho(R){var F=R.iEvent,j=R.interaction.modification.result;j&&(F.modifiers=j.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var F=R.interaction;F.modification=new Jo(F)},"interactions:before-action-start":function(R){var F=R.interaction,j=R.interaction.modification;j.start(R,F.coords.start.page),F.edges=j.edges,j.applyToInteraction(R)},"interactions:before-action-move":function(R){var F=R.interaction,j=F.modification,nA=j.setAndApply(R);return F.edges=j.edges,nA},"interactions:before-action-end":function(R){var F=R.interaction,j=F.modification,nA=j.beforeEnd(R);return F.edges=j.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-move":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:stop":function(R){return R.interaction.modification.stop(R)}}},Zo=bs,Wo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(j,R);var F=$(j);function j(nA,cA,dA,mA,IA,yA,xA){var DA;I(this,j),(DA=F.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,IA=IA||nA.element;var GA=nA.interactable,jA=(GA&&GA.options||Wo).deltaSource,ce=CA(GA,IA,dA),re=mA==="start",de=mA==="end",ye=re?H(DA):nA.prevEvent,Qe=re?nA.coords.start:de?{page:ye.page,client:ye.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=eA({},Qe.page),DA.client=eA({},Qe.client),DA.rect=eA({},nA.rect),DA.timeStamp=Qe.timeStamp,de||(DA.page.x-=ce.x,DA.page.y-=ce.y,DA.client.x-=ce.x,DA.client.y-=ce.y),DA.ctrlKey=cA.ctrlKey,DA.altKey=cA.altKey,DA.shiftKey=cA.shiftKey,DA.metaKey=cA.metaKey,DA.button=cA.button,DA.buttons=cA.buttons,DA.target=IA,DA.currentTarget=IA,DA.preEnd=yA,DA.type=xA||dA+(mA||""),DA.interactable=GA,DA.t0=re?nA.pointers[nA.pointers.length-1].downTime:ye.t0,DA.x0=nA.coords.start.page.x-ce.x,DA.y0=nA.coords.start.page.y-ce.y,DA.clientX0=nA.coords.start.client.x-ce.x,DA.clientY0=nA.coords.start.client.y-ce.y,DA.delta=re||de?{x:0,y:0}:{x:DA[jA].x-ye[jA].x,y:DA[jA].y-ye[jA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=eA({},nA.coords.velocity[jA]),DA.speed=lA(DA.velocity.x,DA.velocity.y),DA.swipe=de||mA==="inertiastart"?DA.getSwipe():null,DA}return b(j,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var cA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;cA<0&&(cA+=360);var dA=112.5<=cA&&cA<247.5,mA=202.5<=cA&&cA<337.5;return{up:mA,down:!mA&&22.5<=cA&&cA<157.5,left:dA,right:!dA&&(292.5<=cA||cA<67.5),angle:cA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),j}(Be);Object.defineProperties(ni.prototype,{pageX:{get:function(){return this.page.x},set:function(R){this.page.x=R}},pageY:{get:function(){return this.page.y},set:function(R){this.page.y=R}},clientX:{get:function(){return this.client.x},set:function(R){this.client.x=R}},clientY:{get:function(){return this.client.y},set:function(R){this.client.y=R}},dx:{get:function(){return this.delta.x},set:function(R){this.delta.x=R}},dy:{get:function(){return this.delta.y},set:function(R){this.delta.y=R}},velocityX:{get:function(){return this.velocity.x},set:function(R){this.velocity.x=R}},velocityY:{get:function(){return this.velocity.y},set:function(R){this.velocity.y=R}}});var ys=b(function R(F,j,nA,cA,dA){I(this,R),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=F,this.pointer=j,this.event=nA,this.downTime=cA,this.downTarget=dA}),Ds=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),vs=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),ks=0,_s=function(){function R(F){var j=this,nA=F.pointerType,cA=F.scopeFire;I(this,R),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=cA,this.pointerType=nA;var dA=this;this._proxy={};var mA=function(DA){Object.defineProperty(j._proxy,DA,{get:function(){return dA[DA]}})};for(var IA in Ds)mA(IA);var yA=function(DA){Object.defineProperty(j._proxy,DA,{value:function(){return dA[DA].apply(dA,arguments)}})};for(var xA in vs)yA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(F,j,nA){var cA=this.updatePointer(F,j,nA,!0),dA=this.pointers[cA];this._scopeFire("interactions:down",{pointer:F,event:j,eventTarget:nA,pointerIndex:cA,pointerInfo:dA,type:"down",interaction:this})}},{key:"start",value:function(F,j,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(F.name==="gesture"?2:1)||!j.options[F.name].enabled)&&(gt(this.prepared,F),this.interactable=j,this.element=nA,this.rect=j.getRect(nA),this.edges=this.prepared.edges?eA({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(F,j,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(F,j,nA,!1);var cA,dA,mA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(cA=this.coords.cur.client.x-this.coords.start.client.x,dA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=lA(cA,dA)>this.pointerMoveTolerance);var IA,yA,xA,DA=this.getPointerIndex(F),GA={pointer:F,pointerIndex:DA,pointerInfo:this.pointers[DA],event:j,type:"move",eventTarget:nA,dx:cA,dy:dA,duplicate:mA,interaction:this};mA||(IA=this.coords.velocity,yA=this.coords.delta,xA=Math.max(yA.timeStamp/1e3,.001),IA.page.x=yA.page.x/xA,IA.page.y=yA.page.y/xA,IA.client.x=yA.client.x/xA,IA.client.y=yA.client.y/xA,IA.timeStamp=xA),this._scopeFire("interactions:move",GA),mA||this.simulation||(this.interacting()&&(GA.type=null,this.move(GA)),this.pointerWasMoved&&V(this.coords.prev,this.coords.cur))}},{key:"move",value:function(F){F&&F.event||iA(this.coords.delta),(F=eA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},F||{})).phase="move",this._doPhase(F)}},{key:"pointerUp",value:function(F,j,nA,cA){var dA=this.getPointerIndex(F);dA===-1&&(dA=this.updatePointer(F,j,nA,!1));var mA=/cancel$/i.test(j.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:F,pointerIndex:dA,pointerInfo:this.pointers[dA],event:j,eventTarget:nA,type:mA,curEventTarget:cA,interaction:this}),this.simulation||this.end(j),this.removePointer(F,j)}},{key:"documentBlur",value:function(F){this.end(F),this._scopeFire("interactions:blur",{event:F,type:"blur",interaction:this})}},{key:"end",value:function(F){var j;this._ending=!0,F=F||this._latestPointer.event,this.interacting()&&(j=this._doPhase({event:F,interaction:this,phase:"end"})),this._ending=!1,j===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(F){var j=UA(F);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:YA(this.pointers,function(nA){return nA.id===j})}},{key:"getPointerInfo",value:function(F){return this.pointers[this.getPointerIndex(F)]}},{key:"updatePointer",value:function(F,j,nA,cA){var dA,mA,IA,yA=UA(F),xA=this.getPointerIndex(F),DA=this.pointers[xA];return cA=cA!==!1&&(cA||/(down|start)$/i.test(j.type)),DA?DA.pointer=F:(DA=new ys(yA,F,j,null,null),xA=this.pointers.length,this.pointers.push(DA)),JA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),dA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,dA.page.x=IA.page.x-mA.page.x,dA.page.y=IA.page.y-mA.page.y,dA.client.x=IA.client.x-mA.client.x,dA.client.y=IA.client.y-mA.client.y,dA.timeStamp=IA.timeStamp-mA.timeStamp,cA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,Z(this.downPointer,F),this.interacting()||(V(this.coords.start,this.coords.cur),V(this.coords.prev,this.coords.cur),this.downEvent=j,this.pointerWasMoved=!1)),this._updateLatestPointer(F,j,nA),this._scopeFire("interactions:update-pointer",{pointer:F,event:j,eventTarget:nA,down:cA,pointerInfo:DA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(F,j){var nA=this.getPointerIndex(F);if(nA!==-1){var cA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:F,event:j,eventTarget:null,pointerIndex:nA,pointerInfo:cA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(F,j,nA){this._latestPointer.pointer=F,this._latestPointer.event=j,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(F,j,nA,cA){return new ni(this,F,this.prepared.name,j,this.element,nA,cA)}},{key:"_fireEvent",value:function(F){var j;(j=this.interactable)==null||j.fire(F),(!this.prevEvent||F.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=F)}},{key:"_doPhase",value:function(F){var j=F.event,nA=F.phase,cA=F.preEnd,dA=F.type,mA=this.rect;if(mA&&nA==="move"&&(gA(this.edges,mA,this.coords.delta[this.interactable.options.deltaSource]),mA.width=mA.right-mA.left,mA.height=mA.bottom-mA.top),this._scopeFire("interactions:before-action-".concat(nA),F)===!1)return!1;var IA=F.iEvent=this._createPreparedEvent(j,nA,cA,dA);return this._scopeFire("interactions:action-".concat(nA),F),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),F),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Or(R){$r(R.interaction)}function $r(R){if(!function(j){return!(!j.offset.pending.x&&!j.offset.pending.y)}(R))return!1;var F=R.offset.pending;return zr(R.coords.cur,F),zr(R.coords.delta,F),gA(R.edges,R.rect,F),F.x=0,F.y=0,!0}function sg(R){var F=R.x,j=R.y;this.offset.pending.x+=F,this.offset.pending.y+=j,this.offset.total.x+=F,this.offset.total.y+=j}function zr(R,F){var j=R.page,nA=R.client,cA=F.x,dA=F.y;j.x+=cA,j.y+=dA,nA.x+=cA,nA.y+=dA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(R){R.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(R){return function(F){F.pointerIsDown&&(zr(F.coords.cur,F.offset.total),F.offset.pending.x=0,F.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Or,"interactions:before-action-move":Or,"interactions:before-action-end":function(R){var F=R.interaction;if($r(F))return F.move({offset:!0}),F.end(),!1},"interactions:stop":function(R){var F=R.interaction;F.offset.total.x=0,F.offset.total.y=0,F.offset.pending.x=0,F.offset.pending.y=0}}},Jr=lg,cg=function(){function R(F){I(this,R),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=F}return b(R,[{key:"start",value:function(F){var j=this.interaction,nA=jo(j);if(!nA||!nA.enabled)return!1;var cA=j.coords.velocity.client,dA=lA(cA.x,cA.y),mA=this.modification||(this.modification=new Jo(j));if(mA.copyFrom(j.modification),this.t0=j._now(),this.allowResume=nA.allowResume,this.v0=dA,this.currentOffset={x:0,y:0},this.startCoords=j.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-j.coords.cur.timeStamp<50&&dA>nA.minSpeed&&dA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return j.modification.result.rect=null,j.offsetBy(this.targetOffset),j._doPhase({interaction:j,event:F,phase:"inertiastart"}),j.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),j.modification.result.rect=null,this.active=!0,j.simulation=this,!0}},{key:"startInertia",value:function(){var F=this,j=this.interaction.coords.velocity.client,nA=jo(this.interaction),cA=nA.resistance,dA=-Math.log(nA.endSpeed/this.v0)/cA;this.targetOffset={x:(j.x-dA)/cA,y:(j.y-dA)/cA},this.te=dA,this.lambda_v0=cA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var mA=this.modification,IA=this.modifierArg;IA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},mA.result=mA.setAll(IA),mA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+mA.result.delta.x,y:this.targetOffset.y+mA.result.delta.y}),this.onNextFrame(function(){return F.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var F=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return F.smoothEndTick()})}},{key:"onNextFrame",value:function(F){var j=this;this.timeout=fe.request(function(){j.active&&F()})}},{key:"inertiaTick",value:function(){var F,j,nA,cA,dA,mA,IA,yA=this,xA=this.interaction,DA=jo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var jA,ce=1-(Math.exp(-DA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(F=0,j=0,nA=this.targetOffset.x,cA=this.targetOffset.y,dA=this.modifiedOffset.x,mA=this.modifiedOffset.y,jA={x:Ms(IA=ce,F,nA,dA),y:Ms(IA,j,cA,mA)}):jA={x:this.targetOffset.x*ce,y:this.targetOffset.y*ce};var re={x:jA.x-this.currentOffset.x,y:jA.y-this.currentOffset.y};this.currentOffset.x+=re.x,this.currentOffset.y+=re.y,xA.offsetBy(re),xA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else xA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var F=this,j=this.interaction,nA=j._now()-this.t0,cA=jo(j).smoothEndDuration;if(nA<cA){var dA={x:qo(nA,0,this.targetOffset.x,cA),y:qo(nA,0,this.targetOffset.y,cA)},mA={x:dA.x-this.currentOffset.x,y:dA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,j.offsetBy(mA),j.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return F.smoothEndTick()})}else j.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(F){var j=F.pointer,nA=F.event,cA=F.eventTarget,dA=this.interaction;dA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),dA.updatePointer(j,nA,cA,!0),dA._doPhase({interaction:dA,event:nA,phase:"resume"}),V(dA.coords.prev,dA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,fe.cancel(this.timeout)}}]),R}();function jo(R){var F=R.interactable,j=R.prepared;return F&&F.options&&j.name&&F.options[j.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(R){var F=R.defaults;R.usePlugin(Jr),R.usePlugin(Zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,F.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var F=R.interaction;F.inertia=new cg(F)},"interactions:before-action-end":function(R){var F=R.interaction,j=R.event;return(!F._interacting||F.simulation||!F.inertia.start(j))&&null},"interactions:down":function(R){var F=R.interaction,j=R.eventTarget,nA=F.inertia;if(nA.active)for(var cA=j;d.element(cA);){if(cA===F.element){nA.resume(R);break}cA=P(cA)}},"interactions:stop":function(R){var F=R.interaction.inertia;F.active&&F.stop()},"interactions:before-action-resume":function(R){var F=R.interaction.modification;F.stop(R),F.start(R,R.interaction.coords.cur.page),F.applyToInteraction(R)},"interactions:before-action-inertiastart":function(R){return R.interaction.modification.setAndApply(R)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-resume":function(R){return R.interaction.modification.restoreInteractionCoords(R)}}};function Ms(R,F,j,nA){var cA=1-R;return cA*cA*F+2*cA*R*j+R*R*nA}function qo(R,F,j,nA){return-j*(R/=nA)*(R-2)+F}var ug=gg;function xs(R,F){for(var j=0;j<F.length;j++){var nA=F[j];if(R.immediatePropagationStopped)break;nA(R)}}var Ss=function(){function R(F){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=eA({},F||{})}return b(R,[{key:"fire",value:function(F){var j,nA=this.global;(j=this.types[F.type])&&xs(F,j),!F.propagationStopped&&nA&&(j=nA[F.type])&&xs(F,j)}},{key:"on",value:function(F,j){var nA=O(F,j);for(F in nA)this.types[F]=De(this.types[F]||[],nA[F])}},{key:"off",value:function(F,j){var nA=O(F,j);for(F in nA){var cA=this.types[F];if(cA&&cA.length)for(var dA=0,mA=nA[F];dA<mA.length;dA++){var IA=mA[dA],yA=cA.indexOf(IA);yA!==-1&&cA.splice(yA,1)}}}},{key:"getRect",value:function(F){return null}}]),R}(),dg=function(){function R(F){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=F,Z(this,F)}return b(R,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),R}();function po(R){return d.object(R)?{capture:!!R.capture,passive:!!R.passive}:{capture:!!R,passive:!1}}function rt(R,F){return R===F||(typeof R=="boolean"?!!F.capture===R&&!F.passive:!!R.capture==!!F.capture&&!!R.passive==!!F.passive)}var ct={id:"events",install:function(R){var F,j=[],nA={},cA=[],dA={add:mA,remove:IA,addDelegate:function(DA,GA,jA,ce,re){var de=po(re);if(!nA[jA]){nA[jA]=[];for(var ye=0;ye<cA.length;ye++){var Qe=cA[ye];mA(Qe,jA,yA),mA(Qe,jA,xA,!0)}}var kA=nA[jA],TA=$A(kA,function(PA){return PA.selector===DA&&PA.context===GA});TA||(TA={selector:DA,context:GA,listeners:[]},kA.push(TA)),TA.listeners.push({func:ce,options:de})},removeDelegate:function(DA,GA,jA,ce,re){var de,ye=po(re),Qe=nA[jA],kA=!1;if(Qe)for(de=Qe.length-1;de>=0;de--){var TA=Qe[de];if(TA.selector===DA&&TA.context===GA){for(var PA=TA.listeners,VA=PA.length-1;VA>=0;VA--){var Ce=PA[VA];if(Ce.func===ce&&rt(Ce.options,ye)){PA.splice(VA,1),PA.length||(Qe.splice(de,1),IA(GA,jA,yA),IA(GA,jA,xA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:xA,delegatedEvents:nA,documents:cA,targets:j,supportsOptions:!1,supportsPassive:!1};function mA(DA,GA,jA,ce){if(DA.addEventListener){var re=po(ce),de=$A(j,function(ye){return ye.eventTarget===DA});de||(de={eventTarget:DA,events:{}},j.push(de)),de.events[GA]||(de.events[GA]=[]),$A(de.events[GA],function(ye){return ye.func===jA&&rt(ye.options,re)})||(DA.addEventListener(GA,jA,dA.supportsOptions?re:re.capture),de.events[GA].push({func:jA,options:re}))}}function IA(DA,GA,jA,ce){if(DA.addEventListener&&DA.removeEventListener){var re=YA(j,function(He){return He.eventTarget===DA}),de=j[re];if(de&&de.events)if(GA!=="all"){var ye=!1,Qe=de.events[GA];if(Qe){if(jA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var TA=Qe[kA];IA(DA,GA,TA.func,TA.options)}return}for(var PA=po(ce),VA=0;VA<Qe.length;VA++){var Ce=Qe[VA];if(Ce.func===jA&&rt(Ce.options,PA)){DA.removeEventListener(GA,jA,dA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete de.events[GA],ye=!0);break}}}ye&&!Object.keys(de.events).length&&j.splice(re,1)}else for(GA in de.events)de.events.hasOwnProperty(GA)&&IA(DA,GA,"all")}}function yA(DA,GA){for(var jA=po(GA),ce=new dg(DA),re=nA[DA.type],de=ZA(DA)[0],ye=de;d.element(ye);){for(var Qe=0;Qe<re.length;Qe++){var kA=re[Qe],TA=kA.selector,PA=kA.context;if(Y(ye,TA)&&M(PA,de)&&M(PA,ye)){var VA=kA.listeners;ce.currentTarget=ye;for(var Ce=0;Ce<VA.length;Ce++){var He=VA[Ce];rt(He.options,jA)&&He.func(ce)}}}ye=P(ye)}}function xA(DA){return yA(DA,!0)}return(F=R.document)==null||F.createElement("div").addEventListener("test",null,{get capture(){return dA.supportsOptions=!0},get passive(){return dA.supportsPassive=!0}}),R.events=dA,dA}},Zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var F=0,j=Zr.methodOrder;F<j.length;F++){var nA=j[F],cA=Zr[nA](R);if(cA)return cA}return null},simulationResume:function(R){var F=R.pointerType,j=R.eventType,nA=R.eventTarget,cA=R.scope;if(!/down|start/i.test(j))return null;for(var dA=0,mA=cA.interactions.list;dA<mA.length;dA++){var IA=mA[dA],yA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===F)for(;yA;){if(yA===IA.element)return IA;yA=P(yA)}}return null},mouseOrPen:function(R){var F,j=R.pointerId,nA=R.pointerType,cA=R.eventType,dA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=dA.interactions.list;mA<IA.length;mA++){var yA=IA[mA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,j))continue;if(yA.interacting())return yA;F||(F=yA)}}if(F)return F;for(var xA=0,DA=dA.interactions.list;xA<DA.length;xA++){var GA=DA[xA];if(!(GA.pointerType!==nA||/down/i.test(cA)&&GA.simulation))return GA}return null},hasPointer:function(R){for(var F=R.pointerId,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var cA=nA[j];if(Ns(cA,F))return cA}return null},idle:function(R){for(var F=R.pointerType,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var cA=nA[j];if(cA.pointers.length===1){var dA=cA.interactable;if(dA&&(!dA.options.gesture||!dA.options.gesture.enabled))continue}else if(cA.pointers.length>=2)continue;if(!cA.interacting()&&F===cA.pointerType)return cA}return null}};function Ns(R,F){return R.pointers.some(function(j){return j.id===F})}var hg=Zr,Wr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(R,F){return function(j){var nA=F.interactions.list,cA=SA(j),dA=ZA(j),mA=dA[0],IA=dA[1],yA=[];if(/^touch/.test(j.type)){F.prevTouchTime=F.now();for(var xA=0,DA=j.changedTouches;xA<DA.length;xA++){var GA=DA[xA],jA={pointer:GA,pointerId:UA(GA),pointerType:cA,eventType:j.type,eventTarget:mA,curEventTarget:IA,scope:F},ce=Rs(jA);yA.push([jA.pointer,jA.eventTarget,jA.curEventTarget,ce])}}else{var re=!1;if(!E.supportsPointerEvent&&/mouse/.test(j.type)){for(var de=0;de<nA.length&&!re;de++)re=nA[de].pointerType!=="mouse"&&nA[de].pointerIsDown;re=re||F.now()-F.prevTouchTime<500||j.timeStamp===0}if(!re){var ye={pointer:j,pointerId:UA(j),pointerType:cA,eventType:j.type,curEventTarget:IA,eventTarget:mA,scope:F},Qe=Rs(ye);yA.push([ye.pointer,ye.eventTarget,ye.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var TA=yA[kA],PA=TA[0],VA=TA[1],Ce=TA[2];TA[3][R](PA,j,VA,Ce)}}}function Rs(R){var F=R.pointerType,j=R.scope,nA={interaction:hg.search(R),searchDetails:R};return j.fire("interactions:find",nA),nA.interaction||j.interactions.new({pointerType:F})}function Xo(R,F){var j=R.doc,nA=R.scope,cA=R.options,dA=nA.interactions.docEvents,mA=nA.events,IA=mA[F];for(var yA in nA.browser.isIOS&&!cA.events&&(cA.events={passive:!1}),mA.delegatedEvents)IA(j,yA,mA.delegateListener),IA(j,yA,mA.delegateUseCapture,!0);for(var xA=cA&&cA.events,DA=0;DA<dA.length;DA++){var GA=dA[DA];IA(j,GA.type,GA.listener,xA)}}var pg={id:"core/interactions",install:function(R){for(var F={},j=0;j<Wr.length;j++){var nA=Wr[j];F[nA]=Fs(nA,R)}var cA,dA=E.pEventTypes;function mA(){for(var IA=0,yA=R.interactions.list;IA<yA.length;IA++){var xA=yA[IA];if(xA.pointerIsDown&&xA.pointerType==="touch"&&!xA._interacting)for(var DA=function(){var ce=jA[GA];R.documents.some(function(re){return M(re.doc,ce.downTarget)})||xA.removePointer(ce.pointer,ce.event)},GA=0,jA=xA.pointers;GA<jA.length;GA++)DA()}}(cA=r.PointerEvent?[{type:dA.down,listener:mA},{type:dA.down,listener:F.pointerDown},{type:dA.move,listener:F.pointerMove},{type:dA.up,listener:F.pointerUp},{type:dA.cancel,listener:F.pointerUp}]:[{type:"mousedown",listener:F.pointerDown},{type:"mousemove",listener:F.pointerMove},{type:"mouseup",listener:F.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:F.pointerDown},{type:"touchmove",listener:F.pointerMove},{type:"touchend",listener:F.pointerUp},{type:"touchcancel",listener:F.pointerUp}]).push({type:"blur",listener:function(IA){for(var yA=0,xA=R.interactions.list;yA<xA.length;yA++)xA[yA].documentBlur(IA)}}),R.prevTouchTime=0,R.Interaction=function(IA){w(xA,IA);var yA=$(xA);function xA(){return I(this,xA),yA.apply(this,arguments)}return b(xA,[{key:"pointerMoveTolerance",get:function(){return R.interactions.pointerMoveTolerance},set:function(DA){R.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return R.now()}}]),xA}(_s),R.interactions={list:[],new:function(IA){IA.scopeFire=function(xA,DA){return R.fire(xA,DA)};var yA=new R.Interaction(IA);return R.interactions.list.push(yA),yA},listeners:F,docEvents:cA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return Xo(R,"add")},"scope:remove-document":function(R){return Xo(R,"remove")},"interactable:unset":function(R,F){for(var j=R.interactable,nA=F.interactions.list.length-1;nA>=0;nA--){var cA=F.interactions.list[nA];cA.interactable===j&&(cA.stop(),F.fire("interactions:destroy",{interaction:cA}),cA.destroy(),F.interactions.list.length>2&&F.interactions.list.splice(nA,1))}}},onDocSignal:Xo,doOnInteractions:Fs,methodNames:Wr},Nt=pg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(F,j,nA,cA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=j.actions,this.target=F,this._context=j.context||nA,this._win=v(G(F)?this._context:F),this._doc=this._win.document,this._scopeEvents=cA,this.set(j)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(F,j){return d.func(j.onstart)&&this.on("".concat(F,"start"),j.onstart),d.func(j.onmove)&&this.on("".concat(F,"move"),j.onmove),d.func(j.onend)&&this.on("".concat(F,"end"),j.onend),d.func(j.oninertiastart)&&this.on("".concat(F,"inertiastart"),j.oninertiastart),this}},{key:"updatePerActionListeners",value:function(F,j,nA){var cA,dA=this,mA=(cA=this._actions.map[F])==null?void 0:cA.filterEventType,IA=function(yA){return(mA==null||mA(yA))&&bn(yA,dA._actions)};(d.array(j)||d.object(j))&&this._onOff(Rn.Off,F,j,void 0,IA),(d.array(nA)||d.object(nA))&&this._onOff(Rn.On,F,nA,void 0,IA)}},{key:"setPerAction",value:function(F,j){var nA=this._defaults;for(var cA in j){var dA=cA,mA=this.options[F],IA=j[dA];dA==="listeners"&&this.updatePerActionListeners(F,mA.listeners,IA),d.array(IA)?mA[dA]=xe(IA):d.plainObject(IA)?(mA[dA]=eA(mA[dA]||{},Hi(IA)),d.object(nA.perAction[dA])&&"enabled"in nA.perAction[dA]&&(mA[dA].enabled=IA.enabled!==!1)):d.bool(IA)&&d.object(nA.perAction[dA])?mA[dA].enabled=IA:mA[dA]=IA}}},{key:"getRect",value:function(F){return F=F||(d.element(this.target)?this.target:null),d.string(this.target)&&(F=F||this._context.querySelector(this.target)),_(F)}},{key:"rectChecker",value:function(F){var j=this;return d.func(F)?(this.getRect=function(nA){var cA=eA({},F.apply(j,nA));return"width"in cA||(cA.width=cA.right-cA.left,cA.height=cA.bottom-cA.top),cA},this):F===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(F,j){if(G(j)||d.object(j)){for(var nA in this.options[F]=j,this._actions.map)this.options[nA][F]=j;return this}return this.options[F]}},{key:"origin",value:function(F){return this._backCompatOption("origin",F)}},{key:"deltaSource",value:function(F){return F==="page"||F==="client"?(this.options.deltaSource=F,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var F=this.target;return d.string(F)?Array.from(this._context.querySelectorAll(F)):d.func(F)&&F.getAllElements?F.getAllElements():d.element(F)?[F]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(F){return this._context===F.ownerDocument||M(this._context,F)}},{key:"testIgnoreAllow",value:function(F,j,nA){return!this.testIgnore(F.ignoreFrom,j,nA)&&this.testAllow(F.allowFrom,j,nA)}},{key:"testAllow",value:function(F,j,nA){return!F||!!d.element(nA)&&(d.string(F)?W(nA,F,j):!!d.element(F)&&M(F,nA))}},{key:"testIgnore",value:function(F,j,nA){return!(!F||!d.element(nA))&&(d.string(F)?W(nA,F,j):!!d.element(F)&&M(F,nA))}},{key:"fire",value:function(F){return this.events.fire(F),this}},{key:"_onOff",value:function(F,j,nA,cA,dA){d.object(j)&&!d.array(j)&&(cA=nA,nA=null);var mA=O(j,nA,dA);for(var IA in mA){IA==="wheel"&&(IA=E.wheelEvent);for(var yA=0,xA=mA[IA];yA<xA.length;yA++){var DA=xA[yA];bn(IA,this._actions)?this.events[F===Rn.On?"on":"off"](IA,DA):d.string(this.target)?this._scopeEvents[F===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,DA,cA):this._scopeEvents[F===Rn.On?"add":"remove"](this.target,IA,DA,cA)}}return this}},{key:"on",value:function(F,j,nA){return this._onOff(Rn.On,F,j,nA)}},{key:"off",value:function(F,j,nA){return this._onOff(Rn.Off,F,j,nA)}},{key:"set",value:function(F){var j=this._defaults;for(var nA in d.object(F)||(F={}),this.options=Hi(j.base),this._actions.methodDict){var cA=nA,dA=this._actions.methodDict[cA];this.options[cA]={},this.setPerAction(cA,eA(eA({},j.perAction),j.actions[cA])),this[dA](F[cA])}for(var mA in F)mA!=="getRect"?d.func(this[mA])&&this[mA](F[mA]):this.rectChecker(F.getRect);return this}},{key:"unset",value:function(){if(d.string(this.target))for(var F in this._scopeEvents.delegatedEvents)for(var j=this._scopeEvents.delegatedEvents[F],nA=j.length-1;nA>=0;nA--){var cA=j[nA],dA=cA.selector,mA=cA.context,IA=cA.listeners;dA===this.target&&mA===this._context&&j.splice(nA,1);for(var yA=IA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,F,IA[yA][0],IA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Ls=function(){function R(F){var j=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=F,F.addListeners({"interactable:unset":function(nA){var cA=nA.interactable,dA=cA.target,mA=d.string(dA)?j.selectorMap[dA]:dA[j.scope.id],IA=YA(mA,function(yA){return yA===cA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(F,j){j=eA(j||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(F,j,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),d.string(F)?(this.selectorMap[F]||(this.selectorMap[F]=[]),this.selectorMap[F].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(F,this.scope.id,{value:[],configurable:!0}),F[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:F,options:j,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(F,j){var nA=j&&j.context||this.scope.document,cA=d.string(F),dA=cA?this.selectorMap[F]:F[this.scope.id];if(dA)return $A(dA,function(mA){return mA._context===nA&&(cA||mA.inContext(F))})}},{key:"forEachMatch",value:function(F,j){for(var nA=0,cA=this.list;nA<cA.length;nA++){var dA=cA[nA],mA=void 0;if((d.string(dA.target)?d.element(F)&&Y(F,dA.target):F===dA.target)&&dA.inContext(F)&&(mA=j(dA)),mA!==void 0)return mA}}}]),R}(),jr=function(){function R(){var F=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Hi(Wo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var cA=function dA(mA,IA){var yA=nA.interactables.getExisting(mA,IA);return yA||((yA=nA.interactables.new(mA,IA)).events.global=dA.globalEvents),yA};return cA.getPointerAverage=WA,cA.getTouchBBox=le,cA.getTouchDistance=ne,cA.getTouchAngle=LA,cA.getElementRect=_,cA.getElementClientRect=X,cA.matchesSelector=Y,cA.closest=x,cA.globalEvents={},cA.version="1.10.27",cA.scope=nA,cA.use=function(dA,mA){return this.scope.usePlugin(dA,mA),this},cA.isSet=function(dA,mA){return!!this.scope.interactables.get(dA,mA&&mA.context)},cA.on=At(function(dA,mA,IA){if(d.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),d.array(dA)){for(var yA=0,xA=dA;yA<xA.length;yA++){var DA=xA[yA];this.on(DA,mA,IA)}return this}if(d.object(dA)){for(var GA in dA)this.on(GA,dA[GA],mA);return this}return bn(dA,this.scope.actions)?this.globalEvents[dA]?this.globalEvents[dA].push(mA):this.globalEvents[dA]=[mA]:this.scope.events.add(this.scope.document,dA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),cA.off=At(function(dA,mA,IA){if(d.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),d.array(dA)){for(var yA=0,xA=dA;yA<xA.length;yA++){var DA=xA[yA];this.off(DA,mA,IA)}return this}if(d.object(dA)){for(var GA in dA)this.off(GA,dA[GA],mA);return this}var jA;return bn(dA,this.scope.actions)?dA in this.globalEvents&&(jA=this.globalEvents[dA].indexOf(mA))!==-1&&this.globalEvents[dA].splice(jA,1):this.scope.events.remove(this.scope.document,dA,mA,IA),this},"The interact.off() method is being deprecated"),cA.debug=function(){return this.scope},cA.supportsTouch=function(){return E.supportsTouch},cA.supportsPointerEvent=function(){return E.supportsPointerEvent},cA.stop=function(){for(var dA=0,mA=this.scope.interactions.list;dA<mA.length;dA++)mA[dA].stop();return this},cA.pointerMoveTolerance=function(dA){return d.number(dA)?(this.scope.interactions.pointerMoveTolerance=dA,this):this.scope.interactions.pointerMoveTolerance},cA.addDocument=function(dA,mA){this.scope.addDocument(dA,mA)},cA.removeDocument=function(dA){this.scope.removeDocument(dA)},cA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return F.removeDocument(nA.target)};var j=this;this.Interactable=function(nA){w(dA,nA);var cA=$(dA);function dA(){return I(this,dA),cA.apply(this,arguments)}return b(dA,[{key:"_defaults",get:function(){return j.defaults}},{key:"set",value:function(mA){return K(S(dA.prototype),"set",this).call(this,mA),j.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(dA.prototype),"unset",this).call(this);var mA=j.interactables.list.indexOf(this);mA<0||(j.interactables.list.splice(mA,1),j.fire("interactable:unset",{interactable:this}))}}]),dA}(mi)}return b(R,[{key:"addListeners",value:function(F,j){this.listenerMaps.push({id:j,map:F})}},{key:"fire",value:function(F,j){for(var nA=0,cA=this.listenerMaps;nA<cA.length;nA++){var dA=cA[nA].map[F];if(dA&&dA(j,this,F)===!1)return!1}}},{key:"init",value:function(F){return this.isInitialized?this:function(j,nA){return j.isInitialized=!0,d.window(nA)&&k(nA),r.init(nA),E.init(nA),fe.init(nA),j.window=nA,j.document=nA.document,j.usePlugin(Nt),j.usePlugin(ct),j}(this,F)}},{key:"pluginIsInstalled",value:function(F){var j=F.id;return j?!!this._plugins.map[j]:this._plugins.list.indexOf(F)!==-1}},{key:"usePlugin",value:function(F,j){if(!this.isInitialized)return this;if(this.pluginIsInstalled(F))return this;if(F.id&&(this._plugins.map[F.id]=F),this._plugins.list.push(F),F.install&&F.install(this,j),F.listeners&&F.before){for(var nA=0,cA=this.listenerMaps.length,dA=F.before.reduce(function(IA,yA){return IA[yA]=!0,IA[tn(yA)]=!0,IA},{});nA<cA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(dA[mA]||dA[tn(mA)]))break}this.listenerMaps.splice(nA,0,{id:F.id,map:F.listeners})}else F.listeners&&this.listenerMaps.push({id:F.id,map:F.listeners});return this}},{key:"addDocument",value:function(F,j){if(this.getDocIndex(F)!==-1)return!1;var nA=v(F);j=j?eA({},j):{},this.documents.push({doc:F,options:j}),this.events.documents.push(F),F!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:F,window:nA,scope:this,options:j})}},{key:"removeDocument",value:function(F){var j=this.getDocIndex(F),nA=v(F),cA=this.documents[j].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(j,1),this.events.documents.splice(j,1),this.fire("scope:remove-document",{doc:F,window:nA,scope:this,options:cA})}},{key:"getDocIndex",value:function(F){for(var j=0;j<this.documents.length;j++)if(this.documents[j].doc===F)return j;return-1}},{key:"getDocOptions",value:function(F){var j=this.getDocIndex(F);return j===-1?null:this.documents[j].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function tn(R){return R&&R.replace(/\/.*$/,"")}var qr=new jr,Gt=qr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;qr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var F=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var cA=nA[0],dA=nA[1];return cA in R||dA in R}),j=function(nA,cA){for(var dA=R.range,mA=R.limits,IA=mA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:mA,yA=R.offset,xA=yA===void 0?{x:0,y:0}:yA,DA={range:dA,grid:R,x:null,y:null},GA=0;GA<F.length;GA++){var jA=F[GA],ce=jA[0],re=jA[1],de=Math.round((nA-xA.x)/R[ce]),ye=Math.round((cA-xA.y)/R[re]);DA[ce]=Math.max(IA.left,Math.min(IA.right,de*R[ce]+xA.x)),DA[re]=Math.max(IA.top,Math.min(IA.bottom,ye*R[re]+xA.y))}return DA};return j.grid=R,j.coordFields=F,j}}),Hs={id:"snappers",install:function(R){var F=R.interactStatic;F.snappers=eA(F.snappers||{},Ps),F.createSnapGrid=F.snappers.grid}},Ks=Hs,nn={start:function(R){var F=R.state,j=R.rect,nA=R.edges,cA=R.pageCoords,dA=F.options,mA=dA.ratio,IA=dA.enabled,yA=F.options,xA=yA.equalDelta,DA=yA.modifiers;mA==="preserve"&&(mA=j.width/j.height),F.startCoords=eA({},cA),F.startRect=eA({},j),F.ratio=mA,F.equalDelta=xA;var GA=F.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(F.xIsPrimaryAxis=!(!nA.left&&!nA.right),F.equalDelta){var jA=(GA.left?1:-1)*(GA.top?1:-1);F.edgeSign={x:jA,y:jA}}else F.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&eA(nA,GA),DA!=null&&DA.length){var ce=new Jo(R.interaction);ce.copyFrom(R.interaction.modification),ce.prepareStates(DA),F.subModification=ce,ce.startAll(i({},R))}},set:function(R){var F=R.state,j=R.rect,nA=R.coords,cA=F.linkedEdges,dA=eA({},nA),mA=F.equalDelta?Cg:un;if(eA(R.edges,cA),mA(F,F.xIsPrimaryAxis,nA,j),!F.subModification)return null;var IA=eA({},j);gA(cA,IA,{x:nA.x-dA.x,y:nA.y-dA.y});var yA=F.subModification.setAll(i(i({},R),{},{rect:IA,edges:cA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=yA.delta;return yA.changed&&(mA(F,Math.abs(xA.x)>Math.abs(xA.y),yA.coords,yA.rect),eA(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(R,F,j){var nA=R.startCoords,cA=R.edgeSign;F?j.y=nA.y+(j.x-nA.x)*cA.y:j.x=nA.x+(j.y-nA.y)*cA.x}function un(R,F,j,nA){var cA=R.startRect,dA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(F){var yA=nA.width/mA;j.y=dA.y+(yA-cA.height)*IA.y}else{var xA=nA.height*mA;j.x=dA.x+(xA-cA.width)*IA.x}}var Bg=Fn(nn,"aspectRatio"),Xr=function(){};Xr._defaults={};var yn=Xr;function Ln(R,F,j){return d.func(R)?oA(R,F.interactable,F.element,[j.x,j.y,F]):oA(R,F.interactable,F.element)}var Ki={start:function(R){var F=R.rect,j=R.startOffset,nA=R.state,cA=R.interaction,dA=R.pageCoords,mA=nA.options,IA=mA.elementRect,yA=eA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(F&&IA){var xA=Ln(mA.restriction,cA,dA);if(xA){var DA=xA.right-xA.left-F.width,GA=xA.bottom-xA.top-F.height;DA<0&&(yA.left+=DA,yA.right+=DA),GA<0&&(yA.top+=GA,yA.bottom+=GA)}yA.left+=j.left-F.width*IA.left,yA.top+=j.top-F.height*IA.top,yA.right+=j.right-F.width*(1-IA.right),yA.bottom+=j.bottom-F.height*(1-IA.bottom)}nA.offset=yA},set:function(R){var F=R.coords,j=R.interaction,nA=R.state,cA=nA.options,dA=nA.offset,mA=Ln(cA.restriction,j,F);if(mA){var IA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=eA({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(mA);F.x=Math.max(Math.min(IA.right-dA.right,F.x),IA.left+dA.left),F.y=Math.max(Math.min(IA.bottom-dA.bottom,F.y),IA.top+dA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},ht=Fn(Ki,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Vo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(R,F){for(var j=0,nA=["top","left","bottom","right"];j<nA.length;j++){var cA=nA[j];cA in R||(R[cA]=F[cA])}return R}var Ei={noInner:$n,noOuter:Vo,start:function(R){var F,j=R.interaction,nA=R.startOffset,cA=R.state,dA=cA.options;dA&&(F=hA(Ln(dA.offset,j,j.coords.start.page))),F=F||{x:0,y:0},cA.offset={top:F.y+nA.top,left:F.x+nA.left,bottom:F.y-nA.bottom,right:F.x-nA.right}},set:function(R){var F=R.coords,j=R.edges,nA=R.interaction,cA=R.state,dA=cA.offset,mA=cA.options;if(j){var IA=eA({},F),yA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Ts(yA,$n),Ts(xA,Vo),j.top?F.y=Math.min(Math.max(xA.top+dA.top,IA.y),yA.top+dA.top):j.bottom&&(F.y=Math.max(Math.min(xA.bottom+dA.bottom,IA.y),yA.bottom+dA.bottom)),j.left?F.x=Math.min(Math.max(xA.left+dA.left,IA.x),yA.left+dA.left):j.right&&(F.x=Math.max(Math.min(xA.right+dA.right,IA.x),yA.right+dA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Fn(Ei,"restrictEdges"),Eg=eA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Ki.defaults),Qg=Fn({start:Ki.start,set:Ki.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},Ar={width:1/0,height:1/0},Ti=Fn({start:function(R){return Ei.start(R)},set:function(R){var F=R.interaction,j=R.state,nA=R.rect,cA=R.edges,dA=j.options;if(cA){var mA=EA(Ln(dA.min,F,R.coords))||Us,IA=EA(Ln(dA.max,F,R.coords))||Ar;j.options={endOnly:dA.endOnly,inner:eA({},Ei.noInner),outer:eA({},Ei.noOuter)},cA.top?(j.options.inner.top=nA.bottom-mA.height,j.options.outer.top=nA.bottom-IA.height):cA.bottom&&(j.options.inner.bottom=nA.top+mA.height,j.options.outer.bottom=nA.top+IA.height),cA.left?(j.options.inner.left=nA.right-mA.width,j.options.outer.left=nA.right-IA.width):cA.right&&(j.options.inner.right=nA.left+mA.width,j.options.outer.right=nA.left+IA.width),Ei.set(R),j.options=dA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Vr={start:function(R){var F,j=R.interaction,nA=R.interactable,cA=R.element,dA=R.rect,mA=R.state,IA=R.startOffset,yA=mA.options,xA=yA.offsetWithOrigin?function(jA){var ce=jA.interaction.element,re=hA(oA(jA.state.options.origin,null,null,[ce])),de=re||CA(jA.interactable,ce,jA.interaction.prepared.name);return de}(R):{x:0,y:0};if(yA.offset==="startCoords")F={x:j.coords.start.page.x,y:j.coords.start.page.y};else{var DA=oA(yA.offset,nA,cA,[j]);(F=hA(DA)||{x:0,y:0}).x+=xA.x,F.y+=xA.y}var GA=yA.relativePoints;mA.offsets=dA&&GA&&GA.length?GA.map(function(jA,ce){return{index:ce,relativePoint:jA,x:IA.left-dA.width*jA.x+F.x,y:IA.top-dA.height*jA.y+F.y}}):[{index:0,relativePoint:null,x:F.x,y:F.y}]},set:function(R){var F=R.interaction,j=R.coords,nA=R.state,cA=nA.options,dA=nA.offsets,mA=CA(F.interactable,F.element,F.prepared.name),IA=eA({},j),yA=[];cA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,DA=dA;xA<DA.length;xA++)for(var GA=DA[xA],jA=IA.x-GA.x,ce=IA.y-GA.y,re=0,de=cA.targets.length;re<de;re++){var ye=cA.targets[re],Qe=void 0;(Qe=d.func(ye)?ye(jA,ce,F._proxy,GA,re):ye)&&yA.push({x:(d.number(Qe.x)?Qe.x:jA)+GA.x,y:(d.number(Qe.y)?Qe.y:ce)+GA.y,range:d.number(Qe.range)?Qe.range:cA.range,source:ye,index:re,offset:GA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},TA=0;TA<yA.length;TA++){var PA=yA[TA],VA=PA.range,Ce=PA.x-IA.x,He=PA.y-IA.y,Ke=lA(Ce,He),Oe=Ke<=VA;VA===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&VA!==1/0?Ke/VA<kA.distance/kA.range:VA===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=PA,kA.distance=Ke,kA.range=VA,kA.inRange=Oe,kA.delta.x=Ce,kA.delta.y=He)}return kA.inRange&&(j.x=kA.target.x,j.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Fn(Vr,"snap"),Co={start:function(R){var F=R.state,j=R.edges,nA=F.options;if(!j)return null;R.state={options:{targets:null,relativePoints:[{x:j.left?0:1,y:j.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},F.targetFields=F.targetFields||[["width","height"],["x","y"]],Vr.start(R),F.offsets=R.state.offsets,R.state=F},set:function(R){var F=R.interaction,j=R.state,nA=R.coords,cA=j.options,dA=j.offsets,mA={x:nA.x-dA[0].x,y:nA.y-dA[0].y};j.options=eA({},cA),j.options.targets=[];for(var IA=0,yA=cA.targets||[];IA<yA.length;IA++){var xA=yA[IA],DA=void 0;if(DA=d.func(xA)?xA(mA.x,mA.y,F):xA){for(var GA=0,jA=j.targetFields;GA<jA.length;GA++){var ce=jA[GA],re=ce[0],de=ce[1];if(re in DA||de in DA){DA.x=DA[re],DA.y=DA[de];break}}j.options.targets.push(DA)}}var ye=Vr.set(R);return j.options=cA,ye},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Aa=Fn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:ht,restrictRect:Qg,restrictSize:Ti,snapEdges:Fn({start:function(R){var F=R.edges;return F?(R.state.targetFields=R.state.targetFields||[[F.left?"left":"right",F.top?"top":"bottom"]],Co.start(R)):null},set:Co.set,defaults:eA(Hi(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:Aa,spring:yn,avoid:yn,transform:yn,rubberband:yn},Os={id:"modifiers",install:function(R){var F=R.interactStatic;for(var j in R.usePlugin(Zo),R.usePlugin(Ks),F.modifiers=Bo,Bo){var nA=Bo[j],cA=nA._defaults,dA=nA._methods;cA._methods=dA,R.defaults.perAction[j]=cA}}},Ig=Os,er=function(R){w(j,R);var F=$(j);function j(nA,cA,dA,mA,IA,yA){var xA;if(I(this,j),Z(H(xA=F.call(this,IA)),dA),dA!==cA&&Z(H(xA),cA),xA.timeStamp=yA,xA.originalEvent=dA,xA.type=nA,xA.pointerId=UA(cA),xA.pointerType=SA(cA),xA.target=mA,xA.currentTarget=null,nA==="tap"){var DA=IA.getPointerIndex(cA);xA.dt=xA.timeStamp-IA.pointers[DA].downTime;var GA=xA.timeStamp-IA.tapTime;xA.double=!!IA.prevTap&&IA.prevTap.type!=="doubletap"&&IA.prevTap.target===xA.target&&GA<500}else nA==="doubletap"&&(xA.dt=cA.timeStamp-IA.tapTime,xA.double=!0);return xA}return b(j,[{key:"_subtractOrigin",value:function(nA){var cA=nA.x,dA=nA.y;return this.pageX-=cA,this.pageY-=dA,this.clientX-=cA,this.clientY-=dA,this}},{key:"_addOrigin",value:function(nA){var cA=nA.x,dA=nA.y;return this.pageX+=cA,this.pageY+=dA,this.clientX+=cA,this.clientY+=dA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),j}(Be),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,eA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var F=R.interaction;F.prevTap=null,F.tapTime=0},"interactions:update-pointer":function(R){var F=R.down,j=R.pointerInfo;!F&&j.hold||(j.hold={duration:1/0,timeout:null})},"interactions:move":function(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget;R.duplicate||j.pointerIsDown&&!j.pointerWasMoved||(j.pointerIsDown&&Kt(R),ii({interaction:j,pointer:nA,event:cA,eventTarget:dA,type:"move"},F))},"interactions:down":function(R,F){(function(j,nA){for(var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget,yA=j.pointerIndex,xA=cA.pointers[yA].hold,DA=AA(IA),GA={interaction:cA,pointer:dA,event:mA,eventTarget:IA,type:"hold",targets:[],path:DA,node:null},jA=0;jA<DA.length;jA++){var ce=DA[jA];GA.node=ce,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var re=1/0,de=0,ye=GA.targets;de<ye.length;de++){var Qe=ye[de].eventable.options.holdDuration;Qe<re&&(re=Qe)}xA.duration=re,xA.timeout=setTimeout(function(){ii({interaction:cA,eventTarget:IA,pointer:dA,event:mA,type:"hold"},nA)},re)}})(R,F),ii(R,F)},"interactions:up":function(R,F){Kt(R),ii(R,F),function(j,nA){var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget;cA.pointerWasMoved||ii({interaction:cA,eventTarget:IA,pointer:dA,event:mA,type:"tap"},nA)}(R,F)},"interactions:cancel":function(R,F){Kt(R),ii(R,F)}},PointerEvent:er,fire:ii,collectEventTargets:ea,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function ii(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget,mA=R.type,IA=R.targets,yA=IA===void 0?ea(R,F):IA,xA=new er(mA,nA,cA,dA,j,F.now());F.fire("pointerEvents:new",{pointerEvent:xA});for(var DA={interaction:j,pointer:nA,event:cA,eventTarget:dA,targets:yA,type:mA,pointerEvent:xA},GA=0;GA<yA.length;GA++){var jA=yA[GA];for(var ce in jA.props||{})xA[ce]=jA.props[ce];var re=CA(jA.eventable,jA.node);if(xA._subtractOrigin(re),xA.eventable=jA.eventable,xA.currentTarget=jA.node,jA.eventable.fire(xA),xA._addOrigin(re),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<yA.length&&yA[GA+1].node!==xA.currentTarget)break}if(F.fire("pointerEvents:fired",DA),mA==="tap"){var de=xA.double?ii({interaction:j,pointer:nA,event:cA,eventTarget:dA,type:"doubletap"},F):xA;j.prevTap=de,j.tapTime=de.timeStamp}return xA}function ea(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget,mA=R.type,IA=j.getPointerIndex(nA),yA=j.pointers[IA];if(mA==="tap"&&(j.pointerWasMoved||!yA||yA.downTarget!==dA))return[];for(var xA=AA(dA),DA={interaction:j,pointer:nA,event:cA,eventTarget:dA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var jA=xA[GA];DA.node=jA,F.fire("pointerEvents:collect-targets",DA)}return mA==="hold"&&(DA.targets=DA.targets.filter(function(ce){var re,de;return ce.eventable.options.holdDuration===((re=j.pointers[IA])==null||(de=re.hold)==null?void 0:de.duration)})),DA.targets}function Kt(R){var F=R.interaction,j=R.pointerIndex,nA=F.pointers[j].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ta=Object.freeze({__proto__:null,default:Qi});function mo(R){var F=R.interaction;F.holdIntervalHandle&&(clearInterval(F.holdIntervalHandle),F.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var F=R.pointerEvents;F.defaults.holdRepeatInterval=0,F.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,F){return R["pointerEvents:".concat(F)]=mo,R},{"pointerEvents:new":function(R){var F=R.pointerEvent;F.type==="hold"&&(F.count=(F.count||0)+1)},"pointerEvents:fired":function(R,F){var j=R.interaction,nA=R.pointerEvent,cA=R.eventTarget,dA=R.targets;if(nA.type==="hold"&&dA.length){var mA=dA[0].eventable.options.holdRepeatInterval;mA<=0||(j.holdIntervalHandle=setTimeout(function(){F.pointerEvents.fire({interaction:j,eventTarget:cA,type:"hold",pointer:nA,event:nA},F)},mA))}}})},zs=$s,fg={id:"pointer-events/interactableTargets",install:function(R){var F=R.Interactable;F.prototype.pointerEvents=function(nA){return eA(this.events.options,nA),this};var j=F.prototype._backCompatOption;F.prototype._backCompatOption=function(nA,cA){var dA=j.call(this,nA,cA);return dA===this&&(this.events.options[nA]=cA),dA}},listeners:{"pointerEvents:collect-targets":function(R,F){var j=R.targets,nA=R.node,cA=R.type,dA=R.eventTarget;F.interactables.forEachMatch(nA,function(mA){var IA=mA.events,yA=IA.options;IA.types[cA]&&IA.types[cA].length&&mA.testIgnoreAllow(yA,nA,dA)&&j.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var F=R.interactable;F.events.getRect=function(j){return F.getRect(j)}},"interactable:set":function(R,F){var j=R.interactable,nA=R.options;eA(j.events.options,F.pointerEvents.defaults),eA(j.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(R){R.usePlugin(ta),R.usePlugin(zs),R.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(R){var F=R.Interactable;R.actions.phases.reflow=!0,F.prototype.reflow=function(j){return function(nA,cA,dA){for(var mA=nA.getAllElements(),IA=dA.window.Promise,yA=IA?[]:null,xA=function(){var GA=mA[DA],jA=nA.getRect(GA);if(!jA)return 1;var ce,re=$A(dA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===GA&&Qe.prepared.name===cA.name});if(re)re.move(),yA&&(ce=re._reflowPromise||new IA(function(Qe){re._reflowResolve=Qe}));else{var de=EA(jA),ye=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:de.x,y:de.y},client:{x:de.x,y:de.y},timeStamp:dA.now()});ce=function(Qe,kA,TA,PA,VA){var Ce=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Ce,event:VA,pointer:VA,eventTarget:TA,phase:"reflow"};Ce.interactable=kA,Ce.element=TA,Ce.prevEvent=VA,Ce.updatePointer(VA,VA,TA,!0),iA(Ce.coords.delta),gt(Ce.prepared,PA),Ce._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(zn){Ce._reflowResolve=zn}):void 0;return Ce._reflowPromise=on,Ce.start(PA,kA,TA),Ce._interacting?(Ce.move(He),Ce.end(VA)):(Ce.stop(),Ce._reflowResolve()),Ce.removePointer(VA,VA),on}(dA,nA,GA,cA,ye)}yA&&yA.push(ce)},DA=0;DA<mA.length&&!xA();DA++);return yA&&IA.all(yA).then(function(){return nA})}(this,j,R)}},listeners:{"interactions:stop":function(R,F){var j=R.interaction;j.pointerType==="reflow"&&(j._reflowResolve&&j._reflowResolve(),function(nA,cA){nA.splice(nA.indexOf(cA),1)}(F.interactions.list,j))}}},Ui=Dg;if(Gt.use(ti),Gt.use(Jr),Gt.use(yg),Gt.use(ug),Gt.use(Ig),Gt.use(ei),Gt.use(zA),Gt.use(ze),Gt.use(Ui),Gt.default=Gt,u(n)==="object"&&n)try{n.exports=Gt}catch{}return Gt.default=Gt,Gt})}(Cs,Cs.exports);var l_=Cs.exports;const Jp=fu(l_),Ag=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,u=t,I=A.inject(Fp),o=A.inject(Rp);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),y=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let w=!1,S=!1,N=NaN,H=NaN,$=NaN,K=NaN,T=-1,D=-1,Q=-1,L=-1,k=i.x,v=i.y,B=i.w,p=i.h;const d=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:y,wrapper:d,calcXY:oA});function g(rA){O(rA)}function s(){tA()}function h(rA){In(i.isDraggable)&&(y.draggable=rA)}function C(rA){In(i.isResizable)&&(y.resizable=rA)}function a(rA){In(i.isBounded)&&(y.bounded=rA)}function r(rA){y.transformScale=rA}function m(rA){y.rowHeight=rA}function E(rA){y.maxRows=rA}function M(){y.rtl=zp()==="rtl",tA()}function x(rA){y.cols=Math.floor(rA)}I.increaseItem(l),A.onBeforeMount(()=>{y.rtl=zp()==="rtl"}),A.onMounted(()=>{I.responsive&&I.lastBreakpoint?y.cols=Op(I.lastBreakpoint,I.cols):y.cols=I.colNum,y.rowHeight=I.rowHeight,y.containerWidth=I.width!==null?I.width:100,y.margin=I.margin!==void 0?I.margin.map(Number):[10,10],y.maxRows=I.maxRows,In(i.isDraggable)?y.draggable=I.isDraggable:y.draggable=i.isDraggable,In(i.isResizable)?y.resizable=I.isResizable:y.resizable=i.isResizable,In(i.isBounded)?y.bounded=I.isBounded:y.bounded=i.isBounded,y.transformScale=I.transformScale,y.useCssTransforms=I.useCssTransforms,y.useStyleCursor=I.useStyleCursor,A.watchEffect(()=>{k=i.x,v=i.y,p=i.h,B=i.w,jt(_)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",m),o.on("setMaxRows",E),o.on("directionchange",M),o.on("setColNum",x)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",m),o.off("setMaxRows",E),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(l)}),e({state:y,wrapper:d});const P=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,Y=A.computed(()=>y.resizable&&!i.static),J=A.computed(()=>I.isMirrored?!y.rtl:y.rtl),q=A.computed(()=>(y.draggable||y.resizable)&&!i.static),W=t_("item"),z=A.computed(()=>({[W.b()]:!0,[W.bm("resizable")]:Y.value,[W.bm("static")]:i.static,[W.bm("resizing")]:y.isResizing,[W.bm("dragging")]:y.isDragging,[W.bm("transform")]:y.useCssTransforms,[W.bm("rtl")]:J.value,[W.bm("no-touch")]:P&&q.value})),X=A.computed(()=>[W.be("resizer"),J.value&&W.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,rA=>{y.draggable=rA}),A.watch(()=>i.static,()=>{jt(Z),jt(iA)}),A.watch(()=>y.draggable,()=>{jt(Z)}),A.watch(()=>i.isResizable,rA=>{y.resizable=rA}),A.watch(()=>i.isBounded,rA=>{y.bounded=rA}),A.watch(()=>y.resizable,()=>{jt(iA)}),A.watch(()=>y.rowHeight,()=>{jt(_),jt(AA)}),A.watch([()=>y.cols,()=>y.containerWidth],()=>{jt(iA),jt(_),jt(AA)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(iA)}),A.watch(J,()=>{jt(iA),jt(_)}),A.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const rA=I.margin;!rA||rA[0]===y.margin[0]&&rA[1]===y.margin[1]||(y.margin=rA.map(Number),jt(_),jt(AA))});function _(){i.x+i.w>y.cols?(k=0,B=i.w>y.cols?y.cols:i.w):(k=i.x,B=i.w);const rA=sA(k,v,B,p);y.isDragging&&(rA.top=y.dragging.top,J.value?rA.right=y.dragging.left:rA.left=y.dragging.left),y.isResizing&&(rA.width=y.resizing.width,rA.height=y.resizing.height);let BA;y.useCssTransforms?J.value?BA=Xk(rA.top,rA.right,rA.width,rA.height):BA=qk(rA.top,rA.left,rA.width,rA.height):J.value?BA=A_(rA.top,rA.right,rA.width,rA.height):BA=Vk(rA.top,rA.left,rA.width,rA.height),y.style=BA}function AA(){const rA={};for(const BA of["width","height"]){const vA=y.style[BA].match(/^(\d+)px$/);if(!vA)return;rA[BA]=vA[1]}u("container-resized",i.i,i.h,i.w,rA.height,rA.width)}function G(rA){if(i.static)return;const BA=rA.type;if(BA==="resizestart"&&y.isResizing||BA!=="resizestart"&&!y.isResizing)return;const vA=Up(rA);if(In(vA))return;const{x:UA,y:JA}=vA,qA={width:0,height:0};let WA;switch(BA){case"resizestart":{iA(),T=B,D=p,WA=sA(k,v,B,p),qA.width=WA.width,qA.height=WA.height,y.resizing=qA,y.isResizing=!0;break}case"resizemove":{!rA.edges.right&&!rA.edges.left&&($=UA),!rA.edges.top&&!rA.edges.bottom&&(K=JA);const le=Yp($,K,UA,JA);J.value?qA.width=y.resizing.width-le.deltaX/y.transformScale:qA.width=y.resizing.width+le.deltaX/y.transformScale,qA.height=y.resizing.height+le.deltaY/y.transformScale,y.resizing=qA;break}case"resizeend":{WA=sA(k,v,B,p),qA.width=WA.width,qA.height=WA.height,y.resizing={width:-1,height:-1},y.isResizing=!1;break}}WA=CA(qA.height,qA.width),WA.w<i.minW&&(WA.w=i.minW),WA.w>i.maxW&&(WA.w=i.maxW),WA.h<i.minH&&(WA.h=i.minH),WA.h>i.maxH&&(WA.h=i.maxH),WA.h<1&&(WA.h=1),WA.w<1&&(WA.w=1),$=UA,K=JA,(B!==WA.w||p!==WA.h)&&u("resize",i.i,WA.h,WA.w,qA.height,qA.width),rA.type==="resizeend"&&(T!==B||D!==p)&&u("resized",i.i,WA.h,WA.w,qA.height,qA.width),o.emit("resizeEvent",rA.type,i.i,k,v,WA.h,WA.w)}function eA(rA){if(i.static||y.isResizing)return;const BA=rA.type;if(BA==="dragstart"&&y.isDragging||BA!=="dragstart"&&!y.isDragging)return;const vA=Up(rA);if(In(vA))return;const{x:UA,y:JA}=vA,qA=rA.target;if(!qA.offsetParent)return;const WA={top:0,left:0};switch(BA){case"dragstart":{Q=k,L=v;const ne=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/y.transformScale,ZA=ne.left/y.transformScale,Be=LA.right/y.transformScale,De=ne.right/y.transformScale,xe=LA.top/y.transformScale,YA=ne.top/y.transformScale;J.value?WA.left=(Be-De)*-1:WA.left=SA-ZA,WA.top=xe-YA,y.dragging=WA,y.isDragging=!0;break}case"dragmove":{const ne=Yp(N,H,UA,JA);if(J.value?WA.left=y.dragging.left-ne.deltaX/y.transformScale:WA.left=y.dragging.left+ne.deltaX/y.transformScale,WA.top=y.dragging.top+ne.deltaY/y.transformScale,y.bounded){const LA=qA.offsetParent.clientHeight-EA(i.h,y.rowHeight,y.margin[1]);WA.top=gA(WA.top,0,LA);const SA=hA(),ZA=y.containerWidth-EA(i.w,SA,y.margin[0]);WA.left=gA(WA.left,0,ZA)}y.dragging=WA;break}case"dragend":{const ne=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/y.transformScale,ZA=ne.left/y.transformScale,Be=LA.right/y.transformScale,De=ne.right/y.transformScale,xe=LA.top/y.transformScale,YA=ne.top/y.transformScale;J.value?WA.left=(Be-De)*-1:WA.left=SA-ZA,WA.top=xe-YA,y.dragging={top:-1,left:-1},y.isDragging=!1;break}}let le;J.value,le=oA(WA.top,WA.left),N=UA,H=JA,(k!==le.x||v!==le.y)&&u("move",i.i,le.x,le.y),rA.type==="dragend"&&(Q!==k||L!==v)&&u("moved",i.i,le.x,le.y),o.emit("dragEvent",rA.type,i.i,le.x,le.y,p,B)}function sA(rA,BA,vA,UA){const JA=hA();let qA;return J.value?qA={right:Math.round(JA*rA+(rA+1)*y.margin[0]),top:Math.round(y.rowHeight*BA+(BA+1)*y.margin[1]),width:vA===1/0?vA:Math.round(JA*vA+Math.max(0,vA-1)*y.margin[0]),height:UA===1/0?UA:Math.round(y.rowHeight*UA+Math.max(0,UA-1)*y.margin[1])}:qA={left:Math.round(JA*rA+(rA+1)*y.margin[0]),top:Math.round(y.rowHeight*BA+(BA+1)*y.margin[1]),width:vA===1/0?vA:Math.round(JA*vA+Math.max(0,vA-1)*y.margin[0]),height:UA===1/0?UA:Math.round(y.rowHeight*UA+Math.max(0,UA-1)*y.margin[1])},qA}function oA(rA,BA){const vA=hA();let UA=Math.round((BA-y.margin[0])/(vA+y.margin[0])),JA=Math.round((rA-y.margin[1])/(y.rowHeight+y.margin[1]));return UA=Math.max(Math.min(UA,y.cols-B),0),JA=Math.max(Math.min(JA,y.maxRows-p),0),{x:UA,y:JA}}function hA(){return(y.containerWidth-y.margin[0]*(y.cols+1))/y.cols}function EA(rA,BA,vA){return Number.isFinite(rA)?Math.round(BA*rA+Math.max(0,rA-1)*vA):rA}function gA(rA,BA,vA){return Math.max(Math.min(rA,vA),BA)}function CA(rA,BA,vA=!1){const UA=hA();let JA=Math.round((BA+y.margin[0])/(UA+y.margin[0])),qA=0;return vA?qA=Math.ceil((rA+y.margin[1])/(y.rowHeight+y.margin[1])):qA=Math.round((rA+y.margin[1])/(y.rowHeight+y.margin[1])),JA=Math.max(Math.min(JA,y.cols-k),0),qA=Math.max(Math.min(qA,y.maxRows-v),0),{w:JA,h:qA}}function O(rA,BA){y.containerWidth=rA}function tA(){_()}function lA(){!b.value&&d.value&&(b.value=Jp(d.value),y.useStyleCursor||b.value.styleCursor(!1))}const uA=xp(eA);function Z(){if(lA(),!!b.value)if(y.draggable&&!i.static){const rA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(rA),w||(w=!0,b.value.on("dragstart dragmove dragend",BA=>{BA.type==="dragmove"?uA(BA):eA(BA)}))}else b.value.draggable({enabled:!1})}const V=xp(G);function iA(){if(lA(),!!b.value)if(y.resizable&&!i.static){const rA=sA(0,0,i.maxW,i.maxH),BA=sA(0,0,i.minW,i.minH),vA={edges:{left:J.value?`.${X.value[0]}`:!1,right:J.value?!1:`.${X.value[0]}`,bottom:`.${X.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:BA.height*y.transformScale,width:BA.width*y.transformScale},max:{height:rA.height*y.transformScale,width:rA.width*y.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(vA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(vA),S||(S=!0,b.value.on("resizestart resizemove resizeend",UA=>{UA.type==="resizemove"?V(UA):G(UA)}))}else b.value.resizable({enabled:!1})}return(rA,BA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:d,class:A.normalizeClass(z.value),style:A.normalizeStyle(y.style)},[A.renderSlot(rA.$slots,"default"),Y.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(X.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ro=typeof window<"u";var Zp;ro&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Kr(){}const c_=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(c_)));const g_=ro&&("ontouchstart"in window||d_()>0),u_=g_?"pointerdown":"click";function d_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function h_(n,e,t=window.Event){const{type:i,bubbles:u=!1,cancelable:I=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:u,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,u,I)),Object.assign(b,o),n.dispatchEvent(b)}const p_="clickoutside",C_=new Set;ro&&document.addEventListener(u_,n=>{const e=n.target,t=n.composedPath&&n.composedPath();C_.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&h_(i,{type:p_})})},!0);const B_=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Tr;if(ro){for(const n of B_)if(n[1]in document){Tr=n;break}}const m_=!!Tr;A.computed(()=>!1);const E_=new Set,Q_=new WeakMap;if(ro&&Tr){const n=Tr[2],e=Tr[4];document.addEventListener(e,()=>{if(E_.forEach(t=>{t.value=!1}),document[n]){const t=Q_.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var ao=[],I_=function(){return ao.some(function(n){return n.activeTargets.length>0})},f_=function(){return ao.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",w_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Ur;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ur||(Ur={}));var so=function(n){return Object.freeze(n)},b_=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,so(this)}return n}(),Xp=function(){function n(e,t,i,u){return this.x=e,this.y=t,this.width=i,this.height=u,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,so(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,u=e.top,I=e.right,o=e.bottom,b=e.left,y=e.width,w=e.height;return{x:t,y:i,top:u,right:I,bottom:o,left:b,width:y,height:w}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),eg=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(eg(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var u=n,I=u.offsetWidth,o=u.offsetHeight;return!(I||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},y_=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Yr=typeof window<"u"?window:{},Bs=new WeakMap,eC=/auto|scroll/,D_=/^tb|vertical/,v_=/msie|trident/i.test(Yr.navigator&&Yr.navigator.userAgent),Ai=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new b_((t?e:n)||0,(t?n:e)||0)},tC=so({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),Bs.has(n)&&!e)return Bs.get(n);if(Vp(n))return Bs.set(n,tC),tC;var t=getComputedStyle(n),i=eg(n)&&n.ownerSVGElement&&n.getBBox(),u=!v_&&t.boxSizing==="border-box",I=D_.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),y=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),N=i?0:Ai(t.paddingLeft),H=i?0:Ai(t.borderTopWidth),$=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),T=i?0:Ai(t.borderLeftWidth),D=N+w,Q=y+S,L=T+$,k=H+K,v=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-L-n.clientWidth:0,p=u?D+L:0,d=u?Q+k:0,l=i?i.width:Ai(t.width)-p-B,g=i?i.height:Ai(t.height)-d-v,s=l+D+B+L,h=g+Q+v+k,C=so({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:$o(s,h,I),contentBoxSize:$o(l,g,I),contentRect:new Xp(N,y,l,g)});return Bs.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),u=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Ur.DEVICE_PIXEL_CONTENT_BOX:return o;case Ur.BORDER_BOX:return u;default:return I}},k_=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=so([t.borderBoxSize]),this.contentBoxSize=so([t.contentBoxSize]),this.devicePixelContentBoxSize=so([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},__=function(){var n=1/0,e=[];ao.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var y=new k_(b.target),w=oC(b.target);o.push(y),b.lastReportedSize=iC(b.target,b.observedBox),w<n&&(n=w)}),e.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var u=i[t];u()}return n},rC=function(n){ao.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},M_=function(){var n=0;for(rC(n);I_();)n=__(),rC(n);return f_()&&w_(),n>0},tg,aC=[],x_=function(){return aC.splice(0).forEach(function(n){return n()})},S_=function(n){if(!tg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return x_()}).observe(t,i),tg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),tg()},N_=function(n){S_(function(){requestAnimationFrame(n)})},ms=0,F_=function(){return!!ms},R_=250,L_={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},ng=!1,G_=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=R_),!ng){ng=!0;var i=lC(e);N_(function(){var u=!1;try{u=M_()}finally{if(ng=!1,e=i-lC(),!F_())return;u?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,L_)};document.body?t():Yr.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Yr.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Yr.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ig=new G_,cC=function(n){!ms&&n>0&&ig.start(),ms+=n,!ms&&ig.stop()},P_=function(n){return!eg(n)&&!y_(n)&&getComputedStyle(n).display==="inline"},H_=function(){function n(e,t){this.target=e,this.observedBox=t||Ur.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return P_(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),K_=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Es=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},Qs=function(){function n(){}return n.connect=function(e,t){var i=new K_(e,t);Es.set(e,i)},n.observe=function(e,t,i){var u=Es.get(e),I=u.observationTargets.length===0;gC(u.observationTargets,t)<0&&(I&&ao.push(u),u.observationTargets.push(new H_(t,i&&i.box)),cC(1),ig.schedule())},n.unobserve=function(e,t){var i=Es.get(e),u=gC(i.observationTargets,t),I=i.observationTargets.length===1;u>=0&&(I&&ao.splice(ao.indexOf(i),1),i.observationTargets.splice(u,1),cC(-1))},n.disconnect=function(e){var t=this,i=Es.get(e);i.observationTargets.slice().forEach(function(u){return t.unobserve(e,u.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),T_=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Qs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.unobserve(this,e)},n.prototype.disconnect=function(){Qs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function U_(n){var e;for(let t=0,i=n.length;t<i;++t){const u=n[t],I=Is.get(u.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(e=u.borderBoxSize)==null?void 0:e[0],{offsetWidth:y,offsetHeight:w}=u.target;I(Object.assign(u,{offsetWidth:y,offsetHeight:w,width:o??y,height:b??w}))}}}const uC=new(ro&&window.ResizeObserver||T_)(U_);function dC(n,e){Is.set(n,e),uC.observe(n)}function hC(n){Is.has(n)&&(uC.unobserve(n),Is.delete(n))}function Y_(n={}){let e=Kr;const t=A.watch(()=>A.unref(n.target),u=>{e(),!(!u||typeof n.onResize!="function")&&(dC(u,n.onResize),e=()=>{hC(u),e=Kr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:dC,unobserveResize:hC,unobserve:i}}const O_=A.ref(!1);A.computed(()=>O_.value);const pC="__theme_style__",og="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ro)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${og} { width: 1px }`,i=1;for(const[u,[I,o]]of CC.entries())t+=` html.${I} .${og}, .${o} .${og} { width: ${++i}px }`,BC.set(i,u);e.textContent=t,e.id=pC,document.head.appendChild(e)});const $_=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,u=t,I=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),y=A.ref(),{observeResize:w,unobserveResize:S}=Y_(),N=Ok();N.on("resizeEvent",H),N.on("dragEvent",$),A.onBeforeMount(()=>{u("layout-before-mount",b.value)}),A.onMounted(()=>{u("layout-mounted",b.value),A.nextTick(()=>{e_(b.value),I.originalLayout=b.value,A.nextTick(()=>{g(),y.value&&w(y.value,$k(k,16)),Oo(b.value,i.verticalCompact),u("layout-updated",b.value),L(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),y.value&&S(y.value)});function H(h,C,a,r,m,E){d(h,C,a,r,m,E)}function $(h,C,a,r,m,E){p(h,C,a,r,m,E)}A.watch(()=>I.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{u("layout-ready",b.value)}),L()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,Q()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(u("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],L),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(I),increaseItem:K,decreaseItem:T})),A.provide(Rp,N),e({state:I,getItem:D,resizeEvent:d,dragEvent:p,layoutUpdate:Q});function K(h){o.set(h.i,h)}function T(h){o.delete(h.i)}function D(h){return o.get(h)}function Q(){if(!In(b.value)&&!In(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const h=s(b.value,I.originalLayout);if(h.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!C.has(a.i))}I.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),L(),u("layout-updated",b.value)}}function L(){I.mergedStyle={height:v()}}function k(){y.value&&(I.width=y.value.offsetWidth),N.emit("resizeEvent")}function v(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Jk(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,m,E){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((x,{i:P,x:Y,y:J})=>({...x,[P]:{x:Y,y:J}}),{})),h==="dragmove"||h==="dragstart"?(I.placeholder.i=C,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=m,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):A.nextTick(()=>{I.isDragging=!1}),b.value=Vc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),L(),h==="dragend"&&(B=void 0,u("layout-updated",b.value))}function d(h,C,a,r,m,E){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const P=Pp(b.value,{...M,w:E,h:m}).filter(Y=>Y.i!==M.i);if(x=P.length>0,x){let Y=1/0,J=1/0;P.forEach(q=>{q.x>M.x&&(Y=Math.min(Y,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(Y)&&(M.w=Y-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=m),h==="resizestart"||h==="resizemove"?(I.placeholder.i=C,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):h&&A.nextTick(()=>{I.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),L(),h==="resizeend"&&u("layout-updated",b.value)}function l(){const h=o_(i.breakpoints,I.width);if(h===I.lastBreakpoint)return;const C=Op(h,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=Xc(b.value));const a=r_(I.originalLayout,I.layouts,i.breakpoints,h,I.lastBreakpoint,C,i.verticalCompact);I.layouts[h]=a,I.lastBreakpoint!==h&&u("breakpoint-changed",h,a),b.value=a,u("update:layout",a),I.lastBreakpoint=h,N.emit("setColNum",C)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),m=h.filter(M=>!a.has(M.i)),E=C.filter(M=>!r.has(M.i));return m.concat(E)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:y,class:"vgl-layout",style:A.normalizeStyle(I.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Ag,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Ag,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const _t=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=ci(),u=bt(),I=A.ref({});function o(N,H){N&&(I.value[H]=N)}let b=[];const y=()=>{if(!t.value)return;const N=new Map;for(const H of t.value)N.has(H.x)||N.set(H.x,[]),N.get(H.x).push(H);for(const H of N.values()){H.sort((K,T)=>K.y-T.y);let $=0;for(const K of H)K.y=$,$+=K.h}t.value=[...t.value]},w=e,S=()=>{w("gridItemMoved")};return A.onMounted(()=>{Object.keys(I.value).forEach(N=>{const H=I.value[N];if(!H)return;const $=new ResizeObserver(K=>{for(let T of K){const D=T.contentRect.height+28;if(t.value){const Q=t.value[0].rowHeight||30,L=t.value.find(k=>k.i===N);L&&(L.contentHeight=Math.ceil((D+8)/(Q+8)),L.h>0&&(L.h=Math.ceil((D+8)/(Q+8))))}}y()});$.observe(H),b.push($)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,H)=>A.unref(u).design?(A.openBlock(),A.createBlock(qc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,($,K)=>(A.openBlock(),A.createBlock(A.unref(Ag),{onMoved:S,key:$.i,x:$.x,y:$.y,w:$.w,h:$.h,i:$.i,class:A.normalizeClass($.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:T=>o(T,$.i)},[A.createVNode(oo,A.mergeProps({ref_for:!0},N.list[K]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,$=>(A.openBlock(),A.createBlock(oo,A.mergeProps({key:$.name,ref_for:!0},$),null,16))),128))}}),z_={key:0,class:"btn-render-wrapper"},lo=se(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),u=async o=>{if(o.onClick&&e){try{i.value[o.key]=!0,await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
105
|
-
onClick: ${o.onClick}`)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const y=A.resolveComponent("el-button"),w=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(
|
|
106
|
-
onClick: ${I.onClick}`)}};return(u,I)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),y=A.resolveComponent("el-dropdown-menu"),w=A.resolveComponent("el-dropdown");return u.dropdowns&&u.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",J_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.dropdowns,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.key},[S.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(w,{key:0,disabled:S.disabled},{dropdown:A.withCtx(()=>[A.createVNode(y,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:H=>i(N,S)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:S.color},{default:A.withCtx(()=>{var N,H;return[S.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:(N=S.icon)==null?void 0:N.name,class:"left-icon",color:(H=S.icon)==null?void 0:H.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(S.text),1),A.createVNode(Re,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-
|
|
107
|
-
onClick: ${o}`)}};return(o,b)=>{const y=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(y,{trigger:u.trigger||"hover",width:u.width,"popper-class":u.noPadding?"no-padding":"",title:u.title,placement:u.placement},{reference:A.withCtx(()=>{var w,S,N,H,$;return[A.createElementVNode("div",{style:A.normalizeStyle(u.ostyle+(i.value?u.hoverStyle:"")),onMouseenter:b[0]||(b[0]=K=>i.value=!0),onMouseleave:b[1]||(b[1]=K=>i.value=!1)},[((w=u.reference)==null?void 0:w.component)==="Icon"?(A.openBlock(),A.createBlock(Re,{key:0,name:(N=(S=u.reference)==null?void 0:S.props)==null?void 0:N.name,color:i.value&&u.hoverColor?u.hoverColor:($=(H=u.reference)==null?void 0:H.props)==null?void 0:$.color,class:"btn-icon cursor-pointer",size:u.size||"normal",onClick:I},null,8,["name","color","size"])):u.reference?(A.openBlock(),A.createBlock(A.unref(_t),{key:1,list:[u.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[o.children?(A.openBlock(),A.createBlock(A.unref(_t),{key:0,list:o.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-a785ee98"]]),W_={title:"气泡框",component:"Popover",render:mC,icon:A.h(Ie,{name:"password"}),type:"layout",order:9},j_=["innerHTML"],q_=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,j_))}}),X_={title:"HTML",component:"HtmlRender",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:q_},V_={title:"分页",component:"Pagination",icon:A.h(Ie,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>x8))},A2=se(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),u=n;A.ref(!0);const I=o=>{e&&e[u.onClickMenu||"onClickMenu"](t,o)};return A.watch(()=>u.defaultActive,()=>{i.value.updateActiveIndex(u.defaultActive)}),(o,b)=>{var S;const y=A.resolveComponent("el-menu-item"),w=A.resolveComponent("el-menu");return((S=o.data)==null?void 0:S.length)>0?(A.openBlock(),A.createBlock(w,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:o.mode,class:"sui-menu","default-active":o.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.data,N=>(A.openBlock(),A.createBlock(y,{onClick:H=>I(N),key:N.id,index:N.id},{default:A.withCtx(()=>[N.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:N.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(N.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-40e5cb62"]]),e2={title:"Menu",component:"Menu",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:A2},t2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>L8)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10},n2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Zx)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2=Object.freeze(Object.defineProperty({__proto__:null,Alert:f0,Button:Nb,Card:w0,CardList:oy,Cascader:y0,Checkbox:_0,Collapse:Cb,ColorInput:N0,ColorPicker:x0,CurdCard:Pb,Custom:R0,DatePicker:G0,Divider:H0,DragList:ly,Esign:T0,FilterSearch:t2,FormList:$0,Grid:z0,HtmlRender:X_,InfiniteScroll:n2,Inline:J0,Input:h0,InputNumber:W0,JsonEdit:v0,LogList:sy,Menu:e2,ObjGroup:mb,OfferDetails:ry,OrderProgress:ay,Pagination:V_,Password:X0,Popover:W_,Radio:Y0,Rate:tb,SearchInput:kb,SearchSelect:Mb,Select:Ab,SelectInput:ib,Slider:ob,Switch:ab,Table:Gb,Tabs:Bb,Tag:sb,Text:cb,TextArea:C0,Title:gb,Transfer:yb,Tree:Rb,Upload:db,VerifyCode:pb,Wrapper:Hb},Symbol.toStringTag,{value:"Module"})),zo=()=>{const n=A.inject(jn),e={...i2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Sn=()=>A.inject(Nd),Gi=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},o2=A.defineComponent({__name:"Footer",setup(n){const e=bt(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,u)=>{const I=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(I,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>u[1]||(u[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(I,{onClick:u[0]||(u[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>u[2]||(u[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),EC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(EC(i.children)));return e},QC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(EC(i.schema.items)));return e},IC=Symbol("RefManager"),r2=()=>{const n=new Map,e=new Map;function t(i){const u=i.sort().join(","),I=e.get(u);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,u)=>{n.set(i,u);for(const[I]of e)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const u=i.sort().join(",");if(e.has(u))return e.get(u).promise;let I=null;const o=new Promise(b=>{I=b});return e.set(u,{promise:o,resolve:I}),t(i),o}}},a2=()=>{const n=r2();return A.provide(IC,n),n},fC=()=>{const n=A.inject(IC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fs=(n,e)=>{const t=fC();return t.register(n,e),()=>{t.unregister(n)}},s2=["id"],fn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,u=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&u[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",u[o.value]);const b=t,y=A.ref(),w=A.useModel(n,"modelValue"),S=A.useModel(n,"realValues"),N=(J,q,W)=>{W===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=W)},H=J=>w.value[J],$=(J,q)=>{let W=m(T.value.items,J);W&&W.props&&(W.props.disabled=!q)},K=(J,q)=>{let W=m(T.value.items,J);W&&(W.hidden=!q)},T=A.useModel(n,"schema");if(T.value.onValuesChange){const J=A.ref(JSON.stringify(w.value));A.watch(()=>w.value,q=>{J.value=JSON.stringify(q)},{deep:!0}),A.watch(()=>J.value,(q,W)=>{const z=JSON.parse(q),X=JSON.parse(W),_=Object.keys(z).filter(AA=>JSON.stringify(z[AA])!==JSON.stringify(X[AA]));if(!(!o.value||!T.value.onValuesChange))try{u[o.value][T.value.onValuesChange](I,_,X,z)}catch(AA){console.error(AA)}})}const D=A.reactive({}),Q=A.ref({}),L=A.ref(!1),k=ci(),v=A.computed(()=>({...i.schemaContext,$values:w.value,$selectData:D,$locale:k.value})),B=fC();A.onMounted(async()=>{var W,z;if((W=i.schema)!=null&&W.initialValues){const X=(z=i.schema)==null?void 0:z.initialValues;C(X),w.value=ut.mergeWith(X,w.value,(_,AA)=>{if(Array.isArray(_))return AA})}await A.nextTick();const J=QC({content:[{type:"form",schema:T.value}]});if(await B.waitForKeys(J),!T.value||!T.value.onMounted||!o.value)return;const q=T.value.onMounted;try{u[o.value][q](I)}catch(X){console.error(X)}}),A.onActivated(()=>{if(!T.value||!T.value.onActivated||!o.value)return;const J=T.value.onActivated;try{u[o.value][J](I)}catch(q){console.error(q)}});const p=()=>{var J;return(J=y.value)==null?void 0:J.validate()},d=J=>{const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=z=>{z.forEach(X=>{q.includes(X.component)?X.props&&(X.props.disabled=J):X.children&&W(X.children)})};W(T.value.items)},l=()=>{var J;(J=p())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ut.cloneDeep(w.value);J.forEach(W=>{q=ko(q,W,ma(Q.value,W))}),w.value=q}else w.value=ut.cloneDeep(A.toRaw(Q.value))},s=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},h=(J,q)=>{D[J]=q},C=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},m=(J,q)=>{for(const W of J){if(W.name===q)return W;if(W.children&&W.children.length>0){const z=m(W.children,q);if(z)return z}}return null},E=J=>{const q=m(T.value.items,J);!q||q.component!=="Select"||(q.props&&q.props.mode==="static"&&(Array.isArray(q.props.options)&&q.props.options.findIndex(z=>{var X;return z[((X=q.props)==null?void 0:X.valueKey)||"value"]===w.value[J]})!==-1||(w.value[J]=q.props.options[0][q.props.valueKey||"value"])),q.props&&(q.props.refreshFlag=!0))},M=J=>{var q;(q=y.value)==null||q.clearValidate(J)},x=J=>{T.value.hidden=J},P=A.useTemplateRef("rootRef"),Y=A.reactive({...A.toRefs(i),formValues:w,formRealValues:S,selectData:D,initialValues:Q,context:v,vCodePass:L,updateFormValues:s,updateSelectData:h,updateInitialValues:C,getInitialValues:a,updateVCodePass:r,validate:p,resetFields:g,submit:l,setDisabled:d,findItemByName:m,setFieldEditSts:$,setFieldVisibleSts:K,setFieldValue:N,getFieldValue:H,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:P,type:"form"});return A.provide(Sd,Y),e(Y),(J,q)=>{const W=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:P,id:T.value.key},[T.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(W,A.mergeProps({key:0,model:w.value,"label-position":T.value.labelPosition,size:T.value.size,"hide-required-asterisk":T.value.hideRequiredAsterisk,"scroll-to-error":T.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:y},J.$attrs,{onSubmit:q[0]||(q[0]=A.withModifiers(()=>{},["prevent"]))}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(_t),{list:T.value.items},null,8,["list"]),A.createVNode(o2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,s2)}}}),l2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,y)=>b.order-y.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),u=Fd[e];return[{title:u.menus.basicTitle,children:i("basic")},{title:u.menus.highTitle,children:i("high")},{title:u.menus.layoutTitle,children:i("layout")},{title:u.menus.assistTitle,children:i("assist")}]},c2=A.defineComponent({__name:"index",setup(n){var S;const e=A.ref(!1),t=Sn(),i=zo(),u=ci(),I=nc(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=A.computed(()=>l2({elements:i,omits:t.omitMenus||[],lang:I.value})),y=N=>{t.updateSchema(N)},w=N=>{const H={component:N.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return N.type==="layout"&&(H.children=[]),H};return(N,H)=>{const $=A.resolveComponent("el-button"),K=A.resolveComponent("el-space"),T=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode($,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:H[0]||(H[0]=D=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(u).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(T,{modelValue:e.value,"onUpdate:modelValue":H[1]||(H[1]=D=>e.value=D),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(K,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:D,schema:Q})=>(A.openBlock(),A.createBlock($,{key:D,onClick:L=>y(Q)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(D),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:D,children:Q})=>(A.openBlock(),A.createElementBlock("div",{key:D,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(D),3),A.createVNode(A.unref(kp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:Q,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:w},{item:A.withCtx(({element:L})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(I)==="zh"?"12px":"10px"})},A.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),g2=n=>`<template>
|
|
104
|
+
*/function Zh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),t.push.apply(t,i)}return t}function qn(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Zh(Object(t),!0).forEach(function(i){L1(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Zh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function As(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?As=function(e){return typeof e}:As=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},As(n)}function L1(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ui(){return ui=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},ui.apply(this,arguments)}function G1(n,e){if(n==null)return{};var t={},i=Object.keys(n),u,I;for(I=0;I<i.length;I++)u=i[I],!(e.indexOf(u)>=0)&&(t[u]=n[u]);return t}function P1(n,e){if(n==null)return{};var t=G1(n,e),i,u;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(u=0;u<I.length;u++)i=I[u],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var H1="1.14.0";function di(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var hi=di(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),kr=di(/Edge/i),Wh=di(/firefox/i),_r=di(/safari/i)&&!di(/chrome/i)&&!di(/android/i),jh=di(/iP(ad|od|hone)/i),K1=di(/chrome/i)&&di(/android/i),qh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!hi&&qh)}function et(n,e,t){n.removeEventListener(e,t,!hi&&qh)}function es(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function T1(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function Xn(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&es(n,e):es(n,e))||i&&n===t)return n;if(n===t)break}while(n=T1(n))}return null}var Xh=/\s+/g;function mn(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(Xh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(Xh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var u=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return u&&new u(t)}function Vh(n,e,t){if(n){var i=n.getElementsByTagName(e),u=0,I=i.length;if(t)for(;u<I;u++)t(i[u],u);return i}return[]}function Vn(){var n=document.scrollingElement;return n||document.documentElement}function xt(n,e,t,i,u){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,y,w,S,N;if(n!==window&&n.parentNode&&n!==Vn()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,y=I.bottom,w=I.right,S=I.height,N=I.width):(o=0,b=0,y=window.innerHeight,w=window.innerWidth,S=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(u=u||n.parentNode,!hi))do if(u&&u.getBoundingClientRect&&(Le(u,"transform")!=="none"||t&&Le(u,"position")!=="static")){var H=u.getBoundingClientRect();o-=H.top+parseInt(Le(u,"border-top-width")),b-=H.left+parseInt(Le(u,"border-left-width")),y=o+I.height,w=b+I.width;break}while(u=u.parentNode);if(i&&n!==window){var $=Po(u||n),K=$&&$.a,T=$&&$.d;$&&(o/=T,b/=K,N/=K,S/=T,y=o+S,w=b+N)}return{top:o,left:b,bottom:y,right:w,width:N,height:S}}}function Ap(n,e,t){for(var i=Ni(n,!0),u=xt(n)[e];i;){var I=xt(i)[t],o=void 0;if(o=u>=I,!o)return i;if(i===Vn())break;i=Ni(i,!1)}return!1}function Ho(n,e,t,i){for(var u=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Ge.ghost&&(i||o[I]!==Ge.dragged)&&Xn(o[I],t.draggable,n,!1)){if(u===e)return o[I];u++}I++}return null}function Sc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!es(t,e));)t=t.previousElementSibling;return t||null}function xn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||es(n,e))&&t++;return t}function ep(n){var e=0,t=0,i=Vn();if(n)do{var u=Po(n),I=u.a,o=u.d;e+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function U1(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ni(n,e){if(!n||!n.getBoundingClientRect)return Vn();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var u=Le(t);if(t.clientWidth<t.scrollWidth&&(u.overflowX=="auto"||u.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(u.overflowY=="auto"||u.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Vn();if(i||e)return t;i=!0}}while(t=t.parentNode);return Vn()}function Y1(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Nc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var Mr;function tp(n,e){return function(){if(!Mr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),Mr=setTimeout(function(){Mr=void 0},e)}}}function O1(){clearTimeout(Mr),Mr=void 0}function np(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function ip(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var En="Sortable"+new Date().getTime();function $1(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(u){if(!(Le(u,"display")==="none"||u===Ge.ghost)){n.push({target:u,rect:xt(u)});var I=qn({},n[n.length-1].rect);if(u.thisAnimationDuration){var o=Po(u,!0);o&&(I.top-=o.f,I.left-=o.e)}u.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(U1(n,{target:i}),1)},animateAll:function(i){var u=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var y=0,w=b.target,S=w.fromRect,N=xt(w),H=w.prevFromRect,$=w.prevToRect,K=b.rect,T=Po(w,!0);T&&(N.top-=T.f,N.left-=T.e),w.toRect=N,w.thisAnimationDuration&&Nc(H,N)&&!Nc(S,N)&&(K.top-N.top)/(K.left-N.left)===(S.top-N.top)/(S.left-N.left)&&(y=J1(K,H,$,u.options)),Nc(N,S)||(w.prevFromRect=S,w.prevToRect=N,y||(y=u.options.animation),u.animate(w,K,N,y)),y&&(I=!0,o=Math.max(o,y),clearTimeout(w.animationResetTimer),w.animationResetTimer=setTimeout(function(){w.animationTime=0,w.prevFromRect=null,w.fromRect=null,w.prevToRect=null,w.thisAnimationDuration=null},y),w.thisAnimationDuration=y)}),clearTimeout(e),I?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,u,I,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),y=b&&b.a,w=b&&b.d,S=(u.left-I.left)/(y||1),N=(u.top-I.top)/(w||1);i.animatingX=!!S,i.animatingY=!!N,Le(i,"transform","translate3d("+S+"px,"+N+"px,0)"),this.forRepaintDummy=z1(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function z1(n){return n.offsetWidth}function J1(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Fc={initializeByDefault:!0},xr={mount:function(e){for(var t in Fc)Fc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Fc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var u=this;this.eventCanceled=!1,i.cancel=function(){u.eventCanceled=!0};var I=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](qn({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](qn({sortable:t},i)))})},initializePlugins:function(e,t,i,u){Ko.forEach(function(b){var y=b.pluginName;if(!(!e.options[y]&&!b.initializeByDefault)){var w=new b(e,t,e.options);w.sortable=e,w.options=e.options,e[y]=w,ui(i,w.defaults)}});for(var I in e.options)if(e.options.hasOwnProperty(I)){var o=this.modifyOption(e,I,e.options[I]);typeof o<"u"&&(e.options[I]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(u){typeof u.eventProperties=="function"&&ui(i,u.eventProperties.call(t[u.pluginName],e))}),i},modifyOption:function(e,t,i){var u;return Ko.forEach(function(I){e[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(u=I.optionListeners[t].call(e[I.pluginName],i))}),u}};function Z1(n){var e=n.sortable,t=n.rootEl,i=n.name,u=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,y=n.oldIndex,w=n.newIndex,S=n.oldDraggableIndex,N=n.newDraggableIndex,H=n.originalEvent,$=n.putSortable,K=n.extraEventProperties;if(e=e||t&&t[En],!!e){var T,D=e.options,Q="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!hi&&!kr?T=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(T=document.createEvent("Event"),T.initEvent(i,!0,!0)),T.to=o||t,T.from=b||t,T.item=u||t,T.clone=I,T.oldIndex=y,T.newIndex=w,T.oldDraggableIndex=S,T.newDraggableIndex=N,T.originalEvent=H,T.pullMode=$?$.lastPutMode:void 0;var L=qn(qn({},K),xr.getEventProperties(i,e));for(var k in L)T[k]=L[k];t&&t.dispatchEvent(T),D[Q]&&D[Q].call(e,T)}}var W1=["evt"],ln=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=i.evt,I=P1(i,W1);xr.pluginEvent.bind(Ge)(e,t,qn({dragEl:me,parentEl:It,ghostEl:Ye,rootEl:Bt,nextEl:to,lastDownEl:ts,cloneEl:ft,cloneHidden:Fi,dragStarted:Nr,putSortable:Ht,activeSortable:Ge.active,originalEvent:u,oldIndex:To,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri,hideGhostForTarget:gp,unhideGhostForTarget:up,cloneNowHidden:function(){Fi=!0},cloneNowShown:function(){Fi=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:u})}},I))};function Wt(n){Z1(qn({putSortable:Ht,cloneEl:ft,targetEl:me,rootEl:Bt,oldIndex:To,oldDraggableIndex:Sr,newIndex:Qn,newDraggableIndex:Ri},n))}var me,It,Ye,Bt,to,ts,ft,Fi,To,Qn,Sr,Ri,ns,Ht,Uo=!1,is=!1,os=[],no,Yn,Rc,Lc,op,rp,Nr,Yo,Fr,Rr=!1,rs=!1,as,Ot,Gc=[],Pc=!1,ss=[],ls=typeof document<"u",cs=jh,ap=kr||hi?"cssFloat":"float",j1=ls&&!K1&&!jh&&"draggable"in document.createElement("div"),sp=function(){if(ls){if(hi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),lp=function(e,t){var i=Le(e),u=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Ho(e,0,t),o=Ho(e,1,t),b=I&&Le(I),y=o&&Le(o),w=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+xt(I).width,S=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+xt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(y.clear==="both"||y.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||w>=u&&i[ap]==="none"||o&&i[ap]==="none"&&w+S>u)?"vertical":"horizontal"},q1=function(e,t,i){var u=i?e.left:e.top,I=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,y=i?t.right:t.bottom,w=i?t.width:t.height;return u===b||I===y||u+o/2===b+w/2},X1=function(e,t){var i;return os.some(function(u){var I=u[En].options.emptyInsertThreshold;if(!(!I||Sc(u))){var o=xt(u),b=e>=o.left-I&&e<=o.right+I,y=t>=o.top-I&&t<=o.bottom+I;if(b&&y)return i=u}}),i},cp=function(e){function t(I,o){return function(b,y,w,S){var N=b.options.group.name&&y.options.group.name&&b.options.group.name===y.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,y,w,S),o)(b,y,w,S);var H=(o?b:y).options.group.name;return I===!0||typeof I=="string"&&I===H||I.join&&I.indexOf(H)>-1}}var i={},u=e.group;(!u||As(u)!="object")&&(u={name:u}),i.name=u.name,i.checkPull=t(u.pull,!0),i.checkPut=t(u.put),i.revertClone=u.revertClone,e.group=i},gp=function(){!sp&&Ye&&Le(Ye,"display","none")},up=function(){!sp&&Ye&&Le(Ye,"display","")};ls&&document.addEventListener("click",function(n){if(is)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),is=!1,!1},!0);var io=function(e){if(me){e=e.touches?e.touches[0]:e;var t=X1(e.clientX,e.clientY);if(t){var i={};for(var u in e)e.hasOwnProperty(u)&&(i[u]=e[u]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[En]._onDragOver(i)}}},V1=function(e){me&&me.parentNode[En]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=ui({},e),n[En]=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 lp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!_r,emptyInsertThreshold:5};xr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);cp(e);for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this));this.nativeDraggable=e.forceFallback?!1:j1,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),os.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ui(this,$1())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,u=this.options,I=u.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,y=(b||e).target,w=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||y,S=u.filter;if(ak(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||u.disabled)&&!w.isContentEditable&&!(!this.nativeDraggable&&_r&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=Xn(y,u.draggable,i,!1),!(y&&y.animated)&&ts!==y)){if(To=xn(y),Sr=xn(y,u.draggable),typeof S=="function"){if(S.call(this,e,y,this)){Wt({sortable:t,rootEl:w,name:"filter",targetEl:y,toEl:i,fromEl:i}),ln("filter",t,{evt:e}),I&&e.cancelable&&e.preventDefault();return}}else if(S&&(S=S.split(",").some(function(N){if(N=Xn(w,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:y,fromEl:i,toEl:i}),ln("filter",t,{evt:e}),!0}),S)){I&&e.cancelable&&e.preventDefault();return}u.handle&&!Xn(w,u.handle,i,!1)||this._prepareDragStart(e,b,y)}}},_prepareDragStart:function(e,t,i){var u=this,I=u.el,o=u.options,b=I.ownerDocument,y;if(i&&!me&&i.parentNode===I){var w=xt(i);if(Bt=I,me=i,It=me.parentNode,to=me.nextSibling,ts=i,ns=o.group,Ge.dragged=me,no={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},op=no.clientX-w.left,rp=no.clientY-w.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",y=function(){if(ln("delayEnded",u,{evt:e}),Ge.eventCanceled){u._onDrop();return}u._disableDelayedDragEvents(),!Wh&&u.nativeDraggable&&(me.draggable=!0),u._triggerDragStart(e,t),Wt({sortable:u,name:"choose",originalEvent:e}),mn(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(S){Vh(me,S.trim(),Hc)}),it(b,"dragover",io),it(b,"mousemove",io),it(b,"touchmove",io),it(b,"mouseup",u._onDrop),it(b,"touchend",u._onDrop),it(b,"touchcancel",u._onDrop),Wh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),ln("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(kr||hi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",u._disableDelayedDrag),it(b,"touchend",u._disableDelayedDrag),it(b,"touchcancel",u._disableDelayedDrag),it(b,"mousemove",u._delayedDragTouchMoveHandler),it(b,"touchmove",u._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",u._delayedDragTouchMoveHandler),u._dragStartTimer=setTimeout(y,o.delay)}else y()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Hc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Bt,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Bt&&me){ln("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",V1);var i=this.options;!e&&mn(me,i.dragClass,!1),mn(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Yn){this._lastX=Yn.clientX,this._lastY=Yn.clientY,gp();for(var e=document.elementFromPoint(Yn.clientX,Yn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Yn.clientX,Yn.clientY),e!==t);)t=e;if(me.parentNode[En]._isOutsideThisEl(e),t)do{if(t[En]){var i=void 0;if(i=t[En]._onDragOver({clientX:Yn.clientX,clientY:Yn.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);up()}},_onTouchMove:function(e){if(no){var t=this.options,i=t.fallbackTolerance,u=t.fallbackOffset,I=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,y=Ye&&o&&o.d,w=cs&&Ot&&ep(Ot),S=(I.clientX-no.clientX+u.x)/(b||1)+(w?w[0]-Gc[0]:0)/(b||1),N=(I.clientY-no.clientY+u.y)/(y||1)+(w?w[1]-Gc[1]:0)/(y||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=S-(Rc||0),o.f+=N-(Lc||0)):o={a:1,b:0,c:0,d:1,e:S,f:N};var H="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",H),Le(Ye,"mozTransform",H),Le(Ye,"msTransform",H),Le(Ye,"transform",H),Rc=S,Lc=N,Yn=I}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Bt,t=xt(me,!0,cs,!0,e),i=this.options;if(cs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=Vn()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=Vn(),Gc=ep(Ot)}Ye=me.cloneNode(!0),mn(Ye,i.ghostClass,!1),mn(Ye,i.fallbackClass,!0),mn(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",cs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",op/parseInt(Ye.style.width)*100+"% "+rp/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,u=e.dataTransfer,I=i.options;if(ln("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}ln("setupClone",this),Ge.eventCanceled||(ft=ip(me),ft.draggable=!1,ft.style["will-change"]="",this._hideClone(),mn(ft,this.options.chosenClass,!1),Ge.clone=ft),i.cloneId=us(function(){ln("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Bt.insertBefore(ft,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&mn(me,I.dragClass,!0),t?(is=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),u&&(u.effectAllowed="move",I.setData&&I.setData.call(i,u,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Nr=!0,_r&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,u,I,o,b=this.options,y=b.group,w=Ge.active,S=ns===y,N=b.sort,H=Ht||w,$,K=this,T=!1;if(Pc)return;function D(x,P){ln(x,K,qn({evt:e,isOwner:S,axis:$?"vertical":"horizontal",revert:o,dragRect:u,targetRect:I,canSort:N,fromSortable:H,target:i,completed:L,onMove:function(J,q){return gs(Bt,t,me,u,J,xt(J),e,q)},changed:k},P))}function Q(){D("dragOverAnimationCapture"),K.captureAnimationState(),K!==H&&H.captureAnimationState()}function L(x){return D("dragOverCompleted",{insertion:x}),x&&(S?w._hideClone():w._showClone(K),K!==H&&(mn(me,Ht?Ht.options.ghostClass:w.options.ghostClass,!1),mn(me,b.ghostClass,!0)),Ht!==K&&K!==Ge.active?Ht=K:K===Ge.active&&Ht&&(Ht=null),H===K&&(K._ignoreWhileAnimating=i),K.animateAll(function(){D("dragOverAnimationComplete"),K._ignoreWhileAnimating=null}),K!==H&&(H.animateAll(),H._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[En]._isOutsideThisEl(e.target),!x&&io(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),T=!0}function k(){Qn=xn(me),Ri=xn(me,b.draggable),Wt({sortable:K,name:"change",toEl:t,newIndex:Qn,newDraggableIndex:Ri,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=Xn(i,b.draggable,t,!0),D("dragOver"),Ge.eventCanceled)return T;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||K._ignoreWhileAnimating===i)return L(!1);if(is=!1,w&&!b.disabled&&(S?N||(o=It!==Bt):Ht===this||(this.lastPutMode=ns.checkPull(this,w,me,e))&&y.checkPut(this,w,me,e))){if($=this._getDirection(e,i)==="vertical",u=xt(me),D("dragOverValid"),Ge.eventCanceled)return T;if(o)return It=Bt,Q(),this._hideClone(),D("revert"),Ge.eventCanceled||(to?Bt.insertBefore(me,to):Bt.appendChild(me)),L(!0);var v=Sc(t,b.draggable);if(!v||nk(e,$,this)&&!v.animated){if(v===me)return L(!1);if(v&&t===e.target&&(i=v),i&&(I=xt(i)),gs(Bt,t,me,u,i,I,e,!!i)!==!1)return Q(),t.appendChild(me),It=t,k(),L(!0)}else if(v&&tk(e,$,this)){var B=Ho(t,0,b,!0);if(B===me)return L(!1);if(i=B,I=xt(i),gs(Bt,t,me,u,i,I,e,!1)!==!1)return Q(),t.insertBefore(me,B),It=t,k(),L(!0)}else if(i.parentNode===t){I=xt(i);var p=0,d,l=me.parentNode!==t,g=!q1(me.animated&&me.toRect||u,i.animated&&i.toRect||I,$),s=$?"top":"left",h=Ap(i,"top","top")||Ap(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(d=I[s],Rr=!1,rs=!g&&b.invertSwap||l),p=ik(e,i,I,$,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,rs,Yo===i);var a;if(p!==0){var r=xn(me);do r-=p,a=It.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return L(!1);Yo=i,Fr=p;var m=i.nextElementSibling,E=!1;E=p===1;var M=gs(Bt,t,me,u,i,I,e,E);if(M!==!1)return(M===1||M===-1)&&(E=M===1),Pc=!0,setTimeout(ek,30),Q(),E&&!m?t.appendChild(me):i.parentNode.insertBefore(me,E?m:i),h&&np(h,0,C-h.scrollTop),It=me.parentNode,d!==void 0&&!rs&&(as=Math.abs(d-xt(i)[s])),k(),L(!0)}if(t.contains(me))return L(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",io),et(document,"mousemove",io),et(document,"touchmove",io)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(Qn=xn(me),Ri=xn(me,i.draggable),ln("drop",this,{evt:e}),It=me&&me.parentNode,Qn=xn(me),Ri=xn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,rs=!1,Rr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Kc(this.cloneId),Kc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_r&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Nr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Bt===It||Ht&&Ht.lastPutMode!=="clone")&&ft&&ft.parentNode&&ft.parentNode.removeChild(ft),me&&(this.nativeDraggable&&et(me,"dragend",this),Hc(me),me.style["will-change"]="",Nr&&!Uo&&mn(me,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),mn(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:It,newIndex:null,newDraggableIndex:null,originalEvent:e}),Bt!==It?(Qn>=0&&(Wt({rootEl:It,name:"add",toEl:It,fromEl:Bt,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:It,originalEvent:e}),Wt({rootEl:It,name:"sort",toEl:It,fromEl:Bt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:It,originalEvent:e})),Ht&&Ht.save()):Qn!==To&&Qn>=0&&(Wt({sortable:this,name:"update",toEl:It,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:It,originalEvent:e})),Ge.active&&((Qn==null||Qn===-1)&&(Qn=To,Ri=Sr),Wt({sortable:this,name:"end",toEl:It,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){ln("nulling",this),Bt=me=It=Ye=to=ft=ts=Fi=no=Yn=Nr=Qn=Ri=To=Sr=Yo=Fr=Ht=ns=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ss.forEach(function(e){e.checked=!0}),ss.length=Rc=Lc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),Ak(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,u=0,I=i.length,o=this.options;u<I;u++)t=i[u],Xn(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||rk(t));return e},sort:function(e,t){var i={},u=this.el;this.toArray().forEach(function(I,o){var b=u.children[o];Xn(b,this.options.draggable,u,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),e.forEach(function(I){i[I]&&(u.removeChild(i[I]),u.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Xn(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var u=xr.modifyOption(this,e,t);typeof u<"u"?i[e]=u:i[e]=t,e==="group"&&cp(i)},destroy:function(){ln("destroy",this);var e=this.el;e[En]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),os.splice(os.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Fi){if(ln("hideClone",this),Ge.eventCanceled)return;Le(ft,"display","none"),this.options.removeCloneOnHide&&ft.parentNode&&ft.parentNode.removeChild(ft),Fi=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Fi){if(ln("showClone",this),Ge.eventCanceled)return;me.parentNode==Bt&&!this.options.group.revertClone?Bt.insertBefore(ft,me):to?Bt.insertBefore(ft,to):Bt.appendChild(ft),this.options.group.revertClone&&this.animate(me,ft),Le(ft,"display",""),Fi=!1}}};function Ak(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function gs(n,e,t,i,u,I,o,b){var y,w=n[En],S=w.options.onMove,N;return window.CustomEvent&&!hi&&!kr?y=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent("move",!0,!0)),y.to=e,y.from=n,y.dragged=t,y.draggedRect=i,y.related=u||e,y.relatedRect=I||xt(e),y.willInsertAfter=b,y.originalEvent=o,n.dispatchEvent(y),S&&(N=S.call(w,y,o)),N}function Hc(n){n.draggable=!1}function ek(){Pc=!1}function tk(n,e,t){var i=xt(Ho(t.el,0,t.options,!0)),u=10;return e?n.clientX<i.left-u||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-u||n.clientY<i.bottom&&n.clientX<i.left}function nk(n,e,t){var i=xt(Sc(t.el,t.options.draggable)),u=10;return e?n.clientX>i.right+u||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+u}function ik(n,e,t,i,u,I,o,b){var y=i?n.clientY:n.clientX,w=i?t.height:t.width,S=i?t.top:t.left,N=i?t.bottom:t.right,H=!1;if(!o){if(b&&as<w*u){if(!Rr&&(Fr===1?y>S+w*I/2:y<N-w*I/2)&&(Rr=!0),Rr)H=!0;else if(Fr===1?y<S+as:y>N-as)return-Fr}else if(y>S+w*(1-u)/2&&y<N-w*(1-u)/2)return ok(e)}return H=H||o,H&&(y<S+w*I/2||y>N-w*I/2)?y>S+w/2?1:-1:0}function ok(n){return xn(me)<xn(n)?1:-1}function rk(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function ak(n){ss.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ss.push(i)}}function us(n){return setTimeout(n,0)}function Kc(n){return clearTimeout(n)}ls&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Vh,is:function(e,t){return!!Xn(e,t,e,!1)},extend:Y1,throttle:tp,closest:Xn,toggleClass:mn,clone:ip,index:xn,nextTick:us,cancelNextTick:Kc,detectDirection:lp,getChild:Ho},Ge.get=function(n){return n[En]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=qn(qn({},Ge.utils),i.utils)),xr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=H1;var _t=[],Lr,Tc,Uc=!1,Yc,Oc,ds,Gr;function sk(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),hs(),O1()},nulling:function(){ds=Tc=Lr=Uc=Gr=Yc=Oc=null,_t.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var u=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(ds=t,i||this.options.forceAutoScrollFallback||kr||hi||_r){$c(t,this.options,b,i);var y=Ni(b,!0);Uc&&(!Gr||I!==Yc||o!==Oc)&&(Gr&&dp(),Gr=setInterval(function(){var w=Ni(document.elementFromPoint(I,o),!0);w!==y&&(y=w,hs()),$c(t,u.options,w,i)},10),Yc=I,Oc=o)}else{if(!this.options.bubbleScroll||Ni(b,!0)===Vn()){hs();return}$c(t,this.options,Ni(b,!1),!1)}}},ui(n,{pluginName:"scroll",initializeByDefault:!0})}function hs(){_t.forEach(function(n){clearInterval(n.pid)}),_t=[]}function dp(){clearInterval(Gr)}var $c=tp(function(n,e,t,i){if(e.scroll){var u=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,y=Vn(),w=!1,S;Tc!==t&&(Tc=t,hs(),Lr=e.scroll,S=e.scrollFn,Lr===!0&&(Lr=Ni(t,!0)));var N=0,H=Lr;do{var $=H,K=xt($),T=K.top,D=K.bottom,Q=K.left,L=K.right,k=K.width,v=K.height,B=void 0,p=void 0,d=$.scrollWidth,l=$.scrollHeight,g=Le($),s=$.scrollLeft,h=$.scrollTop;$===y?(B=k<d&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=v<l&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=k<d&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=v<l&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(L-u)<=o&&s+k<d)-(Math.abs(Q-u)<=o&&!!s),a=p&&(Math.abs(D-I)<=o&&h+v<l)-(Math.abs(T-I)<=o&&!!h);if(!_t[N])for(var r=0;r<=N;r++)_t[r]||(_t[r]={});(_t[N].vx!=C||_t[N].vy!=a||_t[N].el!==$)&&(_t[N].el=$,_t[N].vx=C,_t[N].vy=a,clearInterval(_t[N].pid),(C!=0||a!=0)&&(w=!0,_t[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(ds);var m=_t[this.layer].vy?_t[this.layer].vy*b:0,E=_t[this.layer].vx?_t[this.layer].vx*b:0;typeof S=="function"&&S.call(Ge.dragged.parentNode[En],E,m,n,ds,_t[this.layer].el)!=="continue"||np(_t[this.layer].el,E,m)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&H!==y&&(H=Ni(H,!1)));Uc=w}},30),hp=function(e){var t=e.originalEvent,i=e.putSortable,u=e.dragEl,I=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,y=e.unhideGhostForTarget;if(t){var w=i||I;b();var S=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(S.clientX,S.clientY);y(),w&&!w.el.contains(N)&&(o("spill"),this.onSpill({dragEl:u,putSortable:i}))}};function zc(){}zc.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var u=Ho(this.sortable.el,this.startIndex,this.options);u?this.sortable.el.insertBefore(t,u):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:hp},ui(zc,{pluginName:"revertOnSpill"});function Jc(){}Jc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,u=i||this.sortable;u.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),u.animateAll()},drop:hp},ui(Jc,{pluginName:"removeOnSpill"}),Ge.mount(new sk),Ge.mount(Jc,zc);var lk=Object.defineProperty,ck=Object.defineProperties,gk=Object.getOwnPropertyDescriptors,pp=Object.getOwnPropertySymbols,uk=Object.prototype.hasOwnProperty,dk=Object.prototype.propertyIsEnumerable,Cp=(n,e,t)=>e in n?lk(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Li=(n,e)=>{for(var t in e||(e={}))uk.call(e,t)&&Cp(n,t,e[t]);if(pp)for(var t of pp(e))dk.call(e,t)&&Cp(n,t,e[t]);return n},ps=(n,e)=>ck(n,gk(e));function Zc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Bp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function hk(){return typeof window<"u"?window.console:global.console}const pk=hk();function Ck(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Bk=/-(\w)/g,mk=Ck(n=>n.replace(Bk,(e,t)=>t.toUpperCase())),mp=["Start","Add","Remove","Update","End"],Ep=["Choose","Unchoose","Sort","Filter","Clone"],Qp=["Move"],Ek=[Qp,mp,Ep].flatMap(n=>n).map(n=>`on${n}`),Wc={manage:Qp,manageAndEmit:mp,emit:Ep};function Qk(n){return Ek.indexOf(n)!==-1}const Ik=["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 fk(n){return Ik.includes(n)}function wk(n){return["transition-group","TransitionGroup"].includes(n)}function Ip(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function fp(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function bk({$attrs:n,componentData:e={}}){const t=fp(Object.entries(n).filter(([i,u])=>Ip(i)));return Li(Li({},t),e)}function yk({$attrs:n,callBackBuilder:e}){const t=fp(wp(n));Object.entries(e).forEach(([u,I])=>{Wc[u].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return ps(Li({},t),{draggable:i})}function wp(n){return Object.entries(n).filter(([e,t])=>!Ip(e)).map(([e,t])=>[mk(e),t]).filter(([e,t])=>!Qk(e))}const bp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},Dk=(n,e)=>n.__draggable_context=e,yp=n=>n.__draggable_context;class vk{constructor({nodes:{header:e,default:t,footer:i},root:u,realList:I}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=u.externalComponent,this.rootTransition=u.transition,this.tag=u.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:u,_isRootComponent:I}=this;return e(i,t,I?{default:()=>u}:u)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,u)=>{Dk(bp(i),{element:t[u],index:u})})}getUnderlyingVm(e){return yp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:u}=i,I=t.children,o=I.item(e);if(o===null)return u;const b=yp(o);if(b)return b.index;if(u===0)return 0;const y=bp(i[0]),w=[...I].findIndex(S=>S===y);return e<w?0:u}}function kk(n,e){const t=n[e];return t?t():[]}function _k({$slots:n,realList:e,getKey:t}){const i=e||[],[u,I]=["header","footer"].map(y=>kk(n,y)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((y,w)=>o({element:y,index:w}).map(S=>(S.key=t(y),S.props=ps(Li({},S.props||{}),{"data-draggable":!0}),S)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:u,footer:I,default:b}}function Mk(n){const e=wk(n),t=!fk(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function xk({$slots:n,tag:e,realList:t,getKey:i}){const u=_k({$slots:n,realList:t,getKey:i}),I=Mk(e);return new vk({nodes:u,root:I,realList:t})}function Dp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function vp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Sk(n){const e=vp.call(this,n);return(t,i)=>{e.call(this,t,i),Dp.call(this,n,t)}}let jc=null;const Nk={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}},Fk=["update:modelValue","change",...[...Wc.manageAndEmit,...Wc.emit].map(n=>n.toLowerCase())],kp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Nk,emits:Fk,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:u,getKey:I}=this,o=xk({$slots:n,tag:t,realList:u,getKey:I});this.componentStructure=o;const b=bk({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&pk.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=yk({$attrs:n,callBackBuilder:{manageAndEmit:I=>Sk.call(this,I),emit:I=>Dp.bind(this,I),manage:I=>vp.call(this,I)}}),u=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(u,i),this.targetDomElement=u,u.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&wp(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,u={list:i,component:t};if(n!==e&&i){const I=t.getUnderlyingVm(e)||{};return Li(Li({},I),u)}return u},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),jc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Zc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Bp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Zc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Zc(n.item),Bp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),u=n.component.getVmIndexFromDomIndex(i);return t.indexOf(jc)!==-1||!e.willInsertAfter?u:u+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const u=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(u,n),o=ps(Li({},this.context),{futureIndex:I}),b=ps(Li({},n),{relatedContext:u,draggedContext:o});return t(b,e)},onDragEnd(){jc=null}}}),oo=A.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=Qt(),i=zo(),u=A.reactive({visible:!1,title:""}),I=()=>{u.visible=!0,u.title=e.label},o=A.computed({get(){return ma(t.formValues,e.name)},set($){const K=ko(t.formValues,e.name,$);t.updateFormValues(K)}}),b=A.computed(()=>{const{rules:$,required:K,component:T}=e,D=[];if(K&&D.push({required:!0,trigger:"blur",message:"Required"}),$){const Q=$.map(L=>{const{type:k,message:v,trigger:B,customReg:p,templateExp:d}=L,l={message:v,trigger:B};return["email","url"].includes(k)?{...l,type:k}:k==="custom"&&p?{...l,pattern:fm(p)}:Im(k)?{...l,pattern:k}:k==="template"?{...l,validator:()=>d}:{}});return[...D,...Q]}if(T==="VerifyCode"){const Q={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...D,Q]}return D}),y=A.computed(()=>{const $=i[e.component]||{};return $.modelName||($.modelName="modelValue"),$}),w=A.computed(()=>{const $={name:e.name,...e.props};return e.children&&($.children=e.children),$}),S=()=>{if(e.component!=="DragList")return[];const $=w.value.gridlayout||[],K=w.value.children||[],T=w.value.rowHeight||30;return $.map((D,Q)=>{var L;return{...D,i:(L=K[Q])==null?void 0:L.name,rowHeight:T}})},N=A.ref(S()),H=$=>$==null?void 0:$.replace(/ /g," ");return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const $=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues($),o.value=e.initialValue}}),A.watch(o,($,K)=>{const T=e.change,D=ut.isEqual($,K);if(!T||D)return;let Q=ut.cloneDeep(t.formValues);T.forEach(({target:L,value:k,condition:v})=>{if(v!==!1){if(L.includes(".*.")){const B=L.split(".*."),p=B.pop(),d=B.join("."),l=ma(t.formValues,d);ut.isArray(l)&&(Q=ko(Q,d,l.map(g=>({...g,[p]:k}))));return}Q=ko(Q,L,k)}}),t.updateFormValues(Q)},{immediate:!0}),($,K)=>{var k;const T=A.resolveComponent("el-tooltip"),D=A.resolveComponent("el-dialog"),Q=A.resolveComponent("el-button"),L=A.resolveComponent("el-form-item");return A.unref(t).design||!$.hidden?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[y.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:0},w.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":K[0]||(K[0]=v=>N.value=v)}),null,16,["gridlayout"])):y.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1},w.value,{style:{minWidth:0}}),null,16)):y.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.normalizeProps(A.mergeProps({key:2},w.value)),null,16)):(A.openBlock(),A.createBlock(L,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${$.component}-${$.name}`,{readMode:((k=e.props)==null?void 0:k.read)||A.unref(t).schema.read}]),style:A.normalizeStyle($.style),key:$.name,prop:$.name,"label-width":$.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},A.createSlots({default:A.withCtx(()=>[$.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(D,{modelValue:u.visible,"onUpdate:modelValue":K[2]||(K[2]=v=>u.visible=v),title:u.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({size:A.unref(t).schema.size},w.value,{disabled:A.unref(t).schema.disabled,[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:K[1]||(K[1]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(Q,{type:"primary",plain:"",onClick:I},{default:A.withCtx(()=>K[4]||(K[4]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(Rt)(w.value,A.unref(t).context),{[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:K[3]||(K[3]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:2},[$.hideLabel?void 0:{name:"label",fn:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),$.label&&`${$.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(H($.label)),5),$.help?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(T,{effect:"dark",content:$.help},{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(Ie),{name:"help"})])]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),$.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[$.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(mC,A.normalizeProps(A.mergeProps({key:0},A.unref(Rt)($.labelSuffix.props,A.unref(t).context))),null,16)):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2)]),key:"0"}]),1032,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),Rk={key:0,class:"actions-lt"},Lk={class:"canvas-move",size:"small",type:"primary"},Gk={key:1,class:"hidden-ico"},Pk={key:2,class:"actions-rb"},Hk=["onClick"],Kk={key:3,class:"layout-title"},Tk=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Sn(),u=zo()[e.data.component],I=A.computed(()=>{var H;return{[je("canvas-item")]:!0,active:e.data.designKey===((H=t.current)==null?void 0:H.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:w.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},y=H=>{t.updateCurrent(H),t.rightTab="attr"},w=A.ref(!1),S=()=>{w.value=!w.value},N=[{icon:"copy",handle:H=>{const $=Gd(t.list,H.designKey);t.updateList($)}},{icon:"delete",bg:"var(--el-color-danger)",handle:H=>{const $=wu(t.list,K=>K.designKey!==H.designKey);t.updateList($)}}];return(H,$)=>{var K,T;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(I.value),onClick:$[0]||($[0]=A.withModifiers(D=>y(H.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[H.data.designKey===((K=A.unref(t).current)==null?void 0:K.designKey)?(A.openBlock(),A.createElementBlock("div",Rk,[A.createElementVNode("div",Lk,[A.createVNode(A.unref(Ie),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:S},[A.createVNode(A.unref(Ie),{name:"select"})])])):A.createCommentVNode("",!0),H.data.hidden?(A.openBlock(),A.createElementBlock("div",Gk,[A.createVNode(A.unref(Ie),{name:"hidden"})])):A.createCommentVNode("",!0),H.data.designKey===((T=A.unref(t).current)==null?void 0:T.designKey)?(A.openBlock(),A.createElementBlock("ul",Pk,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:D,handle:Q,bg:L})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(k=>Q(H.data),["stop"]),key:D,style:A.normalizeStyle({backgroundColor:L})},[A.createVNode(A.unref(Ie),{name:D},null,8,["name"])],12,Hk)),64))])):A.createCommentVNode("",!0),A.unref(u).lbTitle?(A.openBlock(),A.createElementBlock("div",Kk,A.toDisplayString(A.unref(u).title),1)):A.createCommentVNode("",!0),A.createVNode(oo,A.mergeProps(H.data,{props:H.data.props}),null,16,["props"])],34)}}}),qc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Sn(),i=u=>{const I=u.item._underlying_vm_;t.updateCurrent(tc(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(u,I)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:u.list.length?"auto":"hidden"})},[u.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:u.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(Ie),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(u.emptyText),1)],6)),A.createVNode(A.unref(kp),{list:u.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(u.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock(Tk,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),Uk=typeof window<"u";var _p;Uk&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function In(n){return n==null}function Mp(){}const Yk=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Yk)));function Ok(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(u=>{u(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(e<=0)return Sp(t);let i=0,u;return function(...I){const o=Date.now(),b=o-i;clearTimeout(u),b>=e?(i=o,t(...I)):u=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,e-b))}}function $k(n,e=100){if(typeof n!="function")return Mp;const t=(...u)=>{n(...u)};if(e<=0)return Sp(t);let i;return function(...u){clearTimeout(i),i=setTimeout(()=>{t(...u)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...u){return t=u,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Pr=new Set,Np=new WeakMap;function zk(){Pr.forEach(n=>{n(...Np.get(n))}),Pr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Pr.has(n)&&(Pr.add(n),Pr.size===1&&Promise.resolve().then(zk))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function Jk(n){let e=0,t;for(let i=0,u=n.length;i<u;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function Xc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=Zk(n[t]);return e}function Zk(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),u=Tp(n),I=Array(n.length);for(let o=0,b=u.length;o<b;o++){let y=u[o];y.static||(y=Wk(i,y,e,t),i.push(y)),I[n.findIndex(w=>w.i===y.i)]=y,y.moved=!1}return I}function Wk(n,e,t,i){if(t)for(;e.y>0&&!Hr(n,e);)e.y--;else if(i){const I=i[e.i].y;for(;e.y>I&&!Hr(n,e);)e.y--}let u;for(;u=Hr(n,e);)e.y=u.y+u.h;return e}function jk(n,e){const t=Hp(n);for(let i=0,u=n.length;i<u;i++){const I=n[i];if(I.x+I.w>e.cols&&(I.x=e.cols-I.w),I.x<0&&(I.x=0,I.w=e.cols),!I.static)t.push(I);else for(;Hr(t,I);)I.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Hr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Vc(n,e,t,i,u=!1,I=!1){if(e.static)return n;const o=e.x,b=e.y,y=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let w=Tp(n);y&&(w=w.reverse());const S=Pp(w,e);if(I&&S.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,H=S.length;N<H;N++){const $=S[N];$.moved||e.y>$.y&&e.y-$.y>$.h/4||($.static?n=Kp(n,$,e,u):n=Kp(n,e,$,u))}return n}function Kp(n,e,t,i){if(i){const u={x:t.x,y:t.y,w:t.w,h:t.h};if(u.y=Math.max(e.y-t.h,0),!Hr(n,u))return Vc(n,t,void 0,u.y,!1)}return Vc(n,t,void 0,t.y+1,!1)}function qk(n,e,t,i){const u="translate3d("+e+"px,"+n+"px, 0)";return{transform:u,WebkitTransform:u,MozTransform:u,msTransform:u,OTransform:u,width:t+"px",height:i+"px",position:"absolute"}}function Xk(n,e,t,i){const u="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:u,WebkitTransform:u,MozTransform:u,msTransform:u,OTransform:u,width:t+"px",height:i+"px",position:"absolute"}}function Vk(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function A_(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function e_(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let u=0,I=n.length;u<I;u++){const o=n[u];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+u+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+u+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+u+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+u+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+u+"].static must be a boolean!")}}function t_(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,u)=>`${t()}__${i}--${u}`}}function Up(n){return n_(n)}function n_(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),u=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:u,y:I}}function Yp(n,e,t,i){return i_(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function i_(n){return typeof n=="number"&&!Number.isNaN(n)}function o_(n,e){const t=$p(n);let i=t[0];for(let u=1,I=t.length;u<I;u++){const o=t[u];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function r_(n,e,t,i,u,I,o){if(e[i])return Xc(e[i]);let b=n;const y=$p(t),w=y.slice(y.indexOf(i));for(let S=0,N=w.length;S<N;S++){const H=w[S];if(e[H]){b=e[H];break}}return b=Xc(b||[]),Oo(jk(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let a_="auto";function s_(){return typeof document<"u"}function zp(){return s_()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):a_}var Cs={exports:{}};Cs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(R,F){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(R);F&&(nA=nA.filter(function(cA){return Object.getOwnPropertyDescriptor(R,cA).enumerable})),j.push.apply(j,nA)}return j}function i(R){for(var F=1;F<arguments.length;F++){var j=arguments[F]!=null?arguments[F]:{};F%2?t(Object(j),!0).forEach(function(nA){y(R,nA,j[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(nA){Object.defineProperty(R,nA,Object.getOwnPropertyDescriptor(j,nA))})}return R}function u(R){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},u(R)}function I(R,F){if(!(R instanceof F))throw new TypeError("Cannot call a class as a function")}function o(R,F){for(var j=0;j<F.length;j++){var nA=F[j];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(R,T(nA.key),nA)}}function b(R,F,j){return F&&o(R.prototype,F),Object.defineProperty(R,"prototype",{writable:!1}),R}function y(R,F,j){return(F=T(F))in R?Object.defineProperty(R,F,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[F]=j,R}function w(R,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(F&&F.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),Object.defineProperty(R,"prototype",{writable:!1}),F&&N(R,F)}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(F){return F.__proto__||Object.getPrototypeOf(F)},S(R)}function N(R,F){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,nA){return j.__proto__=nA,j},N(R,F)}function H(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function $(R){var F=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var j,nA=S(R);if(F){var cA=S(this).constructor;j=Reflect.construct(nA,arguments,cA)}else j=nA.apply(this,arguments);return function(dA,mA){if(mA&&(typeof mA=="object"||typeof mA=="function"))return mA;if(mA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H(dA)}(this,j)}}function K(){return K=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(R,F,j){var nA=function(dA,mA){for(;!Object.prototype.hasOwnProperty.call(dA,mA)&&(dA=S(dA))!==null;);return dA}(R,F);if(nA){var cA=Object.getOwnPropertyDescriptor(nA,F);return cA.get?cA.get.call(arguments.length<3?R:j):cA.value}},K.apply(this,arguments)}function T(R){var F=function(j,nA){if(typeof j!="object"||j===null)return j;var cA=j[Symbol.toPrimitive];if(cA!==void 0){var dA=cA.call(j,nA);if(typeof dA!="object")return dA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(R,"string");return typeof F=="symbol"?F:F+""}var D=function(R){return!(!R||!R.Window)&&R instanceof R.Window},Q=void 0,L=void 0;function k(R){Q=R;var F=R.document.createTextNode("");F.ownerDocument!==R.document&&typeof R.wrap=="function"&&R.wrap(F)===F&&(R=R.wrap(R)),L=R}function v(R){return D(R)?R:(R.ownerDocument||R).defaultView||L.window}typeof window<"u"&&window&&k(window);var B=function(R){return!!R&&u(R)==="object"},p=function(R){return typeof R=="function"},d={window:function(R){return R===L||D(R)},docFrag:function(R){return B(R)&&R.nodeType===11},object:B,func:p,number:function(R){return typeof R=="number"},bool:function(R){return typeof R=="boolean"},string:function(R){return typeof R=="string"},element:function(R){if(!R||u(R)!=="object")return!1;var F=v(R)||L;return/object|function/.test(typeof Element>"u"?"undefined":u(Element))?R instanceof Element||R instanceof F.Element:R.nodeType===1&&typeof R.nodeName=="string"},plainObject:function(R){return B(R)&&!!R.constructor&&/function Object\b/.test(R.constructor.toString())},array:function(R){return B(R)&&R.length!==void 0&&p(R.splice)}};function l(R){var F=R.interaction;if(F.prepared.name==="drag"){var j=F.prepared.axis;j==="x"?(F.coords.cur.page.y=F.coords.start.page.y,F.coords.cur.client.y=F.coords.start.client.y,F.coords.velocity.client.y=0,F.coords.velocity.page.y=0):j==="y"&&(F.coords.cur.page.x=F.coords.start.page.x,F.coords.cur.client.x=F.coords.start.client.x,F.coords.velocity.client.x=0,F.coords.velocity.page.x=0)}}function g(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="drag"){var nA=j.prepared.axis;if(nA==="x"||nA==="y"){var cA=nA==="x"?"y":"x";F.page[cA]=j.coords.start.page[cA],F.client[cA]=j.coords.start.client[cA],F.delta[cA]=0}}}var s={id:"actions/drag",install:function(R){var F=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.draggable=s.draggable,F.map.drag=s,F.methodDict.drag="draggable",nA.actions.drag=s.defaults},listeners:{"interactions:before-action-move":l,"interactions:action-resume":l,"interactions:action-move":g,"auto-start:check":function(R){var F=R.interaction,j=R.interactable,nA=R.buttons,cA=j.options.drag;if(cA&&cA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||nA&j.options.drag.mouseButtons))return R.action={name:"drag",axis:cA.lockAxis==="start"?cA.startAxis:cA.lockAxis},!1}},draggable:function(R){return d.object(R)?(this.options.drag.enabled=R.enabled!==!1,this.setPerAction("drag",R),this.setOnEvents("drag",R),/^(xy|x|y|start)$/.test(R.lockAxis)&&(this.options.drag.lockAxis=R.lockAxis),/^(xy|x|y)$/.test(R.startAxis)&&(this.options.drag.startAxis=R.startAxis),this):d.bool(R)?(this.options.drag.enabled=R,this):this.options.drag},beforeMove:l,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(R){return R.search("drag")===0}},h=s,C={init:function(R){var F=R;C.document=F.document,C.DocumentFragment=F.DocumentFragment||a,C.SVGElement=F.SVGElement||a,C.SVGSVGElement=F.SVGSVGElement||a,C.SVGElementInstance=F.SVGElementInstance||a,C.Element=F.Element||a,C.HTMLElement=F.HTMLElement||C.Element,C.Event=F.Event,C.Touch=F.Touch||a,C.PointerEvent=F.PointerEvent||F.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,m={init:function(R){var F=r.Element,j=R.navigator||{};m.supportsTouch="ontouchstart"in R||d.func(R.DocumentTouch)&&r.document instanceof R.DocumentTouch,m.supportsPointerEvent=j.pointerEnabled!==!1&&!!r.PointerEvent,m.isIOS=/iP(hone|od|ad)/.test(j.platform),m.isIOS7=/iP(hone|od|ad)/.test(j.platform)&&/OS 7[^\d]/.test(j.appVersion),m.isIe9=/MSIE 9/.test(j.userAgent),m.isOperaMobile=j.appName==="Opera"&&m.supportsTouch&&/Presto/.test(j.userAgent),m.prefixedMatchesSelector="matches"in F.prototype?"matches":"webkitMatchesSelector"in F.prototype?"webkitMatchesSelector":"mozMatchesSelector"in F.prototype?"mozMatchesSelector":"oMatchesSelector"in F.prototype?"oMatchesSelector":"msMatchesSelector",m.pEventTypes=m.supportsPointerEvent?r.PointerEvent===R.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,m.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},E=m;function M(R,F){if(R.contains)return R.contains(F);for(;F;){if(F===R)return!0;F=F.parentNode}return!1}function x(R,F){for(;d.element(R);){if(Y(R,F))return R;R=P(R)}return null}function P(R){var F=R.parentNode;if(d.docFrag(F)){for(;(F=F.host)&&d.docFrag(F););return F}return F}function Y(R,F){return L!==Q&&(F=F.replace(/\/deep\//g," ")),R[E.prefixedMatchesSelector](F)}var J=function(R){return R.parentNode||R.host};function q(R,F){for(var j,nA=[],cA=R;(j=J(cA))&&cA!==F&&j!==cA.ownerDocument;)nA.unshift(cA),cA=j;return nA}function W(R,F,j){for(;d.element(R);){if(Y(R,F))return!0;if((R=P(R))===j)return Y(R,F)}return!1}function z(R){return R.correspondingUseElement||R}function X(R){var F=R instanceof r.SVGElement?R.getBoundingClientRect():R.getClientRects()[0];return F&&{left:F.left,right:F.right,top:F.top,bottom:F.bottom,width:F.width||F.right-F.left,height:F.height||F.bottom-F.top}}function _(R){var F,j=X(R);if(!E.isIOS7&&j){var nA={x:(F=(F=v(R))||L).scrollX||F.document.documentElement.scrollLeft,y:F.scrollY||F.document.documentElement.scrollTop};j.left+=nA.x,j.right+=nA.x,j.top+=nA.y,j.bottom+=nA.y}return j}function AA(R){for(var F=[];R;)F.push(R),R=P(R);return F}function G(R){return!!d.string(R)&&(r.document.querySelector(R),!0)}function eA(R,F){for(var j in F)R[j]=F[j];return R}function sA(R,F,j){return R==="parent"?P(j):R==="self"?F.getRect(j):x(j,R)}function oA(R,F,j,nA){var cA=R;return d.string(cA)?cA=sA(cA,F,j):d.func(cA)&&(cA=cA.apply(void 0,nA)),d.element(cA)&&(cA=_(cA)),cA}function hA(R){return R&&{x:"x"in R?R.x:R.left,y:"y"in R?R.y:R.top}}function EA(R){return!R||"x"in R&&"y"in R||((R=eA({},R)).x=R.left||0,R.y=R.top||0,R.width=R.width||(R.right||0)-R.x,R.height=R.height||(R.bottom||0)-R.y),R}function gA(R,F,j){R.left&&(F.left+=j.x),R.right&&(F.right+=j.x),R.top&&(F.top+=j.y),R.bottom&&(F.bottom+=j.y),F.width=F.right-F.left,F.height=F.bottom-F.top}function CA(R,F,j){var nA=j&&R.options[j];return hA(oA(nA&&nA.origin||R.options.origin,R,F,[R&&F]))||{x:0,y:0}}function O(R,F){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},d.string(R)&&R.search(" ")!==-1&&(R=tA(R)),d.array(R))return R.forEach(function(yA){return O(yA,F,j,nA)}),nA;if(d.object(R)&&(F=R,R=""),d.func(F)&&j(R))nA[R]=nA[R]||[],nA[R].push(F);else if(d.array(F))for(var cA=0,dA=F;cA<dA.length;cA++){var mA=dA[cA];O(R,mA,j,nA)}else if(d.object(F))for(var IA in F)O(tA(IA).map(function(yA){return"".concat(R).concat(yA)}),F[IA],j,nA);return nA}function tA(R){return R.trim().split(/ +/)}var lA=function(R,F){return Math.sqrt(R*R+F*F)},uA=["webkit","moz"];function Z(R,F){R.__set||(R.__set={});var j=function(cA){if(uA.some(function(dA){return cA.indexOf(dA)===0}))return 1;typeof R[cA]!="function"&&cA!=="__set"&&Object.defineProperty(R,cA,{get:function(){return cA in R.__set?R.__set[cA]:R.__set[cA]=F[cA]},set:function(dA){R.__set[cA]=dA},configurable:!0})};for(var nA in F)j(nA);return R}function V(R,F){R.page=R.page||{},R.page.x=F.page.x,R.page.y=F.page.y,R.client=R.client||{},R.client.x=F.client.x,R.client.y=F.client.y,R.timeStamp=F.timeStamp}function iA(R){R.page.x=0,R.page.y=0,R.client.x=0,R.client.y=0}function rA(R){return R instanceof r.Event||R instanceof r.Touch}function BA(R,F,j){return R=R||"page",(j=j||{}).x=F[R+"X"],j.y=F[R+"Y"],j}function vA(R,F){return F=F||{x:0,y:0},E.isOperaMobile&&rA(R)?(BA("screen",R,F),F.x+=window.scrollX,F.y+=window.scrollY):BA("page",R,F),F}function UA(R){return d.number(R.pointerId)?R.pointerId:R.identifier}function JA(R,F,j){var nA=F.length>1?WA(F):F[0];vA(nA,R.page),function(cA,dA){dA=dA||{},E.isOperaMobile&&rA(cA)?BA("screen",cA,dA):BA("client",cA,dA)}(nA,R.client),R.timeStamp=j}function qA(R){var F=[];return d.array(R)?(F[0]=R[0],F[1]=R[1]):R.type==="touchend"?R.touches.length===1?(F[0]=R.touches[0],F[1]=R.changedTouches[0]):R.touches.length===0&&(F[0]=R.changedTouches[0],F[1]=R.changedTouches[1]):(F[0]=R.touches[0],F[1]=R.touches[1]),F}function WA(R){for(var F={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},j=0;j<R.length;j++){var nA=R[j];for(var cA in F)F[cA]+=nA[cA]}for(var dA in F)F[dA]/=R.length;return F}function le(R){if(!R.length)return null;var F=qA(R),j=Math.min(F[0].pageX,F[1].pageX),nA=Math.min(F[0].pageY,F[1].pageY),cA=Math.max(F[0].pageX,F[1].pageX),dA=Math.max(F[0].pageY,F[1].pageY);return{x:j,y:nA,left:j,top:nA,right:cA,bottom:dA,width:cA-j,height:dA-nA}}function ne(R,F){var j=F+"X",nA=F+"Y",cA=qA(R),dA=cA[0][j]-cA[1][j],mA=cA[0][nA]-cA[1][nA];return lA(dA,mA)}function LA(R,F){var j=F+"X",nA=F+"Y",cA=qA(R),dA=cA[1][j]-cA[0][j],mA=cA[1][nA]-cA[0][nA];return 180*Math.atan2(mA,dA)/Math.PI}function SA(R){return d.string(R.pointerType)?R.pointerType:d.number(R.pointerType)?[void 0,void 0,"touch","pen","mouse"][R.pointerType]:/touch/.test(R.type||"")||R instanceof r.Touch?"touch":"mouse"}function ZA(R){var F=d.func(R.composedPath)?R.composedPath():R.path;return[z(F?F[0]:R.target),z(R.currentTarget)]}var Be=function(){function R(F){I(this,R),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=F}return b(R,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),R}();Object.defineProperty(Be.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var De=function(R,F){for(var j=0;j<F.length;j++){var nA=F[j];R.push(nA)}return R},xe=function(R){return De([],R)},YA=function(R,F){for(var j=0;j<R.length;j++)if(F(R[j],j,R))return j;return-1},$A=function(R,F){return R[YA(R,F)]},XA=function(R){w(j,R);var F=$(j);function j(nA,cA,dA){var mA;I(this,j),(mA=F.call(this,cA._interaction)).dropzone=void 0,mA.dragEvent=void 0,mA.relatedTarget=void 0,mA.draggable=void 0,mA.propagationStopped=!1,mA.immediatePropagationStopped=!1;var IA=dA==="dragleave"?nA.prev:nA.cur,yA=IA.element,xA=IA.dropzone;return mA.type=dA,mA.target=yA,mA.currentTarget=yA,mA.dropzone=xA,mA.dragEvent=cA,mA.relatedTarget=cA.target,mA.draggable=cA.interactable,mA.timeStamp=cA.timeStamp,mA}return b(j,[{key:"reject",value:function(){var nA=this,cA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&cA.cur.dropzone===this.dropzone&&cA.cur.element===this.target)if(cA.prev.dropzone=this.dropzone,cA.prev.element=this.target,cA.rejected=!0,cA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var dA=cA.activeDrops,mA=YA(dA,function(yA){var xA=yA.dropzone,DA=yA.element;return xA===nA.dropzone&&DA===nA.target});cA.activeDrops.splice(mA,1);var IA=new j(cA,this.dragEvent,"dropdeactivate");IA.dropzone=this.dropzone,IA.target=this.target,this.dropzone.fire(IA)}else this.dropzone.fire(new j(cA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),j}(Be);function he(R,F){for(var j=0,nA=R.slice();j<nA.length;j++){var cA=nA[j],dA=cA.dropzone,mA=cA.element;F.dropzone=dA,F.target=mA,dA.fire(F),F.propagationStopped=F.immediatePropagationStopped=!1}}function ge(R,F){for(var j=function(dA,mA){for(var IA=[],yA=0,xA=dA.interactables.list;yA<xA.length;yA++){var DA=xA[yA];if(DA.options.drop.enabled){var GA=DA.options.drop.accept;if(!(d.element(GA)&&GA!==mA||d.string(GA)&&!Y(mA,GA)||d.func(GA)&&!GA({dropzone:DA,draggableElement:mA})))for(var jA=0,ce=DA.getAllElements();jA<ce.length;jA++){var re=ce[jA];re!==mA&&IA.push({dropzone:DA,element:re,rect:DA.getRect(re)})}}}return IA}(R,F),nA=0;nA<j.length;nA++){var cA=j[nA];cA.rect=cA.dropzone.getRect(cA.element)}return j}function Ee(R,F,j){for(var nA=R.dropState,cA=R.interactable,dA=R.element,mA=[],IA=0,yA=nA.activeDrops;IA<yA.length;IA++){var xA=yA[IA],DA=xA.dropzone,GA=xA.element,jA=xA.rect,ce=DA.dropCheck(F,j,cA,dA,GA,jA);mA.push(ce?GA:null)}var re=function(de){for(var ye,Qe,kA,TA=[],PA=0;PA<de.length;PA++){var VA=de[PA],Ce=de[ye];if(VA&&PA!==ye)if(Ce){var He=J(VA),Ke=J(Ce);if(He!==VA.ownerDocument)if(Ke!==VA.ownerDocument)if(He!==Ke){TA=TA.length?TA:q(Ce);var Oe=void 0;if(Ce instanceof r.HTMLElement&&VA instanceof r.SVGElement&&!(VA instanceof r.SVGSVGElement)){if(VA===Ke)continue;Oe=VA.ownerSVGElement}else Oe=VA;for(var on=q(Oe,Ce.ownerDocument),zn=0;on[zn]&&on[zn]===TA[zn];)zn++;var Tt=[on[zn-1],on[zn],TA[zn]];if(Tt[0])for(var oi=Tt[0].lastChild;oi;){if(oi===Tt[1]){ye=PA,TA=on;break}if(oi===Tt[2])break;oi=oi.previousSibling}}else kA=Ce,(parseInt(v(Qe=VA).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(v(kA).getComputedStyle(kA).zIndex,10)||0)&&(ye=PA);else ye=PA}else ye=PA}return ye}(mA);return nA.activeDrops[re]||null}function ke(R,F,j){var nA=R.dropState,cA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return j.type==="dragstart"&&(cA.activate=new XA(nA,j,"dropactivate"),cA.activate.target=null,cA.activate.dropzone=null),j.type==="dragend"&&(cA.deactivate=new XA(nA,j,"dropdeactivate"),cA.deactivate.target=null,cA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(cA.leave=new XA(nA,j,"dragleave"),j.dragLeave=cA.leave.target=nA.prev.element,j.prevDropzone=cA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(cA.enter=new XA(nA,j,"dragenter"),j.dragEnter=nA.cur.element,j.dropzone=nA.cur.dropzone)),j.type==="dragend"&&nA.cur.dropzone&&(cA.drop=new XA(nA,j,"drop"),j.dropzone=nA.cur.dropzone,j.relatedTarget=nA.cur.element),j.type==="dragmove"&&nA.cur.dropzone&&(cA.move=new XA(nA,j,"dropmove"),j.dropzone=nA.cur.dropzone)),cA}function wA(R,F){var j=R.dropState,nA=j.activeDrops,cA=j.cur,dA=j.prev;F.leave&&dA.dropzone.fire(F.leave),F.enter&&cA.dropzone.fire(F.enter),F.move&&cA.dropzone.fire(F.move),F.drop&&cA.dropzone.fire(F.drop),F.deactivate&&he(nA,F.deactivate),j.prev.dropzone=cA.dropzone,j.prev.element=cA.element}function NA(R,F){var j=R.interaction,nA=R.iEvent,cA=R.event;if(nA.type==="dragmove"||nA.type==="dragend"){var dA=j.dropState;F.dynamicDrop&&(dA.activeDrops=ge(F,j.element));var mA=nA,IA=Ee(j,mA,cA);dA.rejected=dA.rejected&&!!IA&&IA.dropzone===dA.cur.dropzone&&IA.element===dA.cur.element,dA.cur.dropzone=IA&&IA.dropzone,dA.cur.element=IA&&IA.element,dA.events=ke(j,0,mA)}}var HA={id:"actions/drop",install:function(R){var F=R.actions,j=R.interactStatic,nA=R.Interactable,cA=R.defaults;R.usePlugin(h),nA.prototype.dropzone=function(dA){return function(mA,IA){if(d.object(IA)){if(mA.options.drop.enabled=IA.enabled!==!1,IA.listeners){var yA=O(IA.listeners),xA=Object.keys(yA).reduce(function(GA,jA){return GA[/^(enter|leave)/.test(jA)?"drag".concat(jA):/^(activate|deactivate|move)/.test(jA)?"drop".concat(jA):jA]=yA[jA],GA},{}),DA=mA.options.drop.listeners;DA&&mA.off(DA),mA.on(xA),mA.options.drop.listeners=xA}return d.func(IA.ondrop)&&mA.on("drop",IA.ondrop),d.func(IA.ondropactivate)&&mA.on("dropactivate",IA.ondropactivate),d.func(IA.ondropdeactivate)&&mA.on("dropdeactivate",IA.ondropdeactivate),d.func(IA.ondragenter)&&mA.on("dragenter",IA.ondragenter),d.func(IA.ondragleave)&&mA.on("dragleave",IA.ondragleave),d.func(IA.ondropmove)&&mA.on("dropmove",IA.ondropmove),/^(pointer|center)$/.test(IA.overlap)?mA.options.drop.overlap=IA.overlap:d.number(IA.overlap)&&(mA.options.drop.overlap=Math.max(Math.min(1,IA.overlap),0)),"accept"in IA&&(mA.options.drop.accept=IA.accept),"checker"in IA&&(mA.options.drop.checker=IA.checker),mA}return d.bool(IA)?(mA.options.drop.enabled=IA,mA):mA.options.drop}(this,dA)},nA.prototype.dropCheck=function(dA,mA,IA,yA,xA,DA){return function(GA,jA,ce,re,de,ye,Qe){var kA=!1;if(!(Qe=Qe||GA.getRect(ye)))return!!GA.options.drop.checker&&GA.options.drop.checker(jA,ce,kA,GA,ye,re,de);var TA=GA.options.drop.overlap;if(TA==="pointer"){var PA=CA(re,de,"drag"),VA=vA(jA);VA.x+=PA.x,VA.y+=PA.y;var Ce=VA.x>Qe.left&&VA.x<Qe.right,He=VA.y>Qe.top&&VA.y<Qe.bottom;kA=Ce&&He}var Ke=re.getRect(de);if(Ke&&TA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&d.number(TA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=TA),GA.options.drop.checker&&(kA=GA.options.drop.checker(jA,ce,kA,GA,ye,re,de)),kA}(this,dA,mA,IA,yA,xA,DA)},j.dynamicDrop=function(dA){return d.bool(dA)?(R.dynamicDrop=dA,j):R.dynamicDrop},eA(F.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),F.methodDict.drop="dropzone",R.dynamicDrop=!1,cA.actions.drop=HA.defaults},listeners:{"interactions:before-action-start":function(R){var F=R.interaction;F.prepared.name==="drag"&&(F.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(R,F){var j=R.interaction,nA=(R.event,R.iEvent);if(j.prepared.name==="drag"){var cA=j.dropState;cA.activeDrops=[],cA.events={},cA.activeDrops=ge(F,j.element),cA.events=ke(j,0,nA),cA.events.activate&&(he(cA.activeDrops,cA.events.activate),F.fire("actions/drop:start",{interaction:j,dragEvent:nA}))}},"interactions:action-move":NA,"interactions:after-action-move":function(R,F){var j=R.interaction,nA=R.iEvent;if(j.prepared.name==="drag"){var cA=j.dropState;wA(j,cA.events),F.fire("actions/drop:move",{interaction:j,dragEvent:nA}),cA.events={}}},"interactions:action-end":function(R,F){if(R.interaction.prepared.name==="drag"){var j=R.interaction,nA=R.iEvent;NA(R,F),wA(j,j.dropState.events),F.fire("actions/drop:end",{interaction:j,dragEvent:nA})}},"interactions:stop":function(R){var F=R.interaction;if(F.prepared.name==="drag"){var j=F.dropState;j&&(j.activeDrops=null,j.events=null,j.cur.dropzone=null,j.cur.element=null,j.prev.dropzone=null,j.prev.element=null,j.rejected=!1)}}},getActiveDrops:ge,getDrop:Ee,getDropEvents:ke,fireDropEvents:wA,filterEventType:function(R){return R.search("drag")===0||R.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},ie=HA;function be(R){var F=R.interaction,j=R.iEvent,nA=R.phase;if(F.prepared.name==="gesture"){var cA=F.pointers.map(function(xA){return xA.pointer}),dA=nA==="start",mA=nA==="end",IA=F.interactable.options.deltaSource;if(j.touches=[cA[0],cA[1]],dA)j.distance=ne(cA,IA),j.box=le(cA),j.scale=1,j.ds=0,j.angle=LA(cA,IA),j.da=0,F.gesture.startDistance=j.distance,F.gesture.startAngle=j.angle;else if(mA||F.pointers.length<2){var yA=F.prevEvent;j.distance=yA.distance,j.box=yA.box,j.scale=yA.scale,j.ds=0,j.angle=yA.angle,j.da=0}else j.distance=ne(cA,IA),j.box=le(cA),j.scale=j.distance/F.gesture.startDistance,j.angle=LA(cA,IA),j.ds=j.scale-F.gesture.scale,j.da=j.angle-F.gesture.angle;F.gesture.distance=j.distance,F.gesture.angle=j.angle,d.number(j.scale)&&j.scale!==1/0&&!isNaN(j.scale)&&(F.gesture.scale=j.scale)}}var oe={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(R){var F=R.actions,j=R.Interactable,nA=R.defaults;j.prototype.gesturable=function(cA){return d.object(cA)?(this.options.gesture.enabled=cA.enabled!==!1,this.setPerAction("gesture",cA),this.setOnEvents("gesture",cA),this):d.bool(cA)?(this.options.gesture.enabled=cA,this):this.options.gesture},F.map.gesture=oe,F.methodDict.gesture="gesturable",nA.actions.gesture=oe.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(R){R.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(R){if(!(R.interaction.pointers.length<2)){var F=R.interactable.options.gesture;if(F&&F.enabled)return R.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(R){return R.search("gesture")===0}},ue=oe;function Me(R,F,j,nA,cA,dA,mA){if(!F)return!1;if(F===!0){var IA=d.number(dA.width)?dA.width:dA.right-dA.left,yA=d.number(dA.height)?dA.height:dA.bottom-dA.top;if(mA=Math.min(mA,Math.abs((R==="left"||R==="right"?IA:yA)/2)),IA<0&&(R==="left"?R="right":R==="right"&&(R="left")),yA<0&&(R==="top"?R="bottom":R==="bottom"&&(R="top")),R==="left"){var xA=IA>=0?dA.left:dA.right;return j.x<xA+mA}if(R==="top"){var DA=yA>=0?dA.top:dA.bottom;return j.y<DA+mA}if(R==="right")return j.x>(IA>=0?dA.right:dA.left)-mA;if(R==="bottom")return j.y>(yA>=0?dA.bottom:dA.top)-mA}return!!d.element(nA)&&(d.element(F)?F===nA:W(nA,F,cA))}function tt(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.resizeAxes){var nA=F;j.interactable.options.resize.square?(j.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=j.resizeAxes,j.resizeAxes==="x"?nA.delta.y=0:j.resizeAxes==="y"&&(nA.delta.x=0))}}var lt,MA,bA={id:"actions/resize",before:["actions/drag"],install:function(R){var F=R.actions,j=R.browser,nA=R.Interactable,cA=R.defaults;bA.cursors=function(dA){return dA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(j),bA.defaultMargin=j.supportsTouch||j.supportsPointerEvent?20:10,nA.prototype.resizable=function(dA){return function(mA,IA,yA){return d.object(IA)?(mA.options.resize.enabled=IA.enabled!==!1,mA.setPerAction("resize",IA),mA.setOnEvents("resize",IA),d.string(IA.axis)&&/^x$|^y$|^xy$/.test(IA.axis)?mA.options.resize.axis=IA.axis:IA.axis===null&&(mA.options.resize.axis=yA.defaults.actions.resize.axis),d.bool(IA.preserveAspectRatio)?mA.options.resize.preserveAspectRatio=IA.preserveAspectRatio:d.bool(IA.square)&&(mA.options.resize.square=IA.square),mA):d.bool(IA)?(mA.options.resize.enabled=IA,mA):mA.options.resize}(this,dA,R)},F.map.resize=bA,F.methodDict.resize="resizable",cA.actions.resize=bA.defaults},listeners:{"interactions:new":function(R){R.interaction.resizeAxes="xy"},"interactions:action-start":function(R){(function(F){var j=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var cA=j,dA=nA.rect;nA._rects={start:eA({},dA),corrected:eA({},dA),previous:eA({},dA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},cA.edges=nA.prepared.edges,cA.rect=nA._rects.corrected,cA.deltaRect=nA._rects.delta}})(R),tt(R)},"interactions:action-move":function(R){(function(F){var j=F.iEvent,nA=F.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var cA=j,dA=nA.interactable.options.resize.invert,mA=dA==="reposition"||dA==="negate",IA=nA.rect,yA=nA._rects,xA=yA.start,DA=yA.corrected,GA=yA.delta,jA=yA.previous;if(eA(jA,DA),mA){if(eA(DA,IA),dA==="reposition"){if(DA.top>DA.bottom){var ce=DA.top;DA.top=DA.bottom,DA.bottom=ce}if(DA.left>DA.right){var re=DA.left;DA.left=DA.right,DA.right=re}}}else DA.top=Math.min(IA.top,xA.bottom),DA.bottom=Math.max(IA.bottom,xA.top),DA.left=Math.min(IA.left,xA.right),DA.right=Math.max(IA.right,xA.left);for(var de in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)GA[de]=DA[de]-jA[de];cA.edges=nA.prepared.edges,cA.rect=DA,cA.deltaRect=GA}})(R),tt(R)},"interactions:action-end":function(R){var F=R.iEvent,j=R.interaction;if(j.prepared.name==="resize"&&j.prepared.edges){var nA=F;nA.edges=j.prepared.edges,nA.rect=j._rects.corrected,nA.deltaRect=j._rects.delta}},"auto-start:check":function(R){var F=R.interaction,j=R.interactable,nA=R.element,cA=R.rect,dA=R.buttons;if(cA){var mA=eA({},F.coords.cur.page),IA=j.options.resize;if(IA&&IA.enabled&&(!F.pointerIsDown||!/mouse|pointer/.test(F.pointerType)||dA&IA.mouseButtons)){if(d.object(IA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var xA in yA)yA[xA]=Me(xA,IA.edges[xA],mA,F._latestPointer.eventTarget,nA,cA,IA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(R.action={name:"resize",edges:yA})}else{var DA=IA.axis!=="y"&&mA.x>cA.right-bA.defaultMargin,GA=IA.axis!=="x"&&mA.y>cA.bottom-bA.defaultMargin;(DA||GA)&&(R.action={name:"resize",axes:(DA?"x":"")+(GA?"y":"")})}return!R.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(R){var F=R.edges,j=R.axis,nA=R.name,cA=bA.cursors,dA=null;if(j)dA=cA[nA+j];else if(F){for(var mA="",IA=0,yA=["top","bottom","left","right"];IA<yA.length;IA++){var xA=yA[IA];F[xA]&&(mA+=xA)}dA=cA[mA]}return dA},filterEventType:function(R){return R.search("resize")===0},defaultMargin:null},RA=bA,zA={id:"actions",install:function(R){R.usePlugin(ue),R.usePlugin(RA),R.usePlugin(h),R.usePlugin(ie)}},OA=0,fe={request:function(R){return lt(R)},cancel:function(R){return MA(R)},init:function(R){if(lt=R.requestAnimationFrame,MA=R.cancelAnimationFrame,!lt)for(var F=["ms","moz","webkit","o"],j=0;j<F.length;j++){var nA=F[j];lt=R["".concat(nA,"RequestAnimationFrame")],MA=R["".concat(nA,"CancelAnimationFrame")]||R["".concat(nA,"CancelRequestAnimationFrame")]}lt=lt&<.bind(R),MA=MA&&MA.bind(R),lt||(lt=function(cA){var dA=Date.now(),mA=Math.max(0,16-(dA-OA)),IA=R.setTimeout(function(){cA(dA+mA)},mA);return OA=dA+mA,IA},MA=function(cA){return clearTimeout(cA)})}},te={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(R){te.isScrolling=!0,fe.cancel(te.i),R.autoScroll=te,te.interaction=R,te.prevTime=te.now(),te.i=fe.request(te.scroll)},stop:function(){te.isScrolling=!1,te.interaction&&(te.interaction.autoScroll=null),fe.cancel(te.i)},scroll:function(){var R=te.interaction,F=R.interactable,j=R.element,nA=R.prepared.name,cA=F.options[nA].autoScroll,dA=_e(cA.container,F,j),mA=te.now(),IA=(mA-te.prevTime)/1e3,yA=cA.speed*IA;if(yA>=1){var xA={x:te.x*yA,y:te.y*yA};if(xA.x||xA.y){var DA=qe(dA);d.window(dA)?dA.scrollBy(xA.x,xA.y):dA&&(dA.scrollLeft+=xA.x,dA.scrollTop+=xA.y);var GA=qe(dA),jA={x:GA.x-DA.x,y:GA.y-DA.y};(jA.x||jA.y)&&F.fire({type:"autoscroll",target:j,interactable:F,delta:jA,interaction:R,container:dA})}te.prevTime=mA}te.isScrolling&&(fe.cancel(te.i),te.i=fe.request(te.scroll))},check:function(R,F){var j;return(j=R.options[F].autoScroll)==null?void 0:j.enabled},onInteractionMove:function(R){var F=R.interaction,j=R.pointer;if(F.interacting()&&te.check(F.interactable,F.prepared.name))if(F.simulation)te.x=te.y=0;else{var nA,cA,dA,mA,IA=F.interactable,yA=F.element,xA=F.prepared.name,DA=IA.options[xA].autoScroll,GA=_e(DA.container,IA,yA);if(d.window(GA))mA=j.clientX<te.margin,nA=j.clientY<te.margin,cA=j.clientX>GA.innerWidth-te.margin,dA=j.clientY>GA.innerHeight-te.margin;else{var jA=X(GA);mA=j.clientX<jA.left+te.margin,nA=j.clientY<jA.top+te.margin,cA=j.clientX>jA.right-te.margin,dA=j.clientY>jA.bottom-te.margin}te.x=cA?1:mA?-1:0,te.y=dA?1:nA?-1:0,te.isScrolling||(te.margin=DA.margin,te.speed=DA.speed,te.start(F))}}};function _e(R,F,j){return(d.string(R)?sA(R,F,j):R)||v(j)}function qe(R){return d.window(R)&&(R=window.document.body),{x:R.scrollLeft,y:R.scrollTop}}var pt={id:"auto-scroll",install:function(R){var F=R.defaults,j=R.actions;R.autoScroll=te,te.now=function(){return R.now()},j.phaselessTypes.autoscroll=!0,F.perAction.autoScroll=te.defaults},listeners:{"interactions:new":function(R){R.interaction.autoScroll=null},"interactions:destroy":function(R){R.interaction.autoScroll=null,te.stop(),te.interaction&&(te.interaction=null)},"interactions:stop":te.stop,"interactions:action-move":function(R){return te.onInteractionMove(R)}}},ze=pt;function At(R,F){var j=!1;return function(){return j||(L.console.warn(F),j=!0),R.apply(this,arguments)}}function gt(R,F){return R.name=F.name,R.axis=F.axis,R.edges=F.edges,R}function Pe(R){return d.bool(R)?(this.options.styleCursor=R,this):R===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(R){return d.func(R)?(this.options.actionChecker=R,this):R===null?(delete this.options.actionChecker,this):this.options.actionChecker}var mt={id:"auto-start/interactableMethods",install:function(R){var F=R.Interactable;F.prototype.getAction=function(j,nA,cA,dA){var mA=function(IA,yA,xA,DA,GA){var jA=IA.getRect(DA),ce=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],re={action:null,interactable:IA,interaction:xA,element:DA,rect:jA,buttons:ce};return GA.fire("auto-start:check",re),re.action}(this,nA,cA,dA,R);return this.options.actionChecker?this.options.actionChecker(j,nA,mA,this,dA,cA):mA},F.prototype.ignoreFrom=At(function(j){return this._backCompatOption("ignoreFrom",j)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),F.prototype.allowFrom=At(function(j){return this._backCompatOption("allowFrom",j)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),F.prototype.actionChecker=ot,F.prototype.styleCursor=Pe}};function nt(R,F,j,nA,cA){return F.testIgnoreAllow(F.options[R.name],j,nA)&&F.options[R.name].enabled&&gn(F,j,R,cA)?R:null}function Nn(R,F,j,nA,cA,dA,mA){for(var IA=0,yA=nA.length;IA<yA;IA++){var xA=nA[IA],DA=cA[IA],GA=xA.getAction(F,j,R,DA);if(GA){var jA=nt(GA,xA,DA,dA,mA);if(jA)return{action:jA,interactable:xA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(R,F,j,nA,cA){var dA=[],mA=[],IA=nA;function yA(DA){dA.push(DA),mA.push(IA)}for(;d.element(IA);){dA=[],mA=[],cA.interactables.forEachMatch(IA,yA);var xA=Nn(R,F,j,dA,mA,nA,cA);if(xA.action&&!xA.interactable.options[xA.action.name].manualStart)return xA;IA=P(IA)}return{action:null,interactable:null,element:null}}function Vt(R,F,j){var nA=F.action,cA=F.interactable,dA=F.element;nA=nA||{name:null},R.interactable=cA,R.element=dA,gt(R.prepared,nA),R.rect=cA&&nA.name?cA.getRect(dA):null,An(R,j),j.fire("autoStart:prepared",{interaction:R})}function gn(R,F,j,nA){var cA=R.options,dA=cA[j.name].max,mA=cA[j.name].maxPerElement,IA=nA.autoStart.maxInteractions,yA=0,xA=0,DA=0;if(!(dA&&mA&&IA))return!1;for(var GA=0,jA=nA.interactions.list;GA<jA.length;GA++){var ce=jA[GA],re=ce.prepared.name;if(ce.interacting()&&(++yA>=IA||ce.interactable===R&&((xA+=re===j.name?1:0)>=dA||ce.element===F&&(DA++,re===j.name&&DA>=mA))))return!1}return IA>0}function wn(R,F){return d.number(R)?(F.autoStart.maxInteractions=R,this):F.autoStart.maxInteractions}function St(R,F,j){var nA=j.autoStart.cursorElement;nA&&nA!==R&&(nA.style.cursor=""),R.ownerDocument.documentElement.style.cursor=F,R.style.cursor=F,j.autoStart.cursorElement=F?R:null}function An(R,F){var j=R.interactable,nA=R.element,cA=R.prepared;if(R.pointerType==="mouse"&&j&&j.options.styleCursor){var dA="";if(cA.name){var mA=j.options[cA.name].cursorChecker;dA=d.func(mA)?mA(cA,j,nA,R._interacting):F.actions.map[cA.name].getCursor(cA)}St(R.element,dA||"",F)}else F.autoStart.cursorElement&&St(F.autoStart.cursorElement,"",F)}var On={id:"auto-start/base",before:["actions"],install:function(R){var F=R.interactStatic,j=R.defaults;R.usePlugin(mt),j.base.actionChecker=null,j.base.styleCursor=!0,eA(j.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),F.maxInteractions=function(nA){return wn(nA,R)},R.autoStart={maxInteractions:1/0,withinInteractionLimit:gn,cursorElement:null}},listeners:{"interactions:down":function(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget;j.interacting()||Vt(j,Xt(j,nA,cA,dA,F),F)},"interactions:move":function(R,F){(function(j,nA){var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget;cA.pointerType!=="mouse"||cA.pointerIsDown||cA.interacting()||Vt(cA,Xt(cA,dA,mA,IA,nA),nA)})(R,F),function(j,nA){var cA=j.interaction;if(cA.pointerIsDown&&!cA.interacting()&&cA.pointerWasMoved&&cA.prepared.name){nA.fire("autoStart:before-start",j);var dA=cA.interactable,mA=cA.prepared.name;mA&&dA&&(dA.options[mA].manualStart||!gn(dA,cA.element,cA.prepared,nA)?cA.stop():(cA.start(cA.prepared,dA,cA.element),An(cA,nA)))}}(R,F)},"interactions:stop":function(R,F){var j=R.interaction,nA=j.interactable;nA&&nA.options.styleCursor&&St(j.element,"",F)}},maxInteractions:wn,withinInteractionLimit:gn,validateAction:nt},en=On,pi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(R,F){var j=R.interaction,nA=R.eventTarget,cA=R.dx,dA=R.dy;if(j.prepared.name==="drag"){var mA=Math.abs(cA),IA=Math.abs(dA),yA=j.interactable.options.drag,xA=yA.startAxis,DA=mA>IA?"x":mA<IA?"y":"xy";if(j.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&xA!=="xy"&&xA!==DA){j.prepared.name=null;for(var GA=nA,jA=function(re){if(re!==j.interactable){var de=j.interactable.options.drag;if(!de.manualStart&&re.testIgnoreAllow(de,GA,nA)){var ye=re.getAction(j.downPointer,j.downEvent,j,GA);if(ye&&ye.name==="drag"&&function(Qe,kA){if(!kA)return!1;var TA=kA.options.drag.startAxis;return Qe==="xy"||TA==="xy"||TA===Qe}(DA,re)&&en.validateAction(ye,re,GA,nA,F))return re}}};d.element(GA);){var ce=F.interactables.forEachMatch(GA,jA);if(ce){j.prepared.name="drag",j.interactable=ce,j.element=GA;break}GA=P(GA)}}}}}};function Ci(R){var F=R.prepared&&R.prepared.name;if(!F)return null;var j=R.interactable.options;return j[F].hold||j[F].delay}var co={id:"auto-start/hold",install:function(R){var F=R.defaults;R.usePlugin(en),F.perAction.hold=0,F.perAction.delay=0},listeners:{"interactions:new":function(R){R.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(R){var F=R.interaction,j=Ci(F);j>0&&(F.autoStartHoldTimer=setTimeout(function(){F.start(F.prepared,F.interactable,F.element)},j))},"interactions:move":function(R){var F=R.interaction,j=R.duplicate;F.autoStartHoldTimer&&F.pointerWasMoved&&!j&&(clearTimeout(F.autoStartHoldTimer),F.autoStartHoldTimer=null)},"autoStart:before-start":function(R){var F=R.interaction;Ci(F)>0&&(F.prepared.name=null)}},getHoldDuration:Ci},Bi=co,ei={id:"auto-start",install:function(R){R.usePlugin(en),R.usePlugin(Bi),R.usePlugin(pi)}},Pi=function(R){return/^(always|never|auto)$/.test(R)?(this.options.preventDefault=R,this):d.bool(R)?(this.options.preventDefault=R?"always":"never",this):this.options.preventDefault};function go(R){var F=R.interaction,j=R.event;F.interactable&&F.interactable.checkAndPreventDefault(j)}var ti={id:"core/interactablePreventDefault",install:function(R){var F=R.Interactable;F.prototype.preventDefault=Pi,F.prototype.checkAndPreventDefault=function(j){return function(nA,cA,dA){var mA=nA.options.preventDefault;if(mA!=="never")if(mA!=="always"){if(cA.events.supportsPassive&&/^touch(start|move)$/.test(dA.type)){var IA=v(dA.target).document,yA=cA.getDocOptions(IA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(dA.type)||d.element(dA.target)&&Y(dA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||dA.preventDefault()}else dA.preventDefault()}(this,R,j)},R.interactions.docEvents.push({type:"dragstart",listener:function(j){for(var nA=0,cA=R.interactions.list;nA<cA.length;nA++){var dA=cA[nA];if(dA.element&&(dA.element===j.target||M(dA.element,j.target)))return void dA.interactable.checkAndPreventDefault(j)}}})},listeners:["down","move","up","cancel"].reduce(function(R,F){return R["interactions:".concat(F)]=go,R},{})};function bn(R,F){if(F.phaselessTypes[R])return!0;for(var j in F.map)if(R.indexOf(j)===0&&R.substr(j.length)in F.phases)return!0;return!1}function Hi(R){var F={};for(var j in R){var nA=R[j];d.plainObject(nA)?F[j]=Hi(nA):d.array(nA)?F[j]=xe(nA):F[j]=nA}return F}var Jo=function(){function R(F){I(this,R),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=F,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(R,[{key:"start",value:function(F,j){var nA,cA,dA=F.phase,mA=this.interaction,IA=function(xA){var DA=xA.interactable.options[xA.prepared.name],GA=DA.modifiers;return GA&&GA.length?GA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(jA){var ce=DA[jA];return ce&&ce.enabled&&{options:ce,methods:ce._methods}}).filter(function(jA){return!!jA})}(mA);this.prepareStates(IA),this.startEdges=eA({},mA.edges),this.edges=eA({},this.startEdges),this.startOffset=(nA=mA.rect,cA=j,nA?{left:cA.x-nA.left,top:cA.y-nA.top,right:nA.right-cA.x,bottom:nA.bottom-cA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:dA,pageCoords:j,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(F){var j=this.interaction;return F.interaction=j,F.interactable=j.interactable,F.element=j.element,F.rect||(F.rect=j.rect),F.edges||(F.edges=this.startEdges),F.startOffset=this.startOffset,F}},{key:"startAll",value:function(F){for(var j=0,nA=this.states;j<nA.length;j++){var cA=nA[j];cA.methods.start&&(F.state=cA,cA.methods.start(F))}}},{key:"setAll",value:function(F){var j=F.phase,nA=F.preEnd,cA=F.skipModifiers,dA=F.rect,mA=F.edges;F.coords=eA({},F.pageCoords),F.rect=eA({},dA),F.edges=eA({},mA);for(var IA=cA?this.states.slice(cA):this.states,yA=uo(F.coords,F.rect),xA=0;xA<IA.length;xA++){var DA,GA=IA[xA],jA=GA.options,ce=eA({},F.coords),re=null;(DA=GA.methods)!=null&&DA.set&&this.shouldDo(jA,nA,j)&&(F.state=GA,re=GA.methods.set(F),gA(F.edges,F.rect,{x:F.coords.x-ce.x,y:F.coords.y-ce.y})),yA.eventProps.push(re)}eA(this.edges,F.edges),yA.delta.x=F.coords.x-F.pageCoords.x,yA.delta.y=F.coords.y-F.pageCoords.y,yA.rectDelta.left=F.rect.left-dA.left,yA.rectDelta.right=F.rect.right-dA.right,yA.rectDelta.top=F.rect.top-dA.top,yA.rectDelta.bottom=F.rect.bottom-dA.bottom;var de=this.result.coords,ye=this.result.rect;if(de&&ye){var Qe=yA.rect.left!==ye.left||yA.rect.right!==ye.right||yA.rect.top!==ye.top||yA.rect.bottom!==ye.bottom;yA.changed=Qe||de.x!==yA.coords.x||de.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(F){var j=this.interaction,nA=F.phase,cA=j.coords.cur,dA=j.coords.start,mA=this.result,IA=this.startDelta,yA=mA.delta;nA==="start"&&eA(this.startDelta,mA.delta);for(var xA=0,DA=[[dA,IA],[cA,yA]];xA<DA.length;xA++){var GA=DA[xA],jA=GA[0],ce=GA[1];jA.page.x+=ce.x,jA.page.y+=ce.y,jA.client.x+=ce.x,jA.client.y+=ce.y}var re=this.result.rectDelta,de=F.rect||j.rect;de.left+=re.left,de.right+=re.right,de.top+=re.top,de.bottom+=re.bottom,de.width=de.right-de.left,de.height=de.bottom-de.top}},{key:"setAndApply",value:function(F){var j=this.interaction,nA=F.phase,cA=F.preEnd,dA=F.skipModifiers,mA=this.setAll(this.fillArg({preEnd:cA,phase:nA,pageCoords:F.modifiedCoords||j.coords.cur.page}));if(this.result=mA,!mA.changed&&(!dA||dA<this.states.length)&&j.interacting())return!1;if(F.modifiedCoords){var IA=j.coords.cur.page,yA={x:F.modifiedCoords.x-IA.x,y:F.modifiedCoords.y-IA.y};mA.coords.x+=yA.x,mA.coords.y+=yA.y,mA.delta.x+=yA.x,mA.delta.y+=yA.y}this.applyToInteraction(F)}},{key:"beforeEnd",value:function(F){var j=F.interaction,nA=F.event,cA=this.states;if(cA&&cA.length){for(var dA=!1,mA=0;mA<cA.length;mA++){var IA=cA[mA];F.state=IA;var yA=IA.options,xA=IA.methods,DA=xA.beforeEnd&&xA.beforeEnd(F);if(DA)return this.endResult=DA,!1;dA=dA||!dA&&this.shouldDo(yA,!0,F.phase,!0)}dA&&j.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(F){var j=F.interaction;if(this.states&&this.states.length){var nA=eA({states:this.states,interactable:j.interactable,element:j.element,rect:null},F);this.fillArg(nA);for(var cA=0,dA=this.states;cA<dA.length;cA++){var mA=dA[cA];nA.state=mA,mA.methods.stop&&mA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(F){this.states=[];for(var j=0;j<F.length;j++){var nA=F[j],cA=nA.options,dA=nA.methods,mA=nA.name;this.states.push({options:cA,methods:dA,index:j,name:mA})}return this.states}},{key:"restoreInteractionCoords",value:function(F){var j=F.interaction,nA=j.coords,cA=j.rect,dA=j.modification;if(dA.result){for(var mA=dA.startDelta,IA=dA.result,yA=IA.delta,xA=IA.rectDelta,DA=0,GA=[[nA.start,mA],[nA.cur,yA]];DA<GA.length;DA++){var jA=GA[DA],ce=jA[0],re=jA[1];ce.page.x-=re.x,ce.page.y-=re.y,ce.client.x-=re.x,ce.client.y-=re.y}cA.left-=xA.left,cA.right-=xA.right,cA.top-=xA.top,cA.bottom-=xA.bottom}}},{key:"shouldDo",value:function(F,j,nA,cA){return!(!F||F.enabled===!1||cA&&!F.endOnly||F.endOnly&&!j||nA==="start"&&!F.setStart)}},{key:"copyFrom",value:function(F){this.startOffset=F.startOffset,this.startDelta=F.startDelta,this.startEdges=F.startEdges,this.edges=F.edges,this.states=F.states.map(function(j){return Hi(j)}),this.result=uo(eA({},F.result.coords),eA({},F.result.rect))}},{key:"destroy",value:function(){for(var F in this)this[F]=null}}]),R}();function uo(R,F){return{rect:F,coords:R,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Fn(R,F){var j=R.defaults,nA={start:R.start,set:R.set,beforeEnd:R.beforeEnd,stop:R.stop},cA=function(dA){var mA=dA||{};for(var IA in mA.enabled=mA.enabled!==!1,j)IA in mA||(mA[IA]=j[IA]);var yA={options:mA,methods:nA,name:F,enable:function(){return mA.enabled=!0,yA},disable:function(){return mA.enabled=!1,yA}};return yA};return F&&typeof F=="string"&&(cA._defaults=j,cA._methods=nA),cA}function ho(R){var F=R.iEvent,j=R.interaction.modification.result;j&&(F.modifiers=j.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(R){R.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(R){var F=R.interaction;F.modification=new Jo(F)},"interactions:before-action-start":function(R){var F=R.interaction,j=R.interaction.modification;j.start(R,F.coords.start.page),F.edges=j.edges,j.applyToInteraction(R)},"interactions:before-action-move":function(R){var F=R.interaction,j=F.modification,nA=j.setAndApply(R);return F.edges=j.edges,nA},"interactions:before-action-end":function(R){var F=R.interaction,j=F.modification,nA=j.beforeEnd(R);return F.edges=j.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-move":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:stop":function(R){return R.interaction.modification.stop(R)}}},Zo=bs,Wo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ni=function(R){w(j,R);var F=$(j);function j(nA,cA,dA,mA,IA,yA,xA){var DA;I(this,j),(DA=F.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,IA=IA||nA.element;var GA=nA.interactable,jA=(GA&&GA.options||Wo).deltaSource,ce=CA(GA,IA,dA),re=mA==="start",de=mA==="end",ye=re?H(DA):nA.prevEvent,Qe=re?nA.coords.start:de?{page:ye.page,client:ye.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=eA({},Qe.page),DA.client=eA({},Qe.client),DA.rect=eA({},nA.rect),DA.timeStamp=Qe.timeStamp,de||(DA.page.x-=ce.x,DA.page.y-=ce.y,DA.client.x-=ce.x,DA.client.y-=ce.y),DA.ctrlKey=cA.ctrlKey,DA.altKey=cA.altKey,DA.shiftKey=cA.shiftKey,DA.metaKey=cA.metaKey,DA.button=cA.button,DA.buttons=cA.buttons,DA.target=IA,DA.currentTarget=IA,DA.preEnd=yA,DA.type=xA||dA+(mA||""),DA.interactable=GA,DA.t0=re?nA.pointers[nA.pointers.length-1].downTime:ye.t0,DA.x0=nA.coords.start.page.x-ce.x,DA.y0=nA.coords.start.page.y-ce.y,DA.clientX0=nA.coords.start.client.x-ce.x,DA.clientY0=nA.coords.start.client.y-ce.y,DA.delta=re||de?{x:0,y:0}:{x:DA[jA].x-ye[jA].x,y:DA[jA].y-ye[jA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=eA({},nA.coords.velocity[jA]),DA.speed=lA(DA.velocity.x,DA.velocity.y),DA.swipe=de||mA==="inertiastart"?DA.getSwipe():null,DA}return b(j,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var cA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;cA<0&&(cA+=360);var dA=112.5<=cA&&cA<247.5,mA=202.5<=cA&&cA<337.5;return{up:mA,down:!mA&&22.5<=cA&&cA<157.5,left:dA,right:!dA&&(292.5<=cA||cA<67.5),angle:cA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),j}(Be);Object.defineProperties(ni.prototype,{pageX:{get:function(){return this.page.x},set:function(R){this.page.x=R}},pageY:{get:function(){return this.page.y},set:function(R){this.page.y=R}},clientX:{get:function(){return this.client.x},set:function(R){this.client.x=R}},clientY:{get:function(){return this.client.y},set:function(R){this.client.y=R}},dx:{get:function(){return this.delta.x},set:function(R){this.delta.x=R}},dy:{get:function(){return this.delta.y},set:function(R){this.delta.y=R}},velocityX:{get:function(){return this.velocity.x},set:function(R){this.velocity.x=R}},velocityY:{get:function(){return this.velocity.y},set:function(R){this.velocity.y=R}}});var ys=b(function R(F,j,nA,cA,dA){I(this,R),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=F,this.pointer=j,this.event=nA,this.downTime=cA,this.downTarget=dA}),Ds=function(R){return R.interactable="",R.element="",R.prepared="",R.pointerIsDown="",R.pointerWasMoved="",R._proxy="",R}({}),vs=function(R){return R.start="",R.move="",R.end="",R.stop="",R.interacting="",R}({}),ks=0,_s=function(){function R(F){var j=this,nA=F.pointerType,cA=F.scopeFire;I(this,R),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=cA,this.pointerType=nA;var dA=this;this._proxy={};var mA=function(DA){Object.defineProperty(j._proxy,DA,{get:function(){return dA[DA]}})};for(var IA in Ds)mA(IA);var yA=function(DA){Object.defineProperty(j._proxy,DA,{value:function(){return dA[DA].apply(dA,arguments)}})};for(var xA in vs)yA(xA);this._scopeFire("interactions:new",{interaction:this})}return b(R,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(F,j,nA){var cA=this.updatePointer(F,j,nA,!0),dA=this.pointers[cA];this._scopeFire("interactions:down",{pointer:F,event:j,eventTarget:nA,pointerIndex:cA,pointerInfo:dA,type:"down",interaction:this})}},{key:"start",value:function(F,j,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(F.name==="gesture"?2:1)||!j.options[F.name].enabled)&&(gt(this.prepared,F),this.interactable=j,this.element=nA,this.rect=j.getRect(nA),this.edges=this.prepared.edges?eA({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(F,j,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(F,j,nA,!1);var cA,dA,mA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(cA=this.coords.cur.client.x-this.coords.start.client.x,dA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=lA(cA,dA)>this.pointerMoveTolerance);var IA,yA,xA,DA=this.getPointerIndex(F),GA={pointer:F,pointerIndex:DA,pointerInfo:this.pointers[DA],event:j,type:"move",eventTarget:nA,dx:cA,dy:dA,duplicate:mA,interaction:this};mA||(IA=this.coords.velocity,yA=this.coords.delta,xA=Math.max(yA.timeStamp/1e3,.001),IA.page.x=yA.page.x/xA,IA.page.y=yA.page.y/xA,IA.client.x=yA.client.x/xA,IA.client.y=yA.client.y/xA,IA.timeStamp=xA),this._scopeFire("interactions:move",GA),mA||this.simulation||(this.interacting()&&(GA.type=null,this.move(GA)),this.pointerWasMoved&&V(this.coords.prev,this.coords.cur))}},{key:"move",value:function(F){F&&F.event||iA(this.coords.delta),(F=eA({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},F||{})).phase="move",this._doPhase(F)}},{key:"pointerUp",value:function(F,j,nA,cA){var dA=this.getPointerIndex(F);dA===-1&&(dA=this.updatePointer(F,j,nA,!1));var mA=/cancel$/i.test(j.type)?"cancel":"up";this._scopeFire("interactions:".concat(mA),{pointer:F,pointerIndex:dA,pointerInfo:this.pointers[dA],event:j,eventTarget:nA,type:mA,curEventTarget:cA,interaction:this}),this.simulation||this.end(j),this.removePointer(F,j)}},{key:"documentBlur",value:function(F){this.end(F),this._scopeFire("interactions:blur",{event:F,type:"blur",interaction:this})}},{key:"end",value:function(F){var j;this._ending=!0,F=F||this._latestPointer.event,this.interacting()&&(j=this._doPhase({event:F,interaction:this,phase:"end"})),this._ending=!1,j===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(F){var j=UA(F);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:YA(this.pointers,function(nA){return nA.id===j})}},{key:"getPointerInfo",value:function(F){return this.pointers[this.getPointerIndex(F)]}},{key:"updatePointer",value:function(F,j,nA,cA){var dA,mA,IA,yA=UA(F),xA=this.getPointerIndex(F),DA=this.pointers[xA];return cA=cA!==!1&&(cA||/(down|start)$/i.test(j.type)),DA?DA.pointer=F:(DA=new ys(yA,F,j,null,null),xA=this.pointers.length,this.pointers.push(DA)),JA(this.coords.cur,this.pointers.map(function(GA){return GA.pointer}),this._now()),dA=this.coords.delta,mA=this.coords.prev,IA=this.coords.cur,dA.page.x=IA.page.x-mA.page.x,dA.page.y=IA.page.y-mA.page.y,dA.client.x=IA.client.x-mA.client.x,dA.client.y=IA.client.y-mA.client.y,dA.timeStamp=IA.timeStamp-mA.timeStamp,cA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,Z(this.downPointer,F),this.interacting()||(V(this.coords.start,this.coords.cur),V(this.coords.prev,this.coords.cur),this.downEvent=j,this.pointerWasMoved=!1)),this._updateLatestPointer(F,j,nA),this._scopeFire("interactions:update-pointer",{pointer:F,event:j,eventTarget:nA,down:cA,pointerInfo:DA,pointerIndex:xA,interaction:this}),xA}},{key:"removePointer",value:function(F,j){var nA=this.getPointerIndex(F);if(nA!==-1){var cA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:F,event:j,eventTarget:null,pointerIndex:nA,pointerInfo:cA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(F,j,nA){this._latestPointer.pointer=F,this._latestPointer.event=j,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(F,j,nA,cA){return new ni(this,F,this.prepared.name,j,this.element,nA,cA)}},{key:"_fireEvent",value:function(F){var j;(j=this.interactable)==null||j.fire(F),(!this.prevEvent||F.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=F)}},{key:"_doPhase",value:function(F){var j=F.event,nA=F.phase,cA=F.preEnd,dA=F.type,mA=this.rect;if(mA&&nA==="move"&&(gA(this.edges,mA,this.coords.delta[this.interactable.options.deltaSource]),mA.width=mA.right-mA.left,mA.height=mA.bottom-mA.top),this._scopeFire("interactions:before-action-".concat(nA),F)===!1)return!1;var IA=F.iEvent=this._createPreparedEvent(j,nA,cA,dA);return this._scopeFire("interactions:action-".concat(nA),F),nA==="start"&&(this.prevEvent=IA),this._fireEvent(IA),this._scopeFire("interactions:after-action-".concat(nA),F),!0}},{key:"_now",value:function(){return Date.now()}}]),R}();function Or(R){$r(R.interaction)}function $r(R){if(!function(j){return!(!j.offset.pending.x&&!j.offset.pending.y)}(R))return!1;var F=R.offset.pending;return zr(R.coords.cur,F),zr(R.coords.delta,F),gA(R.edges,R.rect,F),F.x=0,F.y=0,!0}function sg(R){var F=R.x,j=R.y;this.offset.pending.x+=F,this.offset.pending.y+=j,this.offset.total.x+=F,this.offset.total.y+=j}function zr(R,F){var j=R.page,nA=R.client,cA=F.x,dA=F.y;j.x+=cA,j.y+=dA,nA.x+=cA,nA.y+=dA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(R){R.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(R){R.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(R){return function(F){F.pointerIsDown&&(zr(F.coords.cur,F.offset.total),F.offset.pending.x=0,F.offset.pending.y=0)}(R.interaction)},"interactions:before-action-start":Or,"interactions:before-action-move":Or,"interactions:before-action-end":function(R){var F=R.interaction;if($r(F))return F.move({offset:!0}),F.end(),!1},"interactions:stop":function(R){var F=R.interaction;F.offset.total.x=0,F.offset.total.y=0,F.offset.pending.x=0,F.offset.pending.y=0}}},Jr=lg,cg=function(){function R(F){I(this,R),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=F}return b(R,[{key:"start",value:function(F){var j=this.interaction,nA=jo(j);if(!nA||!nA.enabled)return!1;var cA=j.coords.velocity.client,dA=lA(cA.x,cA.y),mA=this.modification||(this.modification=new Jo(j));if(mA.copyFrom(j.modification),this.t0=j._now(),this.allowResume=nA.allowResume,this.v0=dA,this.currentOffset={x:0,y:0},this.startCoords=j.coords.cur.page,this.modifierArg=mA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-j.coords.cur.timeStamp<50&&dA>nA.minSpeed&&dA>nA.endSpeed)this.startInertia();else{if(mA.result=mA.setAll(this.modifierArg),!mA.result.changed)return!1;this.startSmoothEnd()}return j.modification.result.rect=null,j.offsetBy(this.targetOffset),j._doPhase({interaction:j,event:F,phase:"inertiastart"}),j.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),j.modification.result.rect=null,this.active=!0,j.simulation=this,!0}},{key:"startInertia",value:function(){var F=this,j=this.interaction.coords.velocity.client,nA=jo(this.interaction),cA=nA.resistance,dA=-Math.log(nA.endSpeed/this.v0)/cA;this.targetOffset={x:(j.x-dA)/cA,y:(j.y-dA)/cA},this.te=dA,this.lambda_v0=cA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var mA=this.modification,IA=this.modifierArg;IA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},mA.result=mA.setAll(IA),mA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+mA.result.delta.x,y:this.targetOffset.y+mA.result.delta.y}),this.onNextFrame(function(){return F.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var F=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return F.smoothEndTick()})}},{key:"onNextFrame",value:function(F){var j=this;this.timeout=fe.request(function(){j.active&&F()})}},{key:"inertiaTick",value:function(){var F,j,nA,cA,dA,mA,IA,yA=this,xA=this.interaction,DA=jo(xA).resistance,GA=(xA._now()-this.t0)/1e3;if(GA<this.te){var jA,ce=1-(Math.exp(-DA*GA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(F=0,j=0,nA=this.targetOffset.x,cA=this.targetOffset.y,dA=this.modifiedOffset.x,mA=this.modifiedOffset.y,jA={x:Ms(IA=ce,F,nA,dA),y:Ms(IA,j,cA,mA)}):jA={x:this.targetOffset.x*ce,y:this.targetOffset.y*ce};var re={x:jA.x-this.currentOffset.x,y:jA.y-this.currentOffset.y};this.currentOffset.x+=re.x,this.currentOffset.y+=re.y,xA.offsetBy(re),xA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else xA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var F=this,j=this.interaction,nA=j._now()-this.t0,cA=jo(j).smoothEndDuration;if(nA<cA){var dA={x:qo(nA,0,this.targetOffset.x,cA),y:qo(nA,0,this.targetOffset.y,cA)},mA={x:dA.x-this.currentOffset.x,y:dA.y-this.currentOffset.y};this.currentOffset.x+=mA.x,this.currentOffset.y+=mA.y,j.offsetBy(mA),j.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return F.smoothEndTick()})}else j.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(F){var j=F.pointer,nA=F.event,cA=F.eventTarget,dA=this.interaction;dA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),dA.updatePointer(j,nA,cA,!0),dA._doPhase({interaction:dA,event:nA,phase:"resume"}),V(dA.coords.prev,dA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,fe.cancel(this.timeout)}}]),R}();function jo(R){var F=R.interactable,j=R.prepared;return F&&F.options&&j.name&&F.options[j.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(R){var F=R.defaults;R.usePlugin(Jr),R.usePlugin(Zo),R.actions.phases.inertiastart=!0,R.actions.phases.resume=!0,F.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(R){var F=R.interaction;F.inertia=new cg(F)},"interactions:before-action-end":function(R){var F=R.interaction,j=R.event;return(!F._interacting||F.simulation||!F.inertia.start(j))&&null},"interactions:down":function(R){var F=R.interaction,j=R.eventTarget,nA=F.inertia;if(nA.active)for(var cA=j;d.element(cA);){if(cA===F.element){nA.resume(R);break}cA=P(cA)}},"interactions:stop":function(R){var F=R.interaction.inertia;F.active&&F.stop()},"interactions:before-action-resume":function(R){var F=R.interaction.modification;F.stop(R),F.start(R,R.interaction.coords.cur.page),F.applyToInteraction(R)},"interactions:before-action-inertiastart":function(R){return R.interaction.modification.setAndApply(R)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(R){return R.interaction.modification.restoreInteractionCoords(R)},"interactions:after-action-resume":function(R){return R.interaction.modification.restoreInteractionCoords(R)}}};function Ms(R,F,j,nA){var cA=1-R;return cA*cA*F+2*cA*R*j+R*R*nA}function qo(R,F,j,nA){return-j*(R/=nA)*(R-2)+F}var ug=gg;function xs(R,F){for(var j=0;j<F.length;j++){var nA=F[j];if(R.immediatePropagationStopped)break;nA(R)}}var Ss=function(){function R(F){I(this,R),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=eA({},F||{})}return b(R,[{key:"fire",value:function(F){var j,nA=this.global;(j=this.types[F.type])&&xs(F,j),!F.propagationStopped&&nA&&(j=nA[F.type])&&xs(F,j)}},{key:"on",value:function(F,j){var nA=O(F,j);for(F in nA)this.types[F]=De(this.types[F]||[],nA[F])}},{key:"off",value:function(F,j){var nA=O(F,j);for(F in nA){var cA=this.types[F];if(cA&&cA.length)for(var dA=0,mA=nA[F];dA<mA.length;dA++){var IA=mA[dA],yA=cA.indexOf(IA);yA!==-1&&cA.splice(yA,1)}}}},{key:"getRect",value:function(F){return null}}]),R}(),dg=function(){function R(F){I(this,R),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=F,Z(this,F)}return b(R,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),R}();function po(R){return d.object(R)?{capture:!!R.capture,passive:!!R.passive}:{capture:!!R,passive:!1}}function rt(R,F){return R===F||(typeof R=="boolean"?!!F.capture===R&&!F.passive:!!R.capture==!!F.capture&&!!R.passive==!!F.passive)}var ct={id:"events",install:function(R){var F,j=[],nA={},cA=[],dA={add:mA,remove:IA,addDelegate:function(DA,GA,jA,ce,re){var de=po(re);if(!nA[jA]){nA[jA]=[];for(var ye=0;ye<cA.length;ye++){var Qe=cA[ye];mA(Qe,jA,yA),mA(Qe,jA,xA,!0)}}var kA=nA[jA],TA=$A(kA,function(PA){return PA.selector===DA&&PA.context===GA});TA||(TA={selector:DA,context:GA,listeners:[]},kA.push(TA)),TA.listeners.push({func:ce,options:de})},removeDelegate:function(DA,GA,jA,ce,re){var de,ye=po(re),Qe=nA[jA],kA=!1;if(Qe)for(de=Qe.length-1;de>=0;de--){var TA=Qe[de];if(TA.selector===DA&&TA.context===GA){for(var PA=TA.listeners,VA=PA.length-1;VA>=0;VA--){var Ce=PA[VA];if(Ce.func===ce&&rt(Ce.options,ye)){PA.splice(VA,1),PA.length||(Qe.splice(de,1),IA(GA,jA,yA),IA(GA,jA,xA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:xA,delegatedEvents:nA,documents:cA,targets:j,supportsOptions:!1,supportsPassive:!1};function mA(DA,GA,jA,ce){if(DA.addEventListener){var re=po(ce),de=$A(j,function(ye){return ye.eventTarget===DA});de||(de={eventTarget:DA,events:{}},j.push(de)),de.events[GA]||(de.events[GA]=[]),$A(de.events[GA],function(ye){return ye.func===jA&&rt(ye.options,re)})||(DA.addEventListener(GA,jA,dA.supportsOptions?re:re.capture),de.events[GA].push({func:jA,options:re}))}}function IA(DA,GA,jA,ce){if(DA.addEventListener&&DA.removeEventListener){var re=YA(j,function(He){return He.eventTarget===DA}),de=j[re];if(de&&de.events)if(GA!=="all"){var ye=!1,Qe=de.events[GA];if(Qe){if(jA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var TA=Qe[kA];IA(DA,GA,TA.func,TA.options)}return}for(var PA=po(ce),VA=0;VA<Qe.length;VA++){var Ce=Qe[VA];if(Ce.func===jA&&rt(Ce.options,PA)){DA.removeEventListener(GA,jA,dA.supportsOptions?PA:PA.capture),Qe.splice(VA,1),Qe.length===0&&(delete de.events[GA],ye=!0);break}}}ye&&!Object.keys(de.events).length&&j.splice(re,1)}else for(GA in de.events)de.events.hasOwnProperty(GA)&&IA(DA,GA,"all")}}function yA(DA,GA){for(var jA=po(GA),ce=new dg(DA),re=nA[DA.type],de=ZA(DA)[0],ye=de;d.element(ye);){for(var Qe=0;Qe<re.length;Qe++){var kA=re[Qe],TA=kA.selector,PA=kA.context;if(Y(ye,TA)&&M(PA,de)&&M(PA,ye)){var VA=kA.listeners;ce.currentTarget=ye;for(var Ce=0;Ce<VA.length;Ce++){var He=VA[Ce];rt(He.options,jA)&&He.func(ce)}}}ye=P(ye)}}function xA(DA){return yA(DA,!0)}return(F=R.document)==null||F.createElement("div").addEventListener("test",null,{get capture(){return dA.supportsOptions=!0},get passive(){return dA.supportsPassive=!0}}),R.events=dA,dA}},Zr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(R){for(var F=0,j=Zr.methodOrder;F<j.length;F++){var nA=j[F],cA=Zr[nA](R);if(cA)return cA}return null},simulationResume:function(R){var F=R.pointerType,j=R.eventType,nA=R.eventTarget,cA=R.scope;if(!/down|start/i.test(j))return null;for(var dA=0,mA=cA.interactions.list;dA<mA.length;dA++){var IA=mA[dA],yA=nA;if(IA.simulation&&IA.simulation.allowResume&&IA.pointerType===F)for(;yA;){if(yA===IA.element)return IA;yA=P(yA)}}return null},mouseOrPen:function(R){var F,j=R.pointerId,nA=R.pointerType,cA=R.eventType,dA=R.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var mA=0,IA=dA.interactions.list;mA<IA.length;mA++){var yA=IA[mA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,j))continue;if(yA.interacting())return yA;F||(F=yA)}}if(F)return F;for(var xA=0,DA=dA.interactions.list;xA<DA.length;xA++){var GA=DA[xA];if(!(GA.pointerType!==nA||/down/i.test(cA)&&GA.simulation))return GA}return null},hasPointer:function(R){for(var F=R.pointerId,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var cA=nA[j];if(Ns(cA,F))return cA}return null},idle:function(R){for(var F=R.pointerType,j=0,nA=R.scope.interactions.list;j<nA.length;j++){var cA=nA[j];if(cA.pointers.length===1){var dA=cA.interactable;if(dA&&(!dA.options.gesture||!dA.options.gesture.enabled))continue}else if(cA.pointers.length>=2)continue;if(!cA.interacting()&&F===cA.pointerType)return cA}return null}};function Ns(R,F){return R.pointers.some(function(j){return j.id===F})}var hg=Zr,Wr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(R,F){return function(j){var nA=F.interactions.list,cA=SA(j),dA=ZA(j),mA=dA[0],IA=dA[1],yA=[];if(/^touch/.test(j.type)){F.prevTouchTime=F.now();for(var xA=0,DA=j.changedTouches;xA<DA.length;xA++){var GA=DA[xA],jA={pointer:GA,pointerId:UA(GA),pointerType:cA,eventType:j.type,eventTarget:mA,curEventTarget:IA,scope:F},ce=Rs(jA);yA.push([jA.pointer,jA.eventTarget,jA.curEventTarget,ce])}}else{var re=!1;if(!E.supportsPointerEvent&&/mouse/.test(j.type)){for(var de=0;de<nA.length&&!re;de++)re=nA[de].pointerType!=="mouse"&&nA[de].pointerIsDown;re=re||F.now()-F.prevTouchTime<500||j.timeStamp===0}if(!re){var ye={pointer:j,pointerId:UA(j),pointerType:cA,eventType:j.type,curEventTarget:IA,eventTarget:mA,scope:F},Qe=Rs(ye);yA.push([ye.pointer,ye.eventTarget,ye.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var TA=yA[kA],PA=TA[0],VA=TA[1],Ce=TA[2];TA[3][R](PA,j,VA,Ce)}}}function Rs(R){var F=R.pointerType,j=R.scope,nA={interaction:hg.search(R),searchDetails:R};return j.fire("interactions:find",nA),nA.interaction||j.interactions.new({pointerType:F})}function Xo(R,F){var j=R.doc,nA=R.scope,cA=R.options,dA=nA.interactions.docEvents,mA=nA.events,IA=mA[F];for(var yA in nA.browser.isIOS&&!cA.events&&(cA.events={passive:!1}),mA.delegatedEvents)IA(j,yA,mA.delegateListener),IA(j,yA,mA.delegateUseCapture,!0);for(var xA=cA&&cA.events,DA=0;DA<dA.length;DA++){var GA=dA[DA];IA(j,GA.type,GA.listener,xA)}}var pg={id:"core/interactions",install:function(R){for(var F={},j=0;j<Wr.length;j++){var nA=Wr[j];F[nA]=Fs(nA,R)}var cA,dA=E.pEventTypes;function mA(){for(var IA=0,yA=R.interactions.list;IA<yA.length;IA++){var xA=yA[IA];if(xA.pointerIsDown&&xA.pointerType==="touch"&&!xA._interacting)for(var DA=function(){var ce=jA[GA];R.documents.some(function(re){return M(re.doc,ce.downTarget)})||xA.removePointer(ce.pointer,ce.event)},GA=0,jA=xA.pointers;GA<jA.length;GA++)DA()}}(cA=r.PointerEvent?[{type:dA.down,listener:mA},{type:dA.down,listener:F.pointerDown},{type:dA.move,listener:F.pointerMove},{type:dA.up,listener:F.pointerUp},{type:dA.cancel,listener:F.pointerUp}]:[{type:"mousedown",listener:F.pointerDown},{type:"mousemove",listener:F.pointerMove},{type:"mouseup",listener:F.pointerUp},{type:"touchstart",listener:mA},{type:"touchstart",listener:F.pointerDown},{type:"touchmove",listener:F.pointerMove},{type:"touchend",listener:F.pointerUp},{type:"touchcancel",listener:F.pointerUp}]).push({type:"blur",listener:function(IA){for(var yA=0,xA=R.interactions.list;yA<xA.length;yA++)xA[yA].documentBlur(IA)}}),R.prevTouchTime=0,R.Interaction=function(IA){w(xA,IA);var yA=$(xA);function xA(){return I(this,xA),yA.apply(this,arguments)}return b(xA,[{key:"pointerMoveTolerance",get:function(){return R.interactions.pointerMoveTolerance},set:function(DA){R.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return R.now()}}]),xA}(_s),R.interactions={list:[],new:function(IA){IA.scopeFire=function(xA,DA){return R.fire(xA,DA)};var yA=new R.Interaction(IA);return R.interactions.list.push(yA),yA},listeners:F,docEvents:cA,pointerMoveTolerance:1},R.usePlugin(ti)},listeners:{"scope:add-document":function(R){return Xo(R,"add")},"scope:remove-document":function(R){return Xo(R,"remove")},"interactable:unset":function(R,F){for(var j=R.interactable,nA=F.interactions.list.length-1;nA>=0;nA--){var cA=F.interactions.list[nA];cA.interactable===j&&(cA.stop(),F.fire("interactions:destroy",{interaction:cA}),cA.destroy(),F.interactions.list.length>2&&F.interactions.list.splice(nA,1))}}},onDocSignal:Xo,doOnInteractions:Fs,methodNames:Wr},Nt=pg,Rn=function(R){return R[R.On=0]="On",R[R.Off=1]="Off",R}(Rn||{}),mi=function(){function R(F,j,nA,cA){I(this,R),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=j.actions,this.target=F,this._context=j.context||nA,this._win=v(G(F)?this._context:F),this._doc=this._win.document,this._scopeEvents=cA,this.set(j)}return b(R,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(F,j){return d.func(j.onstart)&&this.on("".concat(F,"start"),j.onstart),d.func(j.onmove)&&this.on("".concat(F,"move"),j.onmove),d.func(j.onend)&&this.on("".concat(F,"end"),j.onend),d.func(j.oninertiastart)&&this.on("".concat(F,"inertiastart"),j.oninertiastart),this}},{key:"updatePerActionListeners",value:function(F,j,nA){var cA,dA=this,mA=(cA=this._actions.map[F])==null?void 0:cA.filterEventType,IA=function(yA){return(mA==null||mA(yA))&&bn(yA,dA._actions)};(d.array(j)||d.object(j))&&this._onOff(Rn.Off,F,j,void 0,IA),(d.array(nA)||d.object(nA))&&this._onOff(Rn.On,F,nA,void 0,IA)}},{key:"setPerAction",value:function(F,j){var nA=this._defaults;for(var cA in j){var dA=cA,mA=this.options[F],IA=j[dA];dA==="listeners"&&this.updatePerActionListeners(F,mA.listeners,IA),d.array(IA)?mA[dA]=xe(IA):d.plainObject(IA)?(mA[dA]=eA(mA[dA]||{},Hi(IA)),d.object(nA.perAction[dA])&&"enabled"in nA.perAction[dA]&&(mA[dA].enabled=IA.enabled!==!1)):d.bool(IA)&&d.object(nA.perAction[dA])?mA[dA].enabled=IA:mA[dA]=IA}}},{key:"getRect",value:function(F){return F=F||(d.element(this.target)?this.target:null),d.string(this.target)&&(F=F||this._context.querySelector(this.target)),_(F)}},{key:"rectChecker",value:function(F){var j=this;return d.func(F)?(this.getRect=function(nA){var cA=eA({},F.apply(j,nA));return"width"in cA||(cA.width=cA.right-cA.left,cA.height=cA.bottom-cA.top),cA},this):F===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(F,j){if(G(j)||d.object(j)){for(var nA in this.options[F]=j,this._actions.map)this.options[nA][F]=j;return this}return this.options[F]}},{key:"origin",value:function(F){return this._backCompatOption("origin",F)}},{key:"deltaSource",value:function(F){return F==="page"||F==="client"?(this.options.deltaSource=F,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var F=this.target;return d.string(F)?Array.from(this._context.querySelectorAll(F)):d.func(F)&&F.getAllElements?F.getAllElements():d.element(F)?[F]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(F){return this._context===F.ownerDocument||M(this._context,F)}},{key:"testIgnoreAllow",value:function(F,j,nA){return!this.testIgnore(F.ignoreFrom,j,nA)&&this.testAllow(F.allowFrom,j,nA)}},{key:"testAllow",value:function(F,j,nA){return!F||!!d.element(nA)&&(d.string(F)?W(nA,F,j):!!d.element(F)&&M(F,nA))}},{key:"testIgnore",value:function(F,j,nA){return!(!F||!d.element(nA))&&(d.string(F)?W(nA,F,j):!!d.element(F)&&M(F,nA))}},{key:"fire",value:function(F){return this.events.fire(F),this}},{key:"_onOff",value:function(F,j,nA,cA,dA){d.object(j)&&!d.array(j)&&(cA=nA,nA=null);var mA=O(j,nA,dA);for(var IA in mA){IA==="wheel"&&(IA=E.wheelEvent);for(var yA=0,xA=mA[IA];yA<xA.length;yA++){var DA=xA[yA];bn(IA,this._actions)?this.events[F===Rn.On?"on":"off"](IA,DA):d.string(this.target)?this._scopeEvents[F===Rn.On?"addDelegate":"removeDelegate"](this.target,this._context,IA,DA,cA):this._scopeEvents[F===Rn.On?"add":"remove"](this.target,IA,DA,cA)}}return this}},{key:"on",value:function(F,j,nA){return this._onOff(Rn.On,F,j,nA)}},{key:"off",value:function(F,j,nA){return this._onOff(Rn.Off,F,j,nA)}},{key:"set",value:function(F){var j=this._defaults;for(var nA in d.object(F)||(F={}),this.options=Hi(j.base),this._actions.methodDict){var cA=nA,dA=this._actions.methodDict[cA];this.options[cA]={},this.setPerAction(cA,eA(eA({},j.perAction),j.actions[cA])),this[dA](F[cA])}for(var mA in F)mA!=="getRect"?d.func(this[mA])&&this[mA](F[mA]):this.rectChecker(F.getRect);return this}},{key:"unset",value:function(){if(d.string(this.target))for(var F in this._scopeEvents.delegatedEvents)for(var j=this._scopeEvents.delegatedEvents[F],nA=j.length-1;nA>=0;nA--){var cA=j[nA],dA=cA.selector,mA=cA.context,IA=cA.listeners;dA===this.target&&mA===this._context&&j.splice(nA,1);for(var yA=IA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,F,IA[yA][0],IA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),R}(),Ls=function(){function R(F){var j=this;I(this,R),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=F,F.addListeners({"interactable:unset":function(nA){var cA=nA.interactable,dA=cA.target,mA=d.string(dA)?j.selectorMap[dA]:dA[j.scope.id],IA=YA(mA,function(yA){return yA===cA});mA.splice(IA,1)}})}return b(R,[{key:"new",value:function(F,j){j=eA(j||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(F,j,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),d.string(F)?(this.selectorMap[F]||(this.selectorMap[F]=[]),this.selectorMap[F].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(F,this.scope.id,{value:[],configurable:!0}),F[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:F,options:j,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(F,j){var nA=j&&j.context||this.scope.document,cA=d.string(F),dA=cA?this.selectorMap[F]:F[this.scope.id];if(dA)return $A(dA,function(mA){return mA._context===nA&&(cA||mA.inContext(F))})}},{key:"forEachMatch",value:function(F,j){for(var nA=0,cA=this.list;nA<cA.length;nA++){var dA=cA[nA],mA=void 0;if((d.string(dA.target)?d.element(F)&&Y(F,dA.target):F===dA.target)&&dA.inContext(F)&&(mA=j(dA)),mA!==void 0)return mA}}}]),R}(),jr=function(){function R(){var F=this;I(this,R),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=E,this.defaults=Hi(Wo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var cA=function dA(mA,IA){var yA=nA.interactables.getExisting(mA,IA);return yA||((yA=nA.interactables.new(mA,IA)).events.global=dA.globalEvents),yA};return cA.getPointerAverage=WA,cA.getTouchBBox=le,cA.getTouchDistance=ne,cA.getTouchAngle=LA,cA.getElementRect=_,cA.getElementClientRect=X,cA.matchesSelector=Y,cA.closest=x,cA.globalEvents={},cA.version="1.10.27",cA.scope=nA,cA.use=function(dA,mA){return this.scope.usePlugin(dA,mA),this},cA.isSet=function(dA,mA){return!!this.scope.interactables.get(dA,mA&&mA.context)},cA.on=At(function(dA,mA,IA){if(d.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),d.array(dA)){for(var yA=0,xA=dA;yA<xA.length;yA++){var DA=xA[yA];this.on(DA,mA,IA)}return this}if(d.object(dA)){for(var GA in dA)this.on(GA,dA[GA],mA);return this}return bn(dA,this.scope.actions)?this.globalEvents[dA]?this.globalEvents[dA].push(mA):this.globalEvents[dA]=[mA]:this.scope.events.add(this.scope.document,dA,mA,{options:IA}),this},"The interact.on() method is being deprecated"),cA.off=At(function(dA,mA,IA){if(d.string(dA)&&dA.search(" ")!==-1&&(dA=dA.trim().split(/ +/)),d.array(dA)){for(var yA=0,xA=dA;yA<xA.length;yA++){var DA=xA[yA];this.off(DA,mA,IA)}return this}if(d.object(dA)){for(var GA in dA)this.off(GA,dA[GA],mA);return this}var jA;return bn(dA,this.scope.actions)?dA in this.globalEvents&&(jA=this.globalEvents[dA].indexOf(mA))!==-1&&this.globalEvents[dA].splice(jA,1):this.scope.events.remove(this.scope.document,dA,mA,IA),this},"The interact.off() method is being deprecated"),cA.debug=function(){return this.scope},cA.supportsTouch=function(){return E.supportsTouch},cA.supportsPointerEvent=function(){return E.supportsPointerEvent},cA.stop=function(){for(var dA=0,mA=this.scope.interactions.list;dA<mA.length;dA++)mA[dA].stop();return this},cA.pointerMoveTolerance=function(dA){return d.number(dA)?(this.scope.interactions.pointerMoveTolerance=dA,this):this.scope.interactions.pointerMoveTolerance},cA.addDocument=function(dA,mA){this.scope.addDocument(dA,mA)},cA.removeDocument=function(dA){this.scope.removeDocument(dA)},cA}(this),this.InteractEvent=ni,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return F.removeDocument(nA.target)};var j=this;this.Interactable=function(nA){w(dA,nA);var cA=$(dA);function dA(){return I(this,dA),cA.apply(this,arguments)}return b(dA,[{key:"_defaults",get:function(){return j.defaults}},{key:"set",value:function(mA){return K(S(dA.prototype),"set",this).call(this,mA),j.fire("interactable:set",{options:mA,interactable:this}),this}},{key:"unset",value:function(){K(S(dA.prototype),"unset",this).call(this);var mA=j.interactables.list.indexOf(this);mA<0||(j.interactables.list.splice(mA,1),j.fire("interactable:unset",{interactable:this}))}}]),dA}(mi)}return b(R,[{key:"addListeners",value:function(F,j){this.listenerMaps.push({id:j,map:F})}},{key:"fire",value:function(F,j){for(var nA=0,cA=this.listenerMaps;nA<cA.length;nA++){var dA=cA[nA].map[F];if(dA&&dA(j,this,F)===!1)return!1}}},{key:"init",value:function(F){return this.isInitialized?this:function(j,nA){return j.isInitialized=!0,d.window(nA)&&k(nA),r.init(nA),E.init(nA),fe.init(nA),j.window=nA,j.document=nA.document,j.usePlugin(Nt),j.usePlugin(ct),j}(this,F)}},{key:"pluginIsInstalled",value:function(F){var j=F.id;return j?!!this._plugins.map[j]:this._plugins.list.indexOf(F)!==-1}},{key:"usePlugin",value:function(F,j){if(!this.isInitialized)return this;if(this.pluginIsInstalled(F))return this;if(F.id&&(this._plugins.map[F.id]=F),this._plugins.list.push(F),F.install&&F.install(this,j),F.listeners&&F.before){for(var nA=0,cA=this.listenerMaps.length,dA=F.before.reduce(function(IA,yA){return IA[yA]=!0,IA[tn(yA)]=!0,IA},{});nA<cA;nA++){var mA=this.listenerMaps[nA].id;if(mA&&(dA[mA]||dA[tn(mA)]))break}this.listenerMaps.splice(nA,0,{id:F.id,map:F.listeners})}else F.listeners&&this.listenerMaps.push({id:F.id,map:F.listeners});return this}},{key:"addDocument",value:function(F,j){if(this.getDocIndex(F)!==-1)return!1;var nA=v(F);j=j?eA({},j):{},this.documents.push({doc:F,options:j}),this.events.documents.push(F),F!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:F,window:nA,scope:this,options:j})}},{key:"removeDocument",value:function(F){var j=this.getDocIndex(F),nA=v(F),cA=this.documents[j].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(j,1),this.events.documents.splice(j,1),this.fire("scope:remove-document",{doc:F,window:nA,scope:this,options:cA})}},{key:"getDocIndex",value:function(F){for(var j=0;j<this.documents.length;j++)if(this.documents[j].doc===F)return j;return-1}},{key:"getDocOptions",value:function(F){var j=this.getDocIndex(F);return j===-1?null:this.documents[j].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),R}();function tn(R){return R&&R.replace(/\/.*$/,"")}var qr=new jr,Gt=qr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;qr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(R){var F=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var cA=nA[0],dA=nA[1];return cA in R||dA in R}),j=function(nA,cA){for(var dA=R.range,mA=R.limits,IA=mA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:mA,yA=R.offset,xA=yA===void 0?{x:0,y:0}:yA,DA={range:dA,grid:R,x:null,y:null},GA=0;GA<F.length;GA++){var jA=F[GA],ce=jA[0],re=jA[1],de=Math.round((nA-xA.x)/R[ce]),ye=Math.round((cA-xA.y)/R[re]);DA[ce]=Math.max(IA.left,Math.min(IA.right,de*R[ce]+xA.x)),DA[re]=Math.max(IA.top,Math.min(IA.bottom,ye*R[re]+xA.y))}return DA};return j.grid=R,j.coordFields=F,j}}),Hs={id:"snappers",install:function(R){var F=R.interactStatic;F.snappers=eA(F.snappers||{},Ps),F.createSnapGrid=F.snappers.grid}},Ks=Hs,nn={start:function(R){var F=R.state,j=R.rect,nA=R.edges,cA=R.pageCoords,dA=F.options,mA=dA.ratio,IA=dA.enabled,yA=F.options,xA=yA.equalDelta,DA=yA.modifiers;mA==="preserve"&&(mA=j.width/j.height),F.startCoords=eA({},cA),F.startRect=eA({},j),F.ratio=mA,F.equalDelta=xA;var GA=F.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(F.xIsPrimaryAxis=!(!nA.left&&!nA.right),F.equalDelta){var jA=(GA.left?1:-1)*(GA.top?1:-1);F.edgeSign={x:jA,y:jA}}else F.edgeSign={x:GA.left?-1:1,y:GA.top?-1:1};if(IA!==!1&&eA(nA,GA),DA!=null&&DA.length){var ce=new Jo(R.interaction);ce.copyFrom(R.interaction.modification),ce.prepareStates(DA),F.subModification=ce,ce.startAll(i({},R))}},set:function(R){var F=R.state,j=R.rect,nA=R.coords,cA=F.linkedEdges,dA=eA({},nA),mA=F.equalDelta?Cg:un;if(eA(R.edges,cA),mA(F,F.xIsPrimaryAxis,nA,j),!F.subModification)return null;var IA=eA({},j);gA(cA,IA,{x:nA.x-dA.x,y:nA.y-dA.y});var yA=F.subModification.setAll(i(i({},R),{},{rect:IA,edges:cA,pageCoords:nA,prevCoords:nA,prevRect:IA})),xA=yA.delta;return yA.changed&&(mA(F,Math.abs(xA.x)>Math.abs(xA.y),yA.coords,yA.rect),eA(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(R,F,j){var nA=R.startCoords,cA=R.edgeSign;F?j.y=nA.y+(j.x-nA.x)*cA.y:j.x=nA.x+(j.y-nA.y)*cA.x}function un(R,F,j,nA){var cA=R.startRect,dA=R.startCoords,mA=R.ratio,IA=R.edgeSign;if(F){var yA=nA.width/mA;j.y=dA.y+(yA-cA.height)*IA.y}else{var xA=nA.height*mA;j.x=dA.x+(xA-cA.width)*IA.x}}var Bg=Fn(nn,"aspectRatio"),Xr=function(){};Xr._defaults={};var yn=Xr;function Ln(R,F,j){return d.func(R)?oA(R,F.interactable,F.element,[j.x,j.y,F]):oA(R,F.interactable,F.element)}var Ki={start:function(R){var F=R.rect,j=R.startOffset,nA=R.state,cA=R.interaction,dA=R.pageCoords,mA=nA.options,IA=mA.elementRect,yA=eA({left:0,top:0,right:0,bottom:0},mA.offset||{});if(F&&IA){var xA=Ln(mA.restriction,cA,dA);if(xA){var DA=xA.right-xA.left-F.width,GA=xA.bottom-xA.top-F.height;DA<0&&(yA.left+=DA,yA.right+=DA),GA<0&&(yA.top+=GA,yA.bottom+=GA)}yA.left+=j.left-F.width*IA.left,yA.top+=j.top-F.height*IA.top,yA.right+=j.right-F.width*(1-IA.right),yA.bottom+=j.bottom-F.height*(1-IA.bottom)}nA.offset=yA},set:function(R){var F=R.coords,j=R.interaction,nA=R.state,cA=nA.options,dA=nA.offset,mA=Ln(cA.restriction,j,F);if(mA){var IA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=eA({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(mA);F.x=Math.max(Math.min(IA.right-dA.right,F.x),IA.left+dA.left),F.y=Math.max(Math.min(IA.bottom-dA.bottom,F.y),IA.top+dA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},ht=Fn(Ki,"restrict"),$n={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Vo={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(R,F){for(var j=0,nA=["top","left","bottom","right"];j<nA.length;j++){var cA=nA[j];cA in R||(R[cA]=F[cA])}return R}var Ei={noInner:$n,noOuter:Vo,start:function(R){var F,j=R.interaction,nA=R.startOffset,cA=R.state,dA=cA.options;dA&&(F=hA(Ln(dA.offset,j,j.coords.start.page))),F=F||{x:0,y:0},cA.offset={top:F.y+nA.top,left:F.x+nA.left,bottom:F.y-nA.bottom,right:F.x-nA.right}},set:function(R){var F=R.coords,j=R.edges,nA=R.interaction,cA=R.state,dA=cA.offset,mA=cA.options;if(j){var IA=eA({},F),yA=Ln(mA.inner,nA,IA)||{},xA=Ln(mA.outer,nA,IA)||{};Ts(yA,$n),Ts(xA,Vo),j.top?F.y=Math.min(Math.max(xA.top+dA.top,IA.y),yA.top+dA.top):j.bottom&&(F.y=Math.max(Math.min(xA.bottom+dA.bottom,IA.y),yA.bottom+dA.bottom)),j.left?F.x=Math.min(Math.max(xA.left+dA.left,IA.x),yA.left+dA.left):j.right&&(F.x=Math.max(Math.min(xA.right+dA.right,IA.x),yA.right+dA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Fn(Ei,"restrictEdges"),Eg=eA({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(R){}},Ki.defaults),Qg=Fn({start:Ki.start,set:Ki.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},Ar={width:1/0,height:1/0},Ti=Fn({start:function(R){return Ei.start(R)},set:function(R){var F=R.interaction,j=R.state,nA=R.rect,cA=R.edges,dA=j.options;if(cA){var mA=EA(Ln(dA.min,F,R.coords))||Us,IA=EA(Ln(dA.max,F,R.coords))||Ar;j.options={endOnly:dA.endOnly,inner:eA({},Ei.noInner),outer:eA({},Ei.noOuter)},cA.top?(j.options.inner.top=nA.bottom-mA.height,j.options.outer.top=nA.bottom-IA.height):cA.bottom&&(j.options.inner.bottom=nA.top+mA.height,j.options.outer.bottom=nA.top+IA.height),cA.left?(j.options.inner.left=nA.right-mA.width,j.options.outer.left=nA.right-IA.width):cA.right&&(j.options.inner.right=nA.left+mA.width,j.options.outer.right=nA.left+IA.width),Ei.set(R),j.options=dA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Vr={start:function(R){var F,j=R.interaction,nA=R.interactable,cA=R.element,dA=R.rect,mA=R.state,IA=R.startOffset,yA=mA.options,xA=yA.offsetWithOrigin?function(jA){var ce=jA.interaction.element,re=hA(oA(jA.state.options.origin,null,null,[ce])),de=re||CA(jA.interactable,ce,jA.interaction.prepared.name);return de}(R):{x:0,y:0};if(yA.offset==="startCoords")F={x:j.coords.start.page.x,y:j.coords.start.page.y};else{var DA=oA(yA.offset,nA,cA,[j]);(F=hA(DA)||{x:0,y:0}).x+=xA.x,F.y+=xA.y}var GA=yA.relativePoints;mA.offsets=dA&&GA&&GA.length?GA.map(function(jA,ce){return{index:ce,relativePoint:jA,x:IA.left-dA.width*jA.x+F.x,y:IA.top-dA.height*jA.y+F.y}}):[{index:0,relativePoint:null,x:F.x,y:F.y}]},set:function(R){var F=R.interaction,j=R.coords,nA=R.state,cA=nA.options,dA=nA.offsets,mA=CA(F.interactable,F.element,F.prepared.name),IA=eA({},j),yA=[];cA.offsetWithOrigin||(IA.x-=mA.x,IA.y-=mA.y);for(var xA=0,DA=dA;xA<DA.length;xA++)for(var GA=DA[xA],jA=IA.x-GA.x,ce=IA.y-GA.y,re=0,de=cA.targets.length;re<de;re++){var ye=cA.targets[re],Qe=void 0;(Qe=d.func(ye)?ye(jA,ce,F._proxy,GA,re):ye)&&yA.push({x:(d.number(Qe.x)?Qe.x:jA)+GA.x,y:(d.number(Qe.y)?Qe.y:ce)+GA.y,range:d.number(Qe.range)?Qe.range:cA.range,source:ye,index:re,offset:GA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},TA=0;TA<yA.length;TA++){var PA=yA[TA],VA=PA.range,Ce=PA.x-IA.x,He=PA.y-IA.y,Ke=lA(Ce,He),Oe=Ke<=VA;VA===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&VA!==1/0?Ke/VA<kA.distance/kA.range:VA===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=PA,kA.distance=Ke,kA.range=VA,kA.inRange=Oe,kA.delta.x=Ce,kA.delta.y=He)}return kA.inRange&&(j.x=kA.target.x,j.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Fn(Vr,"snap"),Co={start:function(R){var F=R.state,j=R.edges,nA=F.options;if(!j)return null;R.state={options:{targets:null,relativePoints:[{x:j.left?0:1,y:j.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},F.targetFields=F.targetFields||[["width","height"],["x","y"]],Vr.start(R),F.offsets=R.state.offsets,R.state=F},set:function(R){var F=R.interaction,j=R.state,nA=R.coords,cA=j.options,dA=j.offsets,mA={x:nA.x-dA[0].x,y:nA.y-dA[0].y};j.options=eA({},cA),j.options.targets=[];for(var IA=0,yA=cA.targets||[];IA<yA.length;IA++){var xA=yA[IA],DA=void 0;if(DA=d.func(xA)?xA(mA.x,mA.y,F):xA){for(var GA=0,jA=j.targetFields;GA<jA.length;GA++){var ce=jA[GA],re=ce[0],de=ce[1];if(re in DA||de in DA){DA.x=DA[re],DA.y=DA[de];break}}j.options.targets.push(DA)}}var ye=Vr.set(R);return j.options=cA,ye},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Aa=Fn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:ht,restrictRect:Qg,restrictSize:Ti,snapEdges:Fn({start:function(R){var F=R.edges;return F?(R.state.targetFields=R.state.targetFields||[[F.left?"left":"right",F.top?"top":"bottom"]],Co.start(R)):null},set:Co.set,defaults:eA(Hi(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:Aa,spring:yn,avoid:yn,transform:yn,rubberband:yn},Os={id:"modifiers",install:function(R){var F=R.interactStatic;for(var j in R.usePlugin(Zo),R.usePlugin(Ks),F.modifiers=Bo,Bo){var nA=Bo[j],cA=nA._defaults,dA=nA._methods;cA._methods=dA,R.defaults.perAction[j]=cA}}},Ig=Os,er=function(R){w(j,R);var F=$(j);function j(nA,cA,dA,mA,IA,yA){var xA;if(I(this,j),Z(H(xA=F.call(this,IA)),dA),dA!==cA&&Z(H(xA),cA),xA.timeStamp=yA,xA.originalEvent=dA,xA.type=nA,xA.pointerId=UA(cA),xA.pointerType=SA(cA),xA.target=mA,xA.currentTarget=null,nA==="tap"){var DA=IA.getPointerIndex(cA);xA.dt=xA.timeStamp-IA.pointers[DA].downTime;var GA=xA.timeStamp-IA.tapTime;xA.double=!!IA.prevTap&&IA.prevTap.type!=="doubletap"&&IA.prevTap.target===xA.target&&GA<500}else nA==="doubletap"&&(xA.dt=cA.timeStamp-IA.tapTime,xA.double=!0);return xA}return b(j,[{key:"_subtractOrigin",value:function(nA){var cA=nA.x,dA=nA.y;return this.pageX-=cA,this.pageY-=dA,this.clientX-=cA,this.clientY-=dA,this}},{key:"_addOrigin",value:function(nA){var cA=nA.x,dA=nA.y;return this.pageX+=cA,this.pageY+=dA,this.clientX+=cA,this.clientY+=dA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),j}(Be),Qi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(R){R.pointerEvents=Qi,R.defaults.actions.pointerEvents=Qi.defaults,eA(R.actions.phaselessTypes,Qi.types)},listeners:{"interactions:new":function(R){var F=R.interaction;F.prevTap=null,F.tapTime=0},"interactions:update-pointer":function(R){var F=R.down,j=R.pointerInfo;!F&&j.hold||(j.hold={duration:1/0,timeout:null})},"interactions:move":function(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget;R.duplicate||j.pointerIsDown&&!j.pointerWasMoved||(j.pointerIsDown&&Kt(R),ii({interaction:j,pointer:nA,event:cA,eventTarget:dA,type:"move"},F))},"interactions:down":function(R,F){(function(j,nA){for(var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget,yA=j.pointerIndex,xA=cA.pointers[yA].hold,DA=AA(IA),GA={interaction:cA,pointer:dA,event:mA,eventTarget:IA,type:"hold",targets:[],path:DA,node:null},jA=0;jA<DA.length;jA++){var ce=DA[jA];GA.node=ce,nA.fire("pointerEvents:collect-targets",GA)}if(GA.targets.length){for(var re=1/0,de=0,ye=GA.targets;de<ye.length;de++){var Qe=ye[de].eventable.options.holdDuration;Qe<re&&(re=Qe)}xA.duration=re,xA.timeout=setTimeout(function(){ii({interaction:cA,eventTarget:IA,pointer:dA,event:mA,type:"hold"},nA)},re)}})(R,F),ii(R,F)},"interactions:up":function(R,F){Kt(R),ii(R,F),function(j,nA){var cA=j.interaction,dA=j.pointer,mA=j.event,IA=j.eventTarget;cA.pointerWasMoved||ii({interaction:cA,eventTarget:IA,pointer:dA,event:mA,type:"tap"},nA)}(R,F)},"interactions:cancel":function(R,F){Kt(R),ii(R,F)}},PointerEvent:er,fire:ii,collectEventTargets:ea,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function ii(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget,mA=R.type,IA=R.targets,yA=IA===void 0?ea(R,F):IA,xA=new er(mA,nA,cA,dA,j,F.now());F.fire("pointerEvents:new",{pointerEvent:xA});for(var DA={interaction:j,pointer:nA,event:cA,eventTarget:dA,targets:yA,type:mA,pointerEvent:xA},GA=0;GA<yA.length;GA++){var jA=yA[GA];for(var ce in jA.props||{})xA[ce]=jA.props[ce];var re=CA(jA.eventable,jA.node);if(xA._subtractOrigin(re),xA.eventable=jA.eventable,xA.currentTarget=jA.node,jA.eventable.fire(xA),xA._addOrigin(re),xA.immediatePropagationStopped||xA.propagationStopped&&GA+1<yA.length&&yA[GA+1].node!==xA.currentTarget)break}if(F.fire("pointerEvents:fired",DA),mA==="tap"){var de=xA.double?ii({interaction:j,pointer:nA,event:cA,eventTarget:dA,type:"doubletap"},F):xA;j.prevTap=de,j.tapTime=de.timeStamp}return xA}function ea(R,F){var j=R.interaction,nA=R.pointer,cA=R.event,dA=R.eventTarget,mA=R.type,IA=j.getPointerIndex(nA),yA=j.pointers[IA];if(mA==="tap"&&(j.pointerWasMoved||!yA||yA.downTarget!==dA))return[];for(var xA=AA(dA),DA={interaction:j,pointer:nA,event:cA,eventTarget:dA,type:mA,path:xA,targets:[],node:null},GA=0;GA<xA.length;GA++){var jA=xA[GA];DA.node=jA,F.fire("pointerEvents:collect-targets",DA)}return mA==="hold"&&(DA.targets=DA.targets.filter(function(ce){var re,de;return ce.eventable.options.holdDuration===((re=j.pointers[IA])==null||(de=re.hold)==null?void 0:de.duration)})),DA.targets}function Kt(R){var F=R.interaction,j=R.pointerIndex,nA=F.pointers[j].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var ta=Object.freeze({__proto__:null,default:Qi});function mo(R){var F=R.interaction;F.holdIntervalHandle&&(clearInterval(F.holdIntervalHandle),F.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(R){R.usePlugin(Qi);var F=R.pointerEvents;F.defaults.holdRepeatInterval=0,F.types.holdrepeat=R.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(R,F){return R["pointerEvents:".concat(F)]=mo,R},{"pointerEvents:new":function(R){var F=R.pointerEvent;F.type==="hold"&&(F.count=(F.count||0)+1)},"pointerEvents:fired":function(R,F){var j=R.interaction,nA=R.pointerEvent,cA=R.eventTarget,dA=R.targets;if(nA.type==="hold"&&dA.length){var mA=dA[0].eventable.options.holdRepeatInterval;mA<=0||(j.holdIntervalHandle=setTimeout(function(){F.pointerEvents.fire({interaction:j,eventTarget:cA,type:"hold",pointer:nA,event:nA},F)},mA))}}})},zs=$s,fg={id:"pointer-events/interactableTargets",install:function(R){var F=R.Interactable;F.prototype.pointerEvents=function(nA){return eA(this.events.options,nA),this};var j=F.prototype._backCompatOption;F.prototype._backCompatOption=function(nA,cA){var dA=j.call(this,nA,cA);return dA===this&&(this.events.options[nA]=cA),dA}},listeners:{"pointerEvents:collect-targets":function(R,F){var j=R.targets,nA=R.node,cA=R.type,dA=R.eventTarget;F.interactables.forEachMatch(nA,function(mA){var IA=mA.events,yA=IA.options;IA.types[cA]&&IA.types[cA].length&&mA.testIgnoreAllow(yA,nA,dA)&&j.push({node:nA,eventable:IA,props:{interactable:mA}})})},"interactable:new":function(R){var F=R.interactable;F.events.getRect=function(j){return F.getRect(j)}},"interactable:set":function(R,F){var j=R.interactable,nA=R.options;eA(j.events.options,F.pointerEvents.defaults),eA(j.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(R){R.usePlugin(ta),R.usePlugin(zs),R.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(R){var F=R.Interactable;R.actions.phases.reflow=!0,F.prototype.reflow=function(j){return function(nA,cA,dA){for(var mA=nA.getAllElements(),IA=dA.window.Promise,yA=IA?[]:null,xA=function(){var GA=mA[DA],jA=nA.getRect(GA);if(!jA)return 1;var ce,re=$A(dA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===GA&&Qe.prepared.name===cA.name});if(re)re.move(),yA&&(ce=re._reflowPromise||new IA(function(Qe){re._reflowResolve=Qe}));else{var de=EA(jA),ye=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:de.x,y:de.y},client:{x:de.x,y:de.y},timeStamp:dA.now()});ce=function(Qe,kA,TA,PA,VA){var Ce=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Ce,event:VA,pointer:VA,eventTarget:TA,phase:"reflow"};Ce.interactable=kA,Ce.element=TA,Ce.prevEvent=VA,Ce.updatePointer(VA,VA,TA,!0),iA(Ce.coords.delta),gt(Ce.prepared,PA),Ce._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(zn){Ce._reflowResolve=zn}):void 0;return Ce._reflowPromise=on,Ce.start(PA,kA,TA),Ce._interacting?(Ce.move(He),Ce.end(VA)):(Ce.stop(),Ce._reflowResolve()),Ce.removePointer(VA,VA),on}(dA,nA,GA,cA,ye)}yA&&yA.push(ce)},DA=0;DA<mA.length&&!xA();DA++);return yA&&IA.all(yA).then(function(){return nA})}(this,j,R)}},listeners:{"interactions:stop":function(R,F){var j=R.interaction;j.pointerType==="reflow"&&(j._reflowResolve&&j._reflowResolve(),function(nA,cA){nA.splice(nA.indexOf(cA),1)}(F.interactions.list,j))}}},Ui=Dg;if(Gt.use(ti),Gt.use(Jr),Gt.use(yg),Gt.use(ug),Gt.use(Ig),Gt.use(ei),Gt.use(zA),Gt.use(ze),Gt.use(Ui),Gt.default=Gt,u(n)==="object"&&n)try{n.exports=Gt}catch{}return Gt.default=Gt,Gt})}(Cs,Cs.exports);var l_=Cs.exports;const Jp=fu(l_),Ag=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,u=t,I=A.inject(Fp),o=A.inject(Rp);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),y=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let w=!1,S=!1,N=NaN,H=NaN,$=NaN,K=NaN,T=-1,D=-1,Q=-1,L=-1,k=i.x,v=i.y,B=i.w,p=i.h;const d=A.ref(),l=A.reactive({i:A.toRef(i,"i"),state:y,wrapper:d,calcXY:oA});function g(rA){O(rA)}function s(){tA()}function h(rA){In(i.isDraggable)&&(y.draggable=rA)}function C(rA){In(i.isResizable)&&(y.resizable=rA)}function a(rA){In(i.isBounded)&&(y.bounded=rA)}function r(rA){y.transformScale=rA}function m(rA){y.rowHeight=rA}function E(rA){y.maxRows=rA}function M(){y.rtl=zp()==="rtl",tA()}function x(rA){y.cols=Math.floor(rA)}I.increaseItem(l),A.onBeforeMount(()=>{y.rtl=zp()==="rtl"}),A.onMounted(()=>{I.responsive&&I.lastBreakpoint?y.cols=Op(I.lastBreakpoint,I.cols):y.cols=I.colNum,y.rowHeight=I.rowHeight,y.containerWidth=I.width!==null?I.width:100,y.margin=I.margin!==void 0?I.margin.map(Number):[10,10],y.maxRows=I.maxRows,In(i.isDraggable)?y.draggable=I.isDraggable:y.draggable=i.isDraggable,In(i.isResizable)?y.resizable=I.isResizable:y.resizable=i.isResizable,In(i.isBounded)?y.bounded=I.isBounded:y.bounded=i.isBounded,y.transformScale=I.transformScale,y.useCssTransforms=I.useCssTransforms,y.useStyleCursor=I.useStyleCursor,A.watchEffect(()=>{k=i.x,v=i.y,p=i.h,B=i.w,jt(_)}),o.on("updateWidth",g),o.on("compact",s),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",m),o.on("setMaxRows",E),o.on("directionchange",M),o.on("setColNum",x)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",s),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",m),o.off("setMaxRows",E),o.off("directionchange",M),o.off("setColNum",x),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(l)}),e({state:y,wrapper:d});const P=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,Y=A.computed(()=>y.resizable&&!i.static),J=A.computed(()=>I.isMirrored?!y.rtl:y.rtl),q=A.computed(()=>(y.draggable||y.resizable)&&!i.static),W=t_("item"),z=A.computed(()=>({[W.b()]:!0,[W.bm("resizable")]:Y.value,[W.bm("static")]:i.static,[W.bm("resizing")]:y.isResizing,[W.bm("dragging")]:y.isDragging,[W.bm("transform")]:y.useCssTransforms,[W.bm("rtl")]:J.value,[W.bm("no-touch")]:P&&q.value})),X=A.computed(()=>[W.be("resizer"),J.value&&W.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,rA=>{y.draggable=rA}),A.watch(()=>i.static,()=>{jt(Z),jt(iA)}),A.watch(()=>y.draggable,()=>{jt(Z)}),A.watch(()=>i.isResizable,rA=>{y.resizable=rA}),A.watch(()=>i.isBounded,rA=>{y.bounded=rA}),A.watch(()=>y.resizable,()=>{jt(iA)}),A.watch(()=>y.rowHeight,()=>{jt(_),jt(AA)}),A.watch([()=>y.cols,()=>y.containerWidth],()=>{jt(iA),jt(_),jt(AA)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(iA)}),A.watch(J,()=>{jt(iA),jt(_)}),A.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const rA=I.margin;!rA||rA[0]===y.margin[0]&&rA[1]===y.margin[1]||(y.margin=rA.map(Number),jt(_),jt(AA))});function _(){i.x+i.w>y.cols?(k=0,B=i.w>y.cols?y.cols:i.w):(k=i.x,B=i.w);const rA=sA(k,v,B,p);y.isDragging&&(rA.top=y.dragging.top,J.value?rA.right=y.dragging.left:rA.left=y.dragging.left),y.isResizing&&(rA.width=y.resizing.width,rA.height=y.resizing.height);let BA;y.useCssTransforms?J.value?BA=Xk(rA.top,rA.right,rA.width,rA.height):BA=qk(rA.top,rA.left,rA.width,rA.height):J.value?BA=A_(rA.top,rA.right,rA.width,rA.height):BA=Vk(rA.top,rA.left,rA.width,rA.height),y.style=BA}function AA(){const rA={};for(const BA of["width","height"]){const vA=y.style[BA].match(/^(\d+)px$/);if(!vA)return;rA[BA]=vA[1]}u("container-resized",i.i,i.h,i.w,rA.height,rA.width)}function G(rA){if(i.static)return;const BA=rA.type;if(BA==="resizestart"&&y.isResizing||BA!=="resizestart"&&!y.isResizing)return;const vA=Up(rA);if(In(vA))return;const{x:UA,y:JA}=vA,qA={width:0,height:0};let WA;switch(BA){case"resizestart":{iA(),T=B,D=p,WA=sA(k,v,B,p),qA.width=WA.width,qA.height=WA.height,y.resizing=qA,y.isResizing=!0;break}case"resizemove":{!rA.edges.right&&!rA.edges.left&&($=UA),!rA.edges.top&&!rA.edges.bottom&&(K=JA);const le=Yp($,K,UA,JA);J.value?qA.width=y.resizing.width-le.deltaX/y.transformScale:qA.width=y.resizing.width+le.deltaX/y.transformScale,qA.height=y.resizing.height+le.deltaY/y.transformScale,y.resizing=qA;break}case"resizeend":{WA=sA(k,v,B,p),qA.width=WA.width,qA.height=WA.height,y.resizing={width:-1,height:-1},y.isResizing=!1;break}}WA=CA(qA.height,qA.width),WA.w<i.minW&&(WA.w=i.minW),WA.w>i.maxW&&(WA.w=i.maxW),WA.h<i.minH&&(WA.h=i.minH),WA.h>i.maxH&&(WA.h=i.maxH),WA.h<1&&(WA.h=1),WA.w<1&&(WA.w=1),$=UA,K=JA,(B!==WA.w||p!==WA.h)&&u("resize",i.i,WA.h,WA.w,qA.height,qA.width),rA.type==="resizeend"&&(T!==B||D!==p)&&u("resized",i.i,WA.h,WA.w,qA.height,qA.width),o.emit("resizeEvent",rA.type,i.i,k,v,WA.h,WA.w)}function eA(rA){if(i.static||y.isResizing)return;const BA=rA.type;if(BA==="dragstart"&&y.isDragging||BA!=="dragstart"&&!y.isDragging)return;const vA=Up(rA);if(In(vA))return;const{x:UA,y:JA}=vA,qA=rA.target;if(!qA.offsetParent)return;const WA={top:0,left:0};switch(BA){case"dragstart":{Q=k,L=v;const ne=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/y.transformScale,ZA=ne.left/y.transformScale,Be=LA.right/y.transformScale,De=ne.right/y.transformScale,xe=LA.top/y.transformScale,YA=ne.top/y.transformScale;J.value?WA.left=(Be-De)*-1:WA.left=SA-ZA,WA.top=xe-YA,y.dragging=WA,y.isDragging=!0;break}case"dragmove":{const ne=Yp(N,H,UA,JA);if(J.value?WA.left=y.dragging.left-ne.deltaX/y.transformScale:WA.left=y.dragging.left+ne.deltaX/y.transformScale,WA.top=y.dragging.top+ne.deltaY/y.transformScale,y.bounded){const LA=qA.offsetParent.clientHeight-EA(i.h,y.rowHeight,y.margin[1]);WA.top=gA(WA.top,0,LA);const SA=hA(),ZA=y.containerWidth-EA(i.w,SA,y.margin[0]);WA.left=gA(WA.left,0,ZA)}y.dragging=WA;break}case"dragend":{const ne=qA.offsetParent.getBoundingClientRect(),LA=qA.getBoundingClientRect(),SA=LA.left/y.transformScale,ZA=ne.left/y.transformScale,Be=LA.right/y.transformScale,De=ne.right/y.transformScale,xe=LA.top/y.transformScale,YA=ne.top/y.transformScale;J.value?WA.left=(Be-De)*-1:WA.left=SA-ZA,WA.top=xe-YA,y.dragging={top:-1,left:-1},y.isDragging=!1;break}}let le;J.value,le=oA(WA.top,WA.left),N=UA,H=JA,(k!==le.x||v!==le.y)&&u("move",i.i,le.x,le.y),rA.type==="dragend"&&(Q!==k||L!==v)&&u("moved",i.i,le.x,le.y),o.emit("dragEvent",rA.type,i.i,le.x,le.y,p,B)}function sA(rA,BA,vA,UA){const JA=hA();let qA;return J.value?qA={right:Math.round(JA*rA+(rA+1)*y.margin[0]),top:Math.round(y.rowHeight*BA+(BA+1)*y.margin[1]),width:vA===1/0?vA:Math.round(JA*vA+Math.max(0,vA-1)*y.margin[0]),height:UA===1/0?UA:Math.round(y.rowHeight*UA+Math.max(0,UA-1)*y.margin[1])}:qA={left:Math.round(JA*rA+(rA+1)*y.margin[0]),top:Math.round(y.rowHeight*BA+(BA+1)*y.margin[1]),width:vA===1/0?vA:Math.round(JA*vA+Math.max(0,vA-1)*y.margin[0]),height:UA===1/0?UA:Math.round(y.rowHeight*UA+Math.max(0,UA-1)*y.margin[1])},qA}function oA(rA,BA){const vA=hA();let UA=Math.round((BA-y.margin[0])/(vA+y.margin[0])),JA=Math.round((rA-y.margin[1])/(y.rowHeight+y.margin[1]));return UA=Math.max(Math.min(UA,y.cols-B),0),JA=Math.max(Math.min(JA,y.maxRows-p),0),{x:UA,y:JA}}function hA(){return(y.containerWidth-y.margin[0]*(y.cols+1))/y.cols}function EA(rA,BA,vA){return Number.isFinite(rA)?Math.round(BA*rA+Math.max(0,rA-1)*vA):rA}function gA(rA,BA,vA){return Math.max(Math.min(rA,vA),BA)}function CA(rA,BA,vA=!1){const UA=hA();let JA=Math.round((BA+y.margin[0])/(UA+y.margin[0])),qA=0;return vA?qA=Math.ceil((rA+y.margin[1])/(y.rowHeight+y.margin[1])):qA=Math.round((rA+y.margin[1])/(y.rowHeight+y.margin[1])),JA=Math.max(Math.min(JA,y.cols-k),0),qA=Math.max(Math.min(qA,y.maxRows-v),0),{w:JA,h:qA}}function O(rA,BA){y.containerWidth=rA}function tA(){_()}function lA(){!b.value&&d.value&&(b.value=Jp(d.value),y.useStyleCursor||b.value.styleCursor(!1))}const uA=xp(eA);function Z(){if(lA(),!!b.value)if(y.draggable&&!i.static){const rA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(rA),w||(w=!0,b.value.on("dragstart dragmove dragend",BA=>{BA.type==="dragmove"?uA(BA):eA(BA)}))}else b.value.draggable({enabled:!1})}const V=xp(G);function iA(){if(lA(),!!b.value)if(y.resizable&&!i.static){const rA=sA(0,0,i.maxW,i.maxH),BA=sA(0,0,i.minW,i.minH),vA={edges:{left:J.value?`.${X.value[0]}`:!1,right:J.value?!1:`.${X.value[0]}`,bottom:`.${X.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:BA.height*y.transformScale,width:BA.width*y.transformScale},max:{height:rA.height*y.transformScale,width:rA.width*y.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(vA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(vA),S||(S=!0,b.value.on("resizestart resizemove resizeend",UA=>{UA.type==="resizemove"?V(UA):G(UA)}))}else b.value.resizable({enabled:!1})}return(rA,BA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:d,class:A.normalizeClass(z.value),style:A.normalizeStyle(y.style)},[A.renderSlot(rA.$slots,"default"),Y.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(X.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ro=typeof window<"u";var Zp;ro&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Kr(){}const c_=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(c_)));const g_=ro&&("ontouchstart"in window||d_()>0),u_=g_?"pointerdown":"click";function d_(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function h_(n,e,t=window.Event){const{type:i,bubbles:u=!1,cancelable:I=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:u,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,u,I)),Object.assign(b,o),n.dispatchEvent(b)}const p_="clickoutside",C_=new Set;ro&&document.addEventListener(u_,n=>{const e=n.target,t=n.composedPath&&n.composedPath();C_.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&h_(i,{type:p_})})},!0);const B_=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Tr;if(ro){for(const n of B_)if(n[1]in document){Tr=n;break}}const m_=!!Tr;A.computed(()=>!1);const E_=new Set,Q_=new WeakMap;if(ro&&Tr){const n=Tr[2],e=Tr[4];document.addEventListener(e,()=>{if(E_.forEach(t=>{t.value=!1}),document[n]){const t=Q_.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var ao=[],I_=function(){return ao.some(function(n){return n.activeTargets.length>0})},f_=function(){return ao.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",w_=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Ur;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ur||(Ur={}));var so=function(n){return Object.freeze(n)},b_=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,so(this)}return n}(),Xp=function(){function n(e,t,i,u){return this.x=e,this.y=t,this.width=i,this.height=u,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,so(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,u=e.top,I=e.right,o=e.bottom,b=e.left,y=e.width,w=e.height;return{x:t,y:i,top:u,right:I,bottom:o,left:b,width:y,height:w}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),eg=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(eg(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var u=n,I=u.offsetWidth,o=u.offsetHeight;return!(I||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},y_=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Yr=typeof window<"u"?window:{},Bs=new WeakMap,eC=/auto|scroll/,D_=/^tb|vertical/,v_=/msie|trident/i.test(Yr.navigator&&Yr.navigator.userAgent),Ai=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new b_((t?e:n)||0,(t?n:e)||0)},tC=so({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),Bs.has(n)&&!e)return Bs.get(n);if(Vp(n))return Bs.set(n,tC),tC;var t=getComputedStyle(n),i=eg(n)&&n.ownerSVGElement&&n.getBBox(),u=!v_&&t.boxSizing==="border-box",I=D_.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),y=i?0:Ai(t.paddingTop),w=i?0:Ai(t.paddingRight),S=i?0:Ai(t.paddingBottom),N=i?0:Ai(t.paddingLeft),H=i?0:Ai(t.borderTopWidth),$=i?0:Ai(t.borderRightWidth),K=i?0:Ai(t.borderBottomWidth),T=i?0:Ai(t.borderLeftWidth),D=N+w,Q=y+S,L=T+$,k=H+K,v=b?n.offsetHeight-k-n.clientHeight:0,B=o?n.offsetWidth-L-n.clientWidth:0,p=u?D+L:0,d=u?Q+k:0,l=i?i.width:Ai(t.width)-p-B,g=i?i.height:Ai(t.height)-d-v,s=l+D+B+L,h=g+Q+v+k,C=so({devicePixelContentBoxSize:$o(Math.round(l*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:$o(s,h,I),contentBoxSize:$o(l,g,I),contentRect:new Xp(N,y,l,g)});return Bs.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),u=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Ur.DEVICE_PIXEL_CONTENT_BOX:return o;case Ur.BORDER_BOX:return u;default:return I}},k_=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=so([t.borderBoxSize]),this.contentBoxSize=so([t.contentBoxSize]),this.devicePixelContentBoxSize=so([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},__=function(){var n=1/0,e=[];ao.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var y=new k_(b.target),w=oC(b.target);o.push(y),b.lastReportedSize=iC(b.target,b.observedBox),w<n&&(n=w)}),e.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var u=i[t];u()}return n},rC=function(n){ao.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},M_=function(){var n=0;for(rC(n);I_();)n=__(),rC(n);return f_()&&w_(),n>0},tg,aC=[],x_=function(){return aC.splice(0).forEach(function(n){return n()})},S_=function(n){if(!tg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return x_()}).observe(t,i),tg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),tg()},N_=function(n){S_(function(){requestAnimationFrame(n)})},ms=0,F_=function(){return!!ms},R_=250,L_={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},ng=!1,G_=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=R_),!ng){ng=!0;var i=lC(e);N_(function(){var u=!1;try{u=M_()}finally{if(ng=!1,e=i-lC(),!F_())return;u?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,L_)};document.body?t():Yr.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Yr.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Yr.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ig=new G_,cC=function(n){!ms&&n>0&&ig.start(),ms+=n,!ms&&ig.stop()},P_=function(n){return!eg(n)&&!y_(n)&&getComputedStyle(n).display==="inline"},H_=function(){function n(e,t){this.target=e,this.observedBox=t||Ur.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return P_(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),K_=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Es=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},Qs=function(){function n(){}return n.connect=function(e,t){var i=new K_(e,t);Es.set(e,i)},n.observe=function(e,t,i){var u=Es.get(e),I=u.observationTargets.length===0;gC(u.observationTargets,t)<0&&(I&&ao.push(u),u.observationTargets.push(new H_(t,i&&i.box)),cC(1),ig.schedule())},n.unobserve=function(e,t){var i=Es.get(e),u=gC(i.observationTargets,t),I=i.observationTargets.length===1;u>=0&&(I&&ao.splice(ao.indexOf(i),1),i.observationTargets.splice(u,1),cC(-1))},n.disconnect=function(e){var t=this,i=Es.get(e);i.observationTargets.slice().forEach(function(u){return t.unobserve(e,u.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),T_=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Qs.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qs.unobserve(this,e)},n.prototype.disconnect=function(){Qs.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const Is=new WeakMap;function U_(n){var e;for(let t=0,i=n.length;t<i;++t){const u=n[t],I=Is.get(u.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(e=u.borderBoxSize)==null?void 0:e[0],{offsetWidth:y,offsetHeight:w}=u.target;I(Object.assign(u,{offsetWidth:y,offsetHeight:w,width:o??y,height:b??w}))}}}const uC=new(ro&&window.ResizeObserver||T_)(U_);function dC(n,e){Is.set(n,e),uC.observe(n)}function hC(n){Is.has(n)&&(uC.unobserve(n),Is.delete(n))}function Y_(n={}){let e=Kr;const t=A.watch(()=>A.unref(n.target),u=>{e(),!(!u||typeof n.onResize!="function")&&(dC(u,n.onResize),e=()=>{hC(u),e=Kr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:dC,unobserveResize:hC,unobserve:i}}const O_=A.ref(!1);A.computed(()=>O_.value);const pC="__theme_style__",og="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ro)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${og} { width: 1px }`,i=1;for(const[u,[I,o]]of CC.entries())t+=` html.${I} .${og}, .${o} .${og} { width: ${++i}px }`,BC.set(i,u);e.textContent=t,e.id=pC,document.head.appendChild(e)});const $_=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,u=t,I=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),y=A.ref(),{observeResize:w,unobserveResize:S}=Y_(),N=Ok();N.on("resizeEvent",H),N.on("dragEvent",$),A.onBeforeMount(()=>{u("layout-before-mount",b.value)}),A.onMounted(()=>{u("layout-mounted",b.value),A.nextTick(()=>{e_(b.value),I.originalLayout=b.value,A.nextTick(()=>{g(),y.value&&w(y.value,$k(k,16)),Oo(b.value,i.verticalCompact),u("layout-updated",b.value),L(),k()})})}),A.onBeforeUnmount(()=>{N.clearAll(),y.value&&S(y.value)});function H(h,C,a,r,m,E){d(h,C,a,r,m,E)}function $(h,C,a,r,m,E){p(h,C,a,r,m,E)}A.watch(()=>I.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{u("layout-ready",b.value)}),L()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,Q()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(u("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),k()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],L),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(I),increaseItem:K,decreaseItem:T})),A.provide(Rp,N),e({state:I,getItem:D,resizeEvent:d,dragEvent:p,layoutUpdate:Q});function K(h){o.set(h.i,h)}function T(h){o.delete(h.i)}function D(h){return o.get(h)}function Q(){if(!In(b.value)&&!In(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const h=s(b.value,I.originalLayout);if(h.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!C.has(a.i))}I.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),L(),u("layout-updated",b.value)}}function L(){I.mergedStyle={height:v()}}function k(){y.value&&(I.width=y.value.offsetWidth),N.emit("resizeEvent")}function v(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return Jk(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,m,E){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((x,{i:P,x:Y,y:J})=>({...x,[P]:{x:Y,y:J}}),{})),h==="dragmove"||h==="dragstart"?(I.placeholder.i=C,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=E,I.placeholder.h=m,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):A.nextTick(()=>{I.isDragging=!1}),b.value=Vc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),L(),h==="dragend"&&(B=void 0,u("layout-updated",b.value))}function d(h,C,a,r,m,E){let M=Gp(b.value,C);In(M)&&(M={h:0,w:0,x:0,y:0,i:""});let x;if(i.preventCollision){const P=Pp(b.value,{...M,w:E,h:m}).filter(Y=>Y.i!==M.i);if(x=P.length>0,x){let Y=1/0,J=1/0;P.forEach(q=>{q.x>M.x&&(Y=Math.min(Y,q.x)),q.y>M.y&&(J=Math.min(J,q.y))}),Number.isFinite(Y)&&(M.w=Y-M.x),Number.isFinite(J)&&(M.h=J-M.y)}}x||(M.w=E,M.h=m),h==="resizestart"||h==="resizemove"?(I.placeholder.i=C,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):h&&A.nextTick(()=>{I.isDragging=!1}),i.responsive&&l(),Oo(b.value,i.verticalCompact),N.emit("compact"),L(),h==="resizeend"&&u("layout-updated",b.value)}function l(){const h=o_(i.breakpoints,I.width);if(h===I.lastBreakpoint)return;const C=Op(h,i.cols);!In(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=Xc(b.value));const a=r_(I.originalLayout,I.layouts,i.breakpoints,h,I.lastBreakpoint,C,i.verticalCompact);I.layouts[h]=a,I.lastBreakpoint!==h&&u("breakpoint-changed",h,a),b.value=a,u("update:layout",a),I.lastBreakpoint=h,N.emit("setColNum",C)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function s(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),m=h.filter(M=>!a.has(M.i)),E=C.filter(M=>!r.has(M.i));return m.concat(E)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:y,class:"vgl-layout",style:A.normalizeStyle(I.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Ag,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Ag,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const wt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=ci(),u=Qt(),I=A.ref({});function o(N,H){N&&(I.value[H]=N)}let b=[];const y=()=>{if(!t.value)return;const N=new Map;for(const H of t.value)N.has(H.x)||N.set(H.x,[]),N.get(H.x).push(H);for(const H of N.values()){H.sort((K,T)=>K.y-T.y);let $=0;for(const K of H)K.y=$,$+=K.h}t.value=[...t.value]},w=e,S=()=>{w("gridItemMoved")};return A.onMounted(()=>{Object.keys(I.value).forEach(N=>{const H=I.value[N];if(!H)return;const $=new ResizeObserver(K=>{for(let T of K){const D=T.contentRect.height+28;if(t.value){const Q=t.value[0].rowHeight||30,L=t.value.find(k=>k.i===N);L&&(L.contentHeight=Math.ceil((D+8)/(Q+8)),L.h>0&&(L.h=Math.ceil((D+8)/(Q+8))))}}y()});$.observe(H),b.push($)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,H)=>A.unref(u).design?(A.openBlock(),A.createBlock(qc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,($,K)=>(A.openBlock(),A.createBlock(A.unref(Ag),{onMoved:S,key:$.i,x:$.x,y:$.y,w:$.w,h:$.h,i:$.i,class:A.normalizeClass($.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:T=>o(T,$.i)},[A.createVNode(oo,A.mergeProps({ref_for:!0},N.list[K]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,$=>(A.openBlock(),A.createBlock(oo,A.mergeProps({key:$.name,ref_for:!0},$),null,16))),128))}}),z_={key:0,class:"btn-render-wrapper"},lo=se(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),u=async o=>{if(o.onClick&&e){try{i.value[o.key]=!0,await e[o.onClick](t,o)}catch(b){console.error(b+`
|
|
105
|
+
onClick: ${o.onClick}`)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const y=A.resolveComponent("el-button"),w=A.resolveComponent("el-tooltip"),S=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",z_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(wt,{key:0,list:[I(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(S,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,H=>(A.openBlock(),A.createBlock(w,{key:H.key,disabled:!H.tooltip,content:H.tooltip,placement:"top"},{default:A.withCtx(()=>[H.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:H.key,onClick:$=>u(H),disabled:H.disabled,type:H.type,text:H.isTextBtn,link:H.isLinkBtn,plain:H.isPlainBtn||H.type!=="primary"&&!H.orange,color:H.orange?"#FAA21E":H.color,loading:i.value[H.key],class:A.normalizeClass({orangeBtn:H.orange})},{default:A.withCtx(()=>[H.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:H.icon.name,color:H.icon.color,class:A.normalizeClass({"btn-icon":H.text||H.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(H.text||H.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:2,onClick:H=>u(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange})},{default:A.withCtx(()=>{var H;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:N.icon.name,color:N.icon.color,size:((H=N==null?void 0:N.icon)==null?void 0:H.size)||"small",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-49a497b9"]]),J_={key:0,class:"dropdown-render-wrapper"},Z_=se(A.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=async(u,I)=>{if(I.onClick&&e)try{await e[I.onClick](t,u)}catch(o){console.error(o+`
|
|
106
|
+
onClick: ${I.onClick}`)}};return(u,I)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),y=A.resolveComponent("el-dropdown-menu"),w=A.resolveComponent("el-dropdown");return u.dropdowns&&u.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",J_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.dropdowns,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.key},[S.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(w,{key:0,disabled:S.disabled},{dropdown:A.withCtx(()=>[A.createVNode(y,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:H=>i(N,S)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:S.color},{default:A.withCtx(()=>{var N,H;return[S.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:(N=S.icon)==null?void 0:N.name,class:"left-icon",color:(H=S.icon)==null?void 0:H.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(S.text),1),A.createVNode(Re,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-b9eeb69a"]]),mC=se(A.defineComponent({__name:"Popover",props:{title:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),u=n,I=async()=>{var b,y;const o=(y=(b=u.reference)==null?void 0:b.props)==null?void 0:y.onClick;if(o&&e)try{await e[o](t)}catch(w){console.error(w+`
|
|
107
|
+
onClick: ${o}`)}};return(o,b)=>{const y=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(y,{trigger:u.trigger||"hover",width:u.width,"popper-class":u.noPadding?"no-padding":"",title:u.title,placement:u.placement},{reference:A.withCtx(()=>{var w,S,N,H,$;return[A.createElementVNode("div",{style:A.normalizeStyle(u.ostyle+(i.value?u.hoverStyle:"")),onMouseenter:b[0]||(b[0]=K=>i.value=!0),onMouseleave:b[1]||(b[1]=K=>i.value=!1)},[((w=u.reference)==null?void 0:w.component)==="Icon"?(A.openBlock(),A.createBlock(Re,{key:0,name:(N=(S=u.reference)==null?void 0:S.props)==null?void 0:N.name,color:i.value&&u.hoverColor?u.hoverColor:($=(H=u.reference)==null?void 0:H.props)==null?void 0:$.color,class:"btn-icon cursor-pointer",size:u.size||"normal",onClick:I},null,8,["name","color","size"])):u.reference?(A.openBlock(),A.createBlock(A.unref(wt),{key:1,list:[u.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[o.children?(A.openBlock(),A.createBlock(A.unref(wt),{key:0,list:o.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","popper-class","title","placement"])}}}),[["__scopeId","data-v-61f66fa0"]]),W_={title:"气泡框",component:"Popover",render:mC,icon:A.h(Ie,{name:"password"}),type:"layout",order:9},j_=["innerHTML"],q_=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,j_))}}),X_={title:"HTML",component:"HtmlRender",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:q_},V_={title:"分页",component:"Pagination",icon:A.h(Ie,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>S8))},A2=se(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),u=n;A.ref(!0);const I=o=>{e&&e[u.onClickMenu||"onClickMenu"](t,o)};return A.watch(()=>u.defaultActive,()=>{i.value.updateActiveIndex(u.defaultActive)}),(o,b)=>{var S;const y=A.resolveComponent("el-menu-item"),w=A.resolveComponent("el-menu");return((S=o.data)==null?void 0:S.length)>0?(A.openBlock(),A.createBlock(w,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:o.mode,class:"sui-menu","default-active":o.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.data,N=>(A.openBlock(),A.createBlock(y,{onClick:H=>I(N),key:N.id,index:N.id},{default:A.withCtx(()=>[N.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:N.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(N.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-97338f88"]]),e2={title:"Menu",component:"Menu",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:A2},t2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>G8)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10},n2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Vx)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},i2=Object.freeze(Object.defineProperty({__proto__:null,Alert:f0,Button:Nb,Card:w0,CardList:oy,Cascader:y0,Checkbox:_0,Collapse:Cb,ColorInput:N0,ColorPicker:x0,CurdCard:Pb,Custom:R0,DatePicker:G0,Divider:H0,DragList:ly,Esign:T0,FilterSearch:t2,FormList:$0,Grid:z0,HtmlRender:X_,InfiniteScroll:n2,Inline:J0,Input:h0,InputNumber:W0,JsonEdit:v0,LogList:sy,Menu:e2,ObjGroup:mb,OfferDetails:ry,OrderProgress:ay,Pagination:V_,Password:X0,Popover:W_,Radio:Y0,Rate:tb,SearchInput:kb,SearchSelect:Mb,Select:Ab,SelectInput:ib,Slider:ob,Switch:ab,Table:Gb,Tabs:Bb,Tag:sb,Text:cb,TextArea:C0,Title:gb,Transfer:yb,Tree:Rb,Upload:db,VerifyCode:pb,Wrapper:Hb},Symbol.toStringTag,{value:"Module"})),zo=()=>{const n=A.inject(jn),e={...i2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Sn=()=>A.inject(Nd),Gi=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},o2=A.defineComponent({__name:"Footer",setup(n){const e=Qt(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,u)=>{const I=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(I,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>u[1]||(u[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(I,{onClick:u[0]||(u[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>u[2]||(u[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),EC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(EC(i.children)));return e},QC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(EC(i.schema.items)));return e},IC=Symbol("RefManager"),r2=()=>{const n=new Map,e=new Map;function t(i){const u=i.sort().join(","),I=e.get(u);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,u)=>{n.set(i,u);for(const[I]of e)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const u=i.sort().join(",");if(e.has(u))return e.get(u).promise;let I=null;const o=new Promise(b=>{I=b});return e.set(u,{promise:o,resolve:I}),t(i),o}}},a2=()=>{const n=r2();return A.provide(IC,n),n},fC=()=>{const n=A.inject(IC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},fs=(n,e)=>{const t=fC();return t.register(n,e),()=>{t.unregister(n)}},s2=["id"],fn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,u=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&u[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",u[o.value]);const b=t,y=A.ref(),w=A.useModel(n,"modelValue"),S=A.useModel(n,"realValues"),N=(J,q,W)=>{W===void 0?w.value[J]=q:(S.value[J]=q,w.value[J]=W)},H=J=>w.value[J],$=(J,q)=>{let W=m(T.value.items,J);W&&W.props&&(W.props.disabled=!q)},K=(J,q)=>{let W=m(T.value.items,J);W&&(W.hidden=!q)},T=A.useModel(n,"schema");if(T.value.onValuesChange){const J=A.ref(JSON.stringify(w.value));A.watch(()=>w.value,q=>{J.value=JSON.stringify(q)},{deep:!0}),A.watch(()=>J.value,(q,W)=>{const z=JSON.parse(q),X=JSON.parse(W),_=Object.keys(z).filter(AA=>JSON.stringify(z[AA])!==JSON.stringify(X[AA]));if(!(!o.value||!T.value.onValuesChange))try{u[o.value][T.value.onValuesChange](I,_,X,z)}catch(AA){console.error(AA)}})}const D=A.reactive({}),Q=A.ref({}),L=A.ref(!1),k=ci(),v=A.computed(()=>({...i.schemaContext,$values:w.value,$selectData:D,$locale:k.value})),B=fC();A.onMounted(async()=>{var W,z;if((W=i.schema)!=null&&W.initialValues){const X=(z=i.schema)==null?void 0:z.initialValues;C(X),w.value=ut.mergeWith(X,w.value,(_,AA)=>{if(Array.isArray(_))return AA})}await A.nextTick();const J=QC({content:[{type:"form",schema:T.value}]});if(await B.waitForKeys(J),!T.value||!T.value.onMounted||!o.value)return;const q=T.value.onMounted;try{u[o.value][q](I)}catch(X){console.error(X)}}),A.onActivated(()=>{if(!T.value||!T.value.onActivated||!o.value)return;const J=T.value.onActivated;try{u[o.value][J](I)}catch(q){console.error(q)}});const p=()=>{var J;return(J=y.value)==null?void 0:J.validate()},d=J=>{const q=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],W=z=>{z.forEach(X=>{q.includes(X.component)?X.props&&(X.props.disabled=J):X.children&&W(X.children)})};W(T.value.items)},l=()=>{var J;(J=p())==null||J.then(()=>{b("finish",w.value)}).catch(q=>{b("failed",q)})},g=J=>{if(b("reset"),J){let q=ut.cloneDeep(w.value);J.forEach(W=>{q=ko(q,W,ma(Q.value,W))}),w.value=q}else w.value=ut.cloneDeep(A.toRaw(Q.value))},s=(J,q=!0)=>{q?Object.assign(w.value,J):w.value=J},h=(J,q)=>{D[J]=q},C=J=>{Q.value={...J}},a=()=>Q.value,r=J=>{L.value=J},m=(J,q)=>{for(const W of J){if(W.name===q)return W;if(W.children&&W.children.length>0){const z=m(W.children,q);if(z)return z}}return null},E=J=>{const q=m(T.value.items,J);!q||q.component!=="Select"||(q.props&&q.props.mode==="static"&&(Array.isArray(q.props.options)&&q.props.options.findIndex(z=>{var X;return z[((X=q.props)==null?void 0:X.valueKey)||"value"]===w.value[J]})!==-1||(w.value[J]=q.props.options[0][q.props.valueKey||"value"])),q.props&&(q.props.refreshFlag=!0))},M=J=>{var q;(q=y.value)==null||q.clearValidate(J)},x=J=>{T.value.hidden=J},P=A.useTemplateRef("rootRef"),Y=A.reactive({...A.toRefs(i),formValues:w,formRealValues:S,selectData:D,initialValues:Q,context:v,vCodePass:L,updateFormValues:s,updateSelectData:h,updateInitialValues:C,getInitialValues:a,updateVCodePass:r,validate:p,resetFields:g,submit:l,setDisabled:d,findItemByName:m,setFieldEditSts:$,setFieldVisibleSts:K,setFieldValue:N,getFieldValue:H,refreshDynamicListBox:E,setHidden:x,clearValidate:M,rootRef:P,type:"form"});return A.provide(Sd,Y),e(Y),(J,q)=>{const W=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:P,id:T.value.key},[T.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(W,A.mergeProps({key:0,model:w.value,"label-position":T.value.labelPosition,size:T.value.size,"hide-required-asterisk":T.value.hideRequiredAsterisk,"scroll-to-error":T.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:y},J.$attrs,{onSubmit:q[0]||(q[0]=A.withModifiers(()=>{},["prevent"]))}),{default:A.withCtx(()=>[A.renderSlot(J.$slots,"default"),A.createVNode(A.unref(wt),{list:T.value.items},null,8,["list"]),A.createVNode(o2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],8,s2)}}}),l2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,y)=>b.order-y.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),u=Fd[e];return[{title:u.menus.basicTitle,children:i("basic")},{title:u.menus.highTitle,children:i("high")},{title:u.menus.layoutTitle,children:i("layout")},{title:u.menus.assistTitle,children:i("assist")}]},c2=A.defineComponent({__name:"index",setup(n){var S;const e=A.ref(!1),t=Sn(),i=zo(),u=ci(),I=nc(),o=(S=t.templates)!=null&&S.length?t.templates:PE,b=A.computed(()=>l2({elements:i,omits:t.omitMenus||[],lang:I.value})),y=N=>{t.updateSchema(N)},w=N=>{const H={component:N.component,designKey:`design-${Mi(4)}`,name:`form-${Mi(4)}`};return N.type==="layout"&&(H.children=[]),H};return(N,H)=>{const $=A.resolveComponent("el-button"),K=A.resolveComponent("el-space"),T=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode($,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:H[0]||(H[0]=D=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(u).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(T,{modelValue:e.value,"onUpdate:modelValue":H[1]||(H[1]=D=>e.value=D),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(K,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:D,schema:Q})=>(A.openBlock(),A.createBlock($,{key:D,onClick:L=>y(Q)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(D),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:D,children:Q})=>(A.openBlock(),A.createElementBlock("div",{key:D,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(D),3),A.createVNode(A.unref(kp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:Q,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:w},{item:A.withCtx(({element:L})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(L.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(I)==="zh"?"12px":"10px"})},A.toDisplayString(L.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),g2=n=>`<template>
|
|
108
108
|
<FormRender v-model="formValues" :schema="schema" ref="formRef" />
|
|
109
109
|
<el-button @click="handleSubmit">提交</el-button>
|
|
110
110
|
</template>
|
|
@@ -188,7 +188,7 @@ const handleSubmit = async () => {
|
|
|
188
188
|
]
|
|
189
189
|
}`,h2=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
190
190
|
|
|
191
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,p2=n=>`export default ${JSON.stringify(n,null,2)}`,C2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var w;const e=Sn(),t=ci(),u=(w=zo().JsonEdit)==null?void 0:w.render,I=A.computed({get(){return e.schema},set(S){S.items&&e.updateSchema(S)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),y=S=>{e.updateSchema({...e.schema,items:Pd(e.schema.items)}),S.repair()};return(S,N)=>{const H=A.resolveComponent("el-tab-pane"),$=A.resolveComponent("el-tabs"),K=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=T=>b.value=T),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=T=>o.value={})},{default:A.withCtx(()=>[A.createVNode($,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(H,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(u),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=T=>I.value=T),style:{height:"70vh"},onBlur:y},null,8,["modelValue"])]),_:1}),A.createVNode(H,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"ts",code:A.unref(h2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(H,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"js",code:A.unref(p2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(H,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"json",code:A.unref(d2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),B2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=ci(),i=A.useModel(n,"modelValue");return(u,I)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),y=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(y,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=w=>i.value=w),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},code:A.unref(g2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},code:A.unref(u2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),m2=se(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),{JsonEdit:t}=zo(),i=A.ref("edit"),u=A.ref(),I=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var w;return(w=u.value)==null?void 0:w.context}),y=ci();return(w,S)=>{const N=A.resolveComponent("el-tab-pane"),H=A.resolveComponent("el-tabs"),$=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock($,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=K=>o.value=K),title:A.unref(y).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=K=>I.value={})},{default:A.withCtx(()=>[A.createVNode(H,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[0]||(S[0]=K=>I.value=K),schema:A.unref(e).schema,ref_key:"formRef",ref:u,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[1]||(S[1]=K=>I.value=K),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[S[6]||(S[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=K=>b.value=K),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4e20ef5c"]]),E2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const u=A.resolveComponent("el-option"),I=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(I,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(u,{label:"中文",value:"zh"}),A.createVNode(u,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Q2=A.defineComponent({__name:"index",setup(n){const e=Sn(),t=ci(),i=A.ref(!1),u=A.ref(!1),I=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{u.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Yt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(y,w)=>{const S=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(E2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:H,icon:$,onClick:K})=>(A.openBlock(),A.createBlock(S,{key:N,type:H,size:"small",onClick:K},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[$?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:$},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(C2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(B2,{modelValue:u.value,"onUpdate:modelValue":w[1]||(w[1]=N=>u.value=N)},null,8,["modelValue"]),A.createVNode(m2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=N=>I.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),I2=A.defineComponent({__name:"index",setup(n){const e=Sn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(Q2),A.createVNode(A.unref(fn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=u=>A.unref(e).schema=u),design:""},null,8,["class","schema"])],2))}}),f2=()=>({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:"联动字段"}}]}),w2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=A.useModel(n,"modelValue");return(i,u)=>{const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":u[1]||(u[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:A.unref(e).current,"onUpdate:modelValue":u[0]||(u[0]=o=>A.unref(e).current=o),schema:A.unref(f2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),b2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},y2={class:"config-linkages"},D2=se(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,u)=>{var o;const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":u[1]||(u[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",y2,[A.createVNode(A.unref(fn),{modelValue:A.unref(e).current,"onUpdate:modelValue":u[0]||(u[0]=b=>A.unref(e).current=b),schema:A.unref(b2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),v2=A.defineComponent({__name:"index",setup(n){const e=ci(),t=A.ref(!1),i=A.ref(!1),u=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=A.resolveComponent("el-divider"),y=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.value,({title:w,onClick:S})=>(A.openBlock(),A.createBlock(y,{key:w,type:"primary",plain:"",size:"small",onClick:S},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(w),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(D2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),A.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),k2={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"}]},_2={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"}]},M2={class:"more"},x2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,u)=>{const I=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(I,null,{default:A.withCtx(()=>u[4]||(u[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(fn),{modelValue:e.value,"onUpdate:modelValue":u[0]||(u[0]=y=>e.value=y),schema:A.unref(k2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",M2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:u[1]||(u[1]=y=>t.value=!0)},{default:A.withCtx(()=>u[5]||(u[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":u[3]||(u[3]=y=>t.value=y),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:e.value,"onUpdate:modelValue":u[2]||(u[2]=y=>e.value=y),schema:A.unref(_2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),S2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=zo(),t=nc(),i=A.useModel(n,"modelValue"),u=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(w=[])=>w.map(S=>{const N=ma(i.value,S.name),H=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:H?"Input":S.component,dialog:H||S.dialog,children:S.children&&b(S.children)}}),y=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...y]}}return{size:"small",labelPosition:"top",items:[]}}),I=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(fn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=y=>i.value=y),schema:u.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(x2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=y=>I.value=y)},null,8,["modelValue"])),A.createVNode(v2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=y=>i.value=y)},null,8,["modelValue"])],2))}}),N2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},F2=A.defineComponent({__name:"FormEdit",setup(n){const e=Sn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,u)=>(A.openBlock(),A.createBlock(A.unref(fn),{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=I=>t.value=I),schema:A.unref(N2)},null,8,["modelValue","schema"]))}}),R2=A.defineComponent({__name:"index",setup(n){const e=ci(),t=Sn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,u)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":u[1]||(u[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(I,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode(S2,{modelValue:A.unref(t).current,"onUpdate:modelValue":u[0]||(u[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(I,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(F2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,u=A.ref(""),I=A.useModel(n,"modelValue"),o=A.computed({get(){return I.value.items},set(w){I.value.items=w}}),b=A.computed({get(){return tc(o.value,u.value)},set(w){u.value=w.designKey,o.value=Rd(o.value,w)}}),y=A.reactive({...A.toRefs(t),currentKey:u,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(w){y.current=w},updateHoverKey(w){y.hoverKey=w},updateSchema:w=>{Object.assign(I.value,w)},updateList:w=>{o.value=w},handleEmit:(w,S)=>{i(w,S)}});return A.provide(Nd,y),(w,S)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},w.$attrs),[A.createVNode(c2),A.createVNode(I2),A.createVNode(R2)],16))}}),L2={class:"card-header"},G2={class:"card-btns"},P2={key:0,class:"switch-panel"},H2=se(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(u=>({isLinkBtn:!0,...u})):[]);return(u,I)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(u.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:u.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",L2,[u.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=y=>t.value=!t.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(u.header),1),A.createElementVNode("div",G2,[u.typeSwitch?(A.openBlock(),A.createElementBlock("div",P2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:u.tableType==="card"}]),onClick:I[1]||(I[1]=y=>u.switchTableType("card"))},[A.createVNode(Re,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:u.tableType==="table"}]),onClick:I[2]||(I[2]=y=>u.switchTableType("table"))},[A.createVNode(Re,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(lo),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(u.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-ba931f35"]]),K2={class:"empty-content"},T2=["title"],U2=["title","onClick"],Y2={key:1,class:"icon-text-wrapper"},O2=["title"],$2=["title"],z2={class:"row-btn-wrapper"},bC=se(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(u,I)=>{const o=A.resolveComponent("el-table-column"),b=A.resolveComponent("el-tooltip"),y=A.resolveComponent("el-button"),w=A.resolveComponent("FormItemGroup"),S=A.resolveComponent("el-popover"),N=A.resolveComponent("el-table"),H=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{tableBorder:u.schema.displayType==="table",[u.schema.key]:!0}])},[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:u.tableData,stripe:u.schema.stripe,"highlight-current-row":"","row-key":u.schema.rowKey,onRowClick:u.handleRowClick,onRowDblclick:u.handleRowDblclick,onSelectionChange:u.handleSelectionChange,onCurrentChange:u.handleCurrentChange,height:u.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",K2,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),I[2]||(I[2]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var $;return[u.schema.multipleSelection?(A.openBlock(),A.createBlock(o,{key:0,type:"selection",width:"55",selectable:u.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.schema.columns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.key},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(o,{key:0,prop:K.key,"min-width":K.minWidth,fixed:K.fixed||!1},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:K.label},A.toDisplayString(K.label),9,T2)]),default:A.withCtx(({row:T,$index:D})=>{var Q,L,k,v;return[K.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":K.onClick}]),title:u.getColText(K,T),onClick:B=>u.handleClick(K,T,D,B)},A.toDisplayString(u.getColText(K,T)),11,U2)):K.type==="iconText"?(A.openBlock(),A.createElementBlock("div",Y2,[K.iconPosition==="left"?(A.openBlock(),A.createBlock(Re,{key:0,name:(Q=u.getIconInfo(K,T))==null?void 0:Q.name,color:(L=u.getIconInfo(K,T))==null?void 0:L.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:u.getColText(K,T)},A.toDisplayString(u.getColText(K,T)),9,O2),K.iconPosition==="right"?(A.openBlock(),A.createBlock(Re,{key:1,name:(k=u.getIconInfo(K,T))==null?void 0:k.name,color:(v=u.getIconInfo(K,T))==null?void 0:v.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:"text-ellipsis",title:u.getColText(K,T)},A.toDisplayString(u.getColText(K,T)),9,$2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),u.hasVisibleRowBtn&&(($=u.schema.rowBtns)!=null&&$.length)?(A.openBlock(),A.createBlock(o,{key:1,label:u.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:u.schema.rowBtnsWidth||(u.schema.rowBtns.length*34+12>100?u.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:K,$index:T})=>[A.createElementVNode("div",z2,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.schema.rowBtns,D=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:D.key},[D.component==="Popover"?(A.openBlock(),A.createBlock(S,{key:0},{reference:A.withCtx(()=>[D.condition===void 0||D.condition===null||A.unref(Rt)(D.condition,{$row:K,$globalParams:u.getGlobalParams()})?(A.openBlock(),A.createBlock(y,{key:0,disabled:D.disabled,link:"",size:"small",type:D.type,onClick:Q=>u.handleClick(D,K,T,Q)},{default:A.withCtx(()=>[A.createVNode(b,{class:"box-item",effect:"dark",content:D.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:A.withCtx(()=>[D.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:D.icon.name,color:D.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),D.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(D.buttonText.text,{$row:K,$globalParams:u.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(w,{list:D.children},null,8,["list"])])]),_:2},1024)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[D.condition===void 0||D.condition===null||A.unref(Rt)(D.condition,{$row:K,$globalParams:u.getGlobalParams()})?(A.openBlock(),A.createBlock(y,{key:0,disabled:D.disabled,link:"",size:"small",type:D.type,onClick:Q=>u.handleClick(D,K,T,Q)},{default:A.withCtx(()=>[A.createVNode(b,{class:"box-item",effect:"dark",content:D.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:A.withCtx(()=>[D.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:D.icon.name,color:D.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),D.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(D.buttonText.text,{$row:K,$globalParams:u.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,u.schema.displayType==="table"]]),A.withDirectives(A.createVNode(ic,A.mergeProps(u.schema,{data:u.tableData,"get-col-text":u.getColText}),null,16,["data","get-col-text"]),[[A.vShow,u.schema.displayType==="card"]]),A.createElementVNode("div",{class:A.normalizeClass(["pagination-wrapper",{hidePagination:u.schema.hiddenPagination||u.tableData.length===0,cardlistPadding:u.schema.displayType==="card"}])},[A.createVNode(H,{layout:u.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:u.total,"page-sizes":u.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":u.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=$=>t.value.pageNum=$),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=$=>t.value.pageSize=$),"pager-count":u.schema.pagerCount,onSizeChange:u.handleSizeChange,onCurrentChange:u.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-d102b632"]]),J2=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),u=A.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),y=A.inject(jn),w=y?y.translateFn:null;u.value&&A.provide("ruleModule",I[u.value]);const S=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),H=(CA,O)=>{const tA=i.value.columns.find(lA=>lA.key===CA);tA&&(tA.hidden=!O)},$=(CA,O,tA,lA)=>{if(u.value)try{I[u.value][CA.onClick](o,O,tA),lA==null||lA.stopPropagation()}catch(uA){console.error(uA)}},K=CA=>{if(!(!i.value.rowClick||!u.value))try{I[u.value][i.value.rowClick](o,CA)}catch(O){console.error(O)}},T=CA=>{if(!(!i.value.rowDbClick||!u.value))try{I[u.value][i.value.rowDbClick](o,CA)}catch(O){console.error(O)}},D=A.ref([]),Q=CA=>{D.value=CA},L=(CA,O)=>{if(!i.value.selectable||!u.value)return!0;try{return I[u.value][i.value.selectable](o,CA,O)}catch(tA){console.error(tA)}return!0},k=(CA,O,tA)=>{N.value[CA]&&(N.value[CA][O]=tA)},v=()=>{var CA,O;(O=(CA=S.value)==null?void 0:CA.tableRef)==null||O.clearSelection()},B=()=>N.value,p=A.ref(),d=CA=>{if(p.value=CA,!(!i.value.handleCurrentChange||!u.value))try{I[u.value][i.value.handleCurrentChange](o,CA)}catch(O){console.error(O)}},l=()=>p.value,g=()=>{var CA,O;return(O=(CA=S.value)==null?void 0:CA.tableRef)==null?void 0:O.getSelectionRows()},s=(CA={})=>{N.value.push(CA)},h=CA=>{CA>=0&&CA<N.value.length&&N.value.splice(CA,1)},C=async()=>{N.value=[...N.value]},a=async()=>!0,r=CA=>{N.value=CA},m=(CA,O)=>{var lA;const tA=(lA=i.value.topBtns)==null?void 0:lA.find(uA=>uA.key===CA);tA&&(tA.hidden=O)},E=(CA,O)=>{var lA;const tA=(lA=i.value.rowBtns)==null?void 0:lA.find(uA=>uA.key===CA);tA&&(tA.condition=!O)},M=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(CA=>{var O;return(O=i.value.rowBtns)==null?void 0:O.some(tA=>tA.condition===void 0||tA.condition===null?!0:Rt(tA.condition,{$row:CA,$globalParams:b()}))})),x=A.ref(0),P=CA=>{x.value=CA},Y=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),q=()=>Y.value,W=CA=>{let O=!1;return CA.pageNum!==void 0&&CA.pageNum>-1&&(Y.value.pageNum!==CA.pageNum&&(O=!0),Y.value.pageNum=CA.pageNum),CA.pageSize!==void 0&&CA.pageSize>-1&&(Y.value.pageSize!==CA.pageSize&&(O=!0),Y.value.pageSize=CA.pageSize),{pagination:Y.value,isChange:O}},z=async CA=>{var lA;if(Y.value.pageNum=1,Y.value.pageSize=CA,!i.value.sizeChange||!u.value)return;const O=(lA=document.getElementById(t.pageKey))==null?void 0:lA.querySelector(`.${i.value.key}`),tA=Yt.ElLoading.service({target:O||`#${i.value.key}`,text:"Loading..."});try{await I[u.value][i.value.sizeChange](o,Y.value),J.value.pageNum=Y.value.pageNum,J.value.pageSize=Y.value.pageSize}catch(uA){console.error(uA),Y.value.pageNum=J.value.pageNum,Y.value.pageSize=J.value.pageSize}finally{tA.close()}},X=async CA=>{var lA;if(Y.value.pageNum=CA,!i.value.pageChange||!u.value)return;const O=(lA=document.getElementById(t.pageKey))==null?void 0:lA.querySelector(`.${i.value.key}`),tA=Yt.ElLoading.service({target:O||`#${i.value.key}`,text:"Loading..."});try{await I[u.value][i.value.pageChange](o,Y.value),J.value.pageNum=Y.value.pageNum,J.value.pageSize=Y.value.pageSize}catch(uA){console.error(uA),Y.value.pageNum=J.value.pageNum,Y.value.pageSize=J.value.pageSize}finally{tA.close()}},_=CA=>{var O,tA;(tA=(O=S.value)==null?void 0:O.tableRef)==null||tA.setCurrentRow(CA)},AA=CA=>{var O,tA;(tA=(O=S.value)==null?void 0:O.tableRef)==null||tA.setCurrentRow(N.value[CA])},G=(CA,O,tA)=>{i.value.columns.forEach(lA=>{lA.key===CA&&lA[O]&&(lA[O]=tA)})},eA=CA=>{i.value.displayType=CA},sA=CA=>{i.value.shadowless=CA},oA=(CA,O)=>{const tA=w?w(CA.key,O):O[CA.key];if(!Rt(CA.encrypted,{$row:O,$col:CA})||!tA)return tA;const uA=`${tA}`;return uA.length<=4?"*".repeat(uA.length):uA.slice(0,-4)+"****"},hA=(CA,O)=>{if(!(!CA.getIconInfo||!u.value))try{return I[u.value][CA.getIconInfo](o,O,CA)}catch(tA){console.error(tA)}},EA=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),A.onMounted(async()=>{if(!i.value||!i.value.onMounted||!u.value)return;await A.nextTick();const CA=i.value.onMounted;try{I[u.value][CA](o)}catch(O){console.error(O)}}),A.onActivated(()=>{if(!i.value||!i.value.onActivated||!u.value)return;const CA=i.value.onActivated;try{I[u.value][CA](o)}catch(O){console.error(O)}});const gA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:v,getData:B,getCurrentRow:l,getSelectedRows:g,addRow:s,deleteRow:h,refresh:C,validate:a,setData:r,selectRow:_,selectRowNum:AA,setTotal:P,getPagination:q,setPagination:W,setTopBtnHidden:m,setColVisible:H,setColumn:G,setRowsBtnHidden:E,setShadowless:sA,rootRef:EA,type:"table"});return e(gA),(CA,O)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:EA,id:i.value.key},[i.value.cardless?(A.openBlock(),A.createBlock(bC,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:X,handleRowClick:K,handleRowDblclick:T,handleSelectionChange:Q,handleCurrentChange:d,getColText:oA,getGlobalParams:A.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:hA,pagination:Y.value,"onUpdate:pagination":O[1]||(O[1]=tA=>Y.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(H2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:eA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(bC,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:X,handleRowClick:K,handleRowDblclick:T,handleSelectionChange:Q,handleCurrentChange:d,getColText:oA,getGlobalParams:A.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:hA,pagination:Y.value,"onUpdate:pagination":O[0]||(O[0]=tA=>Y.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,J2))}}),Z2=["id"],W2={class:"tab-label"},j2={class:"tab-label-text"},q2={key:0,class:"divider"},X2=se(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),u=A.ref({}),I=t,o=A.ref({}),b=B=>p=>{p?o.value[B]=p:delete o.value[B]},y=n,w=A.computed(()=>{var B;return(B=i.value.content.find(p=>p.url===H.value))==null?void 0:B.mixMode}),S=B=>{i.value.content=B},N=B=>{Array.isArray(B)?i.value.content.push(...B):i.value.content.push(B)},H=A.ref(i.value.content[0].url),$=B=>{u.value[B]=!0,A.nextTick(()=>{u.value[B]=!1})},K=A.useTemplateRef("rootRef"),T=B=>o.value[B],D=(B,p)=>{p&&I("addPageParams",p),A.nextTick(()=>{H.value=B,v(B)})},Q=(B,p)=>{const d=i.value.content.find(l=>l.url===B);d&&(d.mixMode=p)},L=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&y.ruleMap[i.value.rulePath]?i.value.rulePath:y.pageRulePath),v=B=>{o.value[B]&&o.value[B].activate();const p=i.value.onChange;try{p&&y.ruleMap[k.value][p](L,B)}catch{}};return e(A.readonly({setTabContent:S,addTabContent:N,schema:i,rootRef:K,findRef:T,changeActiveTab:D,type:"tabs"})),(B,p)=>{var s,h,C;const d=A.resolveComponent("el-skeleton"),l=A.resolveComponent("el-tab-pane"),g=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:K,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,A.mergeProps({key:0},i.value.tabProps,{modelValue:H.value,"onUpdate:modelValue":p[0]||(p[0]=a=>H.value=a),class:["crm-tabs",{mixmode:w.value}],style:{"--top":(s=i.value)!=null&&s.stickyTop?`${(h=i.value)==null?void 0:h.stickyTop}px`:"110px","--is-sticky":(C=i.value)!=null&&C.isSticky?"sticky":"static"},onTabChange:v}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(a,r)=>(A.openBlock(),A.createBlock(l,{name:a.key||a.url,key:a.key||a.url,lazy:r!==0},{label:A.withCtx(()=>[A.createElementVNode("div",W2,[A.createElementVNode("span",j2,A.toDisplayString(a.label),1),r!==i.value.content.length-1?(A.openBlock(),A.createElementBlock("span",q2)):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[u.value[r]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:a.url,"rule-map":B.ruleMap,"page-params":a.pageParams?{...B.pageParams,...a.pageParams}:B.pageParams,ref_for:!0,ref:b(a.url),onRefresh:m=>$(r),onChangeTab:D,onChangeMixMode:Q},{loading:A.withCtx(()=>[A.createVNode(d,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,Z2)}}}),[["__scopeId","data-v-93dca6cb"]]),V2=["id"],A8={class:"info-card-header"},e8={class:"left-part"},t8={class:"title-part"},n8={class:"sub-title-container"},i8={class:"right-part"},o8={class:"info info-card-infos"},r8={class:"info-label"},a8={class:"ml-2"},s8={class:"info-card-detail"},l8={class:"info-card-detail-left"},c8={class:"label"},g8={key:0,class:"divider"},u8={key:0,class:"info-card-detail-right"},d8={class:"detail-right-label"},h8={class:"detail-right-value"},p8=se(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),u=n,I=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[u.pageRulePath]);A.provide("ruleModule",I.value);const o=A.inject("pageMethodMap",{}),b=N=>{const H=document.createElement("textarea");H.value=N??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()},y=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}Yt.ElMessage.success("Copy Successful")},w=N=>{var H;if(I.value[N||"clickTitleIcon"])try{I.value[N||"clickTitleIcon"](o,(H=t.value.header)==null?void 0:H.titleIcon)}catch($){console.error($+`
|
|
191
|
+
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,p2=n=>`export default ${JSON.stringify(n,null,2)}`,C2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var w;const e=Sn(),t=ci(),u=(w=zo().JsonEdit)==null?void 0:w.render,I=A.computed({get(){return e.schema},set(S){S.items&&e.updateSchema(S)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),y=S=>{e.updateSchema({...e.schema,items:Pd(e.schema.items)}),S.repair()};return(S,N)=>{const H=A.resolveComponent("el-tab-pane"),$=A.resolveComponent("el-tabs"),K=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=T=>b.value=T),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=T=>o.value={})},{default:A.withCtx(()=>[A.createVNode($,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(H,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(u),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=T=>I.value=T),style:{height:"70vh"},onBlur:y},null,8,["modelValue"])]),_:1}),A.createVNode(H,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"ts",code:A.unref(h2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(H,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"js",code:A.unref(p2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(H,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},language:"json",code:A.unref(d2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),B2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=ci(),i=A.useModel(n,"modelValue");return(u,I)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),y=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(y,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=w=>i.value=w),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},code:A.unref(g2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(vr),{style:{height:"70vh"},code:A.unref(u2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),m2=se(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),{JsonEdit:t}=zo(),i=A.ref("edit"),u=A.ref(),I=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var w;return(w=u.value)==null?void 0:w.context}),y=ci();return(w,S)=>{const N=A.resolveComponent("el-tab-pane"),H=A.resolveComponent("el-tabs"),$=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock($,{modelValue:o.value,"onUpdate:modelValue":S[4]||(S[4]=K=>o.value=K),title:A.unref(y).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:S[5]||(S[5]=K=>I.value={})},{default:A.withCtx(()=>[A.createVNode(H,{modelValue:i.value,"onUpdate:modelValue":S[3]||(S[3]=K=>i.value=K)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[0]||(S[0]=K=>I.value=K),schema:A.unref(e).schema,ref_key:"formRef",ref:u,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:I.value,"onUpdate:modelValue":S[1]||(S[1]=K=>I.value=K),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[S[6]||(S[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":S[2]||(S[2]=K=>b.value=K),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-a9d66bb1"]]),E2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const u=A.resolveComponent("el-option"),I=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(I,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(u,{label:"中文",value:"zh"}),A.createVNode(u,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Q2=A.defineComponent({__name:"index",setup(n){const e=Sn(),t=ci(),i=A.ref(!1),u=A.ref(!1),I=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{u.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Yt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(y,w)=>{const S=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(S,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(E2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:H,icon:$,onClick:K})=>(A.openBlock(),A.createBlock(S,{key:N,type:H,size:"small",onClick:K},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[$?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:$},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(C2,{modelValue:i.value,"onUpdate:modelValue":w[0]||(w[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(B2,{modelValue:u.value,"onUpdate:modelValue":w[1]||(w[1]=N=>u.value=N)},null,8,["modelValue"]),A.createVNode(m2,{modelValue:I.value,"onUpdate:modelValue":w[2]||(w[2]=N=>I.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),I2=A.defineComponent({__name:"index",setup(n){const e=Sn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(Q2),A.createVNode(A.unref(fn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=u=>A.unref(e).schema=u),design:""},null,8,["class","schema"])],2))}}),f2=()=>({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:"联动字段"}}]}),w2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=A.useModel(n,"modelValue");return(i,u)=>{const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":u[1]||(u[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:A.unref(e).current,"onUpdate:modelValue":u[0]||(u[0]=o=>A.unref(e).current=o),schema:A.unref(f2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),b2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},y2={class:"config-linkages"},D2=se(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Sn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,u)=>{var o;const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":u[1]||(u[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",y2,[A.createVNode(A.unref(fn),{modelValue:A.unref(e).current,"onUpdate:modelValue":u[0]||(u[0]=b=>A.unref(e).current=b),schema:A.unref(b2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),v2=A.defineComponent({__name:"index",setup(n){const e=ci(),t=A.ref(!1),i=A.ref(!1),u=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=A.resolveComponent("el-divider"),y=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.value,({title:w,onClick:S})=>(A.openBlock(),A.createBlock(y,{key:w,type:"primary",plain:"",size:"small",onClick:S},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(w),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(D2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=w=>t.value=w)},null,8,["modelValue"]),A.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=w=>i.value=w)},null,8,["modelValue"])],2)}}}),k2={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"}]},_2={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"}]},M2={class:"more"},x2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,u)=>{const I=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(I,null,{default:A.withCtx(()=>u[4]||(u[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(fn),{modelValue:e.value,"onUpdate:modelValue":u[0]||(u[0]=y=>e.value=y),schema:A.unref(k2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",M2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:u[1]||(u[1]=y=>t.value=!0)},{default:A.withCtx(()=>u[5]||(u[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":u[3]||(u[3]=y=>t.value=y),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(fn),{modelValue:e.value,"onUpdate:modelValue":u[2]||(u[2]=y=>e.value=y),schema:A.unref(_2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),S2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=zo(),t=nc(),i=A.useModel(n,"modelValue"),u=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(w=[])=>w.map(S=>{const N=ma(i.value,S.name),H=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...S,label:t.value==="zh"?S.label:S.name.split(".").pop(),component:H?"Input":S.component,dialog:H||S.dialog,children:S.children&&b(S.children)}}),y=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...y]}}return{size:"small",labelPosition:"top",items:[]}}),I=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(fn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=y=>i.value=y),schema:u.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(x2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=y=>I.value=y)},null,8,["modelValue"])),A.createVNode(v2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=y=>i.value=y)},null,8,["modelValue"])],2))}}),N2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},F2=A.defineComponent({__name:"FormEdit",setup(n){const e=Sn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,u)=>(A.openBlock(),A.createBlock(A.unref(fn),{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=I=>t.value=I),schema:A.unref(N2)},null,8,["modelValue","schema"]))}}),R2=A.defineComponent({__name:"index",setup(n){const e=ci(),t=Sn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,u)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":u[1]||(u[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(I,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode(S2,{modelValue:A.unref(t).current,"onUpdate:modelValue":u[0]||(u[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(I,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(F2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,u=A.ref(""),I=A.useModel(n,"modelValue"),o=A.computed({get(){return I.value.items},set(w){I.value.items=w}}),b=A.computed({get(){return tc(o.value,u.value)},set(w){u.value=w.designKey,o.value=Rd(o.value,w)}}),y=A.reactive({...A.toRefs(t),currentKey:u,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(w){y.current=w},updateHoverKey(w){y.hoverKey=w},updateSchema:w=>{Object.assign(I.value,w)},updateList:w=>{o.value=w},handleEmit:(w,S)=>{i(w,S)}});return A.provide(Nd,y),(w,S)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},w.$attrs),[A.createVNode(c2),A.createVNode(I2),A.createVNode(R2)],16))}}),L2={class:"card-header"},G2={class:"card-btns"},P2={key:0,class:"switch-panel"},H2=se(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(u=>({isLinkBtn:!0,...u})):[]);return(u,I)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(u.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:u.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",L2,[u.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=y=>t.value=!t.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(u.header),1),A.createElementVNode("div",G2,[u.typeSwitch?(A.openBlock(),A.createElementBlock("div",P2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:u.tableType==="card"}]),onClick:I[1]||(I[1]=y=>u.switchTableType("card"))},[A.createVNode(Re,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:u.tableType==="table"}]),onClick:I[2]||(I[2]=y=>u.switchTableType("table"))},[A.createVNode(Re,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(lo),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(u.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-d8e65e0c"]]),K2={class:"empty-content"},T2=["title"],U2=["title","onClick"],Y2={key:1,class:"icon-text-wrapper"},O2=["title"],$2=["title"],z2={class:"row-btn-wrapper"},bC=se(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(u,I)=>{const o=A.resolveComponent("el-table-column"),b=A.resolveComponent("el-tooltip"),y=A.resolveComponent("el-button"),w=A.resolveComponent("FormItemGroup"),S=A.resolveComponent("el-popover"),N=A.resolveComponent("el-table"),H=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{tableBorder:u.schema.displayType==="table",[u.schema.key]:!0}])},[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:u.tableData,stripe:u.schema.stripe,"highlight-current-row":"","row-key":u.schema.rowKey,onRowClick:u.handleRowClick,onRowDblclick:u.handleRowDblclick,onSelectionChange:u.handleSelectionChange,onCurrentChange:u.handleCurrentChange,height:u.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",K2,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),I[2]||(I[2]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var $;return[u.schema.multipleSelection?(A.openBlock(),A.createBlock(o,{key:0,type:"selection",width:"55",selectable:u.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.schema.columns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.key},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(o,{key:0,prop:K.key,"min-width":K.minWidth,fixed:K.fixed||!1},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:K.label},A.toDisplayString(K.label),9,T2)]),default:A.withCtx(({row:T,$index:D})=>{var Q,L,k,v;return[K.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":K.onClick}]),title:u.getColText(K,T),onClick:B=>u.handleClick(K,T,D,B)},A.toDisplayString(u.getColText(K,T)),11,U2)):K.type==="iconText"?(A.openBlock(),A.createElementBlock("div",Y2,[K.iconPosition==="left"?(A.openBlock(),A.createBlock(Re,{key:0,name:(Q=u.getIconInfo(K,T))==null?void 0:Q.name,color:(L=u.getIconInfo(K,T))==null?void 0:L.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:u.getColText(K,T)},A.toDisplayString(u.getColText(K,T)),9,O2),K.iconPosition==="right"?(A.openBlock(),A.createBlock(Re,{key:1,name:(k=u.getIconInfo(K,T))==null?void 0:k.name,color:(v=u.getIconInfo(K,T))==null?void 0:v.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:"text-ellipsis",title:u.getColText(K,T)},A.toDisplayString(u.getColText(K,T)),9,$2))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),u.hasVisibleRowBtn&&(($=u.schema.rowBtns)!=null&&$.length)?(A.openBlock(),A.createBlock(o,{key:1,label:u.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:u.schema.rowBtnsWidth||(u.schema.rowBtns.length*34+12>100?u.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:K,$index:T})=>[A.createElementVNode("div",z2,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.schema.rowBtns,D=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:D.key},[D.component==="Popover"?(A.openBlock(),A.createBlock(S,{key:0},{reference:A.withCtx(()=>[D.condition===void 0||D.condition===null||A.unref(Rt)(D.condition,{$row:K,$globalParams:u.getGlobalParams()})?(A.openBlock(),A.createBlock(y,{key:0,disabled:D.disabled,link:"",size:"small",type:D.type,onClick:Q=>u.handleClick(D,K,T,Q)},{default:A.withCtx(()=>[A.createVNode(b,{class:"box-item",effect:"dark",content:D.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:A.withCtx(()=>[D.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:D.icon.name,color:D.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),D.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(D.buttonText.text,{$row:K,$globalParams:u.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(w,{list:D.children},null,8,["list"])])]),_:2},1024)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[D.condition===void 0||D.condition===null||A.unref(Rt)(D.condition,{$row:K,$globalParams:u.getGlobalParams()})?(A.openBlock(),A.createBlock(y,{key:0,disabled:D.disabled,link:"",size:"small",type:D.type,onClick:Q=>u.handleClick(D,K,T,Q)},{default:A.withCtx(()=>[A.createVNode(b,{class:"box-item",effect:"dark",content:D.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:A.withCtx(()=>[D.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:D.icon.name,color:D.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),D.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:D.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(D.buttonText.text,{$row:K,$globalParams:u.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,u.schema.displayType==="table"]]),A.withDirectives(A.createVNode(ic,A.mergeProps(u.schema,{data:u.tableData,"get-col-text":u.getColText}),null,16,["data","get-col-text"]),[[A.vShow,u.schema.displayType==="card"]]),A.createElementVNode("div",{class:A.normalizeClass(["pagination-wrapper",{hidePagination:u.schema.hiddenPagination||u.tableData.length===0,cardlistPadding:u.schema.displayType==="card"}])},[A.createVNode(H,{layout:u.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:u.total,"page-sizes":u.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":u.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=$=>t.value.pageNum=$),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=$=>t.value.pageSize=$),"pager-count":u.schema.pagerCount,onSizeChange:u.handleSizeChange,onCurrentChange:u.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)],2)}}}),[["__scopeId","data-v-ae54bc96"]]),J2=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),u=A.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),y=A.inject(jn),w=y?y.translateFn:null;u.value&&A.provide("ruleModule",I[u.value]);const S=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),H=(CA,O)=>{const tA=i.value.columns.find(lA=>lA.key===CA);tA&&(tA.hidden=!O)},$=(CA,O,tA,lA)=>{if(u.value)try{I[u.value][CA.onClick](o,O,tA),lA==null||lA.stopPropagation()}catch(uA){console.error(uA)}},K=CA=>{if(!(!i.value.rowClick||!u.value))try{I[u.value][i.value.rowClick](o,CA)}catch(O){console.error(O)}},T=CA=>{if(!(!i.value.rowDbClick||!u.value))try{I[u.value][i.value.rowDbClick](o,CA)}catch(O){console.error(O)}},D=A.ref([]),Q=CA=>{D.value=CA},L=(CA,O)=>{if(!i.value.selectable||!u.value)return!0;try{return I[u.value][i.value.selectable](o,CA,O)}catch(tA){console.error(tA)}return!0},k=(CA,O,tA)=>{N.value[CA]&&(N.value[CA][O]=tA)},v=()=>{var CA,O;(O=(CA=S.value)==null?void 0:CA.tableRef)==null||O.clearSelection()},B=()=>N.value,p=A.ref(),d=CA=>{if(p.value=CA,!(!i.value.handleCurrentChange||!u.value))try{I[u.value][i.value.handleCurrentChange](o,CA)}catch(O){console.error(O)}},l=()=>p.value,g=()=>{var CA,O;return(O=(CA=S.value)==null?void 0:CA.tableRef)==null?void 0:O.getSelectionRows()},s=(CA={})=>{N.value.push(CA)},h=CA=>{CA>=0&&CA<N.value.length&&N.value.splice(CA,1)},C=async()=>{N.value=[...N.value]},a=async()=>!0,r=CA=>{N.value=CA},m=(CA,O)=>{var lA;const tA=(lA=i.value.topBtns)==null?void 0:lA.find(uA=>uA.key===CA);tA&&(tA.hidden=O)},E=(CA,O)=>{var lA;const tA=(lA=i.value.rowBtns)==null?void 0:lA.find(uA=>uA.key===CA);tA&&(tA.condition=!O)},M=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(CA=>{var O;return(O=i.value.rowBtns)==null?void 0:O.some(tA=>tA.condition===void 0||tA.condition===null?!0:Rt(tA.condition,{$row:CA,$globalParams:b()}))})),x=A.ref(0),P=CA=>{x.value=CA},Y=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),q=()=>Y.value,W=CA=>{let O=!1;return CA.pageNum!==void 0&&CA.pageNum>-1&&(Y.value.pageNum!==CA.pageNum&&(O=!0),Y.value.pageNum=CA.pageNum),CA.pageSize!==void 0&&CA.pageSize>-1&&(Y.value.pageSize!==CA.pageSize&&(O=!0),Y.value.pageSize=CA.pageSize),{pagination:Y.value,isChange:O}},z=async CA=>{var lA;if(Y.value.pageNum=1,Y.value.pageSize=CA,!i.value.sizeChange||!u.value)return;const O=(lA=document.getElementById(t.pageKey))==null?void 0:lA.querySelector(`.${i.value.key}`),tA=Yt.ElLoading.service({target:O||`#${i.value.key}`,text:"Loading..."});try{await I[u.value][i.value.sizeChange](o,Y.value),J.value.pageNum=Y.value.pageNum,J.value.pageSize=Y.value.pageSize}catch(uA){console.error(uA),Y.value.pageNum=J.value.pageNum,Y.value.pageSize=J.value.pageSize}finally{tA.close()}},X=async CA=>{var lA;if(Y.value.pageNum=CA,!i.value.pageChange||!u.value)return;const O=(lA=document.getElementById(t.pageKey))==null?void 0:lA.querySelector(`.${i.value.key}`),tA=Yt.ElLoading.service({target:O||`#${i.value.key}`,text:"Loading..."});try{await I[u.value][i.value.pageChange](o,Y.value),J.value.pageNum=Y.value.pageNum,J.value.pageSize=Y.value.pageSize}catch(uA){console.error(uA),Y.value.pageNum=J.value.pageNum,Y.value.pageSize=J.value.pageSize}finally{tA.close()}},_=CA=>{var O,tA;(tA=(O=S.value)==null?void 0:O.tableRef)==null||tA.setCurrentRow(CA)},AA=CA=>{var O,tA;(tA=(O=S.value)==null?void 0:O.tableRef)==null||tA.setCurrentRow(N.value[CA])},G=(CA,O,tA)=>{i.value.columns.forEach(lA=>{lA.key===CA&&lA[O]&&(lA[O]=tA)})},eA=CA=>{i.value.displayType=CA},sA=CA=>{i.value.shadowless=CA},oA=(CA,O)=>{const tA=w?w(CA.key,O):O[CA.key];if(!Rt(CA.encrypted,{$row:O,$col:CA})||!tA)return tA;const uA=`${tA}`;return uA.length<=4?"*".repeat(uA.length):uA.slice(0,-4)+"****"},hA=(CA,O)=>{if(!(!CA.getIconInfo||!u.value))try{return I[u.value][CA.getIconInfo](o,O,CA)}catch(tA){console.error(tA)}},EA=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table"),A.onMounted(async()=>{if(!i.value||!i.value.onMounted||!u.value)return;await A.nextTick();const CA=i.value.onMounted;try{I[u.value][CA](o)}catch(O){console.error(O)}}),A.onActivated(()=>{if(!i.value||!i.value.onActivated||!u.value)return;const CA=i.value.onActivated;try{I[u.value][CA](o)}catch(O){console.error(O)}});const gA=A.readonly({...A.toRefs(t),setCellData:k,clearSelection:v,getData:B,getCurrentRow:l,getSelectedRows:g,addRow:s,deleteRow:h,refresh:C,validate:a,setData:r,selectRow:_,selectRowNum:AA,setTotal:P,getPagination:q,setPagination:W,setTopBtnHidden:m,setColVisible:H,setColumn:G,setRowsBtnHidden:E,setShadowless:sA,rootRef:EA,type:"table"});return e(gA),(CA,O)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:EA,id:i.value.key},[i.value.cardless?(A.openBlock(),A.createBlock(bC,{key:1,ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:X,handleRowClick:K,handleRowDblclick:T,handleSelectionChange:Q,handleCurrentChange:d,getColText:oA,getGlobalParams:A.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:hA,pagination:Y.value,"onUpdate:pagination":O[1]||(O[1]=tA=>Y.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(H2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:eA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(bC,{ref_key:"tableContentRef",ref:S,tableData:N.value,total:x.value,hasVisibleRowBtn:M.value,handleSizeChange:z,handlePageChange:X,handleRowClick:K,handleRowDblclick:T,handleSelectionChange:Q,handleCurrentChange:d,getColText:oA,getGlobalParams:A.unref(b),handleClick:$,selectable:L,schema:i.value,getIconInfo:hA,pagination:Y.value,"onUpdate:pagination":O[0]||(O[0]=tA=>Y.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,J2))}}),Z2=["id"],W2={class:"tab-label"},j2={class:"tab-label-text"},q2={key:0,class:"divider"},X2=se(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),u=A.ref({}),I=t,o=A.ref({}),b=B=>p=>{p?o.value[B]=p:delete o.value[B]},y=n,w=A.computed(()=>{var B;return(B=i.value.content.find(p=>p.url===H.value))==null?void 0:B.mixMode}),S=B=>{i.value.content=B},N=B=>{Array.isArray(B)?i.value.content.push(...B):i.value.content.push(B)},H=A.ref(i.value.content[0].url),$=B=>{u.value[B]=!0,A.nextTick(()=>{u.value[B]=!1})},K=A.useTemplateRef("rootRef"),T=B=>o.value[B],D=(B,p)=>{p&&I("addPageParams",p),A.nextTick(()=>{H.value=B,v(B)})},Q=(B,p)=>{const d=i.value.content.find(l=>l.url===B);d&&(d.mixMode=p)},L=A.inject("pageMethodMap",{}),k=A.computed(()=>i.value.rulePath&&y.ruleMap[i.value.rulePath]?i.value.rulePath:y.pageRulePath),v=B=>{o.value[B]&&o.value[B].activate();const p=i.value.onChange;try{p&&y.ruleMap[k.value][p](L,B)}catch{}};return e(A.readonly({setTabContent:S,addTabContent:N,schema:i,rootRef:K,findRef:T,changeActiveTab:D,type:"tabs"})),(B,p)=>{var s,h,C;const d=A.resolveComponent("el-skeleton"),l=A.resolveComponent("el-tab-pane"),g=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:K,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,A.mergeProps({key:0},i.value.tabProps,{modelValue:H.value,"onUpdate:modelValue":p[0]||(p[0]=a=>H.value=a),class:["crm-tabs",{mixmode:w.value}],style:{"--top":(s=i.value)!=null&&s.stickyTop?`${(h=i.value)==null?void 0:h.stickyTop}px`:"110px","--is-sticky":(C=i.value)!=null&&C.isSticky?"sticky":"static"},onTabChange:v}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(a,r)=>(A.openBlock(),A.createBlock(l,{name:a.key||a.url,key:a.key||a.url,lazy:r!==0},{label:A.withCtx(()=>[A.createElementVNode("div",W2,[A.createElementVNode("span",j2,A.toDisplayString(a.label),1),r!==i.value.content.length-1?(A.openBlock(),A.createElementBlock("span",q2)):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[u.value[r]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:a.url,"rule-map":B.ruleMap,"page-params":a.pageParams?{...B.pageParams,...a.pageParams}:B.pageParams,ref_for:!0,ref:b(a.url),onRefresh:m=>$(r),onChangeTab:D,onChangeMixMode:Q},{loading:A.withCtx(()=>[A.createVNode(d,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,Z2)}}}),[["__scopeId","data-v-eecac672"]]),V2=["id"],A8={class:"info-card-header"},e8={class:"left-part"},t8={class:"title-part"},n8={class:"sub-title-container"},i8={class:"right-part"},o8={class:"info info-card-infos"},r8={class:"info-label"},a8={class:"ml-2"},s8={class:"info-card-detail"},l8={class:"info-card-detail-left"},c8={class:"label"},g8={key:0,class:"divider"},u8={key:0,class:"info-card-detail-right"},d8={key:0},h8={class:"detail-right-label"},p8={class:"detail-right-value"},C8=se(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),u=n,I=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[u.pageRulePath]);A.provide("ruleModule",I.value);const o=A.inject("pageMethodMap",{}),b=N=>{const H=document.createElement("textarea");H.value=N??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()},y=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}Yt.ElMessage.success("Copy Successful")},w=N=>{var H;if(I.value[N||"clickTitleIcon"])try{I.value[N||"clickTitleIcon"](o,(H=t.value.header)==null?void 0:H.titleIcon)}catch($){console.error($+`
|
|
192
192
|
|
|
193
193
|
rulePath: ${t.value.rulePath}
|
|
194
194
|
|
|
@@ -213,9 +213,9 @@ mountedFuncName: ${N}
|
|
|
213
213
|
rulePath: ${t.value.rulePath}
|
|
214
214
|
|
|
215
215
|
mountedFuncName: ${N}
|
|
216
|
-
`)}}),e({type:"infocard",schema:t}),(N,H)=>{const $=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode($,{class:"info-card",always:""},{default:A.withCtx(()=>{var K,T,D,Q,L,k,v,B,p,d,l;return[A.createElementVNode("div",A8,[A.createElementVNode("div",e8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(Re,{name:(K=t.value.header)==null?void 0:K.avatar,color:(T=t.value.header)==null?void 0:T.avatarIconColor},null,8,["name","color"])],4),A.createElementVNode("div",t8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(D=t.value.header)!=null&&D.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((Q=t.value.header)!=null&&Q.titleClick?"cursor-pointer":""),onClick:H[0]||(H[0]=g=>{var s;return w((s=t.value.header)==null?void 0:s.titleClick)})},A.toDisplayString((L=t.value.header)==null?void 0:L.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((k=t.value.header)==null?void 0:k.titleIcons,(g,s)=>(A.openBlock(),A.createBlock(Re,{key:s,name:g.icon,class:"title-icon",size:"large",onClick:h=>w(g.onClick)},null,8,["name","onClick"]))),128)),A.createVNode(A.unref(lo),{class:"title-icon",btns:(v=t.value.header)==null?void 0:v.btns},null,8,["btns"])],6),A.createElementVNode("div",n8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(B=t.value.header)==null?void 0:B.subTitleClick}]),onClick:H[1]||(H[1]=g=>{var s;return S((s=t.value.header)==null?void 0:s.subTitleClick)})},A.toDisplayString((p=t.value.header)==null?void 0:p.subTitlePrefix)+A.toDisplayString((d=t.value.header)==null?void 0:d.subTitle),3),A.createVNode(Re,{name:"icon-fuzhi",class:"copy-icon",onClick:y}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(g,s)=>{var h,C;return A.openBlock(),A.createBlock(Re,{key:s,name:(h=g.icon)==null?void 0:h.name,color:(C=g.icon)==null?void 0:C.color,class:"title-icon ml-2 cursor-pointer",onClick:a=>w(g.onClick)},null,8,["name","color","onClick"])}),128))])])]),A.createElementVNode("div",i8,[A.createElementVNode("div",o8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,g=>(A.openBlock(),A.createElementBlock("div",{key:g.key,class:"info-item"},[A.createElementVNode("span",r8,A.toDisplayString(g.label)+": ",1),A.createElementVNode("span",{class:A.normalizeClass(["info-value",g.type])},A.toDisplayString(g.value||"-"),3),A.createElementVNode("div",a8,[g.expendComponents?(A.openBlock(),A.createBlock(A.unref(
|
|
217
|
-
funcName: ${H}`)}},w=A.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},N=H=>{const $=o.findRef(H);if($&&$.rootRef)$.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(H);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(H,$)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[A.createElementVNode("div",
|
|
218
|
-
onMoved: ${t.onMoved}`)}};if(e(y),t.name){const H=fs(t.name,y);A.onUnmounted(()=>{H()})}return(H,$)=>(A.openBlock(),A.createBlock(A.unref($_),{layout:i.value,"onUpdate:layout":$[1]||($[1]=K=>i.value=K),"col-num":H.colNum||12,"row-height":H.rowHeight||30,"max-rows":H.maxRows,margin:[8,8],"is-draggable":H.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(_t),{list:H.children,gridData:i.value,"onUpdate:gridData":$[0]||($[0]=K=>i.value=K),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-869881f7"]])},Symbol.toStringTag,{value:"Module"})),x8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:u}=Gi(),I=A.ref(0),o=H=>{I.value=H},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),y=()=>b.value,w=async H=>{if(b.value.pageNum=1,b.value.pageSize=H,!!t.sizeChange)try{await i[t.sizeChange](u,b.value)}catch($){console.error($)}},S=async H=>{if(b.value.pageNum=H,!!t.pageChange)try{await i[t.pageChange](u,b.value)}catch($){console.error($)}},N=A.readonly({getPagination:y,setTotal:o,type:"pagination"});if(t.name){const H=fs(t.name,N);A.onUnmounted(()=>{H()})}return e(N),(H,$)=>{const K=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(H.style)},[A.createVNode(K,{layout:H.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":H.pageSizes||[5,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":$[0]||($[0]=T=>b.value.pageNum=T),"page-size":b.value.pageSize,"onUpdate:pageSize":$[1]||($[1]=T=>b.value.pageSize=T),"pager-count":Number(H.pagerCount)||5,onSizeChange:w,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-d4956ca2"]])},Symbol.toStringTag,{value:"Module"})),S8={class:"filter-search-header"},N8={class:"input-tag-wrapper"},F8={class:"input-action"},R8={class:"input-action-tag-wrapper"},L8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),u=A.ref(t.searchTypes?t.searchTypes[0]:null),I=()=>u.value,o=Q=>{if(t.searchTypes){const L=t.searchTypes.find(k=>k.value===Q);L&&(u.value=L)}},b=A.ref(""),y=Q=>{b.value=Q},w=()=>b.value,S=Q=>{u.value=Q;try{K[t.onSearchTypeChange](T,Q)}catch(L){console.error(L)}},N=Q=>{if(t.onChange)try{K[t.onChange](T,Q)}catch(L){console.error(L)}},H=async()=>{try{await K[t.onSearch](T,b.value)}catch(Q){console.error(Q)}},$=()=>{i.value=!i.value},{ruleModule:K,pageMethodMap:T}=Gi(),D=A.readonly({setSearchValue:y,getSearchValue:w,getSearchType:I,setSearchType:o,type:"filterSearch"});if(t.name){const Q=fs(t.name,D);A.onUnmounted(()=>{Q()})}return e(D),(Q,L)=>{const k=A.resolveComponent("el-tag"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",S8,[A.createVNode(v,{modelValue:b.value,"onUpdate:modelValue":L[0]||(L[0]=p=>b.value=p),placeholder:Q.placeholder,size:"large",onKeyup:A.withKeys(H,["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("div",N8,[u.value?(A.openBlock(),A.createBlock(k,{key:0,class:"search-tag",type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(u.value.label),1)]),_:1})):A.createCommentVNode("",!0)])]),suffix:A.withCtx(()=>[A.createVNode(Re,{name:"icon-lujing2",size:"small",color:"#666666",onClick:H,class:"search-icon"})]),_:1},8,["modelValue","placeholder"]),A.createElementVNode("div",F8,[A.createElementVNode("div",R8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(Q.searchTypes,p=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"input-action-tag",key:p.value},[A.createVNode(k,{class:A.normalizeClass({"is-active":((d=u.value)==null?void 0:d.value)===p.value}),type:"info",round:"",size:"large",onClick:l=>S(p)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["class","onClick"])])}),128))]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:$},[A.createVNode(Re,{name:"icon-shaixuan",size:"small"}),L[1]||(L[1]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)])]),A.createVNode(B,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(_t),{list:Q.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-fe61cd4d"]])},Symbol.toStringTag,{value:"Module"})),G8=["id"],ag=se(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,u={form:fn,table:rg,tabs:X2,infocard:p8,navbar:D8,alert:_8},I=n,o=A.ref(I.pageParams),b=A.ref({}),y=A.ref(),w=A.ref({});A.watch(()=>I.pageParams,()=>{o.value=ut.cloneDeep(I.pageParams)});const S=J=>{if(y.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":q=>{J.schema=q},ruleMap:I.ruleMap,pageParams:o.value,pageRulePath:y.value.rulePath||""};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},realValues:J.realValues,"onUpdate:realValues":q=>{J.realValues=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",findRef:$};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=A.ref([]),H=a2(),$=J=>{var W;const q=(W=N.value)==null?void 0:W.find(z=>z.schema.key===J);return q||H.findRef(J)},K=J=>{var W;return(W=N.value)==null?void 0:W.filter(z=>z.schema.key&&J.includes(z.schema.key))},T=(J,q)=>{var _;const W=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],z=AA=>{AA.forEach(G=>{W.includes(G.component)?G.props&&(G.props.disabled=q):G.children&&z(G.children)})},X=(_=y.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&z(X.schema.items)},D=(J,q)=>{var _;const W=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],z=AA=>{AA.forEach(G=>{W.includes(G.component)?G.props&&(G.props.read=q):G.children&&z(G.children)})},X=(_=y.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&z(X.schema.items)},Q=async J=>{if(Array.isArray(J)){const q=K(J);for(const W of q||[])W.type==="form"&&await W.validate()}else{const q=$(J);return q?await q.validate():!1}},L=J=>{if(y.value){if(!J){const q={};for(const W of y.value.content)W.schema.key&&(W.type==="form"?q[W.schema.key]=ut.cloneDeep(A.toRaw({...W.model,...W.realValues})):W.type==="table"&&(q[W.schema.key]=ut.cloneDeep(A.toRaw(W.model))));return q}if(Array.isArray(J)){const q={};for(const W of y.value.content)W.schema.key&&J.includes(W.schema.key)&&(W.type==="form"?q[W.schema.key]=ut.cloneDeep(A.toRaw({...W.model,...W.realValues})):W.type==="table"&&(q[W.schema.key]=ut.cloneDeep(A.toRaw(W.model))));return q}else{const q=y.value.content.find(W=>W.schema.key===J);if(q){if(q.type==="form")return ut.cloneDeep(A.toRaw({...q.model,...q.realValues}));if(q.type==="table")return ut.cloneDeep(A.toRaw(q.model))}}}},k=(J,q,W=!1)=>{if(!y.value)return;const z=y.value.content.find(X=>X.schema.key===J);if(z)if(z.type==="form")if(W)Object.assign(z.model,q);else{for(let X in z.model)delete z.model[X];Object.assign(z.model,q)}else z.type==="table"&&(z.model=q)},v=J=>{if(J)if(Array.isArray(J)){const q=K(J);for(const W of q||[])W.type==="form"&&W.resetFields()}else{const q=$(J);if(!q)return;q.type==="form"&&q.resetFields()}},B=(J,q)=>{const W=$(J);W&&W.type==="form"&&W.clearValidate(q)},p=(J,q)=>{var z;const W=(z=y.value)==null?void 0:z.content.find(X=>X.schema.key===J);if(W&&W.type==="form")return xi(W.schema.items,q)},d=()=>o.value,l=J=>{o.value=J},g=J=>{o.value={...o.value,...J}},s=(J,q)=>{if(!y.value)return;const W=y.value.content.find(z=>z.schema.key===J);W&&(W.schema.hidden=q)},h=(J,q)=>{if(!y.value)return;const W=y.value.btns.find(z=>z.key===J);W&&(W.hidden=q)},C=(J,q,W)=>{var z;if(y.value){if(J.type==="form"){const X=p(J.formKey,J.btnKey);X&&(q==="disabled"?X.props[q]=W:X[q]=W)}else if(J.type==="page"){const X=y.value.btns.find(_=>_.key===J.btnKey);X&&(X[q]=W)}else if(J.type==="table"){const X=(z=y.value)==null?void 0:z.content.find(_=>_.schema.key===J.tableKey);if(!X||X.type!=="table")return;J.btnPosition==="top"?X.schema.topBtns.find(_=>_.key===J.btnKey)[q]=W:J.btnPosition==="row"&&(q==="hidden"?X.schema.rowBtns.find(_=>_.key===J.btnKey).condition=!W:X.schema.rowBtns.find(_=>_.key===J.btnKey)[q]=W)}else if(J.type==="card"){const X=p(J.formKey,J.cardKey);X&&(X.props.btns.find(_=>_.key===J.btnKey)[q]=W)}}},a=(J,q,W)=>{var X,_,AA,G,eA;if(!y.value)return;const z=(q==="disabled"||q==="hidden")&&typeof W=="boolean";if(y.value.btns){const sA=y.value.btns.find(oA=>oA.key===J);if(sA&&z){sA[q]=W;return}}for(const sA of y.value.content){if(sA.type==="infocard"){const oA=sA.schema.btns.find(hA=>hA.key===J);if(oA&&z){oA[q]=W;return}}if(sA.type==="navbar"){const oA=(X=sA.schema.btns)==null?void 0:X.find(gA=>gA.key===J);if(oA&&z){oA[q]=W;return}const hA=(_=sA.schema.footerBtns)==null?void 0:_.find(gA=>gA.key===J);if(hA&&z){hA[q]=W;return}const EA=(AA=sA.schema.leftActions)==null?void 0:AA.find(gA=>gA.key===J);if(EA&&z&&q==="hidden"){EA[q]=W;return}}if(sA.type==="table"){const oA=(G=sA.schema.topBtns)==null?void 0:G.find(EA=>EA.key===J);if(oA&&z){oA[q]=W;return}const hA=(eA=sA.schema.rowBtns)==null?void 0:eA.find(EA=>EA.key===J);if(hA){q==="hidden"?hA.condition=!W:q==="condition"&&typeof W=="string"?hA.condition=W:z&&(hA[q]=W);return}}if(sA.type==="form"){const oA=hA=>{var EA,gA;for(const CA of hA){if(CA.component==="Button"&&CA.name===J)return CA.props&&(CA.props[q]=W),!0;if((CA.component==="Card"||CA.component==="CurdCard")&&CA.props&&Array.isArray(CA.props.btns)){const O=CA.props.btns.find(tA=>tA.key===J);if(O)return O[q]=W,!0}if(CA.component==="Table"&&CA.props){const O=(EA=CA.props.topBtns)==null?void 0:EA.find(lA=>lA.key===J);if(O)return O[q]=W,!0;const tA=(gA=CA.props.rowBtns)==null?void 0:gA.find(lA=>lA.key===J);if(tA)return q==="hidden"?tA.condition=!W:q==="condition"&&typeof W=="string"?tA.condition=W:z&&(tA[q]=W),!0}if(CA.children&&Array.isArray(CA.children)&&oA(CA.children))return!0}return!1};if(oA(sA.schema.items))return}}},r=(J,q)=>{if(!y.value)return;const W=y.value.btns.find(z=>z.key===J);W&&(W.disabled=q)},m=J=>{Object.assign(b.value,J)},E=()=>b.value,M={findRef:$,setFormDisabled:T,clearValidate:B,validate:Q,getData:L,resetFields:v,emit:i,setData:k,getItemByName:p,getPageParams:d,setHidden:s,setBtnHidden:h,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:l,setGlobalParams:m,getGlobalParams:E,setBtnState:C,setReadMode:D},x=async J=>{if(!(!y.value||!y.value.rulePath)){try{w.value[J.key]=!0,await I.ruleMap[y.value.rulePath][J.onClick](M)}catch(q){console.error(q)}w.value[J.key]=!1}};A.provide("pageMethodMap",M),A.provide("ruleMap",I.ruleMap),A.provide("getGlobalParams",E);const P=A.inject(jn);A.onMounted(async()=>{if(P&&P.fetchSchemaFn&&I.pageUrl){const J=await P.fetchSchemaFn(I.pageUrl);if(J&&J.rulePath&&J.onBeforeMount){const z=J.onBeforeMount;try{await I.ruleMap[J.rulePath][z](J,M)}catch(X){console.error(X+`
|
|
216
|
+
`)}}),e({type:"infocard",schema:t}),(N,H)=>{const $=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode($,{class:"info-card",always:""},{default:A.withCtx(()=>{var K,T,D,Q,L,k,v,B,p,d,l;return[A.createElementVNode("div",A8,[A.createElementVNode("div",e8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(Re,{name:(K=t.value.header)==null?void 0:K.avatar,color:(T=t.value.header)==null?void 0:T.avatarIconColor},null,8,["name","color"])],4),A.createElementVNode("div",t8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(D=t.value.header)!=null&&D.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((Q=t.value.header)!=null&&Q.titleClick?"cursor-pointer":""),onClick:H[0]||(H[0]=g=>{var s;return w((s=t.value.header)==null?void 0:s.titleClick)})},A.toDisplayString((L=t.value.header)==null?void 0:L.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((k=t.value.header)==null?void 0:k.titleIcons,(g,s)=>(A.openBlock(),A.createBlock(Re,{key:s,name:g.icon,class:"title-icon",size:"large",onClick:h=>w(g.onClick)},null,8,["name","onClick"]))),128)),A.createVNode(A.unref(lo),{class:"title-icon",btns:(v=t.value.header)==null?void 0:v.btns},null,8,["btns"])],6),A.createElementVNode("div",n8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(B=t.value.header)==null?void 0:B.subTitleClick}]),onClick:H[1]||(H[1]=g=>{var s;return S((s=t.value.header)==null?void 0:s.subTitleClick)})},A.toDisplayString((p=t.value.header)==null?void 0:p.subTitlePrefix)+A.toDisplayString((d=t.value.header)==null?void 0:d.subTitle),3),A.createVNode(Re,{name:"icon-fuzhi",class:"copy-icon",onClick:y}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(g,s)=>{var h,C;return A.openBlock(),A.createBlock(Re,{key:s,name:(h=g.icon)==null?void 0:h.name,color:(C=g.icon)==null?void 0:C.color,class:"title-icon ml-2 cursor-pointer",onClick:a=>w(g.onClick)},null,8,["name","color","onClick"])}),128))])])]),A.createElementVNode("div",i8,[A.createElementVNode("div",o8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,g=>(A.openBlock(),A.createElementBlock("div",{key:g.key,class:"info-item"},[A.createElementVNode("span",r8,A.toDisplayString(g.label)+": ",1),A.createElementVNode("span",{class:A.normalizeClass(["info-value",g.type])},A.toDisplayString(g.value||"-"),3),A.createElementVNode("div",a8,[g.expendComponents?(A.openBlock(),A.createBlock(A.unref(wt),{key:0,class:"expend-components",list:g.expendComponents},null,8,["list"])):A.createCommentVNode("",!0)])]))),128))]),A.createVNode(A.unref(lo),{btns:t.value.btns},null,8,["btns"]),A.createVNode(A.unref(Z_),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),A.createElementVNode("div",s8,[A.createElementVNode("div",l8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.detail,(g,s)=>(A.openBlock(),A.createElementBlock("div",{key:g.label,class:"detail-item"},[A.createElementVNode("div",null,[A.createElementVNode("div",c8,A.toDisplayString(g.label),1),A.createElementVNode("div",{class:"value",style:A.normalizeStyle(g.color?{color:g.color}:{})},A.toDisplayString(g.value||"- -"),5)]),s!==t.value.detail.length-1?(A.openBlock(),A.createElementBlock("div",g8)):A.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",u8,[t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",d8,[A.createVNode(A.unref(wt),{list:t.value.bottomRightFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),A.createElementVNode("div",h8,A.toDisplayString(t.value.bottomRightDetail.label),1),A.createElementVNode("div",p8,A.toDisplayString(t.value.bottomRightDetail.value),1)])):A.createCommentVNode("",!0)])]}),_:1})],8,V2))}}}),[["__scopeId","data-v-67829235"]]),B8=["id"],m8={class:"left-part"},E8={class:"nav-title"},Q8=["onClick"],I8={class:"nav-footer"},f8={class:"left-actions"},w8=["onClick"],b8={class:"footer-text"},y8={key:1,class:"divider"},D8={class:"right-actions"},v8=se(A.defineComponent({__name:"NavBar",props:A.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.computed(()=>(t.value.leftActions||[]).filter(H=>!H.hidden)),u=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=n,b=A.computed(()=>t.value.rulePath&&u[t.value.rulePath]?u[t.value.rulePath]:u[o.pageRulePath]);A.provide("ruleModule",b.value);const y=H=>{if(H&&b.value)try{b.value[H](I)}catch($){console.error($+`
|
|
217
|
+
funcName: ${H}`)}},w=A.inject(jn),S=()=>{w&&w.navigateFn&&w.navigateFn(-1)},N=H=>{const $=o.findRef(H);if($&&$.rootRef)$.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const K=document.getElementById(H);K&&K.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(H,$)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[t.value.title||t.value.btns?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[A.createElementVNode("div",m8,[t.value.back?(A.openBlock(),A.createBlock(Re,{key:0,name:"icon-back",class:"back-icon",onClick:S})):A.createCommentVNode("",!0),A.createElementVNode("div",E8,A.toDisplayString(t.value.title),1)]),A.createElementVNode("div",null,[A.createVNode(A.unref(lo),{btns:t.value.btns||[]},null,8,["btns"])])],2)):A.createCommentVNode("",!0),t.value.content&&t.value.content.length>0?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(K,T)=>(A.openBlock(),A.createElementBlock("div",{key:T,class:A.normalizeClass(["hexagon",{"first-item":T===0,"middle-item":T>0&&T<t.value.content.length-1,"last-item":T===t.value.content.length-1}]),onClick:D=>N(K.ref)},[A.createElementVNode("span",null,A.toDisplayString(K.text),1)],10,Q8))),128))],2)):A.createCommentVNode("",!0),A.createElementVNode("div",I8,[A.createElementVNode("div",f8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,(K,T)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.key},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,onClick:D=>y(K.onClick),class:"footer-item"},[K.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",b8,A.toDisplayString(K.text),1),T!==i.value.length-1?(A.openBlock(),A.createElementBlock("div",y8)):A.createCommentVNode("",!0)],8,w8))],64))),128))]),A.createElementVNode("div",D8,[A.createVNode(A.unref(lo),{btns:t.value.footerBtns||[]},null,8,["btns"])])])],14,B8))}}),[["__scopeId","data-v-2dd52ddc"]]),k8=["onClick"],_8={key:1},M8=se(A.defineComponent({__name:"AlertRender",props:A.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),u=A.inject("pageMethodMap",{}),I=n,o=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[I.pageRulePath]);A.provide("ruleModule",o.value);const b=(N,H)=>{try{o.value[N](u,H)}catch($){console.error($)}},y=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](u)}catch(N){console.error(N)}},w=A.computed(()=>{const N=/\{(\d+)\}/g,H=[];let $=0,K;for(;(K=N.exec(t.value.description))!==null;)K.index>$&&H.push({type:"text",value:t.value.description.slice($,K.index)}),H.push({type:"value",index:Number(K[1])}),$=N.lastIndex;return $<t.value.description.length&&H.push({type:"text",value:t.value.description.slice($)}),H}),S=A.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"});return e({type:"alert",schema:t}),(N,H)=>{const $=A.resolveComponent("el-alert");return t.value.description?(A.openBlock(),A.createBlock($,{key:0,type:t.value.type,"show-icon":!0,class:A.normalizeClass(["alert-container",{mixmode:t.value.mixMode}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),onClose:y},{icon:A.withCtx(()=>[A.createVNode(Re,{name:S.value.name,color:S.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(w.value,(K,T)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:T},[K.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(K.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof K.index=="number"&&t.value.values&&t.value.values[K.index]&&typeof t.value.values[K.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:D=>b(t.value.values[K.index].onClick,t.value.values[K.index].text)},A.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),9,k8)):(A.openBlock(),A.createElementBlock("span",_8,A.toDisplayString(typeof K.index=="number"&&t.value.values&&t.value.values[K.index]?t.value.values[K.index].text:""),1))],64))],64))),128))])]),_:1},8,["type","class","style"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-04942320"]]),x8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"DragList",props:A.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"gridlayout"),y={getLayout:()=>A.readonly(i),setItemX:(H,$)=>{i.value[H].x=$},setItemY:(H,$)=>{i.value[H].y=$},setItemVisible:(H,$)=>{const K=i.value.find(T=>T.i===H);K&&(K.h=$?K.contentHeight||1:0)},type:"draglist"},{ruleModule:w,pageMethodMap:S}=Gi(),N=()=>{if(t.onMoved&&w)try{w[t.onMoved](S,A.readonly(i.value))}catch(H){console.error(H+`
|
|
218
|
+
onMoved: ${t.onMoved}`)}};if(e(y),t.name){const H=fs(t.name,y);A.onUnmounted(()=>{H()})}return(H,$)=>(A.openBlock(),A.createBlock(A.unref($_),{layout:i.value,"onUpdate:layout":$[1]||($[1]=K=>i.value=K),"col-num":H.colNum||12,"row-height":H.rowHeight||30,"max-rows":H.maxRows,margin:[8,8],"is-draggable":H.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(wt),{list:H.children,gridData:i.value,"onUpdate:gridData":$[0]||($[0]=K=>i.value=K),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-f58dab66"]])},Symbol.toStringTag,{value:"Module"})),S8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:u}=Gi(),I=A.ref(0),o=H=>{I.value=H},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),y=()=>b.value,w=async H=>{if(b.value.pageNum=1,b.value.pageSize=H,!!t.sizeChange)try{await i[t.sizeChange](u,b.value)}catch($){console.error($)}},S=async H=>{if(b.value.pageNum=H,!!t.pageChange)try{await i[t.pageChange](u,b.value)}catch($){console.error($)}},N=A.readonly({getPagination:y,setTotal:o,type:"pagination"});if(t.name){const H=fs(t.name,N);A.onUnmounted(()=>{H()})}return e(N),(H,$)=>{const K=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(H.style)},[A.createVNode(K,{layout:H.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":H.pageSizes||[5,6,10,20,30,40],"default-page-size":H.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":$[0]||($[0]=T=>b.value.pageNum=T),"page-size":b.value.pageSize,"onUpdate:pageSize":$[1]||($[1]=T=>b.value.pageSize=T),"pager-count":Number(H.pagerCount)||5,onSizeChange:w,onCurrentChange:S},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-0cc06d1f"]])},Symbol.toStringTag,{value:"Module"})),N8={class:"filter-search-header"},F8={class:"input-tag-wrapper"},R8={class:"input-action"},L8={class:"input-action-tag-wrapper"},G8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),u=A.ref(t.searchTypes?t.searchTypes[0]:null),I=()=>u.value,o=Q=>{if(t.searchTypes){const L=t.searchTypes.find(k=>k.value===Q);L&&(u.value=L)}},b=A.ref(""),y=Q=>{b.value=Q},w=()=>b.value,S=Q=>{u.value=Q;try{K[t.onSearchTypeChange](T,Q)}catch(L){console.error(L)}},N=Q=>{if(t.onChange)try{K[t.onChange](T,Q)}catch(L){console.error(L)}},H=async()=>{try{await K[t.onSearch](T,b.value)}catch(Q){console.error(Q)}},$=()=>{i.value=!i.value},{ruleModule:K,pageMethodMap:T}=Gi(),D=A.readonly({setSearchValue:y,getSearchValue:w,getSearchType:I,setSearchType:o,type:"filterSearch"});if(t.name){const Q=fs(t.name,D);A.onUnmounted(()=>{Q()})}return e(D),(Q,L)=>{const k=A.resolveComponent("el-tag"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",N8,[A.createVNode(v,{modelValue:b.value,"onUpdate:modelValue":L[0]||(L[0]=p=>b.value=p),placeholder:Q.placeholder,size:"large",onKeyup:A.withKeys(H,["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createElementVNode("div",F8,[u.value?(A.openBlock(),A.createBlock(k,{key:0,class:"search-tag",type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(u.value.label),1)]),_:1})):A.createCommentVNode("",!0)])]),suffix:A.withCtx(()=>[A.createVNode(Re,{name:"icon-lujing2",size:"small",color:"#666666",onClick:H,class:"search-icon"})]),_:1},8,["modelValue","placeholder"]),A.createElementVNode("div",R8,[A.createElementVNode("div",L8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(Q.searchTypes,p=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"input-action-tag",key:p.value},[A.createVNode(k,{class:A.normalizeClass({"is-active":((d=u.value)==null?void 0:d.value)===p.value}),type:"info",round:"",size:"large",onClick:l=>S(p)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["class","onClick"])])}),128))]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:$},[A.createVNode(Re,{name:"icon-shaixuan",size:"small"}),L[1]||(L[1]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)])]),A.createVNode(B,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(wt),{list:Q.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-c7b498ea"]])},Symbol.toStringTag,{value:"Module"})),P8=["id"],ag=se(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,u={form:fn,table:rg,tabs:X2,infocard:C8,navbar:v8,alert:M8},I=n,o=A.ref(I.pageParams),b=A.ref({}),y=A.ref(),w=A.ref({});A.watch(()=>I.pageParams,()=>{o.value=ut.cloneDeep(I.pageParams)});const S=J=>{if(y.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":q=>{J.schema=q},ruleMap:I.ruleMap,pageParams:o.value,pageRulePath:y.value.rulePath||""};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},realValues:J.realValues,"onUpdate:realValues":q=>{J.realValues=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":q=>{J.model=q},schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",findRef:$};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":q=>{J.schema=q},pageRulePath:y.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=A.ref([]),H=a2(),$=J=>{var W;const q=(W=N.value)==null?void 0:W.find(z=>z.schema.key===J);return q||H.findRef(J)},K=J=>{var W;return(W=N.value)==null?void 0:W.filter(z=>z.schema.key&&J.includes(z.schema.key))},T=(J,q)=>{var _;const W=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],z=AA=>{AA.forEach(G=>{W.includes(G.component)?G.props&&(G.props.disabled=q):G.children&&z(G.children)})},X=(_=y.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&z(X.schema.items)},D=(J,q)=>{var _;const W=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],z=AA=>{AA.forEach(G=>{W.includes(G.component)?G.props&&(G.props.read=q):G.children&&z(G.children)})},X=(_=y.value)==null?void 0:_.content.find(AA=>AA.schema.key===J);X&&X.type==="form"&&z(X.schema.items)},Q=async J=>{if(Array.isArray(J)){const q=K(J);for(const W of q||[])W.type==="form"&&await W.validate()}else{const q=$(J);return q?await q.validate():!1}},L=J=>{if(y.value){if(!J){const q={};for(const W of y.value.content)W.schema.key&&(W.type==="form"?q[W.schema.key]=ut.cloneDeep(A.toRaw({...W.model,...W.realValues})):W.type==="table"&&(q[W.schema.key]=ut.cloneDeep(A.toRaw(W.model))));return q}if(Array.isArray(J)){const q={};for(const W of y.value.content)W.schema.key&&J.includes(W.schema.key)&&(W.type==="form"?q[W.schema.key]=ut.cloneDeep(A.toRaw({...W.model,...W.realValues})):W.type==="table"&&(q[W.schema.key]=ut.cloneDeep(A.toRaw(W.model))));return q}else{const q=y.value.content.find(W=>W.schema.key===J);if(q){if(q.type==="form")return ut.cloneDeep(A.toRaw({...q.model,...q.realValues}));if(q.type==="table")return ut.cloneDeep(A.toRaw(q.model))}}}},k=(J,q,W=!1)=>{if(!y.value)return;const z=y.value.content.find(X=>X.schema.key===J);if(z)if(z.type==="form")if(W)Object.assign(z.model,q);else{for(let X in z.model)delete z.model[X];Object.assign(z.model,q)}else z.type==="table"&&(z.model=q)},v=J=>{if(J)if(Array.isArray(J)){const q=K(J);for(const W of q||[])W.type==="form"&&W.resetFields()}else{const q=$(J);if(!q)return;q.type==="form"&&q.resetFields()}},B=(J,q)=>{const W=$(J);W&&W.type==="form"&&W.clearValidate(q)},p=(J,q)=>{var z;const W=(z=y.value)==null?void 0:z.content.find(X=>X.schema.key===J);if(W&&W.type==="form")return xi(W.schema.items,q)},d=()=>o.value,l=J=>{o.value=J},g=J=>{o.value={...o.value,...J}},s=(J,q)=>{if(!y.value)return;const W=y.value.content.find(z=>z.schema.key===J);W&&(W.schema.hidden=q)},h=(J,q)=>{if(!y.value)return;const W=y.value.btns.find(z=>z.key===J);W&&(W.hidden=q)},C=(J,q,W)=>{var z;if(y.value){if(J.type==="form"){const X=p(J.formKey,J.btnKey);X&&(q==="disabled"?X.props[q]=W:X[q]=W)}else if(J.type==="page"){const X=y.value.btns.find(_=>_.key===J.btnKey);X&&(X[q]=W)}else if(J.type==="table"){const X=(z=y.value)==null?void 0:z.content.find(_=>_.schema.key===J.tableKey);if(!X||X.type!=="table")return;J.btnPosition==="top"?X.schema.topBtns.find(_=>_.key===J.btnKey)[q]=W:J.btnPosition==="row"&&(q==="hidden"?X.schema.rowBtns.find(_=>_.key===J.btnKey).condition=!W:X.schema.rowBtns.find(_=>_.key===J.btnKey)[q]=W)}else if(J.type==="card"){const X=p(J.formKey,J.cardKey);X&&(X.props.btns.find(_=>_.key===J.btnKey)[q]=W)}}},a=(J,q,W)=>{var X,_,AA,G,eA;if(!y.value)return;const z=(q==="disabled"||q==="hidden")&&typeof W=="boolean";if(y.value.btns){const sA=y.value.btns.find(oA=>oA.key===J);if(sA&&z){sA[q]=W;return}}for(const sA of y.value.content){if(sA.type==="infocard"){const oA=sA.schema.btns.find(hA=>hA.key===J);if(oA&&z){oA[q]=W;return}}if(sA.type==="navbar"){const oA=(X=sA.schema.btns)==null?void 0:X.find(gA=>gA.key===J);if(oA&&z){oA[q]=W;return}const hA=(_=sA.schema.footerBtns)==null?void 0:_.find(gA=>gA.key===J);if(hA&&z){hA[q]=W;return}const EA=(AA=sA.schema.leftActions)==null?void 0:AA.find(gA=>gA.key===J);if(EA&&z&&q==="hidden"){EA[q]=W;return}}if(sA.type==="table"){const oA=(G=sA.schema.topBtns)==null?void 0:G.find(EA=>EA.key===J);if(oA&&z){oA[q]=W;return}const hA=(eA=sA.schema.rowBtns)==null?void 0:eA.find(EA=>EA.key===J);if(hA){q==="hidden"?hA.condition=!W:q==="condition"&&typeof W=="string"?hA.condition=W:z&&(hA[q]=W);return}}if(sA.type==="form"){const oA=hA=>{var EA,gA;for(const CA of hA){if(CA.component==="Button"&&CA.name===J)return CA.props&&(CA.props[q]=W),!0;if((CA.component==="Card"||CA.component==="CurdCard")&&CA.props&&Array.isArray(CA.props.btns)){const O=CA.props.btns.find(tA=>tA.key===J);if(O)return O[q]=W,!0}if(CA.component==="Table"&&CA.props){const O=(EA=CA.props.topBtns)==null?void 0:EA.find(lA=>lA.key===J);if(O)return O[q]=W,!0;const tA=(gA=CA.props.rowBtns)==null?void 0:gA.find(lA=>lA.key===J);if(tA)return q==="hidden"?tA.condition=!W:q==="condition"&&typeof W=="string"?tA.condition=W:z&&(tA[q]=W),!0}if(CA.children&&Array.isArray(CA.children)&&oA(CA.children))return!0}return!1};if(oA(sA.schema.items))return}}},r=(J,q)=>{if(!y.value)return;const W=y.value.btns.find(z=>z.key===J);W&&(W.disabled=q)},m=J=>{Object.assign(b.value,J)},E=()=>b.value,M={findRef:$,setFormDisabled:T,clearValidate:B,validate:Q,getData:L,resetFields:v,emit:i,setData:k,getItemByName:p,getPageParams:d,setHidden:s,setBtnHidden:h,setBtnStateByKey:a,setBtnDisabled:r,addPageParams:g,setPageParams:l,setGlobalParams:m,getGlobalParams:E,setBtnState:C,setReadMode:D},x=async J=>{if(!(!y.value||!y.value.rulePath)){try{w.value[J.key]=!0,await I.ruleMap[y.value.rulePath][J.onClick](M)}catch(q){console.error(q)}w.value[J.key]=!1}};A.provide("pageMethodMap",M),A.provide("ruleMap",I.ruleMap),A.provide("getGlobalParams",E);const P=A.inject(jn);A.onMounted(async()=>{if(P&&P.fetchSchemaFn&&I.pageUrl){const J=await P.fetchSchemaFn(I.pageUrl);if(J&&J.rulePath&&J.onBeforeMount){const z=J.onBeforeMount;try{await I.ruleMap[J.rulePath][z](J,M)}catch(X){console.error(X+`
|
|
219
219
|
|
|
220
220
|
rulePath: ${J.rulePath}
|
|
221
221
|
|
|
@@ -235,8 +235,8 @@ mountedFuncName: ${J}
|
|
|
235
235
|
rulePath: ${y.value.rulePath}
|
|
236
236
|
|
|
237
237
|
mountedFuncName: ${J}
|
|
238
|
-
`)}}),A.onActivated(()=>{Y()}),e({...M,activate:Y}),(J,q)=>{const W=A.resolveComponent("el-button"),z=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[y.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:y.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.content,X=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(u[X.type]),A.mergeProps({key:X.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:g},S(X)),null,16))),128)),y.value.btns&&y.value.btns.length>0?(A.openBlock(),A.createBlock(z,{key:0,justify:y.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.btns,X=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:X.key},[X.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(W,{key:0,type:X.type,loading:w.value[X.key],onClick:_=>x(X),disabled:X.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(X.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,
|
|
239
|
-
funcName: ${I}`)}};return(I,o)=>{const b=A.resolveComponent("el-tooltip"),y=A.resolveComponent("el-collapse-transition"),w=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(w,A.mergeProps(I.$attrs,{class:["crm-card",{collapsed:e.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:o[0]||(o[0]=S=>e.value=!e.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":e.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(Re,{key:1,class:"title-icon",size:"large",name:I.mainIcon.name,color:I.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(I.header),1),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.extraIcons,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.name},[S.tips?(A.openBlock(),A.createBlock(b,{key:0,content:S.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(Re,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>u(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>u(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),A.createElementVNode("div",
|
|
238
|
+
`)}}),A.onActivated(()=>{Y()}),e({...M,activate:Y}),(J,q)=>{const W=A.resolveComponent("el-button"),z=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[y.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:y.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.content,X=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(u[X.type]),A.mergeProps({key:X.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:g},S(X)),null,16))),128)),y.value.btns&&y.value.btns.length>0?(A.openBlock(),A.createBlock(z,{key:0,justify:y.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.btns,X=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:X.key},[X.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(W,{key:0,type:X.type,loading:w.value[X.key],onClick:_=>x(X),disabled:X.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(X.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,P8)):A.renderSlot(J.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-1472eb77"]]),H8={install:(n,e={})=>{n.provide(jn,e),n.component("FormRender",fn),n.component("FormDesign",wC),n.component("TableRender",rg),n.component("PageRender",ag)}},K8={key:0},T8={key:1,class:"special-read"},U8={class:"special-read-label"},Y8={class:"special-read-value"},O8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"TextArea",props:A.mergeModels({name:{},read:{type:Boolean},specialRead:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=Qt(),u=i.findItemByName(i.schema.items,t.name);return(I,o)=>{var y;const b=A.resolveComponent("el-input");return I.read?(A.openBlock(),A.createElementBlock("div",K8,A.toDisplayString(e.value||"--"),1)):I.specialRead?(A.openBlock(),A.createElementBlock("div",T8,[A.createElementVNode("div",U8,A.toDisplayString((y=A.unref(u))==null?void 0:y.label),1),A.createElementVNode("div",Y8,A.toDisplayString(e.value||"--"),1)])):(A.openBlock(),A.createBlock(b,A.mergeProps({key:2},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=w=>e.value=w),type:"textarea"}),null,16,["modelValue"]))}}}),[["__scopeId","data-v-4a51f379"]])},Symbol.toStringTag,{value:"Module"})),$8={key:2},z8={class:"card-btns"},J8={class:"card-sub-header"},Z8=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Card",props:{children:{},headerFormSlots:{},collapsible:{type:Boolean},header:{},btns:{},mainIcon:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const e=A.ref(!1),t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),u=I=>{if(I&&t)try{t[I](i)}catch(o){console.error(o+`
|
|
239
|
+
funcName: ${I}`)}};return(I,o)=>{const b=A.resolveComponent("el-tooltip"),y=A.resolveComponent("el-collapse-transition"),w=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(w,A.mergeProps(I.$attrs,{class:["crm-card",{collapsed:e.value,shadowless:I.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{"has-collapsed":I.collapsible}])},[I.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:o[0]||(o[0]=S=>e.value=!e.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":e.value}])},null,8,["class"])])):A.createCommentVNode("",!0),I.mainIcon?(A.openBlock(),A.createBlock(Re,{key:1,class:"title-icon",size:"large",name:I.mainIcon.name,color:I.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(I.header),1),I.headerFormSlots?(A.openBlock(),A.createElementBlock("div",$8,[A.createVNode(A.unref(wt),{list:I.headerFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.extraIcons,S=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:S.name},[S.tips?(A.openBlock(),A.createBlock(b,{key:0,content:S.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(Re,{class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>u(S.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,class:"extra-icon",name:S.name,color:S.color,size:S.size||"small",onClick:N=>u(S.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),A.createElementVNode("div",z8,[A.createVNode(A.unref(lo),{btns:I.btns||[]},null,8,["btns"])]),A.createElementVNode("div",J8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.subHeaders,S=>(A.openBlock(),A.createElementBlock("div",{key:S,class:"card-sub-header-item"},[A.createElementVNode("span",null,A.toDisplayString(S),1)]))),128))])],2)]),default:A.withCtx(()=>[A.createVNode(y,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(wt),{list:I.children},null,8,["list"])],512),[[A.vShow,!e.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-1cbeed34"]])},Symbol.toStringTag,{value:"Module"})),W8=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Cascader",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.inject("ruleModule",void 0),u=A.inject("pageMethodMap",{}),I=y=>{if(e.onChange&&i)try{i[e.onChange](u,y)}catch(w){console.error(w+`
|
|
240
240
|
onChange: ${e.onChange}`)}},{currentOptions:o,loading:b}=Cr(e);return(y,w)=>{const S=A.resolveComponent("el-cascader");return A.openBlock(),A.createBlock(S,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":w[0]||(w[0]=N=>t.value=N),options:A.unref(o),loading:A.unref(b),props:{multiple:y.multiple,label:y.labelKey,value:y.valueKey}},y.$attrs,{onChange:I}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var yC={exports:{}};/*!
|
|
241
241
|
* jsoneditor.js
|
|
242
242
|
*
|
|
@@ -1636,13 +1636,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1636
1636
|
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,D=360,Q="keydown",L="mousedown",k="focusin";function v(g,s){return(s||document).querySelector(g)}function B(g){g.preventDefault(),g.stopPropagation()}function p(g,s,h,C,a){g.add(s,Q,function(r){h.indexOf(r.key)>=0&&C(r)})}var d=function(){function g(s){o(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new H,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(s)}return b(g,[{key:"setOptions",value:function(h){var C=this;if(!h)return;var a=this.settings;function r(x,P,Y){for(var J in x)P[J]=x[J]}if(h instanceof HTMLElement)a.parent=h;else{a.parent&&h.parent&&a.parent!==h.parent&&(this._events.remove(a.parent),this._popupInited=!1),r(h,a),h.onChange&&(this.onChange=h.onChange),h.onDone&&(this.onDone=h.onDone),h.onOpen&&(this.onOpen=h.onOpen),h.onClose&&(this.onClose=h.onClose);var m=h.color||h.colour;m&&this._setColor(m)}var E=a.parent;if(E&&a.popup&&!this._popupInited){var M=function(P){return C.openHandler(P)};this._events.add(E,"click",M),p(this._events,E,[" ","Spacebar","Enter"],M),this._popupInited=!0}else h.parent&&!a.popup&&this.show()}},{key:"openHandler",value:function(h){if(this.show()){h&&h.preventDefault(),this.settings.parent.style.pointerEvents="none";var C=h&&h.type===Q?this._domEdit:this.domElement;setTimeout(function(){return C.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(h){var C=h&&h.type,a=!1;if(!h)a=!0;else if(C===L||C===k){var r=(this.__containedEvent||0)+100;h.timeStamp>r&&(a=!0)}else B(h),a=!0;a&&this.hide()&&(this.settings.parent.style.pointerEvents="",C!==L&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(h,C){this.closeHandler(),this.setOptions(h),C&&this.openHandler()}},{key:"setColor",value:function(h,C){this._setColor(h,{silent:C})}},{key:"_setColor",value:function(h,C){if(typeof h=="string"&&(h=h.trim()),!!h){C=C||{};var a=void 0;try{a=new N(h)}catch(m){if(C.failSilently)return;throw m}if(!this.settings.alpha){var r=a.hsla;r[3]=1,a.hsla=r}this.colour=this.color=a,this._setHSLA(null,null,null,null,C)}}},{key:"setColour",value:function(h,C){this.setColor(h,C)}},{key:"show",value:function(){var h=this.settings.parent;if(!h)return!1;if(this.domElement){var C=this._toggleDOM(!0);return this._setPosition(),C}var a=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',r=$(a);return this.domElement=r,this._domH=v(".picker_hue",r),this._domSL=v(".picker_sl",r),this._domA=v(".picker_alpha",r),this._domEdit=v(".picker_editor input",r),this._domSample=v(".picker_sample",r),this._domOkay=v(".picker_done button",r),this._domCancel=v(".picker_cancel button",r),r.classList.add("layout_"+this.settings.layout),this.settings.alpha||r.classList.add("no_alpha"),this.settings.editor||r.classList.add("no_editor"),this.settings.cancelButton||r.classList.add("no_cancel"),this._ifPopup(function(){return r.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var h=this,C=this,a=this.domElement,r=this._events;function m(x,P,Y){r.add(x,P,Y)}m(a,"click",function(x){return x.preventDefault()}),K(r,this._domH,function(x,P){return C._setHSLA(x)}),K(r,this._domSL,function(x,P){return C._setHSLA(null,x,1-P)}),this.settings.alpha&&K(r,this._domA,function(x,P){return C._setHSLA(null,null,null,1-P)});var E=this._domEdit;m(E,"input",function(x){C._setColor(this.value,{fromEditor:!0,failSilently:!0})}),m(E,"focus",function(x){var P=this;P.selectionStart===P.selectionEnd&&P.select()}),this._ifPopup(function(){var x=function(J){return h.closeHandler(J)};m(window,L,x),m(window,k,x),p(r,a,["Esc","Escape"],x);var P=function(J){h.__containedEvent=J.timeStamp};m(a,L,P),m(a,k,P),m(h._domCancel,"click",x)});var M=function(P){h._ifPopup(function(){return h.closeHandler(P)}),h.onDone&&h.onDone(h.colour)};m(this._domOkay,"click",M),p(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var h=this.settings.parent,C=this.domElement;h!==C.parentNode&&h.appendChild(C),this._ifPopup(function(a){getComputedStyle(h).position==="static"&&(h.style.position="relative");var r=a===!0?"popup_right":"popup_"+a;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(m){m===r?C.classList.add(m):C.classList.remove(m)}),C.classList.add(r)})}},{key:"_setHSLA",value:function(h,C,a,r,m){m=m||{};var E=this.colour,M=E.hsla;[h,C,a,r].forEach(function(x,P){(x||x===0)&&(M[P]=x)}),E.hsla=M,this._updateUI(m),this.onChange&&!m.silent&&this.onChange(E)}},{key:"_updateUI",value:function(h){if(!this.domElement)return;h=h||{};var C=this.colour,a=C.hsla,r="hsl("+a[0]*D+", 100%, 50%)",m=C.hslString,E=C.hslaString,M=this._domH,x=this._domSL,P=this._domA,Y=v(".picker_selector",M),J=v(".picker_selector",x),q=v(".picker_selector",P);function W(oA,hA,EA){hA.style.left=EA*100+"%"}function z(oA,hA,EA){hA.style.top=EA*100+"%"}W(M,Y,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,W(x,J,a[1]),z(x,J,1-a[2]),x.style.color=m,z(P,q,1-a[3]);var X=m,_=X.replace("hsl","hsla").replace(")",", 0)"),AA="linear-gradient("+[X,_]+")";if(this._domA.style.background=AA+", "+T,!h.fromEditor){var G=this.settings.editorFormat,eA=this.settings.alpha,sA=void 0;switch(G){case"rgb":sA=C.printRGB(eA);break;case"hsl":sA=C.printHSL(eA);break;default:sA=C.printHex(eA)}this._domEdit.value=sA}this._domSample.style.color=E}},{key:"_ifPopup",value:function(h,C){this.settings.parent&&this.settings.popup?h&&h(this.settings.popup):C&&C()}},{key:"_toggleDOM",value:function(h){var C=this.domElement;if(!C)return!1;var a=h?"":"none",r=C.style.display!==a;return r&&(C.style.display=a),r}}]),g}(),l=document.createElement("style");return l.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(l),d.StyleElement=l,d}()},9857:function(I,o,b){b.d(o,{m:function(){return ne}});class y extends Error{constructor(SA,ZA){super(SA+" at position "+ZA),this.position=ZA}}let w=92,S=47,N=42,H=123,$=125,K=91,T=93,D=40,Q=41,L=32,k=10,v=9,B=13,p=8,d=12,l=34,g=43,s=45,h=39,C=48,a=57,r=44,m=46,E=58,M=59,x=65,P=97,Y=69,J=101,q=70,W=102,z=160,X=8192,_=8202,AA=8239,G=8287,eA=12288,sA=8220,oA=8221,hA=8216,EA=8217,gA=96,CA=180;function O(LA){return LA>=C&&LA<=a}function tA(LA){return lA.test(LA)}let lA=/^[,:[\]/{}()\n+]$/;function uA(LA){return Z.test(LA)||LA&&iA(LA.charCodeAt(0))}let Z=/^[[{\w-]$/;function V(LA){return LA===L||LA===k||LA===v||LA===B}function iA(LA){return rA(LA)||vA(LA)}function rA(LA){return LA===l||LA===sA||LA===oA}function BA(LA){return LA===l}function vA(LA){return LA===h||LA===hA||LA===EA||LA===gA||LA===CA}function UA(LA){return LA===h}function JA(LA,SA,ZA){return ZA=2<arguments.length&&ZA!==void 0&&ZA,SA=LA.lastIndexOf(SA),SA!==-1?LA.substring(0,SA)+(ZA?"":LA.substring(SA+1)):LA}function qA(LA,SA){let ZA=LA.length;if(!V(LA.charCodeAt(ZA-1)))return LA+SA;for(;V(LA.charCodeAt(ZA-1));)ZA--;return LA.substring(0,ZA)+SA+LA.substring(ZA)}let WA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},le={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1637
1637
|
`,r:"\r",t:" "};function ne(LA){let SA=0,ZA="";if(!De())throw new y("Unexpected end of json string",LA.length);var Be=$A(r);if(Be&&xe(),uA(LA[SA])&&/[,\n][ \t\r]*$/.test(ZA)){Be||(ZA=qA(ZA,","));{let oe=!0,ue=!0;for(;ue;)oe?oe=!1:$A(r)||(ZA=qA(ZA,",")),ue=De();ue||(ZA=JA(ZA,",")),ZA=`[
|
|
1638
1638
|
`.concat(ZA,`
|
|
1639
|
-
]`)}}else Be&&(ZA=JA(ZA,","));for(;LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===T;)SA++,xe();if(SA>=LA.length)return ZA;throw new y("Unexpected character "+JSON.stringify(LA[SA]),SA);function De(){xe();var oe=function(){if(LA.charCodeAt(SA)!==H)return!1;{ZA+="{",SA++,xe(),XA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==$;){if(lt?lt=!1:($A(r)||(ZA=qA(ZA,",")),xe()),he(),!(ge()||wA())){LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===H||LA.charCodeAt(SA)===T||LA.charCodeAt(SA)===K||LA[SA]===void 0?ZA=JA(ZA,","):function(){throw new y("Object key expected",SA)}();break}xe();var ue=$A(E),Me=SA>=LA.length,tt=(ue||(uA(LA[SA])||Me?ZA=qA(ZA,":"):be()),De());tt||(ue||Me?ZA+="null":be())}return LA.charCodeAt(SA)===$?(ZA+="}",SA++):ZA=qA(ZA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{ZA+="[",SA++,xe(),XA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==T;){Me?Me=!1:$A(r)||(ZA=qA(ZA,",")),he();var ue=De();if(!ue){ZA=JA(ZA,",");break}}return LA.charCodeAt(SA)===T?(ZA+="]",SA++):ZA=qA(ZA,"]"),!0}}()||ge()||function(){var ue=SA;if(LA.charCodeAt(SA)===s){if(SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1}for(;O(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===m){if(SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1;for(;O(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===Y){if(SA++,LA.charCodeAt(SA)!==s&&LA.charCodeAt(SA)!==g||SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1;for(;O(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ue)return Me=LA.slice(ue,SA),tt=/^0\d/.test(Me),ZA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||wA();return xe(),oe}function xe(){for(YA();function(){if(LA.charCodeAt(SA)===S&&LA.charCodeAt(SA+1)===N){for(;SA<LA.length&&!function(oe,ue){return oe[ue]==="*"&&oe[ue+1]==="/"}(LA,SA);)SA++;SA+=2}else{if(LA.charCodeAt(SA)!==S||LA.charCodeAt(SA+1)!==S)return!1;for(;SA<LA.length&&LA.charCodeAt(SA)!==k;)SA++}return!0}()&&YA(););}function YA(){let oe="";for(var ue,Me;(ue=V(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===z||Me>=X&&Me<=_||Me===AA||Me===G||Me===eA;)oe+=ue?LA[SA]:" ",SA++;return 0<oe.length&&(ZA+=oe,!0)}function $A(oe){return LA.charCodeAt(SA)===oe&&(ZA+=LA[SA],SA++,!0)}function XA(oe){return LA.charCodeAt(SA)===oe&&(SA++,!0)}function he(){xe(),LA.charCodeAt(SA)===m&&LA.charCodeAt(SA+1)===m&&LA.charCodeAt(SA+2)===m&&(SA+=3,xe(),XA(r))}function ge(oe){var ue,Me,tt=0<arguments.length&&oe!==void 0&&oe;let lt=LA.charCodeAt(SA)===w;if(lt&&(SA++,lt=!0),iA(LA.charCodeAt(SA))){var MA=BA(LA.charCodeAt(SA))?BA:UA(LA.charCodeAt(SA))?UA:vA(LA.charCodeAt(SA))?vA:rA,bA=SA,RA=ZA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return zA=NA(SA-1),!tt&&tA(LA.charAt(zA))?(SA=bA,ZA=ZA.substring(0,RA),ge(!0)):(_e=qA(_e,'"'),ZA+=_e,!0);if(MA(LA.charCodeAt(SA))){var zA=SA,OA=_e.length;if(_e+='"',SA++,ZA+=_e,xe(),tt||SA>=LA.length||tA(LA.charAt(SA))||iA(LA.charCodeAt(SA))||O(LA.charCodeAt(SA)))return Ee(),!0;if(tA(LA.charAt(NA(zA-1))))return SA=bA,ZA=ZA.substring(0,RA),ge(!0);ZA=ZA.substring(0,RA),SA=zA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&tA(LA[SA]))return _e=qA(_e,'"'),ZA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),le[OA]!==void 0)_e+=LA.slice(SA,SA+2),SA+=2;else if(OA==="u"){let qe=2;for(;qe<6&&((Me=LA.charCodeAt(SA+qe))>=C&&Me<=a||Me>=x&&Me<=q||Me>=P&&Me<=W);)qe++;if(qe===6)_e+=LA.slice(SA,SA+6),SA+=6;else{if(!(SA+qe>=LA.length))throw fe=void 0,fe=LA.slice(SA,SA+6),new y('Invalid unicode character "'.concat(fe,'"'),SA);SA=LA.length}}else _e+=OA,SA+=2;else{var fe=LA.charAt(SA),te=LA.charCodeAt(SA);if(te===l&&LA.charCodeAt(SA-1)!==w)_e+="\\"+fe;else if((ue=te)===k||ue===B||ue===v||ue===p||ue===d)_e+=WA[fe];else{if(!(32<=(ue=te)&&ue<=1114111))throw te=void 0,te=fe,new y("Invalid character "+JSON.stringify(te),SA);_e+=fe}SA++}}lt&&XA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var oe=(ZA=JA(ZA,'"',!0)).length,ue=ge();ZA=ue?(ue=ZA,oe=oe,Me=1,ue.substring(0,oe)+ue.substring(oe+Me)):qA(ZA,'"')}var Me}function ke(oe,ue){return LA.slice(SA,SA+oe.length)===oe&&(ZA+=ue,SA+=oe.length,!0)}function wA(){for(var oe,ue=SA;SA<LA.length&&(!tA(oe=LA[SA])||oe==="/")&&!iA(LA.charCodeAt(SA));)SA++;if(SA>ue){if(LA.charCodeAt(SA)===D&&/^\w+$/.test(LA.slice(ue,SA).trim()))SA++,De(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;V(LA.charCodeAt(SA-1))&&0<SA;)SA--;ue=LA.slice(ue,SA),ZA+=ue==="undefined"?"null":JSON.stringify(ue),LA.charCodeAt(SA)===l&&SA++}return!0}}function NA(oe){let ue=oe;for(;0<ue&&V(LA.charCodeAt(ue));)ue--;return ue}function HA(){return SA>=LA.length||tA(LA[SA])||V(LA.charCodeAt(SA))}function ie(oe){ZA+=LA.slice(oe,SA)+"0"}function be(){throw new y("Colon expected",SA)}}},3420:function(I){I.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(I){I.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(I){I.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(I){I.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}')}},u={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=u[I];return o!==void 0||(o=u[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,u})})(yC);var $8=yC.exports;const z8=fu($8),J8={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const H=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){H("");return}try{const K=this.editor.get();H(K)}catch{}},u=()=>{this.expandAll()},I=(H,$,K)=>{this.$emit("textSelectionChange",this.editor,H,$,K)},o=(H,$)=>{this.$emit("selectionChange",this.editor,H,$)},b=(H,$,K)=>{this.$emit("colorPicker",this.editor,H,$,K)},y=({target:H})=>{this.$emit("focus",this.editor,H)},w=({target:H})=>{this.$emit("blur",this.editor,H)},S=H=>{this.$emit("validationError",this.editor,H)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:u,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:y,onBlur:w,onValidationError:S};this.editor=new z8(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},Z8={ref:"jsonEditorVue",class:"json-editor-vue"};function W8(n,e,t,i,u,I){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":u.isFullScreen}])},[A.createElementVNode("div",Z8,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:u.showFullScreen,right:!u.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const j8=se(J8,[["render",W8],["__scopeId","data-v-c3373674"]]),q8=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(cy),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(j8,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=u=>e.value=u),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"})),X8={key:0},V8=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=bt(),{currentOptions:u,selectChange:I,loading:o}=Cr(e),{ruleModule:b,pageMethodMap:y}=Gi(),w=S=>{if(I(S),e.onChange&&b)try{b[e.onChange](y,S)}catch(N){console.error(N+`
|
|
1640
|
-
onChange: ${e.onChange}`)}};return A.watch(t,I),(S,N)=>{var Q;const H=A.resolveComponent("el-checkbox"),$=A.resolveComponent("el-checkbox-button"),K=A.resolveComponent("el-space"),T=A.resolveComponent("el-checkbox-group"),D=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",X8,A.toDisplayString((Q=t.value)==null?void 0:Q.map(L=>{var k;return(k=A.unref(u).find(v=>v[S.valueKey]===L))==null?void 0:k[S.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(T,A.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=L=>t.value=L),onChange:w}),{default:A.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(u),L=>(A.openBlock(),A.createBlock(H,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],border:S.optionType==="border"},null,8,["label","value","border"]))),128)):A.createCommentVNode("",!0),S.optionType==="button"?(A.openBlock(),A.createBlock(K,{key:1,wrap:"",size:[S.space,S.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(u),L=>(A.openBlock(),A.createBlock($,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[D,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),AM={class:"vfc-color-input"},eM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const u=A.resolveComponent("el-input"),I=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",AM,[A.createVNode(u,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(I,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),tM={key:0,class:"empty"},nM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=u=>e.value=u)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",tM,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),iM={key:0},oM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.useAttrs(),i=bt(),u=A.computed(()=>i.schema.read),I=A.computed(()=>e.value?t.valueFormat?Yt.dayjs(e.value).format(t.valueFormat):e.value:"--"),o=[{text:"Today",value:new Date}];return(b,y)=>{const w=A.resolveComponent("el-date-picker");return b.read||u.value?(A.openBlock(),A.createElementBlock("span",iM,A.toDisplayString(I.value),1)):(A.openBlock(),A.createBlock(w,A.mergeProps({key:1},b.$attrs,{modelValue:e.value,"onUpdate:modelValue":y[0]||(y[0]=S=>e.value=S),style:{width:"100%"},shortcuts:o}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),rM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),aM=A.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const e=A.ref(!1),t=A.ref(""),i=A.ref([]),u=A.ref(null),I=A.ref(0),o=A.ref(0),b=A.ref(!1),y=A.ref(1),w=A.ref(null),S=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,k=>{w.value&&(w.value.style.background=k)});const H=()=>{if(w.value){w.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(w.value).width);w.value.style.height=`${S.value*k}px`,u.value=w.value.getContext("2d"),u.value&&(u.value.scale(1*y.value,1*y.value),y.value=k/n.width,u.value.scale(1/y.value,1/y.value))}};A.onMounted(()=>{w.value&&(w.value.height=n.height,w.value.width=n.width,w.value.style.background=N.value,H(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",H)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",H)});const $=k=>{I.value=k.x,o.value=k.y,u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.lineCap="round",u.value.lineJoin="round",u.value.lineWidth=n.lineWidth*y.value,u.value.stroke(),u.value.closePath(),i.value.push(k))},K=k=>{u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.strokeStyle=n.lineColor,u.value.lineWidth=n.lineWidth*y.value,u.value.lineCap="round",u.value.lineJoin="round",u.value.stroke(),u.value.closePath(),o.value=k.y,I.value=k.x,i.value.push(k))},T=k=>{u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.lineCap="round",u.value.lineJoin="round",u.value.stroke(),u.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},D=k=>{const v=(k==null?void 0:k.format)||n.format,B=(k==null?void 0:k.quality)||n.quality;return new Promise((p,d)=>{if(!e.value){d("Warning: Not Signed!");return}if(u.value){const l=u.value.getImageData(0,0,w.value.width,w.value.height);u.value.globalCompositeOperation="destination-over",u.value.fillStyle=N.value,u.value.fillRect(0,0,w.value.width,w.value.height),t.value=w.value.toDataURL(v,B);let g=t.value;if(u.value.clearRect(0,0,w.value.width,w.value.height),u.value.putImageData(l,0,0),u.value.globalCompositeOperation="source-over",n.isCrop){const s=L(l.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=s[2]-s[0],h.height=s[3]-s[1];const a=u.value.getImageData(s[0],s[1],s[2],s[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(v,B)}}p(g)}})},Q=()=>{u.value&&u.value.clearRect(0,0,w.value.width,w.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},L=k=>{let v=w.value.width,B=0,p=w.value.height,d=0;for(let l=0;l<w.value.width;l++)for(let g=0;g<w.value.height;g++){const s=(l+w.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(d=Math.max(g,d),B=Math.max(l,B),p=Math.min(g,p),v=Math.min(l,v))}return[v+1,p+1,B+1,d+1]};return{canvas:w,myBg:N,drawStart:$,drawMove:K,drawEnd:T,generate:D,reset:Q,touchStart:k=>{if(k.preventDefault(),e.value=!0,k.touches.length===1&&w.value){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};$(v)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};K(v)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};T(v)}},mouseDown:k=>{k.preventDefault(),b.value=!0,e.value=!0;const v={x:k.offsetX,y:k.offsetY};$(v)},mouseMove:k=>{if(k.preventDefault(),b.value){const v={x:k.offsetX,y:k.offsetY};K(v)}},mouseUp:k=>{k.preventDefault();const v={x:k.offsetX,y:k.offsetY};T(v),b.value=!1}}}});function sM(n,e,t,i,u,I){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const lM=se(aM,[["render",sM],["__scopeId","data-v-0e272b28"]]),cM={key:0},gM={class:"vfc-esign-preview"},uM=["src"],dM={key:1,class:"vfc-esign"},hM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.ref(),i=bt(),u=A.useModel(n,"modelValue"),I={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},o=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},y=()=>{t.value.generate().then(N=>{u.value=N}).catch(N=>{alert(N)})},w=A.ref(""),S=()=>{w.value=u.value,u.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,H)=>{const $=A.resolveComponent("el-button");return A.unref(i).read||u.value?(A.openBlock(),A.createElementBlock("div",cM,[A.createElementVNode("div",gM,[A.createElementVNode("img",{src:u.value,alt:"未签名"},null,8,uM)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock($,{key:0,disabled:N.disabled,onClick:S,type:"primary"},{default:A.withCtx(()=>H[2]||(H[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",dM,[A.createVNode(A.unref(fn),{modelValue:o.value,"onUpdate:modelValue":H[0]||(H[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(lM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[w.value?(A.openBlock(),A.createBlock($,{key:0,disabled:N.disabled,onClick:H[1]||(H[1]=K=>u.value=w.value),plain:"",type:"primary"},{default:A.withCtx(()=>H[3]||(H[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode($,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>H[4]||(H[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode($,{disabled:N.disabled,onClick:y,type:"primary"},{default:A.withCtx(()=>H[5]||(H[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),pM={key:0},CM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Radio",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=bt(),u=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:N}=e;let H={};if(H=b.value.find($=>$[S]===w)||{},i.selectData&&N&&i.updateSelectData(N,H),e.onChange&&u)try{u[e.onChange](I,w,H)}catch($){console.error($+`
|
|
1641
|
-
onChange: ${e.onChange}`)}},{currentOptions:b,loading:y}=Cr(e);return(w,S)=>{var D;const N=A.resolveComponent("el-radio"),H=A.resolveComponent("el-radio-button"),$=A.resolveComponent("el-space"),K=A.resolveComponent("el-radio-group"),T=A.resolveDirective("loading");return w.read?(A.openBlock(),A.createElementBlock("div",pM,A.toDisplayString(((D=A.unref(b).find(Q=>Q[w.valueKey]===t.value))==null?void 0:D[w.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(K,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=Q=>t.value=Q),onChange:o},w.$attrs),{default:A.withCtx(()=>[A.createVNode($,{wrap:"",direction:w.direction,size:[w.space,w.space],alignment:"normal"},{default:A.withCtx(()=>[w.optionType==="circle"||w.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),Q=>(A.openBlock(),A.createBlock(N,{key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],disabled:Q[w.disabledKey],border:w.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),Q=>(A.openBlock(),A.createBlock(H,A.mergeProps({key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],class:"radio-button",disabled:Q[w.disabledKey],ref_for:!0},w.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[T,A.unref(y)]])}}}),[["__scopeId","data-v-08ecef32"]])},Symbol.toStringTag,{value:"Module"})),BM={class:"vfc-formList"},mM={key:1},EM={class:"list-item-content"},QM={class:"card-header"},IM={style:{"margin-top":"5px"}},fM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),u=bt(),I=N=>Rt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),y=()=>{o.value||(t.value=[...t.value,{}])},w=N=>{const H=t.value.filter(($,K)=>K!==N);t.value=H},S=(N,H,$,K)=>{const T=H.no,D=I(K)[T];return A.h(oo,{...D,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${K}.${D.name}`})};return A.watch(t,(N,H)=>{const $=N.reduce((Q,L,k)=>(ut.isEqual(L,H[k])||(Q=k),Q),0);if(i.value=$,!e.children.some(Q=>Q.change))return;const K=I($),T=N[$]||{},D=H[$]||{};K.forEach(Q=>{Q.change&&D&&!ut.isEqual(T[Q.name],D[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ut.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[$][k]=L.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,H)=>{const $=A.resolveComponent("el-space"),K=A.resolveComponent("el-button"),T=A.resolveComponent("el-form-item"),D=A.resolveComponent("el-card"),Q=A.resolveComponent("el-table-column"),L=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",BM,[A.unref(u).design?(A.openBlock(),A.createBlock(A.unref(qc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",mM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,v)=>(A.openBlock(),A.createBlock(T,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",EM,[A.createVNode($,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${v}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:B=>w(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,v)=>(A.openBlock(),A.createBlock(D,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",QM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(v+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:B=>w(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${v}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(Q,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),A.createVNode(Q,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:v=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",IM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:y,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),wM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, 1fr)`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,u)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(_t),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),bM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,u)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(_t),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-50b97afb"]])},Symbol.toStringTag,{value:"Module"})),yM={key:0},DM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=bt(),i=A.computed(()=>t.schema.read),u=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=A.resolveComponent("el-input-number");return I.read||i.value?(A.openBlock(),A.createElementBlock("span",yM,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(I.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),style:{width:"100%"},min:I.min||0,onKeydown:u}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),vM={style:{"min-height":"32px"}},kM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),u=bt(),I=A.computed(()=>u.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),y=H=>{const{valueKey:$="value",multiple:K,name:T}=e;let D={};if(K&&Array.isArray(H)?D=w.value.filter(Q=>H.includes(Q[$])):D=w.value.find(Q=>Q[$]===H)||{},u.selectData&&T&&u.updateSelectData(T,D),e.onChange&&o)try{o[e.onChange](b,H,D)}catch(Q){console.error(Q+`
|
|
1642
|
-
onChange: ${e.onChange}`)}},{currentOptions:w,loading:S}=Cr(e),N=A.computed(()=>{var $;if(e.multiple)return w.value.filter(T=>i.value.includes(T[e.valueKey])).map(T=>T[e.labelKey]).join(",");const H=($=w.value.find(K=>K[e.valueKey]===i.value))==null?void 0:$[e.labelKey];return!H||`${H}`.trim().length===0?"--":H});return(H,$)=>{const K=A.resolveComponent("el-option"),T=A.resolveComponent("el-select");return H.read||I.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:H.readTextColor})},A.toDisplayString(N.value),5)):(A.openBlock(),A.createBlock(T,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=D=>i.value=D)},H.$attrs,{onChange:y,multiple:H.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(S),placeholder:""}),{loading:A.withCtx(()=>$[1]||($[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",vM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(w),D=>(A.openBlock(),A.createBlock(K,{key:D[H.valueKey],label:D[H.labelKey],value:D[H.valueKey],disabled:D[H.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(D[H.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),_M={key:0},MM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(""),u=A.computed({get(){var I;return(I=t.value)==null?void 0:I.replaceAll(i.value,"")},set(I){I?t.value=I+i.value:t.value=I}});return A.watch(i,(I,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+I)}),A.onMounted(()=>{e.selectInitialValue&&(i.value=e.selectInitialValue)}),(I,o)=>{const b=A.resolveComponent("el-option"),y=A.resolveComponent("el-select"),w=A.resolveComponent("el-input");return I.read?(A.openBlock(),A.createElementBlock("span",_M,A.toDisplayString(u.value||"--"),1)):(A.openBlock(),A.createBlock(w,A.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},I.$attrs,{modelValue:u.value,"onUpdate:modelValue":o[1]||(o[1]=S=>u.value=S)}),{[I.selectPosition]:A.withCtx(()=>[A.createVNode(y,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=S=>i.value=S),style:A.normalizeStyle({width:I.selectWidth+"px"}),placeholder:" "},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.options,S=>(A.openBlock(),A.createBlock(b,{label:S.label,value:S.value,disabled:S.disabled,key:S.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),xM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=bt(),t=A.useModel(n,"modelValue");return(i,u)=>{const I=A.resolveComponent("el-switch");return A.openBlock(),A.createBlock(I,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=o=>t.value=o),disabled:A.unref(e).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),SM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tag");return A.openBlock(),A.createBlock(i,A.mergeProps({type:e.type},e.$attrs),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),NM=["innerHTML"],FM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:{text:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(e.$attrs,{innerHTML:e.text}),null,16,NM))}})},Symbol.toStringTag,{value:"Module"})),DC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),RM=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),LM={key:0,style:{"min-width":"300px"}},GM={class:"el-upload__tip"},PM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.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 e=A.useModel(n,"modelValue"),t=(o,b)=>{console.log(o,b)},i=o=>{console.log(o)},u=(o,b)=>{Yt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Yt.ElMessageBox.confirm(`Cancel the transfer of ${o.name} ?`).then(()=>!0,()=>!1);return(o,b)=>{const y=A.resolveComponent("el-button"),w=A.resolveComponent("el-upload");return A.openBlock(),A.createBlock(w,{"file-list":e.value,"onUpdate:fileList":b[0]||(b[0]=S=>e.value=S),action:o.action,multiple:o.multiple,limit:o.limit,drag:o.drag,name:o.name,listType:o.listType,"on-preview":i,"on-remove":t,"before-remove":I,"on-exceed":u},A.createSlots({default:A.withCtx(()=>[o.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[o.drag?(A.openBlock(),A.createElementBlock("div",LM,[A.createVNode(A.unref(Ie),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=A.createElementVNode("div",{class:"el-upload__text"},[A.createTextVNode(" 拖拽文件到此处上传 "),A.createElementVNode("br"),A.createTextVNode(" 或"),A.createElementVNode("em",null,"点击上传")],-1))])):(A.openBlock(),A.createBlock(y,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(o.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),o.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(Ie),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[o.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",GM,A.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function HM(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),u=qt(n,e);return`rgb(${t},${i},${u})`}class KM{constructor(e,t){Ct(this,"version","1.0.0");Ct(this,"options");Ct(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Ct(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let u=1;u<=4;u++){const I=i[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*u,b=parseInt(this.options.height)/2,y=qt(-30,30);t.translate(o,b),t.rotate(y*Math.PI/180),t.fillText(I,0,0),t.rotate(-y*Math.PI/180),t.translate(-o,-b)}for(let u=0;u<4;u++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let u=0;u<parseInt(this.options.width)/4;u++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Ct(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:HM(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const TM={class:"vfc-verify-code"},UM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),u=bt(),I=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?u.updateVCodePass(!0):u.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new KM(t.value)}),(o,b)=>{const y=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",TM,[A.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=w=>e.value=w),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),YM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,u)=>{const I=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(DC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(_t),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),OM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const e=n,t=A.ref("");return A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(i,u)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,A.mergeProps({key:b.name,ref_for:!0},b),{default:A.withCtx(()=>[A.createVNode(A.unref(_t),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),$M={class:"vfc-ObjGroup"},zM={key:1,class:"vfc-ObjGroup-render"},JM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=bt(),i=A.inject("$objGroupBase"),u=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(u)),(I,o)=>(A.openBlock(),A.createElementBlock("div",$M,[A.unref(t).design?(A.openBlock(),A.createBlock(A.unref(qc),{key:0,list:I.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",zM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,b=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(u)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),ZM={key:0},WM={key:0},jM={key:1},qM={key:1,class:"search-select-wrapper"},XM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=bt(),u=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:H,name:$}=e;let K={};if(H&&Array.isArray(S)?K=y.value.filter(T=>S.includes(T[N])):K=y.value.find(T=>T[N]===S)||{},i.selectData&&$&&i.updateSelectData($,K),e.onChange&&u)try{u[e.onChange](I,S,K)}catch(T){console.error(T+`
|
|
1639
|
+
]`)}}else Be&&(ZA=JA(ZA,","));for(;LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===T;)SA++,xe();if(SA>=LA.length)return ZA;throw new y("Unexpected character "+JSON.stringify(LA[SA]),SA);function De(){xe();var oe=function(){if(LA.charCodeAt(SA)!==H)return!1;{ZA+="{",SA++,xe(),XA(r)&&xe();let lt=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==$;){if(lt?lt=!1:($A(r)||(ZA=qA(ZA,",")),xe()),he(),!(ge()||wA())){LA.charCodeAt(SA)===$||LA.charCodeAt(SA)===H||LA.charCodeAt(SA)===T||LA.charCodeAt(SA)===K||LA[SA]===void 0?ZA=JA(ZA,","):function(){throw new y("Object key expected",SA)}();break}xe();var ue=$A(E),Me=SA>=LA.length,tt=(ue||(uA(LA[SA])||Me?ZA=qA(ZA,":"):be()),De());tt||(ue||Me?ZA+="null":be())}return LA.charCodeAt(SA)===$?(ZA+="}",SA++):ZA=qA(ZA,"}"),!0}}()||function(){if(LA.charCodeAt(SA)!==K)return!1;{ZA+="[",SA++,xe(),XA(r)&&xe();let Me=!0;for(;SA<LA.length&&LA.charCodeAt(SA)!==T;){Me?Me=!1:$A(r)||(ZA=qA(ZA,",")),he();var ue=De();if(!ue){ZA=JA(ZA,",");break}}return LA.charCodeAt(SA)===T?(ZA+="]",SA++):ZA=qA(ZA,"]"),!0}}()||ge()||function(){var ue=SA;if(LA.charCodeAt(SA)===s){if(SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1}for(;O(LA.charCodeAt(SA));)SA++;if(LA.charCodeAt(SA)===m){if(SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1;for(;O(LA.charCodeAt(SA));)SA++}if(LA.charCodeAt(SA)===J||LA.charCodeAt(SA)===Y){if(SA++,LA.charCodeAt(SA)!==s&&LA.charCodeAt(SA)!==g||SA++,HA())return ie(ue),!0;if(!O(LA.charCodeAt(SA)))return SA=ue,!1;for(;O(LA.charCodeAt(SA));)SA++}var Me,tt;if(HA()){if(SA>ue)return Me=LA.slice(ue,SA),tt=/^0\d/.test(Me),ZA+=tt?'"'.concat(Me,'"'):Me,!0}else SA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||wA();return xe(),oe}function xe(){for(YA();function(){if(LA.charCodeAt(SA)===S&&LA.charCodeAt(SA+1)===N){for(;SA<LA.length&&!function(oe,ue){return oe[ue]==="*"&&oe[ue+1]==="/"}(LA,SA);)SA++;SA+=2}else{if(LA.charCodeAt(SA)!==S||LA.charCodeAt(SA+1)!==S)return!1;for(;SA<LA.length&&LA.charCodeAt(SA)!==k;)SA++}return!0}()&&YA(););}function YA(){let oe="";for(var ue,Me;(ue=V(LA.charCodeAt(SA)))||(Me=LA.charCodeAt(SA))===z||Me>=X&&Me<=_||Me===AA||Me===G||Me===eA;)oe+=ue?LA[SA]:" ",SA++;return 0<oe.length&&(ZA+=oe,!0)}function $A(oe){return LA.charCodeAt(SA)===oe&&(ZA+=LA[SA],SA++,!0)}function XA(oe){return LA.charCodeAt(SA)===oe&&(SA++,!0)}function he(){xe(),LA.charCodeAt(SA)===m&&LA.charCodeAt(SA+1)===m&&LA.charCodeAt(SA+2)===m&&(SA+=3,xe(),XA(r))}function ge(oe){var ue,Me,tt=0<arguments.length&&oe!==void 0&&oe;let lt=LA.charCodeAt(SA)===w;if(lt&&(SA++,lt=!0),iA(LA.charCodeAt(SA))){var MA=BA(LA.charCodeAt(SA))?BA:UA(LA.charCodeAt(SA))?UA:vA(LA.charCodeAt(SA))?vA:rA,bA=SA,RA=ZA.length;let _e='"';for(SA++;;){if(SA>=LA.length)return zA=NA(SA-1),!tt&&tA(LA.charAt(zA))?(SA=bA,ZA=ZA.substring(0,RA),ge(!0)):(_e=qA(_e,'"'),ZA+=_e,!0);if(MA(LA.charCodeAt(SA))){var zA=SA,OA=_e.length;if(_e+='"',SA++,ZA+=_e,xe(),tt||SA>=LA.length||tA(LA.charAt(SA))||iA(LA.charCodeAt(SA))||O(LA.charCodeAt(SA)))return Ee(),!0;if(tA(LA.charAt(NA(zA-1))))return SA=bA,ZA=ZA.substring(0,RA),ge(!0);ZA=ZA.substring(0,RA),SA=zA+1,_e=_e.substring(0,OA)+"\\"+_e.substring(OA)}else{if(tt&&tA(LA[SA]))return _e=qA(_e,'"'),ZA+=_e,Ee(),!0;if(LA.charCodeAt(SA)===w)if(OA=LA.charAt(SA+1),le[OA]!==void 0)_e+=LA.slice(SA,SA+2),SA+=2;else if(OA==="u"){let qe=2;for(;qe<6&&((Me=LA.charCodeAt(SA+qe))>=C&&Me<=a||Me>=x&&Me<=q||Me>=P&&Me<=W);)qe++;if(qe===6)_e+=LA.slice(SA,SA+6),SA+=6;else{if(!(SA+qe>=LA.length))throw fe=void 0,fe=LA.slice(SA,SA+6),new y('Invalid unicode character "'.concat(fe,'"'),SA);SA=LA.length}}else _e+=OA,SA+=2;else{var fe=LA.charAt(SA),te=LA.charCodeAt(SA);if(te===l&&LA.charCodeAt(SA-1)!==w)_e+="\\"+fe;else if((ue=te)===k||ue===B||ue===v||ue===p||ue===d)_e+=WA[fe];else{if(!(32<=(ue=te)&&ue<=1114111))throw te=void 0,te=fe,new y("Invalid character "+JSON.stringify(te),SA);_e+=fe}SA++}}lt&&XA(w)}}return!1}function Ee(){for(xe();LA.charCodeAt(SA)===g;){SA++,xe();var oe=(ZA=JA(ZA,'"',!0)).length,ue=ge();ZA=ue?(ue=ZA,oe=oe,Me=1,ue.substring(0,oe)+ue.substring(oe+Me)):qA(ZA,'"')}var Me}function ke(oe,ue){return LA.slice(SA,SA+oe.length)===oe&&(ZA+=ue,SA+=oe.length,!0)}function wA(){for(var oe,ue=SA;SA<LA.length&&(!tA(oe=LA[SA])||oe==="/")&&!iA(LA.charCodeAt(SA));)SA++;if(SA>ue){if(LA.charCodeAt(SA)===D&&/^\w+$/.test(LA.slice(ue,SA).trim()))SA++,De(),LA.charCodeAt(SA)===Q&&(SA++,LA.charCodeAt(SA)===M)&&SA++;else{for(;V(LA.charCodeAt(SA-1))&&0<SA;)SA--;ue=LA.slice(ue,SA),ZA+=ue==="undefined"?"null":JSON.stringify(ue),LA.charCodeAt(SA)===l&&SA++}return!0}}function NA(oe){let ue=oe;for(;0<ue&&V(LA.charCodeAt(ue));)ue--;return ue}function HA(){return SA>=LA.length||tA(LA[SA])||V(LA.charCodeAt(SA))}function ie(oe){ZA+=LA.slice(oe,SA)+"0"}function be(){throw new y("Colon expected",SA)}}},3420:function(I){I.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(I){I.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(I){I.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(I){I.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}')}},u={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=u[I];return o!==void 0||(o=u[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,u})})(yC);var j8=yC.exports;const q8=fu(j8),X8={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const H=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){H("");return}try{const K=this.editor.get();H(K)}catch{}},u=()=>{this.expandAll()},I=(H,$,K)=>{this.$emit("textSelectionChange",this.editor,H,$,K)},o=(H,$)=>{this.$emit("selectionChange",this.editor,H,$)},b=(H,$,K)=>{this.$emit("colorPicker",this.editor,H,$,K)},y=({target:H})=>{this.$emit("focus",this.editor,H)},w=({target:H})=>{this.$emit("blur",this.editor,H)},S=H=>{this.$emit("validationError",this.editor,H)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:u,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:y,onBlur:w,onValidationError:S};this.editor=new q8(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},V8={ref:"jsonEditorVue",class:"json-editor-vue"};function AM(n,e,t,i,u,I){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":u.isFullScreen}])},[A.createElementVNode("div",V8,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:u.showFullScreen,right:!u.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const eM=se(X8,[["render",AM],["__scopeId","data-v-c53d52f1"]]),tM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(cy),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(eM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=u=>e.value=u),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"})),nM={key:0},iM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Qt(),{currentOptions:u,selectChange:I,loading:o}=Cr(e),{ruleModule:b,pageMethodMap:y}=Gi(),w=S=>{if(I(S),e.onChange&&b)try{b[e.onChange](y,S)}catch(N){console.error(N+`
|
|
1640
|
+
onChange: ${e.onChange}`)}};return A.watch(t,I),(S,N)=>{var Q;const H=A.resolveComponent("el-checkbox"),$=A.resolveComponent("el-checkbox-button"),K=A.resolveComponent("el-space"),T=A.resolveComponent("el-checkbox-group"),D=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",nM,A.toDisplayString((Q=t.value)==null?void 0:Q.map(L=>{var k;return(k=A.unref(u).find(v=>v[S.valueKey]===L))==null?void 0:k[S.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(T,A.mergeProps({key:1},S.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=L=>t.value=L),onChange:w}),{default:A.withCtx(()=>[S.optionType==="circle"||S.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(u),L=>(A.openBlock(),A.createBlock(H,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],border:S.optionType==="border"},null,8,["label","value","border"]))),128)):A.createCommentVNode("",!0),S.optionType==="button"?(A.openBlock(),A.createBlock(K,{key:1,wrap:"",size:[S.space,S.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(u),L=>(A.openBlock(),A.createBlock($,{key:L[S.valueKey],label:L[S.labelKey],value:L[S.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[D,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),oM={class:"vfc-color-input"},rM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const u=A.resolveComponent("el-input"),I=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",oM,[A.createVNode(u,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(I,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),aM={key:0,class:"empty"},sM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=u=>e.value=u)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",aM,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),lM={key:0},cM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.useAttrs(),i=Qt(),u=A.computed(()=>i.schema.read),I=A.computed(()=>e.value?t.valueFormat?Yt.dayjs(e.value).format(t.valueFormat):e.value:"--"),o=[{text:"Today",value:new Date}];return(b,y)=>{const w=A.resolveComponent("el-date-picker");return b.read||u.value?(A.openBlock(),A.createElementBlock("span",lM,A.toDisplayString(I.value),1)):(A.openBlock(),A.createBlock(w,A.mergeProps({key:1},b.$attrs,{modelValue:e.value,"onUpdate:modelValue":y[0]||(y[0]=S=>e.value=S),style:{width:"100%"},shortcuts:o}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),gM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),uM=A.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const e=A.ref(!1),t=A.ref(""),i=A.ref([]),u=A.ref(null),I=A.ref(0),o=A.ref(0),b=A.ref(!1),y=A.ref(1),w=A.ref(null),S=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,k=>{w.value&&(w.value.style.background=k)});const H=()=>{if(w.value){w.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(w.value).width);w.value.style.height=`${S.value*k}px`,u.value=w.value.getContext("2d"),u.value&&(u.value.scale(1*y.value,1*y.value),y.value=k/n.width,u.value.scale(1/y.value,1/y.value))}};A.onMounted(()=>{w.value&&(w.value.height=n.height,w.value.width=n.width,w.value.style.background=N.value,H(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",H)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",H)});const $=k=>{I.value=k.x,o.value=k.y,u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.lineCap="round",u.value.lineJoin="round",u.value.lineWidth=n.lineWidth*y.value,u.value.stroke(),u.value.closePath(),i.value.push(k))},K=k=>{u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.strokeStyle=n.lineColor,u.value.lineWidth=n.lineWidth*y.value,u.value.lineCap="round",u.value.lineJoin="round",u.value.stroke(),u.value.closePath(),o.value=k.y,I.value=k.x,i.value.push(k))},T=k=>{u.value&&(u.value.beginPath(),u.value.moveTo(I.value,o.value),u.value.lineTo(k.x,k.y),u.value.lineCap="round",u.value.lineJoin="round",u.value.stroke(),u.value.closePath(),i.value.push(k),i.value.push({x:-1,y:-1}))},D=k=>{const v=(k==null?void 0:k.format)||n.format,B=(k==null?void 0:k.quality)||n.quality;return new Promise((p,d)=>{if(!e.value){d("Warning: Not Signed!");return}if(u.value){const l=u.value.getImageData(0,0,w.value.width,w.value.height);u.value.globalCompositeOperation="destination-over",u.value.fillStyle=N.value,u.value.fillRect(0,0,w.value.width,w.value.height),t.value=w.value.toDataURL(v,B);let g=t.value;if(u.value.clearRect(0,0,w.value.width,w.value.height),u.value.putImageData(l,0,0),u.value.globalCompositeOperation="source-over",n.isCrop){const s=L(l.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=s[2]-s[0],h.height=s[3]-s[1];const a=u.value.getImageData(s[0],s[1],s[2],s[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(v,B)}}p(g)}})},Q=()=>{u.value&&u.value.clearRect(0,0,w.value.width,w.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},L=k=>{let v=w.value.width,B=0,p=w.value.height,d=0;for(let l=0;l<w.value.width;l++)for(let g=0;g<w.value.height;g++){const s=(l+w.value.width*g)*4;(k[s]>0||k[s+1]>0||k[s+2]>0||k[s+3]>0)&&(d=Math.max(g,d),B=Math.max(l,B),p=Math.min(g,p),v=Math.min(l,v))}return[v+1,p+1,B+1,d+1]};return{canvas:w,myBg:N,drawStart:$,drawMove:K,drawEnd:T,generate:D,reset:Q,touchStart:k=>{if(k.preventDefault(),e.value=!0,k.touches.length===1&&w.value){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};$(v)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};K(v)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const v={x:k.targetTouches[0].clientX-w.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-w.value.getBoundingClientRect().top};T(v)}},mouseDown:k=>{k.preventDefault(),b.value=!0,e.value=!0;const v={x:k.offsetX,y:k.offsetY};$(v)},mouseMove:k=>{if(k.preventDefault(),b.value){const v={x:k.offsetX,y:k.offsetY};K(v)}},mouseUp:k=>{k.preventDefault();const v={x:k.offsetX,y:k.offsetY};T(v),b.value=!1}}}});function dM(n,e,t,i,u,I){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const hM=se(uM,[["render",dM],["__scopeId","data-v-5f3bfcf7"]]),pM={key:0},CM={class:"vfc-esign-preview"},BM=["src"],mM={key:1,class:"vfc-esign"},EM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.ref(),i=Qt(),u=A.useModel(n,"modelValue"),I={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},o=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},y=()=>{t.value.generate().then(N=>{u.value=N}).catch(N=>{alert(N)})},w=A.ref(""),S=()=>{w.value=u.value,u.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,H)=>{const $=A.resolveComponent("el-button");return A.unref(i).read||u.value?(A.openBlock(),A.createElementBlock("div",pM,[A.createElementVNode("div",CM,[A.createElementVNode("img",{src:u.value,alt:"未签名"},null,8,BM)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock($,{key:0,disabled:N.disabled,onClick:S,type:"primary"},{default:A.withCtx(()=>H[2]||(H[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",mM,[A.createVNode(A.unref(fn),{modelValue:o.value,"onUpdate:modelValue":H[0]||(H[0]=K=>o.value=K),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(hM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[w.value?(A.openBlock(),A.createBlock($,{key:0,disabled:N.disabled,onClick:H[1]||(H[1]=K=>u.value=w.value),plain:"",type:"primary"},{default:A.withCtx(()=>H[3]||(H[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode($,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>H[4]||(H[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode($,{disabled:N.disabled,onClick:y,type:"primary"},{default:A.withCtx(()=>H[5]||(H[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),QM={key:0},IM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Radio",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Qt(),u=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=w=>{const{valueKey:S="value",name:N}=e;let H={};if(H=b.value.find($=>$[S]===w)||{},i.selectData&&N&&i.updateSelectData(N,H),e.onChange&&u)try{u[e.onChange](I,w,H)}catch($){console.error($+`
|
|
1641
|
+
onChange: ${e.onChange}`)}},{currentOptions:b,loading:y}=Cr(e);return(w,S)=>{var D;const N=A.resolveComponent("el-radio"),H=A.resolveComponent("el-radio-button"),$=A.resolveComponent("el-space"),K=A.resolveComponent("el-radio-group"),T=A.resolveDirective("loading");return w.read?(A.openBlock(),A.createElementBlock("div",QM,A.toDisplayString(((D=A.unref(b).find(Q=>Q[w.valueKey]===t.value))==null?void 0:D[w.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(K,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":S[0]||(S[0]=Q=>t.value=Q),onChange:o},w.$attrs),{default:A.withCtx(()=>[A.createVNode($,{wrap:"",direction:w.direction,size:[w.space,w.space],alignment:"normal"},{default:A.withCtx(()=>[w.optionType==="circle"||w.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),Q=>(A.openBlock(),A.createBlock(N,{key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],disabled:Q[w.disabledKey],border:w.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),Q=>(A.openBlock(),A.createBlock(H,A.mergeProps({key:Q[w.valueKey],label:Q[w.labelKey],value:Q[w.valueKey],class:"radio-button",disabled:Q[w.disabledKey],ref_for:!0},w.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[T,A.unref(y)]])}}}),[["__scopeId","data-v-1e24870a"]])},Symbol.toStringTag,{value:"Module"})),fM={class:"vfc-formList"},wM={key:1},bM={class:"list-item-content"},yM={class:"card-header"},DM={style:{"margin-top":"5px"}},vM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),u=Qt(),I=N=>Rt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),y=()=>{o.value||(t.value=[...t.value,{}])},w=N=>{const H=t.value.filter(($,K)=>K!==N);t.value=H},S=(N,H,$,K)=>{const T=H.no,D=I(K)[T];return A.h(oo,{...D,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${K}.${D.name}`})};return A.watch(t,(N,H)=>{const $=N.reduce((Q,L,k)=>(ut.isEqual(L,H[k])||(Q=k),Q),0);if(i.value=$,!e.children.some(Q=>Q.change))return;const K=I($),T=N[$]||{},D=H[$]||{};K.forEach(Q=>{Q.change&&D&&!ut.isEqual(T[Q.name],D[Q.name])&&Q.change.forEach(L=>{if(L.condition!==!1){if(ut.isString(L.condition)&&/^{{\s*(.*?)\s*}}$/.test(L.condition))return;const k=L.target.split(".").pop();t.value[$][k]=L.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,H)=>{const $=A.resolveComponent("el-space"),K=A.resolveComponent("el-button"),T=A.resolveComponent("el-form-item"),D=A.resolveComponent("el-card"),Q=A.resolveComponent("el-table-column"),L=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",fM,[A.unref(u).design?(A.openBlock(),A.createBlock(A.unref(qc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",wM,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(k,v)=>(A.openBlock(),A.createBlock(T,{key:k.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",bM,[A.createVNode($,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${v}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:B=>w(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(k,v)=>(A.openBlock(),A.createBlock(D,{key:k.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",yM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(v+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:B=>w(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${v}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(L,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,k=>(A.openBlock(),A.createBlock(Q,A.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},A.unref(ut.pickBy)(k,Boolean),{formatter:S}),null,16,["prop","label"]))),128)),A.createVNode(Q,{fixed:"right","min-width":"60"},{default:A.withCtx(k=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:v=>w(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",DM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(K,{key:0,onClick:y,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),kM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, 1fr)`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,u)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(wt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),_M=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,u)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(wt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8ba696e7"]])},Symbol.toStringTag,{value:"Module"})),MM={key:0},xM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=Qt(),i=A.computed(()=>t.schema.read),u=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=A.resolveComponent("el-input-number");return I.read||i.value?(A.openBlock(),A.createElementBlock("span",MM,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(I.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),style:{width:"100%"},min:I.min||0,onKeydown:u}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),SM={style:{"min-height":"32px"}},NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),u=Qt(),I=A.computed(()=>u.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),y=H=>{const{valueKey:$="value",multiple:K,name:T}=e;let D={};if(K&&Array.isArray(H)?D=w.value.filter(Q=>H.includes(Q[$])):D=w.value.find(Q=>Q[$]===H)||{},u.selectData&&T&&u.updateSelectData(T,D),e.onChange&&o)try{o[e.onChange](b,H,D)}catch(Q){console.error(Q+`
|
|
1642
|
+
onChange: ${e.onChange}`)}},{currentOptions:w,loading:S}=Cr(e),N=A.computed(()=>{var $;if(e.multiple)return w.value.filter(T=>i.value.includes(T[e.valueKey])).map(T=>T[e.labelKey]).join(",");const H=($=w.value.find(K=>K[e.valueKey]===i.value))==null?void 0:$[e.labelKey];return!H||`${H}`.trim().length===0?"--":H});return(H,$)=>{const K=A.resolveComponent("el-option"),T=A.resolveComponent("el-select");return H.read||I.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:H.readTextColor})},A.toDisplayString(N.value),5)):(A.openBlock(),A.createBlock(T,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=D=>i.value=D)},H.$attrs,{onChange:y,multiple:H.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(S),placeholder:""}),{loading:A.withCtx(()=>$[1]||($[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",SM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(w),D=>(A.openBlock(),A.createBlock(K,{key:D[H.valueKey],label:D[H.labelKey],value:D[H.valueKey],disabled:D[H.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(D[H.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading"]))}}})},Symbol.toStringTag,{value:"Module"})),FM={key:0},RM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(""),u=A.computed({get(){var I;return(I=t.value)==null?void 0:I.replaceAll(i.value,"")},set(I){I?t.value=I+i.value:t.value=I}});return A.watch(i,(I,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+I)}),A.onMounted(()=>{e.selectInitialValue&&(i.value=e.selectInitialValue)}),(I,o)=>{const b=A.resolveComponent("el-option"),y=A.resolveComponent("el-select"),w=A.resolveComponent("el-input");return I.read?(A.openBlock(),A.createElementBlock("span",FM,A.toDisplayString(u.value||"--"),1)):(A.openBlock(),A.createBlock(w,A.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},I.$attrs,{modelValue:u.value,"onUpdate:modelValue":o[1]||(o[1]=S=>u.value=S)}),{[I.selectPosition]:A.withCtx(()=>[A.createVNode(y,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=S=>i.value=S),style:A.normalizeStyle({width:I.selectWidth+"px"}),placeholder:" "},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.options,S=>(A.openBlock(),A.createBlock(b,{label:S.label,value:S.value,disabled:S.disabled,key:S.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),LM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=Qt(),t=A.useModel(n,"modelValue");return(i,u)=>{const I=A.resolveComponent("el-switch");return A.openBlock(),A.createBlock(I,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=o=>t.value=o),disabled:A.unref(e).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),GM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tag");return A.openBlock(),A.createBlock(i,A.mergeProps({type:e.type},e.$attrs),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),PM=["innerHTML"],HM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:{text:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(e.$attrs,{innerHTML:e.text}),null,16,PM))}})},Symbol.toStringTag,{value:"Module"})),DC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),KM=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),TM={key:0,style:{"min-width":"300px"}},UM={class:"el-upload__tip"},YM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.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 e=A.useModel(n,"modelValue"),t=(o,b)=>{console.log(o,b)},i=o=>{console.log(o)},u=(o,b)=>{Yt.ElMessage.warning(`The limit is 3, you selected ${o.length} files this time, add up to ${o.length+b.length} totally`)},I=(o,b)=>Yt.ElMessageBox.confirm(`Cancel the transfer of ${o.name} ?`).then(()=>!0,()=>!1);return(o,b)=>{const y=A.resolveComponent("el-button"),w=A.resolveComponent("el-upload");return A.openBlock(),A.createBlock(w,{"file-list":e.value,"onUpdate:fileList":b[0]||(b[0]=S=>e.value=S),action:o.action,multiple:o.multiple,limit:o.limit,drag:o.drag,name:o.name,listType:o.listType,"on-preview":i,"on-remove":t,"before-remove":I,"on-exceed":u},A.createSlots({default:A.withCtx(()=>[o.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[o.drag?(A.openBlock(),A.createElementBlock("div",TM,[A.createVNode(A.unref(Ie),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=A.createElementVNode("div",{class:"el-upload__text"},[A.createTextVNode(" 拖拽文件到此处上传 "),A.createElementVNode("br"),A.createTextVNode(" 或"),A.createElementVNode("em",null,"点击上传")],-1))])):(A.openBlock(),A.createBlock(y,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(o.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),o.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(Ie),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[o.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",UM,A.toDisplayString(o.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function OM(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),u=qt(n,e);return`rgb(${t},${i},${u})`}class $M{constructor(e,t){Ct(this,"version","1.0.0");Ct(this,"options");Ct(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Ct(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let u=1;u<=4;u++){const I=i[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*u,b=parseInt(this.options.height)/2,y=qt(-30,30);t.translate(o,b),t.rotate(y*Math.PI/180),t.fillText(I,0,0),t.rotate(-y*Math.PI/180),t.translate(-o,-b)}for(let u=0;u<4;u++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let u=0;u<parseInt(this.options.width)/4;u++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Ct(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:OM(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const zM={class:"vfc-verify-code"},JM=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),u=Qt(),I=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?u.updateVCodePass(!0):u.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new $M(t.value)}),(o,b)=>{const y=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",zM,[A.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=w=>e.value=w),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),ZM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,u)=>{const I=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(DC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(wt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),WM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const e=n,t=A.ref("");return A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(i,u)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,A.mergeProps({key:b.name,ref_for:!0},b),{default:A.withCtx(()=>[A.createVNode(A.unref(wt),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),jM={class:"vfc-ObjGroup"},qM={key:1,class:"vfc-ObjGroup-render"},XM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=Qt(),i=A.inject("$objGroupBase"),u=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(u)),(I,o)=>(A.openBlock(),A.createElementBlock("div",jM,[A.unref(t).design?(A.openBlock(),A.createBlock(A.unref(qc),{key:0,list:I.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",qM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,b=>(A.openBlock(),A.createBlock(A.unref(oo),A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(u)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),VM={key:0},Ax={key:0},ex={key:1},tx={key:1,class:"search-select-wrapper"},nx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=Qt(),u=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=S=>{const{valueKey:N="value",multiple:H,name:$}=e;let K={};if(H&&Array.isArray(S)?K=y.value.filter(T=>S.includes(T[N])):K=y.value.find(T=>T[N]===S)||{},i.selectData&&$&&i.updateSelectData($,K),e.onChange&&u)try{u[e.onChange](I,S,K)}catch(T){console.error(T+`
|
|
1643
1643
|
onChange: ${e.onChange}`)}},b=()=>{if(e.onSearch&&u)try{u[e.onSearch](I)}catch(S){console.error(S+`
|
|
1644
|
-
onSearch: ${e.onSearch}`)}},{currentOptions:y,loading:w}=Cr(e);return(S,N)=>{var D;const H=A.resolveComponent("el-option"),$=A.resolveComponent("el-select"),K=A.resolveComponent("el-button"),T=A.resolveDirective("loading");return S.read?(A.openBlock(),A.createElementBlock("div",
|
|
1644
|
+
onSearch: ${e.onSearch}`)}},{currentOptions:y,loading:w}=Cr(e);return(S,N)=>{var D;const H=A.resolveComponent("el-option"),$=A.resolveComponent("el-select"),K=A.resolveComponent("el-button"),T=A.resolveDirective("loading");return S.read?(A.openBlock(),A.createElementBlock("div",VM,[S.multiple?(A.openBlock(),A.createElementBlock("div",Ax,A.toDisplayString(t.value&&t.value.map(Q=>{var L;return(L=A.unref(y).find(k=>k[S.valueKey]===Q))==null?void 0:L[S.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",ex,A.toDisplayString(((D=A.unref(y).find(Q=>Q[S.valueKey]===t.value))==null?void 0:D[S.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",tx,[A.withDirectives((A.openBlock(),A.createBlock($,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=Q=>t.value=Q)},S.$attrs,{onChange:o,multiple:S.multiple,clearable:"",filterable:"",disabled:S.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(y),Q=>(A.openBlock(),A.createBlock(H,{key:Q[S.valueKey],label:Q[S.labelKey],value:Q[S.valueKey],disabled:Q[S.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(Q[S.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[T,A.unref(w)]]),A.createVNode(K,{onClick:b,disabled:S.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-b14d9207"]])},Symbol.toStringTag,{value:"Module"})),ix={class:"custom-tree-node"},ox={class:"tree-node-text"},rx={class:"tree-node-label"},ax={key:0,class:"tree-node-present"},sx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),u=A.ref(),I=(S,N)=>{u.value=S[e.nodeKey]},o=(S,N,H)=>{if(S&&t)try{t[S](i,{node:N,data:H})}catch($){console.error($+`
|
|
1645
1645
|
onNodeClick: ${e.onNodeClick}`)}},b=(S,N)=>{if(e.onNodeClick&&t)try{t[e.onNodeClick](i,{node:S,data:N})}catch(H){console.error(H+`
|
|
1646
1646
|
onNodeClick: ${e.onNodeClick}`)}},y=(S,N,H)=>{if(e.onLoad&&t)try{t[e.onLoad](i,{node:S,resolve:N,reject:H})}catch($){console.error($+`
|
|
1647
|
-
onLoad: ${e.onLoad}`)}},w=A.ref([]);return A.watch(()=>e.data,()=>{if(!e.data||!Array.isArray(e.data)||e.data.length===0)return;const N=[e.data[0][e.nodeKey]];w.value=N},{immediate:!0}),(S,N)=>{const H=A.resolveComponent("el-tooltip"),$=A.resolveComponent("el-button"),K=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(K,A.mergeProps(S.$attrs,{onNodeClick:b,load:y,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":u.value,onCurrentChange:I,"node-key":S.nodeKey,props:e.props,data:S.data,"default-expanded-keys":w.value}),{default:A.withCtx(({node:T,data:D})=>[A.createElementVNode("div",VM,[A.createElementVNode("div",Ax,[A.createElementVNode("span",ex,A.toDisplayString(T.label),1),D[S.nodeKey]===u.value?(A.openBlock(),A.createElementBlock("div",tx,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.btns,Q=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:Q.key},[A.unref(Rt)(Q.hidden,{$node:T,$data:D})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock($,{key:0,link:"",onClick:A.withModifiers(L=>o(Q.onClick||"",T,D),["stop"]),disabled:Q.disabled,type:Q.type},{default:A.withCtx(()=>[A.createVNode(H,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[Q.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:Q.icon.name,color:Q.icon.color,class:"btn-icon"},null,8,["name","color"])):A.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-cc8e85bb"]])},Symbol.toStringTag,{value:"Module"})),ix=["id"],ox={class:"empty-content"},rx=["title"],ax=["title","onClick"],sx={key:1,class:"icon-text-wrapper"},lx=["title","onClick"],cx=["title"],gx={class:"row-btn-wrapper"},ux=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),u=A.inject("ruleModule",void 0),I=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:u),b=A.inject("pageMethodMap",{}),y=A.inject("getGlobalParams",()=>{}),w=A.inject(jn),S=w?w.translateFn:null,N=A.ref(),H=(O,tA,lA)=>{z.value[O]&&(z.value[O][tA]=lA)},$=(O,tA)=>{const lA=t.columns.find(uA=>uA.key===O);lA&&(lA.hidden=!tA)},K=(O,tA,lA,uA)=>{try{o.value[O.onClick](b,tA,lA,uA),uA==null||uA.stopPropagation()}catch(Z){console.error(Z)}},T=O=>{if(t.rowClick)try{o.value[t.rowClick](b,O)}catch(tA){console.error(tA)}},D=O=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,O)}catch(tA){console.error(tA)}},Q=A.ref([]),L=O=>{Q.value=O},k=(O,tA)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,O,tA)}catch(lA){console.error(lA)}return!0},v=()=>{var O;(O=N.value)==null||O.clearSelection()},B=()=>z.value,p=A.ref(),d=O=>{if(p.value=O,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,O)}catch(tA){console.error(tA)}},l=()=>p.value,g=()=>{var O;return(O=N.value)==null?void 0:O.getSelectionRows()},s=async()=>!0,h=(O,tA)=>{var uA;const lA=(uA=t.topBtns)==null?void 0:uA.find(Z=>Z.key===O);lA&&(lA.hidden=tA)},C=(O,tA)=>{var uA;const lA=(uA=t.rowBtns)==null?void 0:uA.find(Z=>Z.key===O);lA&&(lA.condition=!tA)},a=A.ref(0),r=O=>{a.value=O},m=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),M=()=>m.value,x=O=>{let tA=!1;return O.pageNum!==void 0&&O.pageNum>-1&&(m.value.pageNum!==O.pageNum&&(tA=!0),m.value.pageNum=O.pageNum),O.pageSize!==void 0&&O.pageSize>-1&&(m.value.pageSize!==O.pageSize&&(tA=!0),m.value.pageSize=O.pageSize),{pagination:m.value,isChange:tA}},P=async()=>{if(m.value.pageNum=1,!t.sizeChange)return;const O=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,m.value),E.value.pageNum=m.value.pageNum,E.value.pageSize=m.value.pageSize}catch(tA){console.error(tA),m.value.pageNum=E.value.pageNum,m.value.pageSize=E.value.pageSize}finally{O.close()}},Y=async()=>{if(!t.pageChange)return;const O=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,m.value),E.value.pageNum=m.value.pageNum,E.value.pageSize=m.value.pageSize}catch(tA){console.error(tA),m.value.pageNum=E.value.pageNum,m.value.pageSize=E.value.pageSize}finally{O.close()}},J=O=>{var tA;(tA=N.value)==null||tA.setCurrentRow(O)},q=O=>{var tA;(tA=N.value)==null||tA.setCurrentRow(z.value[O])},W=(O,tA,lA)=>{t.columns.forEach(uA=>{uA.key===O&&uA[tA]&&(uA[tA]=lA)})},z=A.ref([]),X=O=>{z.value=O},_=(O={})=>{z.value.push(O)},AA=O=>{O>=0&&O<z.value.length&&z.value.splice(O,1)},G=async()=>{z.value=[...z.value]},eA=A.useTemplateRef("rootRef"),sA=A.readonly({...A.toRefs(t),setCellData:H,clearSelection:v,getData:B,getCurrentRow:l,getSelectedRows:g,addRow:_,deleteRow:AA,refresh:G,validate:s,setData:X,selectRow:J,selectRowNum:q,setTotal:r,getPagination:M,setPagination:x,setTopBtnHidden:h,setColVisible:$,setColumn:W,setRowsBtnHidden:C,rootRef:eA,type:"table"}),oA=(O,tA)=>{const lA=S?S(O.key,tA):tA[O.key];if(!O.encrypted||!lA)return lA;const uA=`${lA}`;return uA.length<=4?"*".repeat(uA.length):uA.slice(0,-4)+"****"},hA=(O,tA)=>{if(!O.getTextStyle||!o.value)return{};try{return o.value[O.getTextStyle](b,tA,O)}catch(lA){console.error(lA)}},EA=(O,tA)=>{if(!(!O.getIconInfo||!o.value))try{return o.value[O.getIconInfo](b,tA,O)}catch(lA){console.error(lA)}},gA=(O,tA)=>{if(!(!O.getIconPopoverContent||!o.value))try{return o.value[O.getIconPopoverContent](b,tA,O)}catch(lA){console.error(lA)}},CA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!z.value||z.value.length===0?!1:z.value.some(O=>{var tA;return(tA=t.rowBtns)==null?void 0:tA.some(lA=>lA.condition===void 0||lA.condition===null?!0:Rt(lA.condition,{$row:O,$globalParams:y()}))}));if(A.onMounted(async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const O=t.onMounted;try{o.value[O](b)}catch(tA){console.error(tA)}}),A.onActivated(()=>{if(!t.onActivated||!o.value)return;const O=t.onActivated;try{o.value[O](b)}catch(tA){console.error(tA)}}),t.name){const O=fs(t.name,sA);A.onUnmounted(()=>{O()})}return e(sA),(O,tA)=>{const lA=A.resolveComponent("el-table-column"),uA=A.resolveComponent("el-popover"),Z=A.resolveComponent("el-tooltip"),V=A.resolveComponent("el-button"),iA=A.resolveComponent("el-pagination");return O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{tableBorder:i.value==="table",[O.name]:!0}]),ref_key:"rootRef",ref:eA,id:O.name},[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(Yt.ElTable),{ref_key:"tableRef",ref:N,data:z.value,"highlight-current-row":"","row-key":O.rowKey,stripe:O.stripe,onRowClick:T,onRowDblclick:D,onSelectionChange:L,onCurrentChange:d,height:O.height},{empty:A.withCtx(()=>[A.createElementVNode("div",ox,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),tA[2]||(tA[2]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[O.multipleSelection?(A.openBlock(),A.createBlock(lA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(O.columns,rA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:rA.key},[rA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(lA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:rA.label},A.toDisplayString(rA.label),9,rx)]),default:A.withCtx(({row:BA,$index:vA})=>{var UA,JA,qA,WA;return[rA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":rA.onClick}]),title:oA(rA,BA),onClick:le=>K(rA,BA,vA,le)},A.toDisplayString(oA(rA,BA)),11,ax)):rA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",sx,[rA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[rA.iconPopover&&Array.isArray(gA(rA,BA))?(A.openBlock(),A.createBlock(uA,{key:0},{reference:A.withCtx(()=>{var le,ne;return[A.createVNode(Re,{name:(le=EA(rA,BA))==null?void 0:le.name,color:(ne=EA(rA,BA))==null?void 0:ne.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(_t),{list:gA(rA,BA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(Re,{key:1,name:(UA=EA(rA,BA))==null?void 0:UA.name,color:(JA=EA(rA,BA))==null?void 0:JA.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":rA.onClick}]),title:oA(rA,BA),onClick:le=>K(rA,BA,vA,le)},A.toDisplayString(oA(rA,BA)),11,lx),rA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[rA.iconPopover&&Array.isArray(gA(rA,BA))?(A.openBlock(),A.createBlock(uA,{key:0},{reference:A.withCtx(()=>{var le,ne;return[A.createVNode(Re,{name:(le=EA(rA,BA))==null?void 0:le.name,color:(ne=EA(rA,BA))==null?void 0:ne.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(_t),{list:gA(rA,BA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(Re,{key:1,name:(qA=EA(rA,BA))==null?void 0:qA.name,color:(WA=EA(rA,BA))==null?void 0:WA.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:"text-ellipsis",title:oA(rA,BA),style:A.normalizeStyle(hA(rA,BA))},A.toDisplayString(oA(rA,BA)),13,cx))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),CA.value&&O.rowBtns&&O.rowBtns.length>0?(A.openBlock(),A.createBlock(lA,{key:1,label:O.rowBtnsLabel||"Action",fixed:"right",align:"left",width:O.rowBtnsWidth||(O.rowBtns.length*34+12>100?O.rowBtns.length*34+12:100)},{default:A.withCtx(({row:rA,$index:BA})=>[A.createElementVNode("div",gx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(O.rowBtns,vA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:vA.key},[vA.component==="Popover"?(A.openBlock(),A.createBlock(uA,{key:0,title:vA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:A.withCtx(()=>[vA.condition===void 0||vA.condition===null||A.unref(Rt)(vA.condition,{$row:rA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(V,{key:0,disabled:vA.disabled,link:"",size:"small",type:vA.type,onClick:A.withModifiers(UA=>K(vA,rA,BA,UA),["stop"])},{default:A.withCtx(()=>[A.createVNode(Z,{class:"box-item",effect:"dark",content:vA.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[vA.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:vA.icon.name,color:vA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),vA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:vA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(vA.buttonText.text,{$row:rA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(_t),{list:vA.children},null,8,["list"])])]),_:2},1032,["title"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[vA.condition===void 0||vA.condition===null||A.unref(Rt)(vA.condition,{$row:rA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(V,{key:0,disabled:vA.disabled,link:"",size:"small",type:vA.type,onClick:A.withModifiers(UA=>K(vA,rA,BA,UA),["stop"])},{default:A.withCtx(()=>[A.createVNode(Z,{class:"box-item",effect:"dark",content:vA.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[vA.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:vA.icon.name,color:vA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),vA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:vA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(vA.buttonText.text,{$row:rA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(ic,A.mergeProps({data:z.value},t,{getColText:oA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),A.createElementVNode("div",{class:A.normalizeClass(["pagination-wrapper",{hidePagination:(O.hiddenPagination||z.value.length===0)&&!O.height,transparentPagination:(O.hiddenPagination||z.value.length===0)&&O.height,cardlistPadding:i.value==="card"}])},[A.createVNode(iA,{layout:O.paginationLayout||"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":O.pageSizes||[5,6,10,20,30,40],"default-page-size":O.defaultPageSize,"current-page":m.value.pageNum,"onUpdate:currentPage":tA[0]||(tA[0]=rA=>m.value.pageNum=rA),"page-size":m.value.pageSize,"onUpdate:pageSize":tA[1]||(tA[1]=rA=>m.value.pageSize=rA),"pager-count":Number(O.pagerCount)||5,onSizeChange:P,onCurrentChange:Y},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,ix))}}}),[["__scopeId","data-v-70597069"]])},Symbol.toStringTag,{value:"Module"})),dx=["id"],hx={class:"left-part"},px={class:"title"},Cx={class:"right-part"},Bx={key:0},mx={key:1,class:"switch-panel"},Ex={key:3},Qx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),u=n,I=A.ref(u.radioDefault??"2"),o=T=>{if(T&&e)try{e[T](t)}catch(D){console.error(D+`
|
|
1648
|
-
funcName: ${T}`)}},b=T=>{u.onRadioChange&&e&&e[u.onRadioChange](t,T)},y=()=>{w.value=!w.value,u.onCollapsed&&e&&e[u.onCollapsed](t,w.value)},w=A.ref(u.defaultCollapse??!1);A.watch(()=>u.defaultCollapse,()=>{w.value=u.defaultCollapse??!1});const S=A.ref(u.displayType||(u.typeSwitch?"card":"table")),N=bt(),H=T=>{S.value=T;const D=xi(N.schema.items,u.name),Q=L=>{L.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=T),k.children&&k.children.length>0&&Q(k.children)})};D&&D.children&&Q(D.children)},$=T=>{u.handleSearch&&e&&e[u.handleSearch](t,T)},K=T=>{u.searchInputChange&&e&&e[u.searchInputChange](t,T)};return H(S.value),(T,D)=>{const Q=A.resolveComponent("el-radio"),L=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:T.type==="gridItem"}]),style:A.normalizeStyle(T.style),id:T.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:T.type==="inline",mix:T.type==="mix",default:T.type==="default",gridItem:T.type==="gridItem",collapsedPadding:w.value&&T.onCollapsed,"has-search-input":T.hasSearchInput}])},[A.createElementVNode("div",hx,[T.mainIcon?(A.openBlock(),A.createBlock(Re,{key:0,class:"title-icon",size:"large",name:T.mainIcon.name,color:T.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",px,A.toDisplayString(T.title),1),T.radioList?(A.openBlock(),A.createBlock(L,{key:1,class:"ml-9",modelValue:I.value,"onUpdate:modelValue":D[0]||(D[0]=p=>I.value=p),onChange:D[1]||(D[1]=p=>b(I.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.radioList,p=>(A.openBlock(),A.createBlock(Q,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(Re,{class:"extra-icon",name:p.name,color:p.color,onClick:d=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,class:"extra-icon",name:p.name,color:p.color,onClick:d=>o(p.onClick)},null,8,["name","color","onClick"]))],64))),128))]),T.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:w.value&&T.onCollapsed}])},[A.createVNode(v,{modelValue:i.value,"onUpdate:modelValue":D[2]||(D[2]=p=>i.value=p),placeholder:T.searchPlaceholder,size:"large",onInput:K,onKeyup:A.withKeys($,["enter"])},{prefix:A.withCtx(()=>D[5]||(D[5]=[])),suffix:A.withCtx(()=>[A.createVNode(Re,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"normal",onClick:$})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",Cx,[T.formSlots?(A.openBlock(),A.createElementBlock("div",Bx,[A.createVNode(A.unref(_t),{list:T.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),T.typeSwitch?(A.openBlock(),A.createElementBlock("div",mx,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="card"}]),onClick:D[3]||(D[3]=p=>H("card"))},[A.createVNode(Re,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="table"}]),onClick:D[4]||(D[4]=p=>H("table"))},[A.createVNode(Re,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),T.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:w.value}]),onClick:y},[A.createVNode(Re,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),T.btns&&T.btns.length>0?(A.openBlock(),A.createElementBlock("div",Ex,[A.createVNode(A.unref(lo),{btns:T.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),T.onCollapsed?(A.openBlock(),A.createBlock(A.unref(_t),{key:1,list:T.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(_t),{list:T.children},null,8,["list"])],512),[[A.vShow,!w.value]])]),_:1}))],14,dx)}}}),[["__scopeId","data-v-07416810"]])},Symbol.toStringTag,{value:"Module"})),Ix={key:0,class:"dropdown-icon-wrapper"},fx={key:1,class:"expansion-icon-wrapper"},wx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Gi(),u=A.ref(!1),I=()=>{if(e.onDropdownChange){u.value=!u.value;try{t[e.onDropdownChange](i,u.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,y)=>{const w=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(w,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(_t),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",Ix,[A.createVNode(Re,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:A.normalizeClass({reversed:u.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",fx,[A.createVNode(Re,{name:"icon-shuangxiangjiantou",color:"#666666",onClick:o})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-8241b4a0"]])},Symbol.toStringTag,{value:"Module"})),bx={class:"content"},yx={class:"product-list"},Dx={class:"attribute-list"},vx={key:0,class:"attribute-list-item"},kx={class:"product-title attribute-title"},_x={class:"attribute-item-list"},Mx={class:"attribute-label"},xx={class:"attribute-value"},Sx=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(Hd,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",bx,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",yx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,u=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:u.label},A.toDisplayString(u.label),1))),128))]),A.createElementVNode("div",Dx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,u=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:u.label},[u.children.length>0?(A.openBlock(),A.createElementBlock("div",vx,[A.createElementVNode("div",kx,A.toDisplayString(u.label),1),A.createElementVNode("div",_x,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.children,I=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:I.label},[A.createElementVNode("div",Mx,A.toDisplayString(I.label),1),A.createElementVNode("div",xx,A.toDisplayString(I.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),Nx={key:0,class:"empty-content"},Fx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,H;const e=n,t=A.ref(),i=A.ref([]),u=(N=e.columns.find($=>$.position==="title"))==null?void 0:N.key,I=(H=e.columns.find($=>$.position==="subTitle"))==null?void 0:H.key,o=e.columns.find($=>$.position==="footer"),b=$=>{const K=[];return $.children&&$.children.length>0&&$.children.forEach(T=>{const D={label:T.PRODUCT_ITEM_NAME,children:[]};T.children&&T.children.length>0&&T.children.forEach(Q=>{D.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(D)}),K};function y($){const K={},T=[];return $.forEach(D=>{K[D.PRODUCT_ITEM_ID]={...D,children:[]}}),$.forEach(D=>{const Q=K[D.PRODUCT_ITEM_ID],L=D.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?T.push(Q):K[L].children.push(Q)}),T}const w=A.inject(jn),S=w?w.translateFn:null;return A.watchEffect(()=>{if(e.data){const $=y(e.data);t.value=$.map(K=>{const T={content:[]};return u&&(T.title=S?S(u,K):K[u],T.titleColor="var(--el-color-primary)"),I&&(T.subTitle=S?S(I,K):K[I]),o&&(T.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(T.product=b(K)),e.columns.forEach(D=>{D.position==="content"&&T.content.push({label:D.label,value:S?S(D.key,K):K[D.key]})}),T})}}),A.onMounted(()=>{var $;i.value=($=e.rowBtns)==null?void 0:$.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),($,K)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(T,D)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:D},[A.createVNode(Sx,{data:T,btns:i.value,index:D},null,8,["data","btns","index"])]))),128))],4),!$.data||$.data.length===0?(A.openBlock(),A.createElementBlock("div",Nx,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-f20f5150"]])},Symbol.toStringTag,{value:"Module"})),Rx={class:"progress"},Lx={class:"timeline-content"},Gx={class:"timeline-content__title"},Px={key:0,class:"empty-content"},Hx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),u=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",Rx,[A.createVNode(u,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(I,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(Re,{name:I.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",Lx,[A.createElementVNode("div",Gx,[A.createElementVNode("span",null,A.toDisplayString(I.title),1),A.createElementVNode("span",null,A.toDisplayString(I.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",Px,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6b11ed96"]])},Symbol.toStringTag,{value:"Module"})),Kx={class:"log-list"},Tx={class:"title-part"},Ux={class:"title"},Yx={class:"sub-title"},Ox={class:"content"},$x={key:0},zx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",Kx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var u;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",Tx,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((u=i.title)==null?void 0:u[0]),5),A.createElementVNode("div",Ux,A.toDisplayString(i.title),1),A.createElementVNode("div",Yx,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",Ox,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(I,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[A.createTextVNode(A.toDisplayString(I.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",$x," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-fe451915"]])},Symbol.toStringTag,{value:"Module"})),Jx=["infinite-scroll-disabled"],Zx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Gi(),i=n,u=async()=>{try{await e[i.load](t)}catch(I){console.error(I)}};return(I,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":I.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(I.style)},[A.createVNode(A.unref(_t),{list:I.children},null,8,["list"])],12,Jx)),[[b,u]])}}}),[["__scopeId","data-v-65b0b3cf"]])},Symbol.toStringTag,{value:"Module"}));wt.$options=jn,wt.FormDesign=wC,wt.FormRender=fn,wt.PageRender=ag,wt.TableRender=rg,wt.default=P8,wt.useFormInstance=bt,wt.useRuleContext=Gi,Object.defineProperties(wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1647
|
+
onLoad: ${e.onLoad}`)}},w=A.ref([]);return A.watch(()=>e.data,()=>{if(!e.data||!Array.isArray(e.data)||e.data.length===0)return;const N=[e.data[0][e.nodeKey]];w.value=N},{immediate:!0}),(S,N)=>{const H=A.resolveComponent("el-tooltip"),$=A.resolveComponent("el-button"),K=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(K,A.mergeProps(S.$attrs,{onNodeClick:b,load:y,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":u.value,onCurrentChange:I,"node-key":S.nodeKey,props:e.props,data:S.data,"default-expanded-keys":w.value}),{default:A.withCtx(({node:T,data:D})=>[A.createElementVNode("div",ix,[A.createElementVNode("div",ox,[A.createElementVNode("span",rx,A.toDisplayString(T.label),1),D[S.nodeKey]===u.value?(A.openBlock(),A.createElementBlock("div",ax,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(S.btns,Q=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:Q.key},[A.unref(Rt)(Q.hidden,{$node:T,$data:D})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock($,{key:0,link:"",onClick:A.withModifiers(L=>o(Q.onClick||"",T,D),["stop"]),disabled:Q.disabled,type:Q.type},{default:A.withCtx(()=>[A.createVNode(H,{class:"box-item",effect:"dark",content:Q.text,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[Q.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:Q.icon.name,color:Q.icon.color,class:"btn-icon"},null,8,["name","color"])):A.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-016a1506"]])},Symbol.toStringTag,{value:"Module"})),lx=["id"],cx={class:"empty-content"},gx=["title"],ux=["title","onClick"],dx={key:1,class:"icon-text-wrapper"},hx=["title","onClick"],px=["title"],Cx={class:"row-btn-wrapper"},Bx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),u=A.inject("ruleModule",void 0),I=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:u),b=A.inject("pageMethodMap",{}),y=A.inject("getGlobalParams",()=>{}),w=A.inject(jn),S=w?w.translateFn:null,N=A.ref(),H=(O,tA,lA)=>{z.value[O]&&(z.value[O][tA]=lA)},$=(O,tA)=>{const lA=t.columns.find(uA=>uA.key===O);lA&&(lA.hidden=!tA)},K=(O,tA,lA,uA)=>{try{o.value[O.onClick](b,tA,lA,uA),uA==null||uA.stopPropagation()}catch(Z){console.error(Z)}},T=O=>{if(t.rowClick)try{o.value[t.rowClick](b,O)}catch(tA){console.error(tA)}},D=O=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,O)}catch(tA){console.error(tA)}},Q=A.ref([]),L=O=>{Q.value=O},k=(O,tA)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,O,tA)}catch(lA){console.error(lA)}return!0},v=()=>{var O;(O=N.value)==null||O.clearSelection()},B=()=>z.value,p=A.ref(),d=O=>{if(p.value=O,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,O)}catch(tA){console.error(tA)}},l=()=>p.value,g=()=>{var O;return(O=N.value)==null?void 0:O.getSelectionRows()},s=async()=>!0,h=(O,tA)=>{var uA;const lA=(uA=t.topBtns)==null?void 0:uA.find(Z=>Z.key===O);lA&&(lA.hidden=tA)},C=(O,tA)=>{var uA;const lA=(uA=t.rowBtns)==null?void 0:uA.find(Z=>Z.key===O);lA&&(lA.condition=!tA)},a=A.ref(0),r=O=>{a.value=O},m=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),E=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),M=()=>m.value,x=O=>{let tA=!1;return O.pageNum!==void 0&&O.pageNum>-1&&(m.value.pageNum!==O.pageNum&&(tA=!0),m.value.pageNum=O.pageNum),O.pageSize!==void 0&&O.pageSize>-1&&(m.value.pageSize!==O.pageSize&&(tA=!0),m.value.pageSize=O.pageSize),{pagination:m.value,isChange:tA}},P=async()=>{if(m.value.pageNum=1,!t.sizeChange)return;const O=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,m.value),E.value.pageNum=m.value.pageNum,E.value.pageSize=m.value.pageSize}catch(tA){console.error(tA),m.value.pageNum=E.value.pageNum,m.value.pageSize=E.value.pageSize}finally{O.close()}},Y=async()=>{if(!t.pageChange)return;const O=Yt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,m.value),E.value.pageNum=m.value.pageNum,E.value.pageSize=m.value.pageSize}catch(tA){console.error(tA),m.value.pageNum=E.value.pageNum,m.value.pageSize=E.value.pageSize}finally{O.close()}},J=O=>{var tA;(tA=N.value)==null||tA.setCurrentRow(O)},q=O=>{var tA;(tA=N.value)==null||tA.setCurrentRow(z.value[O])},W=(O,tA,lA)=>{t.columns.forEach(uA=>{uA.key===O&&uA[tA]&&(uA[tA]=lA)})},z=A.ref([]),X=O=>{z.value=O},_=(O={})=>{z.value.push(O)},AA=O=>{O>=0&&O<z.value.length&&z.value.splice(O,1)},G=async()=>{z.value=[...z.value]},eA=A.useTemplateRef("rootRef"),sA=A.readonly({...A.toRefs(t),setCellData:H,clearSelection:v,getData:B,getCurrentRow:l,getSelectedRows:g,addRow:_,deleteRow:AA,refresh:G,validate:s,setData:X,selectRow:J,selectRowNum:q,setTotal:r,getPagination:M,setPagination:x,setTopBtnHidden:h,setColVisible:$,setColumn:W,setRowsBtnHidden:C,rootRef:eA,type:"table"}),oA=(O,tA)=>{const lA=S?S(O.key,tA):tA[O.key];if(!O.encrypted||!lA)return lA;const uA=`${lA}`;return uA.length<=4?"*".repeat(uA.length):uA.slice(0,-4)+"****"},hA=(O,tA)=>{if(!O.getTextStyle||!o.value)return{};try{return o.value[O.getTextStyle](b,tA,O)}catch(lA){console.error(lA)}},EA=(O,tA)=>{if(!(!O.getIconInfo||!o.value))try{return o.value[O.getIconInfo](b,tA,O)}catch(lA){console.error(lA)}},gA=(O,tA)=>{if(!(!O.getIconPopoverContent||!o.value))try{return o.value[O.getIconPopoverContent](b,tA,O)}catch(lA){console.error(lA)}},CA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!z.value||z.value.length===0?!1:z.value.some(O=>{var tA;return(tA=t.rowBtns)==null?void 0:tA.some(lA=>lA.condition===void 0||lA.condition===null?!0:Rt(lA.condition,{$row:O,$globalParams:y()}))}));if(A.onMounted(async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const O=t.onMounted;try{o.value[O](b)}catch(tA){console.error(tA)}}),A.onActivated(()=>{if(!t.onActivated||!o.value)return;const O=t.onActivated;try{o.value[O](b)}catch(tA){console.error(tA)}}),t.name){const O=fs(t.name,sA);A.onUnmounted(()=>{O()})}return e(sA),(O,tA)=>{const lA=A.resolveComponent("el-table-column"),uA=A.resolveComponent("el-popover"),Z=A.resolveComponent("el-tooltip"),V=A.resolveComponent("el-button"),iA=A.resolveComponent("el-pagination");return O.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{tableBorder:i.value==="table",[O.name]:!0}]),ref_key:"rootRef",ref:eA,id:O.name},[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(Yt.ElTable),{ref_key:"tableRef",ref:N,data:z.value,"highlight-current-row":"","row-key":O.rowKey,stripe:O.stripe,onRowClick:T,onRowDblclick:D,onSelectionChange:L,onCurrentChange:d,height:O.height},{empty:A.withCtx(()=>[A.createElementVNode("div",cx,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),tA[2]||(tA[2]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[O.multipleSelection?(A.openBlock(),A.createBlock(lA,{key:0,type:"selection",width:"55",selectable:k})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(O.columns,rA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:rA.key},[rA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(lA,{key:0,prop:rA.key,"min-width":rA.minWidth,fixed:rA.fixed||!1},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:rA.label},A.toDisplayString(rA.label),9,gx)]),default:A.withCtx(({row:BA,$index:vA})=>{var UA,JA,qA,WA;return[rA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":rA.onClick}]),title:oA(rA,BA),onClick:le=>K(rA,BA,vA,le)},A.toDisplayString(oA(rA,BA)),11,ux)):rA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",dx,[rA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[rA.iconPopover&&Array.isArray(gA(rA,BA))?(A.openBlock(),A.createBlock(uA,{key:0},{reference:A.withCtx(()=>{var le,ne;return[A.createVNode(Re,{name:(le=EA(rA,BA))==null?void 0:le.name,color:(ne=EA(rA,BA))==null?void 0:ne.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(wt),{list:gA(rA,BA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(Re,{key:1,name:(UA=EA(rA,BA))==null?void 0:UA.name,color:(JA=EA(rA,BA))==null?void 0:JA.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":rA.onClick}]),title:oA(rA,BA),onClick:le=>K(rA,BA,vA,le)},A.toDisplayString(oA(rA,BA)),11,hx),rA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[rA.iconPopover&&Array.isArray(gA(rA,BA))?(A.openBlock(),A.createBlock(uA,{key:0},{reference:A.withCtx(()=>{var le,ne;return[A.createVNode(Re,{name:(le=EA(rA,BA))==null?void 0:le.name,color:(ne=EA(rA,BA))==null?void 0:ne.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(wt),{list:gA(rA,BA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(Re,{key:1,name:(qA=EA(rA,BA))==null?void 0:qA.name,color:(WA=EA(rA,BA))==null?void 0:WA.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:"text-ellipsis",title:oA(rA,BA),style:A.normalizeStyle(hA(rA,BA))},A.toDisplayString(oA(rA,BA)),13,px))]}),_:2},1032,["prop","min-width","fixed"]))],64))),128)),CA.value&&O.rowBtns&&O.rowBtns.length>0?(A.openBlock(),A.createBlock(lA,{key:1,label:O.rowBtnsLabel||"Action",fixed:"right",align:"left",width:O.rowBtnsWidth||(O.rowBtns.length*34+12>100?O.rowBtns.length*34+12:100)},{default:A.withCtx(({row:rA,$index:BA})=>[A.createElementVNode("div",Cx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(O.rowBtns,vA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:vA.key},[vA.component==="Popover"?(A.openBlock(),A.createBlock(uA,{key:0,title:vA.label,trigger:"click","popper-class":"btn-popover",width:"400"},{reference:A.withCtx(()=>[vA.condition===void 0||vA.condition===null||A.unref(Rt)(vA.condition,{$row:rA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(V,{key:0,disabled:vA.disabled,link:"",size:"small",type:vA.type,onClick:A.withModifiers(UA=>K(vA,rA,BA,UA),["stop"])},{default:A.withCtx(()=>[A.createVNode(Z,{class:"box-item",effect:"dark",content:vA.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[vA.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:vA.icon.name,color:vA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),vA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:vA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(vA.buttonText.text,{$row:rA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(wt),{list:vA.children},null,8,["list"])])]),_:2},1032,["title"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[vA.condition===void 0||vA.condition===null||A.unref(Rt)(vA.condition,{$row:rA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(V,{key:0,disabled:vA.disabled,link:"",size:"small",type:vA.type,onClick:A.withModifiers(UA=>K(vA,rA,BA,UA),["stop"])},{default:A.withCtx(()=>[A.createVNode(Z,{class:"box-item",effect:"dark",content:vA.label,placement:"top","popper-class":"low-tsp"},{default:A.withCtx(()=>[vA.icon?(A.openBlock(),A.createBlock(Re,{key:0,name:vA.icon.name,color:vA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),vA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:vA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(Rt)(vA.buttonText.text,{$row:rA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64))),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(ic,A.mergeProps({data:z.value},t,{getColText:oA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),A.createElementVNode("div",{class:A.normalizeClass(["pagination-wrapper",{hidePagination:(O.hiddenPagination||z.value.length===0)&&!O.height,transparentPagination:(O.hiddenPagination||z.value.length===0)&&O.height,cardlistPadding:i.value==="card"}])},[A.createVNode(iA,{layout:O.paginationLayout||"total,sizes, prev, pager, next,jumper",total:a.value,"page-sizes":O.pageSizes||[5,6,10,20,30,40],"default-page-size":O.defaultPageSize,"current-page":m.value.pageNum,"onUpdate:currentPage":tA[0]||(tA[0]=rA=>m.value.pageNum=rA),"page-size":m.value.pageSize,"onUpdate:pageSize":tA[1]||(tA[1]=rA=>m.value.pageSize=rA),"pager-count":Number(O.pagerCount)||5,onSizeChange:P,onCurrentChange:Y},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],10,lx))}}}),[["__scopeId","data-v-b3fd4fb6"]])},Symbol.toStringTag,{value:"Module"})),mx=["id"],Ex={class:"left-part"},Qx={class:"title"},Ix={class:"right-part"},fx={key:0},wx={key:1,class:"switch-panel"},bx={key:3},yx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),u=n,I=A.ref(u.radioDefault??"2"),o=T=>{if(T&&e)try{e[T](t)}catch(D){console.error(D+`
|
|
1648
|
+
funcName: ${T}`)}},b=T=>{u.onRadioChange&&e&&e[u.onRadioChange](t,T)},y=()=>{w.value=!w.value,u.onCollapsed&&e&&e[u.onCollapsed](t,w.value)},w=A.ref(u.defaultCollapse??!1);A.watch(()=>u.defaultCollapse,()=>{w.value=u.defaultCollapse??!1});const S=A.ref(u.displayType||(u.typeSwitch?"card":"table")),N=Qt(),H=T=>{S.value=T;const D=xi(N.schema.items,u.name),Q=L=>{L.forEach(k=>{k.component==="Table"&&k.props&&(k.props.displayType=T),k.children&&k.children.length>0&&Q(k.children)})};D&&D.children&&Q(D.children)},$=T=>{u.handleSearch&&e&&e[u.handleSearch](t,T)},K=T=>{u.searchInputChange&&e&&e[u.searchInputChange](t,T)};return H(S.value),(T,D)=>{const Q=A.resolveComponent("el-radio"),L=A.resolveComponent("el-radio-group"),k=A.resolveComponent("el-tooltip"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:T.type==="gridItem"}]),style:A.normalizeStyle(T.style),id:T.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:T.type==="inline",mix:T.type==="mix",default:T.type==="default",gridItem:T.type==="gridItem",collapsedPadding:w.value&&T.onCollapsed,"has-search-input":T.hasSearchInput}])},[A.createElementVNode("div",Ex,[T.mainIcon?(A.openBlock(),A.createBlock(Re,{key:0,class:"title-icon",size:"large",name:T.mainIcon.name,color:T.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",Qx,A.toDisplayString(T.title),1),T.radioList?(A.openBlock(),A.createBlock(L,{key:1,class:"ml-9",modelValue:I.value,"onUpdate:modelValue":D[0]||(D[0]=p=>I.value=p),onChange:D[1]||(D[1]=p=>b(I.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.radioList,p=>(A.openBlock(),A.createBlock(Q,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(T.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(k,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(Re,{class:"extra-icon",name:p.name,color:p.color,onClick:d=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(Re,{key:1,class:"extra-icon",name:p.name,color:p.color,onClick:d=>o(p.onClick)},null,8,["name","color","onClick"]))],64))),128))]),T.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:w.value&&T.onCollapsed}])},[A.createVNode(v,{modelValue:i.value,"onUpdate:modelValue":D[2]||(D[2]=p=>i.value=p),placeholder:T.searchPlaceholder,size:"large",onInput:K,onKeyup:A.withKeys($,["enter"])},{prefix:A.withCtx(()=>D[5]||(D[5]=[])),suffix:A.withCtx(()=>[A.createVNode(Re,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"normal",onClick:$})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",Ix,[T.formSlots?(A.openBlock(),A.createElementBlock("div",fx,[A.createVNode(A.unref(wt),{list:T.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),T.typeSwitch?(A.openBlock(),A.createElementBlock("div",wx,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="card"}]),onClick:D[3]||(D[3]=p=>H("card"))},[A.createVNode(Re,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:S.value==="table"}]),onClick:D[4]||(D[4]=p=>H("table"))},[A.createVNode(Re,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),T.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:w.value}]),onClick:y},[A.createVNode(Re,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),T.btns&&T.btns.length>0?(A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(A.unref(lo),{btns:T.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),T.onCollapsed?(A.openBlock(),A.createBlock(A.unref(wt),{key:1,list:T.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(wt),{list:T.children},null,8,["list"])],512),[[A.vShow,!w.value]])]),_:1}))],14,mx)}}}),[["__scopeId","data-v-3eb0ec9b"]])},Symbol.toStringTag,{value:"Module"})),Dx={key:0,class:"dropdown-icon-wrapper"},vx={key:1,class:"expansion-icon-wrapper"},kx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=Gi(),u=A.ref(!1),I=()=>{if(e.onDropdownChange){u.value=!u.value;try{t[e.onDropdownChange](i,u.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,y)=>{const w=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(w,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(wt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",Dx,[A.createVNode(Re,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:A.normalizeClass({reversed:u.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",vx,[A.createVNode(Re,{name:"icon-shuangxiangjiantou",color:"#666666",onClick:o})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-61efcb0f"]])},Symbol.toStringTag,{value:"Module"})),_x={class:"content"},Mx={class:"product-list"},xx={class:"attribute-list"},Sx={key:0,class:"attribute-list-item"},Nx={class:"product-title attribute-title"},Fx={class:"attribute-item-list"},Rx={class:"attribute-label"},Lx={class:"attribute-value"},Gx=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(Hd,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",_x,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",Mx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,u=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:u.label},A.toDisplayString(u.label),1))),128))]),A.createElementVNode("div",xx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,u=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:u.label},[u.children.length>0?(A.openBlock(),A.createElementBlock("div",Sx,[A.createElementVNode("div",Nx,A.toDisplayString(u.label),1),A.createElementVNode("div",Fx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(u.children,I=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:I.label},[A.createElementVNode("div",Rx,A.toDisplayString(I.label),1),A.createElementVNode("div",Lx,A.toDisplayString(I.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),Px={key:0,class:"empty-content"},Hx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,H;const e=n,t=A.ref(),i=A.ref([]),u=(N=e.columns.find($=>$.position==="title"))==null?void 0:N.key,I=(H=e.columns.find($=>$.position==="subTitle"))==null?void 0:H.key,o=e.columns.find($=>$.position==="footer"),b=$=>{const K=[];return $.children&&$.children.length>0&&$.children.forEach(T=>{const D={label:T.PRODUCT_ITEM_NAME,children:[]};T.children&&T.children.length>0&&T.children.forEach(Q=>{D.children.push({label:Q.PRODUCT_ITEM_NAME,value:Q.ACTION})}),K.push(D)}),K};function y($){const K={},T=[];return $.forEach(D=>{K[D.PRODUCT_ITEM_ID]={...D,children:[]}}),$.forEach(D=>{const Q=K[D.PRODUCT_ITEM_ID],L=D.PARENT_PRODUCT_ITEM_ID;L===0||!K[L]?T.push(Q):K[L].children.push(Q)}),T}const w=A.inject(jn),S=w?w.translateFn:null;return A.watchEffect(()=>{if(e.data){const $=y(e.data);t.value=$.map(K=>{const T={content:[]};return u&&(T.title=S?S(u,K):K[u],T.titleColor="var(--el-color-primary)"),I&&(T.subTitle=S?S(I,K):K[I]),o&&(T.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${S?S(o.key,K):K[o.key]}`}),K.children&&(T.product=b(K)),e.columns.forEach(D=>{D.position==="content"&&T.content.push({label:D.label,value:S?S(D.key,K):K[D.key]})}),T})}}),A.onMounted(()=>{var $;i.value=($=e.rowBtns)==null?void 0:$.map(K=>({icon:K.icon&&K.icon.name?K.icon.name:"icon-tishi",label:K.label,onClick:K.onClick}))}),($,K)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":$.gridColumns,"--gap":$.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(T,D)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:D},[A.createVNode(Gx,{data:T,btns:i.value,index:D},null,8,["data","btns","index"])]))),128))],4),!$.data||$.data.length===0?(A.openBlock(),A.createElementBlock("div",Px,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),K[0]||(K[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-43ded0ba"]])},Symbol.toStringTag,{value:"Module"})),Kx={class:"progress"},Tx={class:"timeline-content"},Ux={class:"timeline-content__title"},Yx={key:0,class:"empty-content"},Ox=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),u=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",Kx,[A.createVNode(u,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(I,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(Re,{name:I.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",Tx,[A.createElementVNode("div",Ux,[A.createElementVNode("span",null,A.toDisplayString(I.title),1),A.createElementVNode("span",null,A.toDisplayString(I.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",Yx,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),$x={class:"log-list"},zx={class:"title-part"},Jx={class:"title"},Zx={class:"sub-title"},Wx={class:"content"},jx={key:0},qx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",$x,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var u;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",zx,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((u=i.title)==null?void 0:u[0]),5),A.createElementVNode("div",Jx,A.toDisplayString(i.title),1),A.createElementVNode("div",Zx,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",Wx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(I,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[A.createTextVNode(A.toDisplayString(I.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",jx," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"})),Xx=["infinite-scroll-disabled"],Vx=Object.freeze(Object.defineProperty({__proto__:null,default:se(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=Gi(),i=n,u=async()=>{try{await e[i.load](t)}catch(I){console.error(I)}};return(I,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":I.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(I.style)},[A.createVNode(A.unref(wt),{list:I.children},null,8,["list"])],12,Xx)),[[b,u]])}}}),[["__scopeId","data-v-6746ff5d"]])},Symbol.toStringTag,{value:"Module"}));yt.$options=jn,yt.FormDesign=wC,yt.FormRender=fn,yt.PageRender=ag,yt.TableRender=rg,yt.default=H8,yt.useFormInstance=Qt,yt.useRuleContext=Gi,Object.defineProperties(yt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|