hongshu-view 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hongshu-view.mjs +13 -7
- package/dist/hongshu-view.umd.js +2 -2
- package/package.json +1 -1
package/dist/hongshu-view.mjs
CHANGED
|
@@ -20183,7 +20183,7 @@ let k2 = window.sessionStorage, _z = {
|
|
|
20183
20183
|
function E3e(o, a = !0, c) {
|
|
20184
20184
|
return Si(this, null, function* () {
|
|
20185
20185
|
if (o.name == "AxiosError" && (o.code == "ERR_BAD_REQUEST" || o.code == "ERR_BAD_RESPONSE"))
|
|
20186
|
-
if (
|
|
20186
|
+
if (o.response) {
|
|
20187
20187
|
let { data: f, status: h } = o.response;
|
|
20188
20188
|
if (h == 401) {
|
|
20189
20189
|
let { url: w, param: C, option: E } = c;
|
|
@@ -20830,7 +20830,7 @@ const kz = {
|
|
|
20830
20830
|
method: "get"
|
|
20831
20831
|
}).then(({ data: pe }) => {
|
|
20832
20832
|
window.open(pe.path, "_self");
|
|
20833
|
-
}) : E && $e.
|
|
20833
|
+
}) : E && $e.id ? window.open(E + $e.id, "_self") : console.error("downloadPath未传入或参数解析错误");
|
|
20834
20834
|
}, se = ($e) => {
|
|
20835
20835
|
if (w && !_ && !$) {
|
|
20836
20836
|
console.error(new Error("内部文件moduleId和mark必须只能传一个"));
|
|
@@ -20842,7 +20842,8 @@ const kz = {
|
|
|
20842
20842
|
};
|
|
20843
20843
|
w && (_ && (pe.moduleId = _), $ && (pe.mark = $)), O4(c.uploadPath, pe, {
|
|
20844
20844
|
fd: !0,
|
|
20845
|
-
loading: !1
|
|
20845
|
+
loading: !1,
|
|
20846
|
+
appendToken: w
|
|
20846
20847
|
}).then(({ data: W }) => {
|
|
20847
20848
|
h.value = !1;
|
|
20848
20849
|
let Se = {};
|
|
@@ -20885,7 +20886,7 @@ const kz = {
|
|
|
20885
20886
|
{
|
|
20886
20887
|
class: Ve(V(f)("file-name"))
|
|
20887
20888
|
},
|
|
20888
|
-
po(We.
|
|
20889
|
+
po(We.filename),
|
|
20889
20890
|
3
|
|
20890
20891
|
/* TEXT, CLASS */
|
|
20891
20892
|
),
|
|
@@ -23642,13 +23643,17 @@ const OPe = ["onClick"], APe = ["onClick"], $Pe = /* @__PURE__ */ dt(
|
|
|
23642
23643
|
default() {
|
|
23643
23644
|
return {};
|
|
23644
23645
|
}
|
|
23646
|
+
},
|
|
23647
|
+
appendToken: {
|
|
23648
|
+
type: Boolean,
|
|
23649
|
+
default: !1
|
|
23645
23650
|
}
|
|
23646
23651
|
},
|
|
23647
23652
|
emits: ["update:list", "on-error"],
|
|
23648
23653
|
setup(o, { emit: a }) {
|
|
23649
23654
|
const c = o, f = Dl("zy-imagelist"), h = Dl("zy-imagelist-view"), w = Kf(), C = Xe(!1), E = Xe(!1);
|
|
23650
23655
|
(c.tip || w.tip) && (E.value = !0);
|
|
23651
|
-
const _ = Ne(() => c.list.map((q) => q.
|
|
23656
|
+
const _ = Ne(() => c.list.map((q) => q.requestPath)), $ = Ne(() => c.opt ? c.limit < 0 ? !0 : c.limit > c.list.length : !1), N = (q) => {
|
|
23652
23657
|
kPe({
|
|
23653
23658
|
images: V(_),
|
|
23654
23659
|
options: {
|
|
@@ -23664,7 +23669,8 @@ const OPe = ["onClick"], APe = ["onClick"], $Pe = /* @__PURE__ */ dt(
|
|
|
23664
23669
|
file: q.file
|
|
23665
23670
|
}, {
|
|
23666
23671
|
fd: !0,
|
|
23667
|
-
loading: !1
|
|
23672
|
+
loading: !1,
|
|
23673
|
+
appendToken: c.appendToken
|
|
23668
23674
|
}).then(({ data: U }) => {
|
|
23669
23675
|
C.value = !1, a("update:list", [...c.list, ue({}, U)]);
|
|
23670
23676
|
}).catch((U) => {
|
|
@@ -23696,7 +23702,7 @@ const OPe = ["onClick"], APe = ["onClick"], $Pe = /* @__PURE__ */ dt(
|
|
|
23696
23702
|
[
|
|
23697
23703
|
yn(Q, {
|
|
23698
23704
|
class: "el-img",
|
|
23699
|
-
src: se.
|
|
23705
|
+
src: se.requestPath,
|
|
23700
23706
|
fit: "fill"
|
|
23701
23707
|
}, null, 8, ["src"]),
|
|
23702
23708
|
dt(
|
package/dist/hongshu-view.umd.js
CHANGED
|
@@ -52,7 +52,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
52
52
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(l){return l instanceof this?l:new this(l)}static concat(l,...u){const m=new this(l);return u.forEach(b=>m.set(b)),m}static accessor(l){const m=(this[Ire]=this[Ire]={accessors:{}}).accessors,b=this.prototype;function C(S){const k=r4(S);m[k]||(y_e(b,S),m[k]=!0)}return nn.isArray(l)?l.forEach(C):C(l),this}}fP.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),nn.freezeMethods(fP.prototype),nn.freezeMethods(fP);const A1=fP;function w9(o,l){const u=this||y9,m=l||u,b=A1.from(m.headers);let C=m.data;return nn.forEach(o,function(k){C=k.call(u,C,b.normalize(),l?l.status:void 0)}),b.normalize(),C}function Fre(o){return!!(o&&o.__CANCEL__)}function a4(o,l,u){na.call(this,o==null?"canceled":o,na.ERR_CANCELED,l,u),this.name="CanceledError"}nn.inherits(a4,na,{__CANCEL__:!0});function v_e(o,l,u){const m=u.config.validateStatus;!u.status||!m||m(u.status)?o(u):l(new na("Request failed with status code "+u.status,[na.ERR_BAD_REQUEST,na.ERR_BAD_RESPONSE][Math.floor(u.status/100)-4],u.config,u.request,u))}const w_e=Bg.isStandardBrowserEnv?function(){return{write:function(u,m,b,C,S,k){const O=[];O.push(u+"="+encodeURIComponent(m)),nn.isNumber(b)&&O.push("expires="+new Date(b).toGMTString()),nn.isString(C)&&O.push("path="+C),nn.isString(S)&&O.push("domain="+S),k===!0&&O.push("secure"),document.cookie=O.join("; ")},read:function(u){const m=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return m?decodeURIComponent(m[3]):null},remove:function(u){this.write(u,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function C_e(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function S_e(o,l){return l?o.replace(/\/+$/,"")+"/"+l.replace(/^\/+/,""):o}function Lre(o,l){return o&&!C_e(l)?S_e(o,l):l}const E_e=Bg.isStandardBrowserEnv?function(){const l=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a");let m;function b(C){let S=C;return l&&(u.setAttribute("href",S),S=u.href),u.setAttribute("href",S),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return m=b(window.location.href),function(S){const k=nn.isString(S)?b(S):S;return k.protocol===m.protocol&&k.host===m.host}}():function(){return function(){return!0}}();function x_e(o){const l=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return l&&l[1]||""}function k_e(o,l){o=o||10;const u=new Array(o),m=new Array(o);let b=0,C=0,S;return l=l!==void 0?l:1e3,function(O){const B=Date.now(),P=m[C];S||(S=B),u[b]=O,m[b]=B;let V=C,j=0;for(;V!==b;)j+=u[V++],V=V%o;if(b=(b+1)%o,b===C&&(C=(C+1)%o),B-S<l)return;const G=P&&B-P;return G?Math.round(j*1e3/G):void 0}}function zre(o,l){let u=0;const m=k_e(50,250);return b=>{const C=b.loaded,S=b.lengthComputable?b.total:void 0,k=C-u,O=m(k),B=C<=S;u=C;const P={loaded:C,total:S,progress:S?C/S:void 0,bytes:k,rate:O||void 0,estimated:O&&S&&B?(S-C)/O:void 0,event:b};P[l?"download":"upload"]=!0,o(P)}}const mP={http:JTe,xhr:typeof XMLHttpRequest!="undefined"&&function(o){return new Promise(function(u,m){let b=o.data;const C=A1.from(o.headers).normalize(),S=o.responseType;let k;function O(){o.cancelToken&&o.cancelToken.unsubscribe(k),o.signal&&o.signal.removeEventListener("abort",k)}nn.isFormData(b)&&(Bg.isStandardBrowserEnv||Bg.isStandardBrowserWebWorkerEnv?C.setContentType(!1):C.setContentType("multipart/form-data;",!1));let B=new XMLHttpRequest;if(o.auth){const G=o.auth.username||"",q=o.auth.password?unescape(encodeURIComponent(o.auth.password)):"";C.set("Authorization","Basic "+btoa(G+":"+q))}const P=Lre(o.baseURL,o.url);B.open(o.method.toUpperCase(),Dre(P,o.params,o.paramsSerializer),!0),B.timeout=o.timeout;function V(){if(!B)return;const G=A1.from("getAllResponseHeaders"in B&&B.getAllResponseHeaders()),U={data:!S||S==="text"||S==="json"?B.responseText:B.response,status:B.status,statusText:B.statusText,headers:G,config:o,request:B};v_e(function(J){u(J),O()},function(J){m(J),O()},U),B=null}if("onloadend"in B?B.onloadend=V:B.onreadystatechange=function(){!B||B.readyState!==4||B.status===0&&!(B.responseURL&&B.responseURL.indexOf("file:")===0)||setTimeout(V)},B.onabort=function(){B&&(m(new na("Request aborted",na.ECONNABORTED,o,B)),B=null)},B.onerror=function(){m(new na("Network Error",na.ERR_NETWORK,o,B)),B=null},B.ontimeout=function(){let q=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const U=o.transitional||Mre;o.timeoutErrorMessage&&(q=o.timeoutErrorMessage),m(new na(q,U.clarifyTimeoutError?na.ETIMEDOUT:na.ECONNABORTED,o,B)),B=null},Bg.isStandardBrowserEnv){const G=(o.withCredentials||E_e(P))&&o.xsrfCookieName&&w_e.read(o.xsrfCookieName);G&&C.set(o.xsrfHeaderName,G)}b===void 0&&C.setContentType(null),"setRequestHeader"in B&&nn.forEach(C.toJSON(),function(q,U){B.setRequestHeader(U,q)}),nn.isUndefined(o.withCredentials)||(B.withCredentials=!!o.withCredentials),S&&S!=="json"&&(B.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&B.addEventListener("progress",zre(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&B.upload&&B.upload.addEventListener("progress",zre(o.onUploadProgress)),(o.cancelToken||o.signal)&&(k=G=>{B&&(m(!G||G.type?new a4(null,o,B):G),B.abort(),B=null)},o.cancelToken&&o.cancelToken.subscribe(k),o.signal&&(o.signal.aborted?k():o.signal.addEventListener("abort",k)));const j=x_e(P);if(j&&Bg.protocols.indexOf(j)===-1){m(new na("Unsupported protocol "+j+":",na.ERR_BAD_REQUEST,o));return}B.send(b||null)})}};nn.forEach(mP,(o,l)=>{if(o){try{Object.defineProperty(o,"name",{value:l})}catch(u){}Object.defineProperty(o,"adapterName",{value:l})}});const T_e={getAdapter:o=>{o=nn.isArray(o)?o:[o];const{length:l}=o;let u,m;for(let b=0;b<l&&(u=o[b],!(m=nn.isString(u)?mP[u.toLowerCase()]:u));b++);if(!m)throw m===!1?new na(`Adapter ${u} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(nn.hasOwnProp(mP,u)?`Adapter '${u}' is not available in the build`:`Unknown adapter '${u}'`);if(!nn.isFunction(m))throw new TypeError("adapter is not a function");return m},adapters:mP};function C9(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new a4(null,o)}function Vre(o){return C9(o),o.headers=A1.from(o.headers),o.data=w9.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),T_e.getAdapter(o.adapter||y9.adapter)(o).then(function(m){return C9(o),m.data=w9.call(o,o.transformResponse,m),m.headers=A1.from(m.headers),m},function(m){return Fre(m)||(C9(o),m&&m.response&&(m.response.data=w9.call(o,o.transformResponse,m.response),m.response.headers=A1.from(m.response.headers))),Promise.reject(m)})}const Hre=o=>o instanceof A1?o.toJSON():o;function yx(o,l){l=l||{};const u={};function m(B,P,V){return nn.isPlainObject(B)&&nn.isPlainObject(P)?nn.merge.call({caseless:V},B,P):nn.isPlainObject(P)?nn.merge({},P):nn.isArray(P)?P.slice():P}function b(B,P,V){if(nn.isUndefined(P)){if(!nn.isUndefined(B))return m(void 0,B,V)}else return m(B,P,V)}function C(B,P){if(!nn.isUndefined(P))return m(void 0,P)}function S(B,P){if(nn.isUndefined(P)){if(!nn.isUndefined(B))return m(void 0,B)}else return m(void 0,P)}function k(B,P,V){if(V in l)return m(B,P);if(V in o)return m(void 0,B)}const O={url:C,method:C,data:C,baseURL:S,transformRequest:S,transformResponse:S,paramsSerializer:S,timeout:S,timeoutMessage:S,withCredentials:S,adapter:S,responseType:S,xsrfCookieName:S,xsrfHeaderName:S,onUploadProgress:S,onDownloadProgress:S,decompress:S,maxContentLength:S,maxBodyLength:S,beforeRedirect:S,transport:S,httpAgent:S,httpsAgent:S,cancelToken:S,socketPath:S,responseEncoding:S,validateStatus:k,headers:(B,P)=>b(Hre(B),Hre(P),!0)};return nn.forEach(Object.keys(Object.assign({},o,l)),function(P){const V=O[P]||b,j=V(o[P],l[P],P);nn.isUndefined(j)&&V!==k||(u[P]=j)}),u}const Ure="1.4.0",S9={};["object","boolean","number","function","string","symbol"].forEach((o,l)=>{S9[o]=function(m){return typeof m===o||"a"+(l<1?"n ":" ")+o}});const Wre={};S9.transitional=function(l,u,m){function b(C,S){return"[Axios v"+Ure+"] Transitional option '"+C+"'"+S+(m?". "+m:"")}return(C,S,k)=>{if(l===!1)throw new na(b(S," has been removed"+(u?" in "+u:"")),na.ERR_DEPRECATED);return u&&!Wre[S]&&(Wre[S]=!0,console.warn(b(S," has been deprecated since v"+u+" and will be removed in the near future"))),l?l(C,S,k):!0}};function __e(o,l,u){if(typeof o!="object")throw new na("options must be an object",na.ERR_BAD_OPTION_VALUE);const m=Object.keys(o);let b=m.length;for(;b-- >0;){const C=m[b],S=l[C];if(S){const k=o[C],O=k===void 0||S(k,C,o);if(O!==!0)throw new na("option "+C+" must be "+O,na.ERR_BAD_OPTION_VALUE);continue}if(u!==!0)throw new na("Unknown option "+C,na.ERR_BAD_OPTION)}}const E9={assertOptions:__e,validators:S9},I0=E9.validators;class pP{constructor(l){this.defaults=l,this.interceptors={request:new Rre,response:new Rre}}request(l,u){typeof l=="string"?(u=u||{},u.url=l):u=l||{},u=yx(this.defaults,u);const{transitional:m,paramsSerializer:b,headers:C}=u;m!==void 0&&E9.assertOptions(m,{silentJSONParsing:I0.transitional(I0.boolean),forcedJSONParsing:I0.transitional(I0.boolean),clarifyTimeoutError:I0.transitional(I0.boolean)},!1),b!=null&&(nn.isFunction(b)?u.paramsSerializer={serialize:b}:E9.assertOptions(b,{encode:I0.function,serialize:I0.function},!0)),u.method=(u.method||this.defaults.method||"get").toLowerCase();let S;S=C&&nn.merge(C.common,C[u.method]),S&&nn.forEach(["delete","get","head","post","put","patch","common"],q=>{delete C[q]}),u.headers=A1.concat(S,C);const k=[];let O=!0;this.interceptors.request.forEach(function(U){typeof U.runWhen=="function"&&U.runWhen(u)===!1||(O=O&&U.synchronous,k.unshift(U.fulfilled,U.rejected))});const B=[];this.interceptors.response.forEach(function(U){B.push(U.fulfilled,U.rejected)});let P,V=0,j;if(!O){const q=[Vre.bind(this),void 0];for(q.unshift.apply(q,k),q.push.apply(q,B),j=q.length,P=Promise.resolve(u);V<j;)P=P.then(q[V++],q[V++]);return P}j=k.length;let G=u;for(V=0;V<j;){const q=k[V++],U=k[V++];try{G=q(G)}catch(Q){U.call(this,Q);break}}try{P=Vre.call(this,G)}catch(q){return Promise.reject(q)}for(V=0,j=B.length;V<j;)P=P.then(B[V++],B[V++]);return P}getUri(l){l=yx(this.defaults,l);const u=Lre(l.baseURL,l.url);return Dre(u,l.params,l.paramsSerializer)}}nn.forEach(["delete","get","head","options"],function(l){pP.prototype[l]=function(u,m){return this.request(yx(m||{},{method:l,url:u,data:(m||{}).data}))}}),nn.forEach(["post","put","patch"],function(l){function u(m){return function(C,S,k){return this.request(yx(k||{},{method:l,headers:m?{"Content-Type":"multipart/form-data"}:{},url:C,data:S}))}}pP.prototype[l]=u(),pP.prototype[l+"Form"]=u(!0)});const hP=pP;class x9{constructor(l){if(typeof l!="function")throw new TypeError("executor must be a function.");let u;this.promise=new Promise(function(C){u=C});const m=this;this.promise.then(b=>{if(!m._listeners)return;let C=m._listeners.length;for(;C-- >0;)m._listeners[C](b);m._listeners=null}),this.promise.then=b=>{let C;const S=new Promise(k=>{m.subscribe(k),C=k}).then(b);return S.cancel=function(){m.unsubscribe(C)},S},l(function(C,S,k){m.reason||(m.reason=new a4(C,S,k),u(m.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(l){if(this.reason){l(this.reason);return}this._listeners?this._listeners.push(l):this._listeners=[l]}unsubscribe(l){if(!this._listeners)return;const u=this._listeners.indexOf(l);u!==-1&&this._listeners.splice(u,1)}static source(){let l;return{token:new x9(function(b){l=b}),cancel:l}}}const O_e=x9;function A_e(o){return function(u){return o.apply(null,u)}}function N_e(o){return nn.isObject(o)&&o.isAxiosError===!0}const k9={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(k9).forEach(([o,l])=>{k9[l]=o});const B_e=k9;function jre(o){const l=new hP(o),u=bre(hP.prototype.request,l);return nn.extend(u,hP.prototype,l,{allOwnKeys:!0}),nn.extend(u,l,null,{allOwnKeys:!0}),u.create=function(b){return jre(yx(o,b))},u}const Rc=jre(y9);Rc.Axios=hP,Rc.CanceledError=a4,Rc.CancelToken=O_e,Rc.isCancel=Fre,Rc.VERSION=Ure,Rc.toFormData=cP,Rc.AxiosError=na,Rc.Cancel=Rc.CanceledError,Rc.all=function(l){return Promise.all(l)},Rc.spread=A_e,Rc.isAxiosError=N_e,Rc.mergeConfig=yx,Rc.AxiosHeaders=A1,Rc.formToJSON=o=>Pre(nn.isHTMLForm(o)?new FormData(o):o),Rc.HttpStatusCode=B_e,Rc.default=Rc;const Zre=Rc;var $_e=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var l={},u=Symbol("test"),m=Object(u);if(typeof u=="string"||Object.prototype.toString.call(u)!=="[object Symbol]"||Object.prototype.toString.call(m)!=="[object Symbol]")return!1;var b=42;l[u]=b;for(u in l)return!1;if(typeof Object.keys=="function"&&Object.keys(l).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(l).length!==0)return!1;var C=Object.getOwnPropertySymbols(l);if(C.length!==1||C[0]!==u||!Object.prototype.propertyIsEnumerable.call(l,u))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var S=Object.getOwnPropertyDescriptor(l,u);if(S.value!==b||S.enumerable!==!0)return!1}return!0},qre=typeof Symbol!="undefined"&&Symbol,D_e=$_e,R_e=function(){return typeof qre!="function"||typeof Symbol!="function"||typeof qre("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:D_e()},Gre={foo:{}},M_e=Object,P_e=function(){return{__proto__:Gre}.foo===Gre.foo&&!({__proto__:null}instanceof M_e)},I_e="Function.prototype.bind called on incompatible ",T9=Array.prototype.slice,F_e=Object.prototype.toString,L_e="[object Function]",z_e=function(l){var u=this;if(typeof u!="function"||F_e.call(u)!==L_e)throw new TypeError(I_e+u);for(var m=T9.call(arguments,1),b,C=function(){if(this instanceof b){var P=u.apply(this,m.concat(T9.call(arguments)));return Object(P)===P?P:this}else return u.apply(l,m.concat(T9.call(arguments)))},S=Math.max(0,u.length-m.length),k=[],O=0;O<S;O++)k.push("$"+O);if(b=Function("binder","return function ("+k.join(",")+"){ return binder.apply(this,arguments); }")(C),u.prototype){var B=function(){};B.prototype=u.prototype,b.prototype=new B,B.prototype=null}return b},V_e=z_e,_9=Function.prototype.bind||V_e,H_e=_9,U_e=H_e.call(Function.call,Object.prototype.hasOwnProperty),Ur,vx=SyntaxError,Kre=Function,wx=TypeError,O9=function(o){try{return Kre('"use strict"; return ('+o+").constructor;")()}catch(l){}},OC=Object.getOwnPropertyDescriptor;if(OC)try{OC({},"")}catch(o){OC=null}var A9=function(){throw new wx},W_e=OC?function(){try{return arguments.callee,A9}catch(o){try{return OC(arguments,"callee").get}catch(l){return A9}}}():A9,Cx=R_e(),j_e=P_e(),nu=Object.getPrototypeOf||(j_e?function(o){return o.__proto__}:null),Sx={},Z_e=typeof Uint8Array=="undefined"||!nu?Ur:nu(Uint8Array),AC={"%AggregateError%":typeof AggregateError=="undefined"?Ur:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?Ur:ArrayBuffer,"%ArrayIteratorPrototype%":Cx&&nu?nu([][Symbol.iterator]()):Ur,"%AsyncFromSyncIteratorPrototype%":Ur,"%AsyncFunction%":Sx,"%AsyncGenerator%":Sx,"%AsyncGeneratorFunction%":Sx,"%AsyncIteratorPrototype%":Sx,"%Atomics%":typeof Atomics=="undefined"?Ur:Atomics,"%BigInt%":typeof BigInt=="undefined"?Ur:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?Ur:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?Ur:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?Ur:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?Ur:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?Ur:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?Ur:FinalizationRegistry,"%Function%":Kre,"%GeneratorFunction%":Sx,"%Int8Array%":typeof Int8Array=="undefined"?Ur:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?Ur:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?Ur:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Cx&&nu?nu(nu([][Symbol.iterator]())):Ur,"%JSON%":typeof JSON=="object"?JSON:Ur,"%Map%":typeof Map=="undefined"?Ur:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Cx||!nu?Ur:nu(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?Ur:Promise,"%Proxy%":typeof Proxy=="undefined"?Ur:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?Ur:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?Ur:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Cx||!nu?Ur:nu(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?Ur:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Cx&&nu?nu(""[Symbol.iterator]()):Ur,"%Symbol%":Cx?Symbol:Ur,"%SyntaxError%":vx,"%ThrowTypeError%":W_e,"%TypedArray%":Z_e,"%TypeError%":wx,"%Uint8Array%":typeof Uint8Array=="undefined"?Ur:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?Ur:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?Ur:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?Ur:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?Ur:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?Ur:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?Ur:WeakSet};if(nu)try{null.error}catch(o){var q_e=nu(nu(o));AC["%Error.prototype%"]=q_e}var G_e=function o(l){var u;if(l==="%AsyncFunction%")u=O9("async function () {}");else if(l==="%GeneratorFunction%")u=O9("function* () {}");else if(l==="%AsyncGeneratorFunction%")u=O9("async function* () {}");else if(l==="%AsyncGenerator%"){var m=o("%AsyncGeneratorFunction%");m&&(u=m.prototype)}else if(l==="%AsyncIteratorPrototype%"){var b=o("%AsyncGenerator%");b&&nu&&(u=nu(b.prototype))}return AC[l]=u,u},Yre={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},l4=_9,gP=U_e,K_e=l4.call(Function.call,Array.prototype.concat),Y_e=l4.call(Function.apply,Array.prototype.splice),Xre=l4.call(Function.call,String.prototype.replace),bP=l4.call(Function.call,String.prototype.slice),X_e=l4.call(Function.call,RegExp.prototype.exec),J_e=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Q_e=/\\(\\)?/g,eOe=function(l){var u=bP(l,0,1),m=bP(l,-1);if(u==="%"&&m!=="%")throw new vx("invalid intrinsic syntax, expected closing `%`");if(m==="%"&&u!=="%")throw new vx("invalid intrinsic syntax, expected opening `%`");var b=[];return Xre(l,J_e,function(C,S,k,O){b[b.length]=k?Xre(O,Q_e,"$1"):S||C}),b},tOe=function(l,u){var m=l,b;if(gP(Yre,m)&&(b=Yre[m],m="%"+b[0]+"%"),gP(AC,m)){var C=AC[m];if(C===Sx&&(C=G_e(m)),typeof C=="undefined"&&!u)throw new wx("intrinsic "+l+" exists, but is not available. Please file an issue!");return{alias:b,name:m,value:C}}throw new vx("intrinsic "+l+" does not exist!")},N9=function(l,u){if(typeof l!="string"||l.length===0)throw new wx("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof u!="boolean")throw new wx('"allowMissing" argument must be a boolean');if(X_e(/^%?[^%]*%?$/,l)===null)throw new vx("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var m=eOe(l),b=m.length>0?m[0]:"",C=tOe("%"+b+"%",u),S=C.name,k=C.value,O=!1,B=C.alias;B&&(b=B[0],Y_e(m,K_e([0,1],B)));for(var P=1,V=!0;P<m.length;P+=1){var j=m[P],G=bP(j,0,1),q=bP(j,-1);if((G==='"'||G==="'"||G==="`"||q==='"'||q==="'"||q==="`")&&G!==q)throw new vx("property names with quotes must have matching quotes");if((j==="constructor"||!V)&&(O=!0),b+="."+j,S="%"+b+"%",gP(AC,S))k=AC[S];else if(k!=null){if(!(j in k)){if(!u)throw new wx("base intrinsic for "+l+" exists, but the property is not available.");return}if(OC&&P+1>=m.length){var U=OC(k,j);V=!!U,V&&"get"in U&&!("originalValue"in U.get)?k=U.get:k=k[j]}else V=gP(k,j),k=k[j];V&&!O&&(AC[S]=k)}}return k},Jre={exports:{}};(function(o){var l=_9,u=N9,m=u("%Function.prototype.apply%"),b=u("%Function.prototype.call%"),C=u("%Reflect.apply%",!0)||l.call(b,m),S=u("%Object.getOwnPropertyDescriptor%",!0),k=u("%Object.defineProperty%",!0),O=u("%Math.max%");if(k)try{k({},"a",{value:1})}catch(P){k=null}o.exports=function(V){var j=C(l,b,arguments);if(S&&k){var G=S(j,"length");G.configurable&&k(j,"length",{value:1+O(0,V.length-(arguments.length-1))})}return j};var B=function(){return C(l,m,arguments)};k?k(o.exports,"apply",{value:B}):o.exports.apply=B})(Jre);var nOe=Jre.exports,Qre=N9,eae=nOe,oOe=eae(Qre("String.prototype.indexOf")),sOe=function(l,u){var m=Qre(l,!!u);return typeof m=="function"&&oOe(l,".prototype.")>-1?eae(m):m};const rOe=pCe(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var B9=typeof Map=="function"&&Map.prototype,$9=Object.getOwnPropertyDescriptor&&B9?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,yP=B9&&$9&&typeof $9.get=="function"?$9.get:null,tae=B9&&Map.prototype.forEach,D9=typeof Set=="function"&&Set.prototype,R9=Object.getOwnPropertyDescriptor&&D9?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,vP=D9&&R9&&typeof R9.get=="function"?R9.get:null,nae=D9&&Set.prototype.forEach,aOe=typeof WeakMap=="function"&&WeakMap.prototype,i4=aOe?WeakMap.prototype.has:null,lOe=typeof WeakSet=="function"&&WeakSet.prototype,c4=lOe?WeakSet.prototype.has:null,iOe=typeof WeakRef=="function"&&WeakRef.prototype,oae=iOe?WeakRef.prototype.deref:null,cOe=Boolean.prototype.valueOf,uOe=Object.prototype.toString,dOe=Function.prototype.toString,fOe=String.prototype.match,M9=String.prototype.slice,F0=String.prototype.replace,mOe=String.prototype.toUpperCase,sae=String.prototype.toLowerCase,rae=RegExp.prototype.test,aae=Array.prototype.concat,$g=Array.prototype.join,pOe=Array.prototype.slice,lae=Math.floor,P9=typeof BigInt=="function"?BigInt.prototype.valueOf:null,I9=Object.getOwnPropertySymbols,F9=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ex=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ed=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ex||"symbol")?Symbol.toStringTag:null,iae=Object.prototype.propertyIsEnumerable,cae=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(o){return o.__proto__}:null);function uae(o,l){if(o===1/0||o===-1/0||o!==o||o&&o>-1e3&&o<1e3||rae.call(/e/,l))return l;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof o=="number"){var m=o<0?-lae(-o):lae(o);if(m!==o){var b=String(m),C=M9.call(l,b.length+1);return F0.call(b,u,"$&_")+"."+F0.call(F0.call(C,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F0.call(l,u,"$&_")}var L9=rOe,dae=L9.custom,fae=hae(dae)?dae:null,hOe=function o(l,u,m,b){var C=u||{};if(L0(C,"quoteStyle")&&C.quoteStyle!=="single"&&C.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(L0(C,"maxStringLength")&&(typeof C.maxStringLength=="number"?C.maxStringLength<0&&C.maxStringLength!==1/0:C.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var S=L0(C,"customInspect")?C.customInspect:!0;if(typeof S!="boolean"&&S!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(L0(C,"indent")&&C.indent!==null&&C.indent!==" "&&!(parseInt(C.indent,10)===C.indent&&C.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(L0(C,"numericSeparator")&&typeof C.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var k=C.numericSeparator;if(typeof l=="undefined")return"undefined";if(l===null)return"null";if(typeof l=="boolean")return l?"true":"false";if(typeof l=="string")return bae(l,C);if(typeof l=="number"){if(l===0)return 1/0/l>0?"0":"-0";var O=String(l);return k?uae(l,O):O}if(typeof l=="bigint"){var B=String(l)+"n";return k?uae(l,B):B}var P=typeof C.depth=="undefined"?5:C.depth;if(typeof m=="undefined"&&(m=0),m>=P&&P>0&&typeof l=="object")return z9(l)?"[Array]":"[Object]";var V=DOe(C,m);if(typeof b=="undefined")b=[];else if(gae(b,l)>=0)return"[Circular]";function j(yt,At,Qe){if(At&&(b=pOe.call(b),b.push(At)),Qe){var M={depth:C.depth};return L0(C,"quoteStyle")&&(M.quoteStyle=C.quoteStyle),o(yt,M,m+1,b)}return o(yt,C,m+1,b)}if(typeof l=="function"&&!pae(l)){var G=xOe(l),q=wP(l,j);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(q.length>0?" { "+$g.call(q,", ")+" }":"")}if(hae(l)){var U=Ex?F0.call(String(l),/^(Symbol\(.*\))_[^)]*$/,"$1"):F9.call(l);return typeof l=="object"&&!Ex?u4(U):U}if(NOe(l)){for(var Q="<"+sae.call(String(l.nodeName)),J=l.attributes||[],se=0;se<J.length;se++)Q+=" "+J[se].name+"="+mae(gOe(J[se].value),"double",C);return Q+=">",l.childNodes&&l.childNodes.length&&(Q+="..."),Q+="</"+sae.call(String(l.nodeName))+">",Q}if(z9(l)){if(l.length===0)return"[]";var H=wP(l,j);return V&&!$Oe(H)?"["+H9(H,V)+"]":"[ "+$g.call(H,", ")+" ]"}if(yOe(l)){var ne=wP(l,j);return!("cause"in Error.prototype)&&"cause"in l&&!iae.call(l,"cause")?"{ ["+String(l)+"] "+$g.call(aae.call("[cause]: "+j(l.cause),ne),", ")+" }":ne.length===0?"["+String(l)+"]":"{ ["+String(l)+"] "+$g.call(ne,", ")+" }"}if(typeof l=="object"&&S){if(fae&&typeof l[fae]=="function"&&L9)return L9(l,{depth:P-m});if(S!=="symbol"&&typeof l.inspect=="function")return l.inspect()}if(kOe(l)){var Ae=[];return tae&&tae.call(l,function(yt,At){Ae.push(j(At,l,!0)+" => "+j(yt,l))}),yae("Map",yP.call(l),Ae,V)}if(OOe(l)){var pe=[];return nae&&nae.call(l,function(yt){pe.push(j(yt,l))}),yae("Set",vP.call(l),pe,V)}if(TOe(l))return V9("WeakMap");if(AOe(l))return V9("WeakSet");if(_Oe(l))return V9("WeakRef");if(wOe(l))return u4(j(Number(l)));if(SOe(l))return u4(j(P9.call(l)));if(COe(l))return u4(cOe.call(l));if(vOe(l))return u4(j(String(l)));if(!bOe(l)&&!pae(l)){var W=wP(l,j),Se=cae?cae(l)===Object.prototype:l instanceof Object||l.constructor===Object,Ve=l instanceof Object?"":"null prototype",Le=!Se&&ed&&Object(l)===l&&ed in l?M9.call(z0(l),8,-1):Ve?"Object":"",xe=Se||typeof l.constructor!="function"?"":l.constructor.name?l.constructor.name+" ":"",de=xe+(Le||Ve?"["+$g.call(aae.call([],Le||[],Ve||[]),": ")+"] ":"");return W.length===0?de+"{}":V?de+"{"+H9(W,V)+"}":de+"{ "+$g.call(W,", ")+" }"}return String(l)};function mae(o,l,u){var m=(u.quoteStyle||l)==="double"?'"':"'";return m+o+m}function gOe(o){return F0.call(String(o),/"/g,""")}function z9(o){return z0(o)==="[object Array]"&&(!ed||!(typeof o=="object"&&ed in o))}function bOe(o){return z0(o)==="[object Date]"&&(!ed||!(typeof o=="object"&&ed in o))}function pae(o){return z0(o)==="[object RegExp]"&&(!ed||!(typeof o=="object"&&ed in o))}function yOe(o){return z0(o)==="[object Error]"&&(!ed||!(typeof o=="object"&&ed in o))}function vOe(o){return z0(o)==="[object String]"&&(!ed||!(typeof o=="object"&&ed in o))}function wOe(o){return z0(o)==="[object Number]"&&(!ed||!(typeof o=="object"&&ed in o))}function COe(o){return z0(o)==="[object Boolean]"&&(!ed||!(typeof o=="object"&&ed in o))}function hae(o){if(Ex)return o&&typeof o=="object"&&o instanceof Symbol;if(typeof o=="symbol")return!0;if(!o||typeof o!="object"||!F9)return!1;try{return F9.call(o),!0}catch(l){}return!1}function SOe(o){if(!o||typeof o!="object"||!P9)return!1;try{return P9.call(o),!0}catch(l){}return!1}var EOe=Object.prototype.hasOwnProperty||function(o){return o in this};function L0(o,l){return EOe.call(o,l)}function z0(o){return uOe.call(o)}function xOe(o){if(o.name)return o.name;var l=fOe.call(dOe.call(o),/^function\s*([\w$]+)/);return l?l[1]:null}function gae(o,l){if(o.indexOf)return o.indexOf(l);for(var u=0,m=o.length;u<m;u++)if(o[u]===l)return u;return-1}function kOe(o){if(!yP||!o||typeof o!="object")return!1;try{yP.call(o);try{vP.call(o)}catch(l){return!0}return o instanceof Map}catch(l){}return!1}function TOe(o){if(!i4||!o||typeof o!="object")return!1;try{i4.call(o,i4);try{c4.call(o,c4)}catch(l){return!0}return o instanceof WeakMap}catch(l){}return!1}function _Oe(o){if(!oae||!o||typeof o!="object")return!1;try{return oae.call(o),!0}catch(l){}return!1}function OOe(o){if(!vP||!o||typeof o!="object")return!1;try{vP.call(o);try{yP.call(o)}catch(l){return!0}return o instanceof Set}catch(l){}return!1}function AOe(o){if(!c4||!o||typeof o!="object")return!1;try{c4.call(o,c4);try{i4.call(o,i4)}catch(l){return!0}return o instanceof WeakSet}catch(l){}return!1}function NOe(o){return!o||typeof o!="object"?!1:typeof HTMLElement!="undefined"&&o instanceof HTMLElement?!0:typeof o.nodeName=="string"&&typeof o.getAttribute=="function"}function bae(o,l){if(o.length>l.maxStringLength){var u=o.length-l.maxStringLength,m="... "+u+" more character"+(u>1?"s":"");return bae(M9.call(o,0,l.maxStringLength),l)+m}var b=F0.call(F0.call(o,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,BOe);return mae(b,"single",l)}function BOe(o){var l=o.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[l];return u?"\\"+u:"\\x"+(l<16?"0":"")+mOe.call(l.toString(16))}function u4(o){return"Object("+o+")"}function V9(o){return o+" { ? }"}function yae(o,l,u,m){var b=m?H9(u,m):$g.call(u,", ");return o+" ("+l+") {"+b+"}"}function $Oe(o){for(var l=0;l<o.length;l++)if(gae(o[l],`
|
|
53
53
|
`)>=0)return!1;return!0}function DOe(o,l){var u;if(o.indent===" ")u=" ";else if(typeof o.indent=="number"&&o.indent>0)u=$g.call(Array(o.indent+1)," ");else return null;return{base:u,prev:$g.call(Array(l+1),u)}}function H9(o,l){if(o.length===0)return"";var u=`
|
|
54
54
|
`+l.prev+l.base;return u+$g.call(o,","+u)+`
|
|
55
|
-
`+l.prev}function wP(o,l){var u=z9(o),m=[];if(u){m.length=o.length;for(var b=0;b<o.length;b++)m[b]=L0(o,b)?l(o[b],o):""}var C=typeof I9=="function"?I9(o):[],S;if(Ex){S={};for(var k=0;k<C.length;k++)S["$"+C[k]]=C[k]}for(var O in o)L0(o,O)&&(u&&String(Number(O))===O&&O<o.length||Ex&&S["$"+O]instanceof Symbol||(rae.call(/[^\w$]/,O)?m.push(l(O,o)+": "+l(o[O],o)):m.push(O+": "+l(o[O],o))));if(typeof I9=="function")for(var B=0;B<C.length;B++)iae.call(o,C[B])&&m.push("["+l(C[B])+"]: "+l(o[C[B]],o));return m}var U9=N9,xx=sOe,ROe=hOe,MOe=U9("%TypeError%"),CP=U9("%WeakMap%",!0),SP=U9("%Map%",!0),POe=xx("WeakMap.prototype.get",!0),IOe=xx("WeakMap.prototype.set",!0),FOe=xx("WeakMap.prototype.has",!0),LOe=xx("Map.prototype.get",!0),zOe=xx("Map.prototype.set",!0),VOe=xx("Map.prototype.has",!0),W9=function(o,l){for(var u=o,m;(m=u.next)!==null;u=m)if(m.key===l)return u.next=m.next,m.next=o.next,o.next=m,m},HOe=function(o,l){var u=W9(o,l);return u&&u.value},UOe=function(o,l,u){var m=W9(o,l);m?m.value=u:o.next={key:l,next:o.next,value:u}},WOe=function(o,l){return!!W9(o,l)},jOe=function(){var l,u,m,b={assert:function(C){if(!b.has(C))throw new MOe("Side channel does not contain "+ROe(C))},get:function(C){if(CP&&C&&(typeof C=="object"||typeof C=="function")){if(l)return POe(l,C)}else if(SP){if(u)return LOe(u,C)}else if(m)return HOe(m,C)},has:function(C){if(CP&&C&&(typeof C=="object"||typeof C=="function")){if(l)return FOe(l,C)}else if(SP){if(u)return VOe(u,C)}else if(m)return WOe(m,C);return!1},set:function(C,S){CP&&C&&(typeof C=="object"||typeof C=="function")?(l||(l=new CP),IOe(l,C,S)):SP?(u||(u=new SP),zOe(u,C,S)):(m||(m={key:{},next:null}),UOe(m,C,S))}};return b},ZOe=String.prototype.replace,qOe=/%20/g,j9={RFC1738:"RFC1738",RFC3986:"RFC3986"},Z9={default:j9.RFC3986,formatters:{RFC1738:function(o){return ZOe.call(o,qOe,"+")},RFC3986:function(o){return String(o)}},RFC1738:j9.RFC1738,RFC3986:j9.RFC3986},GOe=Z9,q9=Object.prototype.hasOwnProperty,NC=Array.isArray,Dg=function(){for(var o=[],l=0;l<256;++l)o.push("%"+((l<16?"0":"")+l.toString(16)).toUpperCase());return o}(),KOe=function(l){for(;l.length>1;){var u=l.pop(),m=u.obj[u.prop];if(NC(m)){for(var b=[],C=0;C<m.length;++C)typeof m[C]!="undefined"&&b.push(m[C]);u.obj[u.prop]=b}}},vae=function(l,u){for(var m=u&&u.plainObjects?Object.create(null):{},b=0;b<l.length;++b)typeof l[b]!="undefined"&&(m[b]=l[b]);return m},YOe=function o(l,u,m){if(!u)return l;if(typeof u!="object"){if(NC(l))l.push(u);else if(l&&typeof l=="object")(m&&(m.plainObjects||m.allowPrototypes)||!q9.call(Object.prototype,u))&&(l[u]=!0);else return[l,u];return l}if(!l||typeof l!="object")return[l].concat(u);var b=l;return NC(l)&&!NC(u)&&(b=vae(l,m)),NC(l)&&NC(u)?(u.forEach(function(C,S){if(q9.call(l,S)){var k=l[S];k&&typeof k=="object"&&C&&typeof C=="object"?l[S]=o(k,C,m):l.push(C)}else l[S]=C}),l):Object.keys(u).reduce(function(C,S){var k=u[S];return q9.call(C,S)?C[S]=o(C[S],k,m):C[S]=k,C},b)},XOe=function(l,u){return Object.keys(u).reduce(function(m,b){return m[b]=u[b],m},l)},JOe=function(o,l,u){var m=o.replace(/\+/g," ");if(u==="iso-8859-1")return m.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(m)}catch(b){return m}},QOe=function(l,u,m,b,C){if(l.length===0)return l;var S=l;if(typeof l=="symbol"?S=Symbol.prototype.toString.call(l):typeof l!="string"&&(S=String(l)),m==="iso-8859-1")return escape(S).replace(/%u[0-9a-f]{4}/gi,function(P){return"%26%23"+parseInt(P.slice(2),16)+"%3B"});for(var k="",O=0;O<S.length;++O){var B=S.charCodeAt(O);if(B===45||B===46||B===95||B===126||B>=48&&B<=57||B>=65&&B<=90||B>=97&&B<=122||C===GOe.RFC1738&&(B===40||B===41)){k+=S.charAt(O);continue}if(B<128){k=k+Dg[B];continue}if(B<2048){k=k+(Dg[192|B>>6]+Dg[128|B&63]);continue}if(B<55296||B>=57344){k=k+(Dg[224|B>>12]+Dg[128|B>>6&63]+Dg[128|B&63]);continue}O+=1,B=65536+((B&1023)<<10|S.charCodeAt(O)&1023),k+=Dg[240|B>>18]+Dg[128|B>>12&63]+Dg[128|B>>6&63]+Dg[128|B&63]}return k},eAe=function(l){for(var u=[{obj:{o:l},prop:"o"}],m=[],b=0;b<u.length;++b)for(var C=u[b],S=C.obj[C.prop],k=Object.keys(S),O=0;O<k.length;++O){var B=k[O],P=S[B];typeof P=="object"&&P!==null&&m.indexOf(P)===-1&&(u.push({obj:S,prop:B}),m.push(P))}return KOe(u),l},tAe=function(l){return Object.prototype.toString.call(l)==="[object RegExp]"},nAe=function(l){return!l||typeof l!="object"?!1:!!(l.constructor&&l.constructor.isBuffer&&l.constructor.isBuffer(l))},oAe=function(l,u){return[].concat(l,u)},sAe=function(l,u){if(NC(l)){for(var m=[],b=0;b<l.length;b+=1)m.push(u(l[b]));return m}return u(l)},wae={arrayToObject:vae,assign:XOe,combine:oAe,compact:eAe,decode:JOe,encode:QOe,isBuffer:nAe,isRegExp:tAe,maybeMap:sAe,merge:YOe},Cae=jOe,EP=wae,d4=Z9,rAe=Object.prototype.hasOwnProperty,Sae={brackets:function(l){return l+"[]"},comma:"comma",indices:function(l,u){return l+"["+u+"]"},repeat:function(l){return l}},N1=Array.isArray,aAe=Array.prototype.push,Eae=function(o,l){aAe.apply(o,N1(l)?l:[l])},lAe=Date.prototype.toISOString,xae=d4.default,td={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:EP.encode,encodeValuesOnly:!1,format:xae,formatter:d4.formatters[xae],indices:!1,serializeDate:function(l){return lAe.call(l)},skipNulls:!1,strictNullHandling:!1},iAe=function(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"||typeof l=="symbol"||typeof l=="bigint"},G9={},cAe=function o(l,u,m,b,C,S,k,O,B,P,V,j,G,q,U,Q){for(var J=l,se=Q,H=0,ne=!1;(se=se.get(G9))!==void 0&&!ne;){var Ae=se.get(l);if(H+=1,typeof Ae!="undefined"){if(Ae===H)throw new RangeError("Cyclic object value");ne=!0}typeof se.get(G9)=="undefined"&&(H=0)}if(typeof O=="function"?J=O(u,J):J instanceof Date?J=V(J):m==="comma"&&N1(J)&&(J=EP.maybeMap(J,function(M){return M instanceof Date?V(M):M})),J===null){if(C)return k&&!q?k(u,td.encoder,U,"key",j):u;J=""}if(iAe(J)||EP.isBuffer(J)){if(k){var pe=q?u:k(u,td.encoder,U,"key",j);return[G(pe)+"="+G(k(J,td.encoder,U,"value",j))]}return[G(u)+"="+G(String(J))]}var W=[];if(typeof J=="undefined")return W;var Se;if(m==="comma"&&N1(J))q&&k&&(J=EP.maybeMap(J,k)),Se=[{value:J.length>0?J.join(",")||null:void 0}];else if(N1(O))Se=O;else{var Ve=Object.keys(J);Se=B?Ve.sort(B):Ve}for(var Le=b&&N1(J)&&J.length===1?u+"[]":u,xe=0;xe<Se.length;++xe){var de=Se[xe],yt=typeof de=="object"&&typeof de.value!="undefined"?de.value:J[de];if(!(S&&yt===null)){var At=N1(J)?typeof m=="function"?m(Le,de):Le:Le+(P?"."+de:"["+de+"]");Q.set(l,H);var Qe=Cae();Qe.set(G9,Q),Eae(W,o(yt,At,m,b,C,S,m==="comma"&&q&&N1(J)?null:k,O,B,P,V,j,G,q,U,Qe))}}return W},uAe=function(l){if(!l)return td;if(l.encoder!==null&&typeof l.encoder!="undefined"&&typeof l.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=l.charset||td.charset;if(typeof l.charset!="undefined"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var m=d4.default;if(typeof l.format!="undefined"){if(!rAe.call(d4.formatters,l.format))throw new TypeError("Unknown format option provided.");m=l.format}var b=d4.formatters[m],C=td.filter;return(typeof l.filter=="function"||N1(l.filter))&&(C=l.filter),{addQueryPrefix:typeof l.addQueryPrefix=="boolean"?l.addQueryPrefix:td.addQueryPrefix,allowDots:typeof l.allowDots=="undefined"?td.allowDots:!!l.allowDots,charset:u,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:td.charsetSentinel,delimiter:typeof l.delimiter=="undefined"?td.delimiter:l.delimiter,encode:typeof l.encode=="boolean"?l.encode:td.encode,encoder:typeof l.encoder=="function"?l.encoder:td.encoder,encodeValuesOnly:typeof l.encodeValuesOnly=="boolean"?l.encodeValuesOnly:td.encodeValuesOnly,filter:C,format:m,formatter:b,serializeDate:typeof l.serializeDate=="function"?l.serializeDate:td.serializeDate,skipNulls:typeof l.skipNulls=="boolean"?l.skipNulls:td.skipNulls,sort:typeof l.sort=="function"?l.sort:null,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:td.strictNullHandling}},dAe=function(o,l){var u=o,m=uAe(l),b,C;typeof m.filter=="function"?(C=m.filter,u=C("",u)):N1(m.filter)&&(C=m.filter,b=C);var S=[];if(typeof u!="object"||u===null)return"";var k;l&&l.arrayFormat in Sae?k=l.arrayFormat:l&&"indices"in l?k=l.indices?"indices":"repeat":k="indices";var O=Sae[k];if(l&&"commaRoundTrip"in l&&typeof l.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var B=O==="comma"&&l&&l.commaRoundTrip;b||(b=Object.keys(u)),m.sort&&b.sort(m.sort);for(var P=Cae(),V=0;V<b.length;++V){var j=b[V];m.skipNulls&&u[j]===null||Eae(S,cAe(u[j],j,O,B,m.strictNullHandling,m.skipNulls,m.encode?m.encoder:null,m.filter,m.sort,m.allowDots,m.serializeDate,m.format,m.formatter,m.encodeValuesOnly,m.charset,P))}var G=S.join(m.delimiter),q=m.addQueryPrefix===!0?"?":"";return m.charsetSentinel&&(m.charset==="iso-8859-1"?q+="utf8=%26%2310003%3B&":q+="utf8=%E2%9C%93&"),G.length>0?q+G:""},kx=wae,K9=Object.prototype.hasOwnProperty,fAe=Array.isArray,ou={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kx.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},mAe=function(o){return o.replace(/&#(\d+);/g,function(l,u){return String.fromCharCode(parseInt(u,10))})},kae=function(o,l){return o&&typeof o=="string"&&l.comma&&o.indexOf(",")>-1?o.split(","):o},pAe="utf8=%26%2310003%3B",hAe="utf8=%E2%9C%93",gAe=function(l,u){var m={},b=u.ignoreQueryPrefix?l.replace(/^\?/,""):l,C=u.parameterLimit===1/0?void 0:u.parameterLimit,S=b.split(u.delimiter,C),k=-1,O,B=u.charset;if(u.charsetSentinel)for(O=0;O<S.length;++O)S[O].indexOf("utf8=")===0&&(S[O]===hAe?B="utf-8":S[O]===pAe&&(B="iso-8859-1"),k=O,O=S.length);for(O=0;O<S.length;++O)if(O!==k){var P=S[O],V=P.indexOf("]="),j=V===-1?P.indexOf("="):V+1,G,q;j===-1?(G=u.decoder(P,ou.decoder,B,"key"),q=u.strictNullHandling?null:""):(G=u.decoder(P.slice(0,j),ou.decoder,B,"key"),q=kx.maybeMap(kae(P.slice(j+1),u),function(U){return u.decoder(U,ou.decoder,B,"value")})),q&&u.interpretNumericEntities&&B==="iso-8859-1"&&(q=mAe(q)),P.indexOf("[]=")>-1&&(q=fAe(q)?[q]:q),K9.call(m,G)?m[G]=kx.combine(m[G],q):m[G]=q}return m},bAe=function(o,l,u,m){for(var b=m?l:kae(l,u),C=o.length-1;C>=0;--C){var S,k=o[C];if(k==="[]"&&u.parseArrays)S=[].concat(b);else{S=u.plainObjects?Object.create(null):{};var O=k.charAt(0)==="["&&k.charAt(k.length-1)==="]"?k.slice(1,-1):k,B=parseInt(O,10);!u.parseArrays&&O===""?S={0:b}:!isNaN(B)&&k!==O&&String(B)===O&&B>=0&&u.parseArrays&&B<=u.arrayLimit?(S=[],S[B]=b):O!=="__proto__"&&(S[O]=b)}b=S}return b},yAe=function(l,u,m,b){if(l){var C=m.allowDots?l.replace(/\.([^.[]+)/g,"[$1]"):l,S=/(\[[^[\]]*])/,k=/(\[[^[\]]*])/g,O=m.depth>0&&S.exec(C),B=O?C.slice(0,O.index):C,P=[];if(B){if(!m.plainObjects&&K9.call(Object.prototype,B)&&!m.allowPrototypes)return;P.push(B)}for(var V=0;m.depth>0&&(O=k.exec(C))!==null&&V<m.depth;){if(V+=1,!m.plainObjects&&K9.call(Object.prototype,O[1].slice(1,-1))&&!m.allowPrototypes)return;P.push(O[1])}return O&&P.push("["+C.slice(O.index)+"]"),bAe(P,u,m,b)}},vAe=function(l){if(!l)return ou;if(l.decoder!==null&&l.decoder!==void 0&&typeof l.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof l.charset!="undefined"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof l.charset=="undefined"?ou.charset:l.charset;return{allowDots:typeof l.allowDots=="undefined"?ou.allowDots:!!l.allowDots,allowPrototypes:typeof l.allowPrototypes=="boolean"?l.allowPrototypes:ou.allowPrototypes,allowSparse:typeof l.allowSparse=="boolean"?l.allowSparse:ou.allowSparse,arrayLimit:typeof l.arrayLimit=="number"?l.arrayLimit:ou.arrayLimit,charset:u,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:ou.charsetSentinel,comma:typeof l.comma=="boolean"?l.comma:ou.comma,decoder:typeof l.decoder=="function"?l.decoder:ou.decoder,delimiter:typeof l.delimiter=="string"||kx.isRegExp(l.delimiter)?l.delimiter:ou.delimiter,depth:typeof l.depth=="number"||l.depth===!1?+l.depth:ou.depth,ignoreQueryPrefix:l.ignoreQueryPrefix===!0,interpretNumericEntities:typeof l.interpretNumericEntities=="boolean"?l.interpretNumericEntities:ou.interpretNumericEntities,parameterLimit:typeof l.parameterLimit=="number"?l.parameterLimit:ou.parameterLimit,parseArrays:l.parseArrays!==!1,plainObjects:typeof l.plainObjects=="boolean"?l.plainObjects:ou.plainObjects,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:ou.strictNullHandling}},wAe=function(o,l){var u=vAe(l);if(o===""||o===null||typeof o=="undefined")return u.plainObjects?Object.create(null):{};for(var m=typeof o=="string"?gAe(o,u):o,b=u.plainObjects?Object.create(null):{},C=Object.keys(m),S=0;S<C.length;++S){var k=C[S],O=yAe(k,m[k],u,typeof o=="string");b=kx.merge(b,O,u)}return u.allowSparse===!0?b:kx.compact(b)},CAe=dAe,SAe=wAe,EAe=Z9,xAe={formats:EAe,parse:SAe,stringify:CAe};const Tae=Joe(xAe);function _ae(o){return Object.prototype.toString.call(o).slice(8,-1)==="String"}function Y9(o){return Object.prototype.toString.call(o).slice(8,-1)==="Number"}function f4(o){return Object.prototype.toString.call(o).slice(8,-1)==="Object"}function X9(o){return Object.prototype.toString.call(o).slice(8,-1)==="Array"}function Oae(o){return Object.prototype.toString.call(o).slice(8,-1)==="Date"}function kAe(o){return Object.prototype.toString.call(o).slice(8,-1)==="Boolean"}function TAe(o){return Object.prototype.toString.call(o).slice(8,-1)==="Function"}function V0(o){return Object.prototype.toString.call(o).slice(8,-1)==="Null"}function BC(o){return typeof o=="undefined"}function Aae(o){if(!o||!f4(o))return null;let l=Object.keys(o),u=new FormData;return l.forEach(m=>{u.append(m,o[m])}),u}function xP(o,l,u){let m=null;if(V0(o)||V0(l))throw new Error("CopyProperty target或source为null");a.isRef(l)&&(l=a.unref(l)),a.isRef(o)&&(m=o,o=a.unref(o));let b=Object.keys(o);u&&u.length>0&&(b=u);for(let C in b)BC(l[b[C]])||(o[b[C]]=l[b[C]]);return m||o}function _Ae(o,l){let u=null;if(V0(o))throw new Error("ResetProerty target为null");a.isRef(o)&&(u=o,o=a.unref(o));let m=Object.keys(o);for(let b in m){let C=m[b];l&&!BC(l[C])?o[C]=l[C]:X9(o[C])?o[C]=[]:o[C]=""}return u||o}function OAe(o,l="YYYY-MM-DD hh:mm:ss"){if(!o)return"";if(!Oae(o))if(_ae(o))o=new Date(o.replaceAll("-","/"));else if(Y9(o))o=new Date(o);else return"";let u=o.getFullYear()+"",m=o.getMonth()+1>9?o.getMonth()+1+"":"0"+(o.getMonth()+1),b=o.getDate()>9?o.getDate()+"":"0"+o.getDate(),C=o.getHours()>9?o.getHours()+"":"0"+o.getHours(),S=o.getMinutes()>9?o.getMinutes()+"":"0"+o.getMinutes(),k=o.getSeconds()>9?o.getSeconds()+"":"0"+o.getSeconds(),O=l.match(/Y/g)||[],B=O.length;u=u.substr(4-B);let P=l.replace(O.join(""),u);return P=P.replace("MM",m),P=P.replace("DD",b),P=P.replace("hh",C),P=P.replace("mm",S),P=P.replace("ss",k),P}const AAe=(o,l=1e3,u)=>{let m=null;return function(...b){u&&u(...b),m&&(clearTimeout(m),m=null),m=setTimeout(()=>{o(...b)},l)}};function NAe(o,l){l||(l=window.location.href);var u=new RegExp("(^|&)"+o+"=([^&]*)(&|$)","i"),b=l.split("?")[1].match(u);return b!=null?decodeURIComponent(b[2]):null}const m4=(o,l,u="id")=>V0(o)||BC(o)?(console.warn("数组是空"),!1):!(a.unref(o).findIndex(C=>C[u]==l[u])<0),kP=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),!1;let m=a.unref(o);return m4(o,l,u)?!1:(m.push(l),!0)},BAe=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),0;let m=a.unref(o),b=m.findIndex(C=>C[u]==l[u]);return b>-1?(o.splice(b,1,l),2):(m.push(l),1)},p4=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),!1;let m=a.unref(o),b=m.findIndex(C=>C[u]==l[u]);return b>-1?(m.splice(b,1),!0):!1};let H0=window.sessionStorage,h4={get:function(o){if(!H0){this.noSupport();return}try{let l=H0.getItem(o);return l==null?null:JSON.parse(l)}catch(l){return console.error(l),null}},set:function(o,l){if(!H0){this.noSupport();return}if(!(o==null||l==null))try{H0.setItem(o,JSON.stringify(l)),window.localStorage.setItem(o,JSON.stringify(l))}catch(u){console.error(u)}},remove:function(o){if(!H0){this.noSupport();return}H0.removeItem(o),window.localStorage.removeItem(o)},clearAll:function(){if(!H0){this.noSupport();return}H0.clear(),window.localStorage.clear()},noSupport:function(){alert("浏览器太旧,不支持storage,请安装新版本浏览器")}};function $Ae(o,l=!0,u){return Qa(this,null,function*(){if(o.name=="AxiosError"&&(o.code=="ERR_BAD_REQUEST"||o.code=="ERR_BAD_RESPONSE"))if(console.log("================"),o.response){let{data:m,status:b}=o.response;if(b==401){let{url:C,param:S,option:k}=u;if(k.withRefresh&&k.appendToken){k=Ze(ue({},k),{withRefresh:!1,fd:!1,antiShake:!1,confirmMsg:""});try{return yield DAe(C),yield OP(C,S,k)}catch(O){J9()}}else J9()}else l&&_C({type:"error",grouping:!0,message:m.msg})}else l&&_C({type:"error",grouping:!0,message:o.message||"服务器发生错误"});else l&&_C({type:"error",grouping:!0,message:o.message})})}function DAe(o){return Qa(this,null,function*(){let l="",u=h4.get("logininfo");if(u)l=u.refreshUrl;else throw new Error("未发现logininfo");l||(l=new URL(o).origin+"/system/login/refReshToken");let m=u.refresh_token;if(!m)throw new Error("logininfo中未发现refresh_token");let b=yield OP(l,{refReshToken:m},{appendToken:!1,withRefresh:!1,handleError:!1,fd:!0}),{data:C}=b;if(C.code=="200"){let S=C.val;u.refresh_token=S.refresh_token,u.token="bearer "+S.access_token,h4.set("logininfo",u)}else throw new Error("刷新token失败")})}function J9(){window.sessionStorage.removeItem("logininfo"),window.localStorage.removeItem("logininfo");let o="/login.html",l=window.localStorage.getItem("loginPage");if(l)try{o=JSON.parse(l)}catch(u){}location.href=o}const ERe="",Q9=(o,l)=>{const u=o.__vccOpts||o;for(const[m,b]of l)u[m]=b;return u},RAe={name:"FadeLoader",props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#5dc596"},height:{type:String,default:"15px"},width:{type:String,default:"5px"},margin:{type:String,default:"2px"},radius:{type:String,default:"20px"}},data(){return{spinnerStyle:{backgroundColor:this.color,height:this.height,width:this.width,margin:this.margin,borderRadius:this.radius}}},computed:{ngRadius(){return"-"+this.radius},quarter(){return parseFloat(this.radius)/2+parseFloat(this.radius)/5.5+"px"},ngQuarter(){return"-"+this.quarter},animationStyle1(){return{top:this.radius,left:0,animationDelay:"0.12s"}},animationStyle2(){return{top:this.quarter,left:this.quarter,animationDelay:"0.24s",transform:"rotate(-45deg)"}},animationStyle3(){return{top:0,left:this.radius,animationDelay:"0.36s",transform:"rotate(90deg)"}},animationStyle4(){return{top:this.ngQuarter,left:this.quarter,animationDelay:"0.48s",transform:"rotate(45deg)"}},animationStyle5(){return{top:this.ngRadius,left:0,animationDelay:"0.60s"}},animationStyle6(){return{top:this.ngQuarter,left:this.ngQuarter,animationDelay:"0.72s",transform:"rotate(-45deg)"}},animationStyle7(){return{top:0,left:this.ngRadius,animationDelay:"0.84s",transform:"rotate(90deg)"}},animationStyle8(){return{top:this.quarter,left:this.ngQuarter,animationDelay:"0.96s",transform:"rotate(45deg)"}}}},MAe={class:"v-spinner",style:{position:"relative",fontSize:0}};function PAe(o,l,u,m,b,C){return a.withDirectives((a.openBlock(),a.createElementBlock("div",MAe,[a.createCommentVNode(' <div class="v-spinner" v-bind:style="containerStyle"> '),a.createElementVNode("div",{class:"v-fade v-fade1",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle1])},null,4),a.createElementVNode("div",{class:"v-fade v-fade2",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle2])},null,4),a.createElementVNode("div",{class:"v-fade v-fade3",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle3])},null,4),a.createElementVNode("div",{class:"v-fade v-fade4",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle4])},null,4),a.createElementVNode("div",{class:"v-fade v-fade5",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle5])},null,4),a.createElementVNode("div",{class:"v-fade v-fade6",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle6])},null,4),a.createElementVNode("div",{class:"v-fade v-fade7",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle7])},null,4),a.createElementVNode("div",{class:"v-fade v-fade8",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle8])},null,4)],512)),[[a.vShow,u.loading]])}const IAe=Q9(RAe,[["render",PAe]]),FAe={class:"zy-loading-con"},LAe=a.defineComponent({name:"LoadingPlay"}),zAe=a.defineComponent(Ze(ue({},LAe),{props:{cont:{type:a.ref},options:{type:Object}},setup(o){const{cont:l,options:u}=o,m=a.computed(()=>({left:u.left+"px",top:u.top+"px",right:u.right+"px",bottom:u.bottom+"px"})),b=a.computed(()=>l&&l.value?["show"]:null);return(C,S)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["zy-loading-wrapper",b.value]),style:a.normalizeStyle(m.value)},[a.createElementVNode("div",FAe,[a.createVNode(IAe,{color:"#efeffa",width:"6px",height:"24px"})])],6))}})),Nae=1440,eU=216,VAe=56,tU={left:0,top:0,bottom:0,right:0};class HAe{constructor(){this.loadingCont=a.ref(!1),this.options=a.reactive(ue({},tU)),this.createLoadingApp()}createLoadingApp(){let l=document.createElement("div");document.body.appendChild(l),this.loadingApp=a.createApp({name:"LoadingApp",render:()=>a.h(zAe,{cont:this.loadingCont,options:this.options})}),this.loadingApp.mount(l)}ShowLoading(l){l=l?ue(ue({},tU),l):ue({},tU),l.LoadingType=="business"&&(l=ue(ue({},l),UAe()),delete l.LoadingType),xP(this.options,l),this.loadingCont.value=!0}HidenLoading(){this.loadingCont.value=!1}}function UAe(){let o=document.documentElement.clientWidth||document.body.clientWidth,l=0,u=0,m=0,b=0,C=document.querySelector(".zy-applayout-base");return C&&(l=VAe),o<=1480?C&&(u=eU+12):C&&(C.classList.contains("fullscreen")?u=eU+24:(u=Math.round((o-Nae)/2)+eU,m=Math.round((o-Nae)/2))),{left:u,top:l,bottom:b,right:m}}const TP=new HAe;function Bae(){let o=h4.get("logininfo");if(!o)throw new Error("logininfo未发现");return o.token}function WAe(o){let l=jAe(),u=l.checkApi(o);return u&&l.storeApi(o),u}function jAe(){return g4.instance||(g4.instance=new g4),g4.instance}class g4{constructor(){this.apiList=[]}checkApi(l){let u=this.apiList.findIndex(C=>C.api==l);if(u<0)return!0;let m=this.apiList[u];return new Date().getTime()-m.time<=1e3?!1:(this.apiList.splice(u,1),!0)}storeApi(l){let u=this.apiList.findIndex(m=>m.api==l);u<0?this.apiList.push({api:l,time:new Date().getTime()}):this.apiList[u].time=new Date().getTime()}}g4.instance=null;const _P={method:"post",loading:!0,appendToken:!0,fullscreen:!1,errorMsg:!0,handleError:!0,fd:!1,successMsg:!1,successTip:"操作成功",confirmMsg:"",antiShake:!0,withRefresh:!0},OP=(o,l,u)=>Qa(this,null,function*(){const m=o;u=u?ue(ue({},_P),u):ue({},_P),u.confirmMsg&&(yield hre.confirm(u.confirmMsg,"确认提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})),u.method=u.method.toLowerCase();let b=l;if((u.method=="get"||u.method=="delete")&&l&&f4(l)&&Object.keys(l).length>0&&(o=o+(o.indexOf("?")>-1?"&"+Tae.stringify(l):"?"+Tae.stringify(l))),u.antiShake&&!WAe(o))throw new Error(`${o}在1s内连续发起请求,判定为抖动`);(u.method=="post"||u.method=="put")&&u.fd&&(b=Aae(l));let C,S=u.fd?"multipart/form-data":"application/json;charset=UTF-8";if(u.appendToken){let k;try{k=Bae()}catch(O){if(u.handleError){J9();return}else console.error(O)}C=Zre.create({headers:{Authorization:k,"Content-Type":S}})}else C=Zre.create({headers:{"Content-Type":S}});try{if(u.loading){let O=null;u.fullscreen||(O={LoadingType:"business"}),TP.ShowLoading(O)}let k=yield C.request({method:u.method,url:o,withCredentials:!1,data:b});return u.loading&&TP.HidenLoading(),k}catch(k){if(u.loading&&TP.HidenLoading(),u.handleError){let O={url:m,param:l,option:u};return yield $Ae(k,u.errorMsg,O)}else throw console.warn("ajax出现错误,并忽略错误处理"),console.error(k),k}}),$C=(o,l,u)=>Qa(this,null,function*(){!!(u!=null&&u.successTip)&&(u.successMsg=!0),u=u?ue(ue({},_P),u):ue({},_P),u.method=u.method.toLowerCase();let b=!1;u.hasOwnProperty("pageInfo")&&u.pageInfo!=null&&(b=!0,u.hasOwnProperty("page")&&!u.page&&(b=!1),l=ue(ue({},a.unref(u.pageInfo)),l));try{const{data:C}=yield OP(o,l,u);if(C.code!=200)throw u.errorMsg&&_C({type:"error",grouping:!0,message:C.msg}),new Error(`请求:${o}出现错误,错误码:${C.code},错误信息:${C.msg}`);{u.successMsg&&_C({type:"success",grouping:!0,message:u.successTip});let S=C.val||C.list,k=a.unref(u.pageInfo),O={total:0,pageSize:0,pageIndex:0};return b&&u.hasOwnProperty("pageInfo")&&(O.pageIndex=k.pageIndex,O.pageSize=k.pageSize,C.hasOwnProperty("pageInfo")?O=ue({},C.pageInfo):O.total=C.total||0,k.total=O.total),{data:S,code:C.code,msg:C.msg,pageInfo:O}}}catch(C){throw console.warn(C),C}}),$ae=(o="./login.html")=>{let l=window.localStorage.getItem("loginPage");if(l){try{l=JSON.parse(l)}catch(u){console.warn(u)}o=l}window.sessionStorage.removeItem("logininfo"),window.localStorage.removeItem("logininfo"),window.location.href=o},ZAe=(o="./index.html")=>{let l=window.localStorage.getItem("homePage");if(l){try{l=JSON.parse(l)}catch(u){console.warn(u)}o=l}window.location.href=o},qAe=["onClick"],GAe=["onClick"],KAe=["onClick"],YAe={key:0,class:"none-file"},XAe=a.createElementVNode("i",{class:"zy-font",style:{"margin-left":"2px"}},"",-1),JAe={class:"el-upload__tip"},QAe={key:1},e4e=a.defineComponent({name:"FileList"}),AP=a.defineComponent(Ze(ue({},e4e),{props:{list:{type:Array,default(){return[]}},uploadPath:{type:String,required:!0},limit:{type:Number,default:-1},opt:{type:Boolean,default:!1},accept:{type:String},title:{type:String,default:"请选择文件"},emptyText:{type:String,default:"暂无文件"},tip:{type:String},param:{type:Object,default(){return{}}},auth:{type:Boolean,default:!1},previewPath:{type:String},downloadPath:{type:String},moduleId:{type:String},mark:{type:String}},emits:["update:list","on-error"],setup(o,{emit:l}){const u=o,m=Hl("zy-filelist"),b=a.ref(!1),{auth:C,previewPath:S,downloadPath:k,moduleId:O,mark:B}=u,P=a.useSlots(),V=a.ref(!1);(u.tip||P.tip)&&(V.value=!0);const j=a.computed(()=>u.opt?u.limit<0?!0:u.limit>u.list.length:!1),G=Ae=>{let pe=/((\.doc)$)|((\.docx)$)|((\.ppt)$)|((\.xlsx)$)|((\.xls)$)|((\.xls)$)|((\.pdf)$)|((\.txt)$)|((\.bmp)$)|((\.pptx)$)|((\.gif)$)|((\.png)$)|((\.jpe?g)$)/;return Ae?!!pe.test(Ae):!1},q=Ae=>{C?$C(Ae.requestUrl,{},{method:"get"}).then(({data:pe})=>{window.open(pe.previewPath,"_blank")}):G(Ae.fileName)?Ae.path&&(console.log(S+"?filePath="+Ae.path),window.open(S+"?filePath="+Ae.path)):_C({type:"warning",grouping:!0,message:"该文件类型暂不支持在线查看,请下载后查看"})},U=()=>{},Q=Ae=>{let pe=[...u.list];pe.splice(Ae,1),l("update:list",pe)},J=Ae=>{C?$C(Ae.requestUrl,{},{method:"get"}).then(({data:pe})=>{window.open(pe.path,"_self")}):k&&Ae.path?window.open(k+"?filePath="+Ae.path,"_self"):console.error("downloadPath未传入或参数解析错误")},se=Ae=>{if(C&&!O&&!B){console.error(new Error("内部文件moduleId和mark必须只能传一个"));return}b.value=!0;let pe={file:Ae.file};C&&(O&&(pe.moduleId=O),B&&(pe.mark=B)),$C(u.uploadPath,pe,{fd:!0,loading:!1}).then(({data:W})=>{b.value=!1;let Se={};C?Se=ne(W):Se=H(W),l("update:list",[...u.list,Se])}).catch(W=>{b.value=!1,console.warn("上传文件出错"),console.warn(W),l("on-error",W)})};function H(Ae){var W;return console.log(Ae),Ze(ue({},Ae),{path:(W=Ae.path)!=null?W:Ae.url})}function ne(Ae){return ue({},Ae)}return(Ae,pe)=>{const W=EC,Se=fre;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createElementVNode("ul",{class:a.normalizeClass(a.unref(m)("list"))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.list,(Ve,Le)=>(a.openBlock(),a.createElementBlock("li",{key:Ve.path},[a.createElementVNode("span",{class:a.normalizeClass(a.unref(m)("file-name"))},a.toDisplayString(Ve.fileName),3),a.createElementVNode("i",{class:"zy-font",title:"预览",onClick:xe=>q(Ve)},"",8,qAe),a.createElementVNode("i",{class:"zy-font",title:"下载",onClick:xe=>J(Ve)},"",8,GAe),o.opt?(a.openBlock(),a.createElementBlock("i",{key:0,class:"zy-font",title:"删除",onClick:xe=>Q(Le)},"",8,KAe)):a.createCommentVNode("v-if",!0),a.createCommentVNode(' <i class="zy-font" title="分享" v-if="auth"></i> ')]))),128)),!o.opt&&o.list.length==0?(a.openBlock(),a.createElementBlock("li",YAe,a.toDisplayString(o.emptyText),1)):a.createCommentVNode("v-if",!0)],2),j.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload"))},[a.createVNode(Se,{"auto-upload":!0,"on-exceed":U,accept:o.accept,name:"file",multiple:!1,"http-request":se,"show-file-list":!1,style:{display:"inline-block"},disabled:b.value},a.createSlots({default:a.withCtx(()=>[a.createVNode(W,{type:"primary"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.title),1),XAe]),_:1})]),_:2},[V.value?{name:"tip",fn:a.withCtx(()=>[a.createElementVNode("div",JAe,[a.unref(P).tip?a.renderSlot(Ae.$slots,"tip",{key:0}):(a.openBlock(),a.createElementBlock("span",QAe,a.toDisplayString(o.tip),1))])]),key:"0"}:void 0]),1032,["accept","disabled"])],2)):a.createCommentVNode("v-if",!0)],2)}}}));AP.install=o=>{o.component(AP.name,AP)};const xRe="",kRe="",TRe="",_Re="",ORe="",ARe="",t4e={class:"zy-page-con"},n4e=a.defineComponent({name:"ZyPage"}),NP=a.defineComponent(Ze(ue({},n4e),{props:{pageInfo:{required:!0,type:Object},loadMehod:{type:Function}},emits:["current-change","size-change"],setup(o,{expose:l,emit:u}){const{pageInfo:m,loadMehod:b}=o,C=O=>{b&&b(),u("current-change",O)},S=O=>{b&&b(),u("size-change",O)};return l({ResetPage:O=>{O?xP(m,O):(m.pageIndex=1,m.total=0),b&&b()}}),(O,B)=>{const P=s9;return a.openBlock(),a.createElementBlock("div",t4e,[a.createVNode(P,{layout:"prev, pager, next,sizes,total",background:"","page-size":o.pageInfo.pageSize,"onUpdate:pageSize":B[0]||(B[0]=V=>o.pageInfo.pageSize=V),"page-sizes":[10,20,30,40,50],total:o.pageInfo.total,onCurrentChange:C,onSizeChange:S,"current-page":o.pageInfo.pageIndex,"onUpdate:currentPage":B[1]||(B[1]=V=>o.pageInfo.pageIndex=V)},null,8,["page-size","total","current-page"])])}}}));NP.install=o=>{o.component(NP.name,NP)};const o4e=a.defineComponent({name:"BaseAppLayout"}),b4=a.defineComponent(Ze(ue({},o4e),{props:{fullscreen:{type:Boolean,default:!1}},setup(o,{expose:l}){const u=o,m=a.computed(()=>u.fullscreen?"fullscreen":""),b=Hl("zy-applayout-base-head"),C=Hl("zy-applayout-base-body"),S=Hl("zy-applayout-base-menu"),k=a.ref(!1),O=B=>{k.value=B};return a.getCurrentInstance().slots.navigator?k.value=!0:k.value=!1,l({SetNavigatorStatus:O}),(B,P)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["zy-applayout zy-applayout-base",m.value])},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)())},[a.renderSlot(B.$slots,"header")],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)())},[a.renderSlot(B.$slots,"menu")],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("ctx"))},[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("navigator"))},[a.renderSlot(B.$slots,"navigator")],2),[[a.vShow,k.value]]),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("body"))},[a.renderSlot(B.$slots,"default")],2)],2)],2)],2))}})),s4e=a.defineComponent({name:"AppLayout"}),BP=Object.assign(s4e,{setup(o){return(l,u)=>(a.openBlock(),a.createBlock(b4,null,{menu:a.withCtx(()=>[a.renderSlot(l.$slots,"menu")]),header:a.withCtx(()=>[a.renderSlot(l.$slots,"header")]),default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3}))}});BP.install=o=>{o.component(BP.name,BP)},b4.install=o=>{o.component(b4.name,b4)};const NRe="",BRe="",$Re="",DRe="",r4e=[a.createElementVNode("li",null,[a.createElementVNode("span",null,"主页")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"消息")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"通讯录")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"待办")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"应用")],-1)],a4e=a.defineComponent({name:"FunctionList"}),l4e=a.defineComponent(Ze(ue({},a4e),{setup(o){const l=Hl("zy-appheader-function");return(u,m)=>(a.openBlock(),a.createElementBlock("ul",{class:a.normalizeClass(a.unref(l)())},r4e,2))}})),i4e=[a.createElementVNode("img",{src:"https://source.cimos.cn/hongshu/images/icon/hs_logo.png"},null,-1)],c4e={class:"opt-dropdown-link"},u4e=["src"],d4e=[a.createElementVNode("i",{class:"zy-font action-icon"},"",-1)],f4e=a.createElementVNode("a",{class:"zy-userinfo-myinfo",href:"./myInformation.html",target:"_self"},"个人设置",-1),m4e=a.defineComponent({name:"AppHeader"}),$P=a.defineComponent(Ze(ue({},m4e),{props:{homePage:{type:String},loginPage:{type:String},ImBaseApi:{type:String},withIm:{type:Boolean,default:!0},imScript:{type:String,default:"https://source.cimos.cn/cimos/im/web_embed/im_embed.js"},avatar:{type:String,default:"https://source.cimos.cn/hongshu/images/icon/default_avatar.png"}},emits:["exit"],setup(o,{expose:l,emit:u}){const{homePage:m,loginPage:b}=o,C=Hl("zy-appheader"),S=Hl("zy-appheader-user"),k=a.reactive({tenantName:"",tenantId:"",realname:"",nickname:"",username:""}),O=()=>{let P=h4.get("logininfo");P&&xP(k,P)},B=()=>{hre.confirm("确定要退出登录吗?","退出确认",{confirmButtonText:"退出",cancelButtonText:"取消",center:!0,showClose:!0,confirmButtonClass:"confirm-exit-btn"}).then(()=>{u("exit"),$ae(b)}).catch(()=>{})};return a.onMounted(()=>{O()}),l({}),(P,V)=>{const j=Rse,G=Mse,q=Dse;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(C)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("mname"))},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("mname-logo"))},i4e,2)],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("function"))},[a.createVNode(l4e)],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("user"))},[a.createVNode(q,{trigger:"click"},{dropdown:a.withCtx(()=>[a.createVNode(G,{class:a.normalizeClass(a.unref(S)("userinfo-drop"))},{default:a.withCtx(()=>[a.createVNode(j,null,{default:a.withCtx(()=>[f4e]),_:1}),a.createVNode(j,{divided:"",class:a.normalizeClass(a.unref(S)("exit-item")),onClick:B},{default:a.withCtx(()=>[a.createTextVNode("退出登录")]),_:1},8,["class"])]),_:1},8,["class"])]),default:a.withCtx(()=>[a.createElementVNode("div",c4e,[a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("uavator"))},[a.createElementVNode("img",{src:o.avatar},null,8,u4e)],2),a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("uname"))},a.toDisplayString(k.realname||k.nickname||k.username),3),a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("action"))},d4e,2)])]),_:1})],2)],2)}}}));$P.install=o=>{o.component($P.name,$P)};const p4e={key:1},h4e=a.defineComponent({name:"NavSplit"}),g4e=a.defineComponent(Ze(ue({},h4e),{props:{curIndex:{type:Number,default:0},size:{type:Number,default:0}},setup(o){const l=Hl("zy-navigator-split");return(u,m)=>o.curIndex<o.size-1?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(a.unref(l)())}," / ",2)):(a.openBlock(),a.createElementBlock("span",p4e))}})),b4e=[a.createElementVNode("i",{class:"zy-font"},"",-1)],y4e=a.defineComponent({name:"ZyNavigator"}),DP=a.defineComponent(Ze(ue({},y4e),{props:{cur:{type:Object,default(){return{name:"",path:""}}},list:{type:Array,default(){return[]}},showBack:{type:Boolean,default:!0}},emits:["back"],setup(o,{emit:l}){const u=Hl("zy-navigator"),m=()=>{l("back")};return(b,C)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[o.showBack&&o.list.length>1?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(u)("back")),onClick:m},b4e,2)):a.createCommentVNode("v-if",!0),o.cur.name?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(a.unref(u)("title"))},[a.createElementVNode("span",null,a.toDisplayString(o.cur.name),1)],2)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(o.list,(S,k)=>(a.openBlock(),a.createElementBlock("div",{key:S.path,class:a.normalizeClass(a.unref(u)("tlist"))},[a.createElementVNode("span",{class:a.normalizeClass(a.unref(u)("ltitle"))},a.toDisplayString(S.name),3),a.createVNode(g4e,{curIndex:k,size:o.list.length},null,8,["curIndex","size"])],2))),128))],2))}}));DP.install=o=>{o.component(DP.name,DP)};const HRe="",URe="",WRe="",v4e={name:"ScaleLoader",props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#5dc596"},height:{type:String,default:"35px"},width:{type:String,default:"4px"},margin:{type:String,default:"2px"},radius:{type:String,default:"2px"}},data(){return{spinnerStyle:{backgroundColor:this.color,height:this.height,width:this.width,margin:this.margin,borderRadius:this.radius,display:"inline-block",animationName:"v-scaleStretchDelay",animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.2,.68,.18,1.08)",animationFillMode:"both"},spinnerDelay1:{animationDelay:"0.1s"},spinnerDelay2:{animationDelay:"0.2s"},spinnerDelay3:{animationDelay:"0.3s"},spinnerDelay4:{animationDelay:"0.4s"},spinnerDelay5:{animationDelay:"0.5s"}}}},w4e={class:"v-spinner"};function C4e(o,l,u,m,b,C){return a.withDirectives((a.openBlock(),a.createElementBlock("div",w4e,[a.createElementVNode("div",{class:"v-scale v-scale1",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay1])},null,4),a.createElementVNode("div",{class:"v-scale v-scale2",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay2])},null,4),a.createElementVNode("div",{class:"v-scale v-scale3",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay3])},null,4),a.createElementVNode("div",{class:"v-scale v-scale4",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay4])},null,4),a.createElementVNode("div",{class:"v-scale v-scale5",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay5])},null,4)],512)),[[a.vShow,u.loading]])}const S4e=Q9(v4e,[["render",C4e]]);/*!
|
|
55
|
+
`+l.prev}function wP(o,l){var u=z9(o),m=[];if(u){m.length=o.length;for(var b=0;b<o.length;b++)m[b]=L0(o,b)?l(o[b],o):""}var C=typeof I9=="function"?I9(o):[],S;if(Ex){S={};for(var k=0;k<C.length;k++)S["$"+C[k]]=C[k]}for(var O in o)L0(o,O)&&(u&&String(Number(O))===O&&O<o.length||Ex&&S["$"+O]instanceof Symbol||(rae.call(/[^\w$]/,O)?m.push(l(O,o)+": "+l(o[O],o)):m.push(O+": "+l(o[O],o))));if(typeof I9=="function")for(var B=0;B<C.length;B++)iae.call(o,C[B])&&m.push("["+l(C[B])+"]: "+l(o[C[B]],o));return m}var U9=N9,xx=sOe,ROe=hOe,MOe=U9("%TypeError%"),CP=U9("%WeakMap%",!0),SP=U9("%Map%",!0),POe=xx("WeakMap.prototype.get",!0),IOe=xx("WeakMap.prototype.set",!0),FOe=xx("WeakMap.prototype.has",!0),LOe=xx("Map.prototype.get",!0),zOe=xx("Map.prototype.set",!0),VOe=xx("Map.prototype.has",!0),W9=function(o,l){for(var u=o,m;(m=u.next)!==null;u=m)if(m.key===l)return u.next=m.next,m.next=o.next,o.next=m,m},HOe=function(o,l){var u=W9(o,l);return u&&u.value},UOe=function(o,l,u){var m=W9(o,l);m?m.value=u:o.next={key:l,next:o.next,value:u}},WOe=function(o,l){return!!W9(o,l)},jOe=function(){var l,u,m,b={assert:function(C){if(!b.has(C))throw new MOe("Side channel does not contain "+ROe(C))},get:function(C){if(CP&&C&&(typeof C=="object"||typeof C=="function")){if(l)return POe(l,C)}else if(SP){if(u)return LOe(u,C)}else if(m)return HOe(m,C)},has:function(C){if(CP&&C&&(typeof C=="object"||typeof C=="function")){if(l)return FOe(l,C)}else if(SP){if(u)return VOe(u,C)}else if(m)return WOe(m,C);return!1},set:function(C,S){CP&&C&&(typeof C=="object"||typeof C=="function")?(l||(l=new CP),IOe(l,C,S)):SP?(u||(u=new SP),zOe(u,C,S)):(m||(m={key:{},next:null}),UOe(m,C,S))}};return b},ZOe=String.prototype.replace,qOe=/%20/g,j9={RFC1738:"RFC1738",RFC3986:"RFC3986"},Z9={default:j9.RFC3986,formatters:{RFC1738:function(o){return ZOe.call(o,qOe,"+")},RFC3986:function(o){return String(o)}},RFC1738:j9.RFC1738,RFC3986:j9.RFC3986},GOe=Z9,q9=Object.prototype.hasOwnProperty,NC=Array.isArray,Dg=function(){for(var o=[],l=0;l<256;++l)o.push("%"+((l<16?"0":"")+l.toString(16)).toUpperCase());return o}(),KOe=function(l){for(;l.length>1;){var u=l.pop(),m=u.obj[u.prop];if(NC(m)){for(var b=[],C=0;C<m.length;++C)typeof m[C]!="undefined"&&b.push(m[C]);u.obj[u.prop]=b}}},vae=function(l,u){for(var m=u&&u.plainObjects?Object.create(null):{},b=0;b<l.length;++b)typeof l[b]!="undefined"&&(m[b]=l[b]);return m},YOe=function o(l,u,m){if(!u)return l;if(typeof u!="object"){if(NC(l))l.push(u);else if(l&&typeof l=="object")(m&&(m.plainObjects||m.allowPrototypes)||!q9.call(Object.prototype,u))&&(l[u]=!0);else return[l,u];return l}if(!l||typeof l!="object")return[l].concat(u);var b=l;return NC(l)&&!NC(u)&&(b=vae(l,m)),NC(l)&&NC(u)?(u.forEach(function(C,S){if(q9.call(l,S)){var k=l[S];k&&typeof k=="object"&&C&&typeof C=="object"?l[S]=o(k,C,m):l.push(C)}else l[S]=C}),l):Object.keys(u).reduce(function(C,S){var k=u[S];return q9.call(C,S)?C[S]=o(C[S],k,m):C[S]=k,C},b)},XOe=function(l,u){return Object.keys(u).reduce(function(m,b){return m[b]=u[b],m},l)},JOe=function(o,l,u){var m=o.replace(/\+/g," ");if(u==="iso-8859-1")return m.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(m)}catch(b){return m}},QOe=function(l,u,m,b,C){if(l.length===0)return l;var S=l;if(typeof l=="symbol"?S=Symbol.prototype.toString.call(l):typeof l!="string"&&(S=String(l)),m==="iso-8859-1")return escape(S).replace(/%u[0-9a-f]{4}/gi,function(P){return"%26%23"+parseInt(P.slice(2),16)+"%3B"});for(var k="",O=0;O<S.length;++O){var B=S.charCodeAt(O);if(B===45||B===46||B===95||B===126||B>=48&&B<=57||B>=65&&B<=90||B>=97&&B<=122||C===GOe.RFC1738&&(B===40||B===41)){k+=S.charAt(O);continue}if(B<128){k=k+Dg[B];continue}if(B<2048){k=k+(Dg[192|B>>6]+Dg[128|B&63]);continue}if(B<55296||B>=57344){k=k+(Dg[224|B>>12]+Dg[128|B>>6&63]+Dg[128|B&63]);continue}O+=1,B=65536+((B&1023)<<10|S.charCodeAt(O)&1023),k+=Dg[240|B>>18]+Dg[128|B>>12&63]+Dg[128|B>>6&63]+Dg[128|B&63]}return k},eAe=function(l){for(var u=[{obj:{o:l},prop:"o"}],m=[],b=0;b<u.length;++b)for(var C=u[b],S=C.obj[C.prop],k=Object.keys(S),O=0;O<k.length;++O){var B=k[O],P=S[B];typeof P=="object"&&P!==null&&m.indexOf(P)===-1&&(u.push({obj:S,prop:B}),m.push(P))}return KOe(u),l},tAe=function(l){return Object.prototype.toString.call(l)==="[object RegExp]"},nAe=function(l){return!l||typeof l!="object"?!1:!!(l.constructor&&l.constructor.isBuffer&&l.constructor.isBuffer(l))},oAe=function(l,u){return[].concat(l,u)},sAe=function(l,u){if(NC(l)){for(var m=[],b=0;b<l.length;b+=1)m.push(u(l[b]));return m}return u(l)},wae={arrayToObject:vae,assign:XOe,combine:oAe,compact:eAe,decode:JOe,encode:QOe,isBuffer:nAe,isRegExp:tAe,maybeMap:sAe,merge:YOe},Cae=jOe,EP=wae,d4=Z9,rAe=Object.prototype.hasOwnProperty,Sae={brackets:function(l){return l+"[]"},comma:"comma",indices:function(l,u){return l+"["+u+"]"},repeat:function(l){return l}},N1=Array.isArray,aAe=Array.prototype.push,Eae=function(o,l){aAe.apply(o,N1(l)?l:[l])},lAe=Date.prototype.toISOString,xae=d4.default,td={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:EP.encode,encodeValuesOnly:!1,format:xae,formatter:d4.formatters[xae],indices:!1,serializeDate:function(l){return lAe.call(l)},skipNulls:!1,strictNullHandling:!1},iAe=function(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"||typeof l=="symbol"||typeof l=="bigint"},G9={},cAe=function o(l,u,m,b,C,S,k,O,B,P,V,j,G,q,U,Q){for(var J=l,se=Q,H=0,ne=!1;(se=se.get(G9))!==void 0&&!ne;){var Ae=se.get(l);if(H+=1,typeof Ae!="undefined"){if(Ae===H)throw new RangeError("Cyclic object value");ne=!0}typeof se.get(G9)=="undefined"&&(H=0)}if(typeof O=="function"?J=O(u,J):J instanceof Date?J=V(J):m==="comma"&&N1(J)&&(J=EP.maybeMap(J,function(M){return M instanceof Date?V(M):M})),J===null){if(C)return k&&!q?k(u,td.encoder,U,"key",j):u;J=""}if(iAe(J)||EP.isBuffer(J)){if(k){var pe=q?u:k(u,td.encoder,U,"key",j);return[G(pe)+"="+G(k(J,td.encoder,U,"value",j))]}return[G(u)+"="+G(String(J))]}var W=[];if(typeof J=="undefined")return W;var Se;if(m==="comma"&&N1(J))q&&k&&(J=EP.maybeMap(J,k)),Se=[{value:J.length>0?J.join(",")||null:void 0}];else if(N1(O))Se=O;else{var Ve=Object.keys(J);Se=B?Ve.sort(B):Ve}for(var Le=b&&N1(J)&&J.length===1?u+"[]":u,xe=0;xe<Se.length;++xe){var de=Se[xe],yt=typeof de=="object"&&typeof de.value!="undefined"?de.value:J[de];if(!(S&&yt===null)){var At=N1(J)?typeof m=="function"?m(Le,de):Le:Le+(P?"."+de:"["+de+"]");Q.set(l,H);var Qe=Cae();Qe.set(G9,Q),Eae(W,o(yt,At,m,b,C,S,m==="comma"&&q&&N1(J)?null:k,O,B,P,V,j,G,q,U,Qe))}}return W},uAe=function(l){if(!l)return td;if(l.encoder!==null&&typeof l.encoder!="undefined"&&typeof l.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=l.charset||td.charset;if(typeof l.charset!="undefined"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var m=d4.default;if(typeof l.format!="undefined"){if(!rAe.call(d4.formatters,l.format))throw new TypeError("Unknown format option provided.");m=l.format}var b=d4.formatters[m],C=td.filter;return(typeof l.filter=="function"||N1(l.filter))&&(C=l.filter),{addQueryPrefix:typeof l.addQueryPrefix=="boolean"?l.addQueryPrefix:td.addQueryPrefix,allowDots:typeof l.allowDots=="undefined"?td.allowDots:!!l.allowDots,charset:u,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:td.charsetSentinel,delimiter:typeof l.delimiter=="undefined"?td.delimiter:l.delimiter,encode:typeof l.encode=="boolean"?l.encode:td.encode,encoder:typeof l.encoder=="function"?l.encoder:td.encoder,encodeValuesOnly:typeof l.encodeValuesOnly=="boolean"?l.encodeValuesOnly:td.encodeValuesOnly,filter:C,format:m,formatter:b,serializeDate:typeof l.serializeDate=="function"?l.serializeDate:td.serializeDate,skipNulls:typeof l.skipNulls=="boolean"?l.skipNulls:td.skipNulls,sort:typeof l.sort=="function"?l.sort:null,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:td.strictNullHandling}},dAe=function(o,l){var u=o,m=uAe(l),b,C;typeof m.filter=="function"?(C=m.filter,u=C("",u)):N1(m.filter)&&(C=m.filter,b=C);var S=[];if(typeof u!="object"||u===null)return"";var k;l&&l.arrayFormat in Sae?k=l.arrayFormat:l&&"indices"in l?k=l.indices?"indices":"repeat":k="indices";var O=Sae[k];if(l&&"commaRoundTrip"in l&&typeof l.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var B=O==="comma"&&l&&l.commaRoundTrip;b||(b=Object.keys(u)),m.sort&&b.sort(m.sort);for(var P=Cae(),V=0;V<b.length;++V){var j=b[V];m.skipNulls&&u[j]===null||Eae(S,cAe(u[j],j,O,B,m.strictNullHandling,m.skipNulls,m.encode?m.encoder:null,m.filter,m.sort,m.allowDots,m.serializeDate,m.format,m.formatter,m.encodeValuesOnly,m.charset,P))}var G=S.join(m.delimiter),q=m.addQueryPrefix===!0?"?":"";return m.charsetSentinel&&(m.charset==="iso-8859-1"?q+="utf8=%26%2310003%3B&":q+="utf8=%E2%9C%93&"),G.length>0?q+G:""},kx=wae,K9=Object.prototype.hasOwnProperty,fAe=Array.isArray,ou={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kx.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},mAe=function(o){return o.replace(/&#(\d+);/g,function(l,u){return String.fromCharCode(parseInt(u,10))})},kae=function(o,l){return o&&typeof o=="string"&&l.comma&&o.indexOf(",")>-1?o.split(","):o},pAe="utf8=%26%2310003%3B",hAe="utf8=%E2%9C%93",gAe=function(l,u){var m={},b=u.ignoreQueryPrefix?l.replace(/^\?/,""):l,C=u.parameterLimit===1/0?void 0:u.parameterLimit,S=b.split(u.delimiter,C),k=-1,O,B=u.charset;if(u.charsetSentinel)for(O=0;O<S.length;++O)S[O].indexOf("utf8=")===0&&(S[O]===hAe?B="utf-8":S[O]===pAe&&(B="iso-8859-1"),k=O,O=S.length);for(O=0;O<S.length;++O)if(O!==k){var P=S[O],V=P.indexOf("]="),j=V===-1?P.indexOf("="):V+1,G,q;j===-1?(G=u.decoder(P,ou.decoder,B,"key"),q=u.strictNullHandling?null:""):(G=u.decoder(P.slice(0,j),ou.decoder,B,"key"),q=kx.maybeMap(kae(P.slice(j+1),u),function(U){return u.decoder(U,ou.decoder,B,"value")})),q&&u.interpretNumericEntities&&B==="iso-8859-1"&&(q=mAe(q)),P.indexOf("[]=")>-1&&(q=fAe(q)?[q]:q),K9.call(m,G)?m[G]=kx.combine(m[G],q):m[G]=q}return m},bAe=function(o,l,u,m){for(var b=m?l:kae(l,u),C=o.length-1;C>=0;--C){var S,k=o[C];if(k==="[]"&&u.parseArrays)S=[].concat(b);else{S=u.plainObjects?Object.create(null):{};var O=k.charAt(0)==="["&&k.charAt(k.length-1)==="]"?k.slice(1,-1):k,B=parseInt(O,10);!u.parseArrays&&O===""?S={0:b}:!isNaN(B)&&k!==O&&String(B)===O&&B>=0&&u.parseArrays&&B<=u.arrayLimit?(S=[],S[B]=b):O!=="__proto__"&&(S[O]=b)}b=S}return b},yAe=function(l,u,m,b){if(l){var C=m.allowDots?l.replace(/\.([^.[]+)/g,"[$1]"):l,S=/(\[[^[\]]*])/,k=/(\[[^[\]]*])/g,O=m.depth>0&&S.exec(C),B=O?C.slice(0,O.index):C,P=[];if(B){if(!m.plainObjects&&K9.call(Object.prototype,B)&&!m.allowPrototypes)return;P.push(B)}for(var V=0;m.depth>0&&(O=k.exec(C))!==null&&V<m.depth;){if(V+=1,!m.plainObjects&&K9.call(Object.prototype,O[1].slice(1,-1))&&!m.allowPrototypes)return;P.push(O[1])}return O&&P.push("["+C.slice(O.index)+"]"),bAe(P,u,m,b)}},vAe=function(l){if(!l)return ou;if(l.decoder!==null&&l.decoder!==void 0&&typeof l.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof l.charset!="undefined"&&l.charset!=="utf-8"&&l.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof l.charset=="undefined"?ou.charset:l.charset;return{allowDots:typeof l.allowDots=="undefined"?ou.allowDots:!!l.allowDots,allowPrototypes:typeof l.allowPrototypes=="boolean"?l.allowPrototypes:ou.allowPrototypes,allowSparse:typeof l.allowSparse=="boolean"?l.allowSparse:ou.allowSparse,arrayLimit:typeof l.arrayLimit=="number"?l.arrayLimit:ou.arrayLimit,charset:u,charsetSentinel:typeof l.charsetSentinel=="boolean"?l.charsetSentinel:ou.charsetSentinel,comma:typeof l.comma=="boolean"?l.comma:ou.comma,decoder:typeof l.decoder=="function"?l.decoder:ou.decoder,delimiter:typeof l.delimiter=="string"||kx.isRegExp(l.delimiter)?l.delimiter:ou.delimiter,depth:typeof l.depth=="number"||l.depth===!1?+l.depth:ou.depth,ignoreQueryPrefix:l.ignoreQueryPrefix===!0,interpretNumericEntities:typeof l.interpretNumericEntities=="boolean"?l.interpretNumericEntities:ou.interpretNumericEntities,parameterLimit:typeof l.parameterLimit=="number"?l.parameterLimit:ou.parameterLimit,parseArrays:l.parseArrays!==!1,plainObjects:typeof l.plainObjects=="boolean"?l.plainObjects:ou.plainObjects,strictNullHandling:typeof l.strictNullHandling=="boolean"?l.strictNullHandling:ou.strictNullHandling}},wAe=function(o,l){var u=vAe(l);if(o===""||o===null||typeof o=="undefined")return u.plainObjects?Object.create(null):{};for(var m=typeof o=="string"?gAe(o,u):o,b=u.plainObjects?Object.create(null):{},C=Object.keys(m),S=0;S<C.length;++S){var k=C[S],O=yAe(k,m[k],u,typeof o=="string");b=kx.merge(b,O,u)}return u.allowSparse===!0?b:kx.compact(b)},CAe=dAe,SAe=wAe,EAe=Z9,xAe={formats:EAe,parse:SAe,stringify:CAe};const Tae=Joe(xAe);function _ae(o){return Object.prototype.toString.call(o).slice(8,-1)==="String"}function Y9(o){return Object.prototype.toString.call(o).slice(8,-1)==="Number"}function f4(o){return Object.prototype.toString.call(o).slice(8,-1)==="Object"}function X9(o){return Object.prototype.toString.call(o).slice(8,-1)==="Array"}function Oae(o){return Object.prototype.toString.call(o).slice(8,-1)==="Date"}function kAe(o){return Object.prototype.toString.call(o).slice(8,-1)==="Boolean"}function TAe(o){return Object.prototype.toString.call(o).slice(8,-1)==="Function"}function V0(o){return Object.prototype.toString.call(o).slice(8,-1)==="Null"}function BC(o){return typeof o=="undefined"}function Aae(o){if(!o||!f4(o))return null;let l=Object.keys(o),u=new FormData;return l.forEach(m=>{u.append(m,o[m])}),u}function xP(o,l,u){let m=null;if(V0(o)||V0(l))throw new Error("CopyProperty target或source为null");a.isRef(l)&&(l=a.unref(l)),a.isRef(o)&&(m=o,o=a.unref(o));let b=Object.keys(o);u&&u.length>0&&(b=u);for(let C in b)BC(l[b[C]])||(o[b[C]]=l[b[C]]);return m||o}function _Ae(o,l){let u=null;if(V0(o))throw new Error("ResetProerty target为null");a.isRef(o)&&(u=o,o=a.unref(o));let m=Object.keys(o);for(let b in m){let C=m[b];l&&!BC(l[C])?o[C]=l[C]:X9(o[C])?o[C]=[]:o[C]=""}return u||o}function OAe(o,l="YYYY-MM-DD hh:mm:ss"){if(!o)return"";if(!Oae(o))if(_ae(o))o=new Date(o.replaceAll("-","/"));else if(Y9(o))o=new Date(o);else return"";let u=o.getFullYear()+"",m=o.getMonth()+1>9?o.getMonth()+1+"":"0"+(o.getMonth()+1),b=o.getDate()>9?o.getDate()+"":"0"+o.getDate(),C=o.getHours()>9?o.getHours()+"":"0"+o.getHours(),S=o.getMinutes()>9?o.getMinutes()+"":"0"+o.getMinutes(),k=o.getSeconds()>9?o.getSeconds()+"":"0"+o.getSeconds(),O=l.match(/Y/g)||[],B=O.length;u=u.substr(4-B);let P=l.replace(O.join(""),u);return P=P.replace("MM",m),P=P.replace("DD",b),P=P.replace("hh",C),P=P.replace("mm",S),P=P.replace("ss",k),P}const AAe=(o,l=1e3,u)=>{let m=null;return function(...b){u&&u(...b),m&&(clearTimeout(m),m=null),m=setTimeout(()=>{o(...b)},l)}};function NAe(o,l){l||(l=window.location.href);var u=new RegExp("(^|&)"+o+"=([^&]*)(&|$)","i"),b=l.split("?")[1].match(u);return b!=null?decodeURIComponent(b[2]):null}const m4=(o,l,u="id")=>V0(o)||BC(o)?(console.warn("数组是空"),!1):!(a.unref(o).findIndex(C=>C[u]==l[u])<0),kP=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),!1;let m=a.unref(o);return m4(o,l,u)?!1:(m.push(l),!0)},BAe=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),0;let m=a.unref(o),b=m.findIndex(C=>C[u]==l[u]);return b>-1?(o.splice(b,1,l),2):(m.push(l),1)},p4=(o,l,u="id")=>{if(V0(o)||BC(o))return console.warn("数组是空"),!1;let m=a.unref(o),b=m.findIndex(C=>C[u]==l[u]);return b>-1?(m.splice(b,1),!0):!1};let H0=window.sessionStorage,h4={get:function(o){if(!H0){this.noSupport();return}try{let l=H0.getItem(o);return l==null?null:JSON.parse(l)}catch(l){return console.error(l),null}},set:function(o,l){if(!H0){this.noSupport();return}if(!(o==null||l==null))try{H0.setItem(o,JSON.stringify(l)),window.localStorage.setItem(o,JSON.stringify(l))}catch(u){console.error(u)}},remove:function(o){if(!H0){this.noSupport();return}H0.removeItem(o),window.localStorage.removeItem(o)},clearAll:function(){if(!H0){this.noSupport();return}H0.clear(),window.localStorage.clear()},noSupport:function(){alert("浏览器太旧,不支持storage,请安装新版本浏览器")}};function $Ae(o,l=!0,u){return Qa(this,null,function*(){if(o.name=="AxiosError"&&(o.code=="ERR_BAD_REQUEST"||o.code=="ERR_BAD_RESPONSE"))if(o.response){let{data:m,status:b}=o.response;if(b==401){let{url:C,param:S,option:k}=u;if(k.withRefresh&&k.appendToken){k=Ze(ue({},k),{withRefresh:!1,fd:!1,antiShake:!1,confirmMsg:""});try{return yield DAe(C),yield OP(C,S,k)}catch(O){J9()}}else J9()}else l&&_C({type:"error",grouping:!0,message:m.msg})}else l&&_C({type:"error",grouping:!0,message:o.message||"服务器发生错误"});else l&&_C({type:"error",grouping:!0,message:o.message})})}function DAe(o){return Qa(this,null,function*(){let l="",u=h4.get("logininfo");if(u)l=u.refreshUrl;else throw new Error("未发现logininfo");l||(l=new URL(o).origin+"/system/login/refReshToken");let m=u.refresh_token;if(!m)throw new Error("logininfo中未发现refresh_token");let b=yield OP(l,{refReshToken:m},{appendToken:!1,withRefresh:!1,handleError:!1,fd:!0}),{data:C}=b;if(C.code=="200"){let S=C.val;u.refresh_token=S.refresh_token,u.token="bearer "+S.access_token,h4.set("logininfo",u)}else throw new Error("刷新token失败")})}function J9(){window.sessionStorage.removeItem("logininfo"),window.localStorage.removeItem("logininfo");let o="/login.html",l=window.localStorage.getItem("loginPage");if(l)try{o=JSON.parse(l)}catch(u){}location.href=o}const ERe="",Q9=(o,l)=>{const u=o.__vccOpts||o;for(const[m,b]of l)u[m]=b;return u},RAe={name:"FadeLoader",props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#5dc596"},height:{type:String,default:"15px"},width:{type:String,default:"5px"},margin:{type:String,default:"2px"},radius:{type:String,default:"20px"}},data(){return{spinnerStyle:{backgroundColor:this.color,height:this.height,width:this.width,margin:this.margin,borderRadius:this.radius}}},computed:{ngRadius(){return"-"+this.radius},quarter(){return parseFloat(this.radius)/2+parseFloat(this.radius)/5.5+"px"},ngQuarter(){return"-"+this.quarter},animationStyle1(){return{top:this.radius,left:0,animationDelay:"0.12s"}},animationStyle2(){return{top:this.quarter,left:this.quarter,animationDelay:"0.24s",transform:"rotate(-45deg)"}},animationStyle3(){return{top:0,left:this.radius,animationDelay:"0.36s",transform:"rotate(90deg)"}},animationStyle4(){return{top:this.ngQuarter,left:this.quarter,animationDelay:"0.48s",transform:"rotate(45deg)"}},animationStyle5(){return{top:this.ngRadius,left:0,animationDelay:"0.60s"}},animationStyle6(){return{top:this.ngQuarter,left:this.ngQuarter,animationDelay:"0.72s",transform:"rotate(-45deg)"}},animationStyle7(){return{top:0,left:this.ngRadius,animationDelay:"0.84s",transform:"rotate(90deg)"}},animationStyle8(){return{top:this.quarter,left:this.ngQuarter,animationDelay:"0.96s",transform:"rotate(45deg)"}}}},MAe={class:"v-spinner",style:{position:"relative",fontSize:0}};function PAe(o,l,u,m,b,C){return a.withDirectives((a.openBlock(),a.createElementBlock("div",MAe,[a.createCommentVNode(' <div class="v-spinner" v-bind:style="containerStyle"> '),a.createElementVNode("div",{class:"v-fade v-fade1",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle1])},null,4),a.createElementVNode("div",{class:"v-fade v-fade2",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle2])},null,4),a.createElementVNode("div",{class:"v-fade v-fade3",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle3])},null,4),a.createElementVNode("div",{class:"v-fade v-fade4",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle4])},null,4),a.createElementVNode("div",{class:"v-fade v-fade5",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle5])},null,4),a.createElementVNode("div",{class:"v-fade v-fade6",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle6])},null,4),a.createElementVNode("div",{class:"v-fade v-fade7",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle7])},null,4),a.createElementVNode("div",{class:"v-fade v-fade8",style:a.normalizeStyle([b.spinnerStyle,C.animationStyle8])},null,4)],512)),[[a.vShow,u.loading]])}const IAe=Q9(RAe,[["render",PAe]]),FAe={class:"zy-loading-con"},LAe=a.defineComponent({name:"LoadingPlay"}),zAe=a.defineComponent(Ze(ue({},LAe),{props:{cont:{type:a.ref},options:{type:Object}},setup(o){const{cont:l,options:u}=o,m=a.computed(()=>({left:u.left+"px",top:u.top+"px",right:u.right+"px",bottom:u.bottom+"px"})),b=a.computed(()=>l&&l.value?["show"]:null);return(C,S)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["zy-loading-wrapper",b.value]),style:a.normalizeStyle(m.value)},[a.createElementVNode("div",FAe,[a.createVNode(IAe,{color:"#efeffa",width:"6px",height:"24px"})])],6))}})),Nae=1440,eU=216,VAe=56,tU={left:0,top:0,bottom:0,right:0};class HAe{constructor(){this.loadingCont=a.ref(!1),this.options=a.reactive(ue({},tU)),this.createLoadingApp()}createLoadingApp(){let l=document.createElement("div");document.body.appendChild(l),this.loadingApp=a.createApp({name:"LoadingApp",render:()=>a.h(zAe,{cont:this.loadingCont,options:this.options})}),this.loadingApp.mount(l)}ShowLoading(l){l=l?ue(ue({},tU),l):ue({},tU),l.LoadingType=="business"&&(l=ue(ue({},l),UAe()),delete l.LoadingType),xP(this.options,l),this.loadingCont.value=!0}HidenLoading(){this.loadingCont.value=!1}}function UAe(){let o=document.documentElement.clientWidth||document.body.clientWidth,l=0,u=0,m=0,b=0,C=document.querySelector(".zy-applayout-base");return C&&(l=VAe),o<=1480?C&&(u=eU+12):C&&(C.classList.contains("fullscreen")?u=eU+24:(u=Math.round((o-Nae)/2)+eU,m=Math.round((o-Nae)/2))),{left:u,top:l,bottom:b,right:m}}const TP=new HAe;function Bae(){let o=h4.get("logininfo");if(!o)throw new Error("logininfo未发现");return o.token}function WAe(o){let l=jAe(),u=l.checkApi(o);return u&&l.storeApi(o),u}function jAe(){return g4.instance||(g4.instance=new g4),g4.instance}class g4{constructor(){this.apiList=[]}checkApi(l){let u=this.apiList.findIndex(C=>C.api==l);if(u<0)return!0;let m=this.apiList[u];return new Date().getTime()-m.time<=1e3?!1:(this.apiList.splice(u,1),!0)}storeApi(l){let u=this.apiList.findIndex(m=>m.api==l);u<0?this.apiList.push({api:l,time:new Date().getTime()}):this.apiList[u].time=new Date().getTime()}}g4.instance=null;const _P={method:"post",loading:!0,appendToken:!0,fullscreen:!1,errorMsg:!0,handleError:!0,fd:!1,successMsg:!1,successTip:"操作成功",confirmMsg:"",antiShake:!0,withRefresh:!0},OP=(o,l,u)=>Qa(this,null,function*(){const m=o;u=u?ue(ue({},_P),u):ue({},_P),u.confirmMsg&&(yield hre.confirm(u.confirmMsg,"确认提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})),u.method=u.method.toLowerCase();let b=l;if((u.method=="get"||u.method=="delete")&&l&&f4(l)&&Object.keys(l).length>0&&(o=o+(o.indexOf("?")>-1?"&"+Tae.stringify(l):"?"+Tae.stringify(l))),u.antiShake&&!WAe(o))throw new Error(`${o}在1s内连续发起请求,判定为抖动`);(u.method=="post"||u.method=="put")&&u.fd&&(b=Aae(l));let C,S=u.fd?"multipart/form-data":"application/json;charset=UTF-8";if(u.appendToken){let k;try{k=Bae()}catch(O){if(u.handleError){J9();return}else console.error(O)}C=Zre.create({headers:{Authorization:k,"Content-Type":S}})}else C=Zre.create({headers:{"Content-Type":S}});try{if(u.loading){let O=null;u.fullscreen||(O={LoadingType:"business"}),TP.ShowLoading(O)}let k=yield C.request({method:u.method,url:o,withCredentials:!1,data:b});return u.loading&&TP.HidenLoading(),k}catch(k){if(u.loading&&TP.HidenLoading(),u.handleError){let O={url:m,param:l,option:u};return yield $Ae(k,u.errorMsg,O)}else throw console.warn("ajax出现错误,并忽略错误处理"),console.error(k),k}}),$C=(o,l,u)=>Qa(this,null,function*(){!!(u!=null&&u.successTip)&&(u.successMsg=!0),u=u?ue(ue({},_P),u):ue({},_P),u.method=u.method.toLowerCase();let b=!1;u.hasOwnProperty("pageInfo")&&u.pageInfo!=null&&(b=!0,u.hasOwnProperty("page")&&!u.page&&(b=!1),l=ue(ue({},a.unref(u.pageInfo)),l));try{const{data:C}=yield OP(o,l,u);if(C.code!=200)throw u.errorMsg&&_C({type:"error",grouping:!0,message:C.msg}),new Error(`请求:${o}出现错误,错误码:${C.code},错误信息:${C.msg}`);{u.successMsg&&_C({type:"success",grouping:!0,message:u.successTip});let S=C.val||C.list,k=a.unref(u.pageInfo),O={total:0,pageSize:0,pageIndex:0};return b&&u.hasOwnProperty("pageInfo")&&(O.pageIndex=k.pageIndex,O.pageSize=k.pageSize,C.hasOwnProperty("pageInfo")?O=ue({},C.pageInfo):O.total=C.total||0,k.total=O.total),{data:S,code:C.code,msg:C.msg,pageInfo:O}}}catch(C){throw console.warn(C),C}}),$ae=(o="./login.html")=>{let l=window.localStorage.getItem("loginPage");if(l){try{l=JSON.parse(l)}catch(u){console.warn(u)}o=l}window.sessionStorage.removeItem("logininfo"),window.localStorage.removeItem("logininfo"),window.location.href=o},ZAe=(o="./index.html")=>{let l=window.localStorage.getItem("homePage");if(l){try{l=JSON.parse(l)}catch(u){console.warn(u)}o=l}window.location.href=o},qAe=["onClick"],GAe=["onClick"],KAe=["onClick"],YAe={key:0,class:"none-file"},XAe=a.createElementVNode("i",{class:"zy-font",style:{"margin-left":"2px"}},"",-1),JAe={class:"el-upload__tip"},QAe={key:1},e4e=a.defineComponent({name:"FileList"}),AP=a.defineComponent(Ze(ue({},e4e),{props:{list:{type:Array,default(){return[]}},uploadPath:{type:String,required:!0},limit:{type:Number,default:-1},opt:{type:Boolean,default:!1},accept:{type:String},title:{type:String,default:"请选择文件"},emptyText:{type:String,default:"暂无文件"},tip:{type:String},param:{type:Object,default(){return{}}},auth:{type:Boolean,default:!1},previewPath:{type:String},downloadPath:{type:String},moduleId:{type:String},mark:{type:String}},emits:["update:list","on-error"],setup(o,{emit:l}){const u=o,m=Hl("zy-filelist"),b=a.ref(!1),{auth:C,previewPath:S,downloadPath:k,moduleId:O,mark:B}=u,P=a.useSlots(),V=a.ref(!1);(u.tip||P.tip)&&(V.value=!0);const j=a.computed(()=>u.opt?u.limit<0?!0:u.limit>u.list.length:!1),G=Ae=>{let pe=/((\.doc)$)|((\.docx)$)|((\.ppt)$)|((\.xlsx)$)|((\.xls)$)|((\.xls)$)|((\.pdf)$)|((\.txt)$)|((\.bmp)$)|((\.pptx)$)|((\.gif)$)|((\.png)$)|((\.jpe?g)$)/;return Ae?!!pe.test(Ae):!1},q=Ae=>{C?$C(Ae.requestUrl,{},{method:"get"}).then(({data:pe})=>{window.open(pe.previewPath,"_blank")}):G(Ae.fileName)?Ae.path&&(console.log(S+"?filePath="+Ae.path),window.open(S+"?filePath="+Ae.path)):_C({type:"warning",grouping:!0,message:"该文件类型暂不支持在线查看,请下载后查看"})},U=()=>{},Q=Ae=>{let pe=[...u.list];pe.splice(Ae,1),l("update:list",pe)},J=Ae=>{C?$C(Ae.requestUrl,{},{method:"get"}).then(({data:pe})=>{window.open(pe.path,"_self")}):k&&Ae.id?window.open(k+Ae.id,"_self"):console.error("downloadPath未传入或参数解析错误")},se=Ae=>{if(C&&!O&&!B){console.error(new Error("内部文件moduleId和mark必须只能传一个"));return}b.value=!0;let pe={file:Ae.file};C&&(O&&(pe.moduleId=O),B&&(pe.mark=B)),$C(u.uploadPath,pe,{fd:!0,loading:!1,appendToken:C}).then(({data:W})=>{b.value=!1;let Se={};C?Se=ne(W):Se=H(W),l("update:list",[...u.list,Se])}).catch(W=>{b.value=!1,console.warn("上传文件出错"),console.warn(W),l("on-error",W)})};function H(Ae){var W;return console.log(Ae),Ze(ue({},Ae),{path:(W=Ae.path)!=null?W:Ae.url})}function ne(Ae){return ue({},Ae)}return(Ae,pe)=>{const W=EC,Se=fre;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createElementVNode("ul",{class:a.normalizeClass(a.unref(m)("list"))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.list,(Ve,Le)=>(a.openBlock(),a.createElementBlock("li",{key:Ve.path},[a.createElementVNode("span",{class:a.normalizeClass(a.unref(m)("file-name"))},a.toDisplayString(Ve.filename),3),a.createElementVNode("i",{class:"zy-font",title:"预览",onClick:xe=>q(Ve)},"",8,qAe),a.createElementVNode("i",{class:"zy-font",title:"下载",onClick:xe=>J(Ve)},"",8,GAe),o.opt?(a.openBlock(),a.createElementBlock("i",{key:0,class:"zy-font",title:"删除",onClick:xe=>Q(Le)},"",8,KAe)):a.createCommentVNode("v-if",!0),a.createCommentVNode(' <i class="zy-font" title="分享" v-if="auth"></i> ')]))),128)),!o.opt&&o.list.length==0?(a.openBlock(),a.createElementBlock("li",YAe,a.toDisplayString(o.emptyText),1)):a.createCommentVNode("v-if",!0)],2),j.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload"))},[a.createVNode(Se,{"auto-upload":!0,"on-exceed":U,accept:o.accept,name:"file",multiple:!1,"http-request":se,"show-file-list":!1,style:{display:"inline-block"},disabled:b.value},a.createSlots({default:a.withCtx(()=>[a.createVNode(W,{type:"primary"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.title),1),XAe]),_:1})]),_:2},[V.value?{name:"tip",fn:a.withCtx(()=>[a.createElementVNode("div",JAe,[a.unref(P).tip?a.renderSlot(Ae.$slots,"tip",{key:0}):(a.openBlock(),a.createElementBlock("span",QAe,a.toDisplayString(o.tip),1))])]),key:"0"}:void 0]),1032,["accept","disabled"])],2)):a.createCommentVNode("v-if",!0)],2)}}}));AP.install=o=>{o.component(AP.name,AP)};const xRe="",kRe="",TRe="",_Re="",ORe="",ARe="",t4e={class:"zy-page-con"},n4e=a.defineComponent({name:"ZyPage"}),NP=a.defineComponent(Ze(ue({},n4e),{props:{pageInfo:{required:!0,type:Object},loadMehod:{type:Function}},emits:["current-change","size-change"],setup(o,{expose:l,emit:u}){const{pageInfo:m,loadMehod:b}=o,C=O=>{b&&b(),u("current-change",O)},S=O=>{b&&b(),u("size-change",O)};return l({ResetPage:O=>{O?xP(m,O):(m.pageIndex=1,m.total=0),b&&b()}}),(O,B)=>{const P=s9;return a.openBlock(),a.createElementBlock("div",t4e,[a.createVNode(P,{layout:"prev, pager, next,sizes,total",background:"","page-size":o.pageInfo.pageSize,"onUpdate:pageSize":B[0]||(B[0]=V=>o.pageInfo.pageSize=V),"page-sizes":[10,20,30,40,50],total:o.pageInfo.total,onCurrentChange:C,onSizeChange:S,"current-page":o.pageInfo.pageIndex,"onUpdate:currentPage":B[1]||(B[1]=V=>o.pageInfo.pageIndex=V)},null,8,["page-size","total","current-page"])])}}}));NP.install=o=>{o.component(NP.name,NP)};const o4e=a.defineComponent({name:"BaseAppLayout"}),b4=a.defineComponent(Ze(ue({},o4e),{props:{fullscreen:{type:Boolean,default:!1}},setup(o,{expose:l}){const u=o,m=a.computed(()=>u.fullscreen?"fullscreen":""),b=Hl("zy-applayout-base-head"),C=Hl("zy-applayout-base-body"),S=Hl("zy-applayout-base-menu"),k=a.ref(!1),O=B=>{k.value=B};return a.getCurrentInstance().slots.navigator?k.value=!0:k.value=!1,l({SetNavigatorStatus:O}),(B,P)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["zy-applayout zy-applayout-base",m.value])},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)())},[a.renderSlot(B.$slots,"header")],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)())},[a.renderSlot(B.$slots,"menu")],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("ctx"))},[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("navigator"))},[a.renderSlot(B.$slots,"navigator")],2),[[a.vShow,k.value]]),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("body"))},[a.renderSlot(B.$slots,"default")],2)],2)],2)],2))}})),s4e=a.defineComponent({name:"AppLayout"}),BP=Object.assign(s4e,{setup(o){return(l,u)=>(a.openBlock(),a.createBlock(b4,null,{menu:a.withCtx(()=>[a.renderSlot(l.$slots,"menu")]),header:a.withCtx(()=>[a.renderSlot(l.$slots,"header")]),default:a.withCtx(()=>[a.renderSlot(l.$slots,"default")]),_:3}))}});BP.install=o=>{o.component(BP.name,BP)},b4.install=o=>{o.component(b4.name,b4)};const NRe="",BRe="",$Re="",DRe="",r4e=[a.createElementVNode("li",null,[a.createElementVNode("span",null,"主页")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"消息")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"通讯录")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"待办")],-1),a.createElementVNode("li",null,[a.createElementVNode("span",null,"应用")],-1)],a4e=a.defineComponent({name:"FunctionList"}),l4e=a.defineComponent(Ze(ue({},a4e),{setup(o){const l=Hl("zy-appheader-function");return(u,m)=>(a.openBlock(),a.createElementBlock("ul",{class:a.normalizeClass(a.unref(l)())},r4e,2))}})),i4e=[a.createElementVNode("img",{src:"https://source.cimos.cn/hongshu/images/icon/hs_logo.png"},null,-1)],c4e={class:"opt-dropdown-link"},u4e=["src"],d4e=[a.createElementVNode("i",{class:"zy-font action-icon"},"",-1)],f4e=a.createElementVNode("a",{class:"zy-userinfo-myinfo",href:"./myInformation.html",target:"_self"},"个人设置",-1),m4e=a.defineComponent({name:"AppHeader"}),$P=a.defineComponent(Ze(ue({},m4e),{props:{homePage:{type:String},loginPage:{type:String},ImBaseApi:{type:String},withIm:{type:Boolean,default:!0},imScript:{type:String,default:"https://source.cimos.cn/cimos/im/web_embed/im_embed.js"},avatar:{type:String,default:"https://source.cimos.cn/hongshu/images/icon/default_avatar.png"}},emits:["exit"],setup(o,{expose:l,emit:u}){const{homePage:m,loginPage:b}=o,C=Hl("zy-appheader"),S=Hl("zy-appheader-user"),k=a.reactive({tenantName:"",tenantId:"",realname:"",nickname:"",username:""}),O=()=>{let P=h4.get("logininfo");P&&xP(k,P)},B=()=>{hre.confirm("确定要退出登录吗?","退出确认",{confirmButtonText:"退出",cancelButtonText:"取消",center:!0,showClose:!0,confirmButtonClass:"confirm-exit-btn"}).then(()=>{u("exit"),$ae(b)}).catch(()=>{})};return a.onMounted(()=>{O()}),l({}),(P,V)=>{const j=Rse,G=Mse,q=Dse;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(C)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("mname"))},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("mname-logo"))},i4e,2)],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("function"))},[a.createVNode(l4e)],2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(C)("user"))},[a.createVNode(q,{trigger:"click"},{dropdown:a.withCtx(()=>[a.createVNode(G,{class:a.normalizeClass(a.unref(S)("userinfo-drop"))},{default:a.withCtx(()=>[a.createVNode(j,null,{default:a.withCtx(()=>[f4e]),_:1}),a.createVNode(j,{divided:"",class:a.normalizeClass(a.unref(S)("exit-item")),onClick:B},{default:a.withCtx(()=>[a.createTextVNode("退出登录")]),_:1},8,["class"])]),_:1},8,["class"])]),default:a.withCtx(()=>[a.createElementVNode("div",c4e,[a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("uavator"))},[a.createElementVNode("img",{src:o.avatar},null,8,u4e)],2),a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("uname"))},a.toDisplayString(k.realname||k.nickname||k.username),3),a.createElementVNode("span",{class:a.normalizeClass(a.unref(S)("action"))},d4e,2)])]),_:1})],2)],2)}}}));$P.install=o=>{o.component($P.name,$P)};const p4e={key:1},h4e=a.defineComponent({name:"NavSplit"}),g4e=a.defineComponent(Ze(ue({},h4e),{props:{curIndex:{type:Number,default:0},size:{type:Number,default:0}},setup(o){const l=Hl("zy-navigator-split");return(u,m)=>o.curIndex<o.size-1?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(a.unref(l)())}," / ",2)):(a.openBlock(),a.createElementBlock("span",p4e))}})),b4e=[a.createElementVNode("i",{class:"zy-font"},"",-1)],y4e=a.defineComponent({name:"ZyNavigator"}),DP=a.defineComponent(Ze(ue({},y4e),{props:{cur:{type:Object,default(){return{name:"",path:""}}},list:{type:Array,default(){return[]}},showBack:{type:Boolean,default:!0}},emits:["back"],setup(o,{emit:l}){const u=Hl("zy-navigator"),m=()=>{l("back")};return(b,C)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[o.showBack&&o.list.length>1?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(u)("back")),onClick:m},b4e,2)):a.createCommentVNode("v-if",!0),o.cur.name?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(a.unref(u)("title"))},[a.createElementVNode("span",null,a.toDisplayString(o.cur.name),1)],2)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(o.list,(S,k)=>(a.openBlock(),a.createElementBlock("div",{key:S.path,class:a.normalizeClass(a.unref(u)("tlist"))},[a.createElementVNode("span",{class:a.normalizeClass(a.unref(u)("ltitle"))},a.toDisplayString(S.name),3),a.createVNode(g4e,{curIndex:k,size:o.list.length},null,8,["curIndex","size"])],2))),128))],2))}}));DP.install=o=>{o.component(DP.name,DP)};const HRe="",URe="",WRe="",v4e={name:"ScaleLoader",props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#5dc596"},height:{type:String,default:"35px"},width:{type:String,default:"4px"},margin:{type:String,default:"2px"},radius:{type:String,default:"2px"}},data(){return{spinnerStyle:{backgroundColor:this.color,height:this.height,width:this.width,margin:this.margin,borderRadius:this.radius,display:"inline-block",animationName:"v-scaleStretchDelay",animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.2,.68,.18,1.08)",animationFillMode:"both"},spinnerDelay1:{animationDelay:"0.1s"},spinnerDelay2:{animationDelay:"0.2s"},spinnerDelay3:{animationDelay:"0.3s"},spinnerDelay4:{animationDelay:"0.4s"},spinnerDelay5:{animationDelay:"0.5s"}}}},w4e={class:"v-spinner"};function C4e(o,l,u,m,b,C){return a.withDirectives((a.openBlock(),a.createElementBlock("div",w4e,[a.createElementVNode("div",{class:"v-scale v-scale1",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay1])},null,4),a.createElementVNode("div",{class:"v-scale v-scale2",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay2])},null,4),a.createElementVNode("div",{class:"v-scale v-scale3",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay3])},null,4),a.createElementVNode("div",{class:"v-scale v-scale4",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay4])},null,4),a.createElementVNode("div",{class:"v-scale v-scale5",style:a.normalizeStyle([b.spinnerStyle,b.spinnerDelay5])},null,4)],512)),[[a.vShow,u.loading]])}const S4e=Q9(v4e,[["render",C4e]]);/*!
|
|
56
56
|
* Viewer.js v1.11.3
|
|
57
57
|
* https://fengyuanchen.github.io/viewerjs
|
|
58
58
|
*
|
|
@@ -68,7 +68,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
68
68
|
* Released under the MIT license
|
|
69
69
|
*
|
|
70
70
|
* Date: 2022-10-25T08:49:33.301Z
|
|
71
|
-
*/var UP=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Q4e(o){return o}var fle=Q4e;function e3e(o,l,u){switch(u.length){case 0:return o.call(l);case 1:return o.call(l,u[0]);case 2:return o.call(l,u[0],u[1]);case 3:return o.call(l,u[0],u[1],u[2])}return o.apply(l,u)}var t3e=e3e,n3e=t3e,mle=Math.max;function o3e(o,l,u){return l=mle(l===void 0?o.length-1:l,0),function(){for(var m=arguments,b=-1,C=mle(m.length-l,0),S=Array(C);++b<C;)S[b]=m[l+b];b=-1;for(var k=Array(l+1);++b<l;)k[b]=m[b];return k[l]=u(S),n3e(o,this,k)}}var s3e=o3e;function r3e(o){return function(){return o}}var a3e=r3e,l3e=typeof UP=="object"&&UP&&UP.Object===Object&&UP,ple=l3e,i3e=ple,c3e=typeof self=="object"&&self&&self.Object===Object&&self,u3e=i3e||c3e||Function("return this")(),fU=u3e,d3e=fU,f3e=d3e.Symbol,hle=f3e,gle=hle,ble=Object.prototype,m3e=ble.hasOwnProperty,p3e=ble.toString,E4=gle?gle.toStringTag:void 0;function h3e(o){var l=m3e.call(o,E4),u=o[E4];try{o[E4]=void 0;var m=!0}catch(C){}var b=p3e.call(o);return m&&(l?o[E4]=u:delete o[E4]),b}var g3e=h3e,b3e=Object.prototype,y3e=b3e.toString;function v3e(o){return y3e.call(o)}var w3e=v3e,yle=hle,C3e=g3e,S3e=w3e,E3e="[object Null]",x3e="[object Undefined]",vle=yle?yle.toStringTag:void 0;function k3e(o){return o==null?o===void 0?x3e:E3e:vle&&vle in Object(o)?C3e(o):S3e(o)}var mU=k3e;function T3e(o){var l=typeof o;return o!=null&&(l=="object"||l=="function")}var WP=T3e,_3e=mU,O3e=WP,A3e="[object AsyncFunction]",N3e="[object Function]",B3e="[object GeneratorFunction]",$3e="[object Proxy]";function D3e(o){if(!O3e(o))return!1;var l=_3e(o);return l==N3e||l==B3e||l==A3e||l==$3e}var wle=D3e,R3e=fU,M3e=R3e["__core-js_shared__"],P3e=M3e,pU=P3e,Cle=function(){var o=/[^.]+$/.exec(pU&&pU.keys&&pU.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function I3e(o){return!!Cle&&Cle in o}var F3e=I3e,L3e=Function.prototype,z3e=L3e.toString;function V3e(o){if(o!=null){try{return z3e.call(o)}catch(l){}try{return o+""}catch(l){}}return""}var H3e=V3e,U3e=wle,W3e=F3e,j3e=WP,Z3e=H3e,q3e=/[\\^$.*+?()[\]{}|]/g,G3e=/^\[object .+?Constructor\]$/,K3e=Function.prototype,Y3e=Object.prototype,X3e=K3e.toString,J3e=Y3e.hasOwnProperty,Q3e=RegExp("^"+X3e.call(J3e).replace(q3e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function eNe(o){if(!j3e(o)||W3e(o))return!1;var l=U3e(o)?Q3e:G3e;return l.test(Z3e(o))}var tNe=eNe;function nNe(o,l){return o==null?void 0:o[l]}var oNe=nNe,sNe=tNe,rNe=oNe;function aNe(o,l){var u=rNe(o,l);return sNe(u)?u:void 0}var lNe=aNe,iNe=lNe,cNe=function(){try{var o=iNe(Object,"defineProperty");return o({},"",{}),o}catch(l){}}(),uNe=cNe,dNe=a3e,Sle=uNe,fNe=fle,mNe=Sle?function(o,l){return Sle(o,"toString",{configurable:!0,enumerable:!1,value:dNe(l),writable:!0})}:fNe,pNe=mNe,hNe=800,gNe=16,bNe=Date.now;function yNe(o){var l=0,u=0;return function(){var m=bNe(),b=gNe-(m-u);if(u=m,b>0){if(++l>=hNe)return arguments[0]}else l=0;return o.apply(void 0,arguments)}}var vNe=yNe,wNe=pNe,CNe=vNe,SNe=CNe(wNe),ENe=SNe,xNe=fle,kNe=s3e,TNe=ENe;function _Ne(o,l){return TNe(kNe(o,l,xNe),o+"")}var ONe=_Ne;function ANe(o,l){return o===l||o!==o&&l!==l}var Ele=ANe,NNe=9007199254740991;function BNe(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=NNe}var xle=BNe,$Ne=wle,DNe=xle;function RNe(o){return o!=null&&DNe(o.length)&&!$Ne(o)}var kle=RNe,MNe=9007199254740991,PNe=/^(?:0|[1-9]\d*)$/;function INe(o,l){var u=typeof o;return l=l==null?MNe:l,!!l&&(u=="number"||u!="symbol"&&PNe.test(o))&&o>-1&&o%1==0&&o<l}var Tle=INe,FNe=Ele,LNe=kle,zNe=Tle,VNe=WP;function HNe(o,l,u){if(!VNe(u))return!1;var m=typeof l;return(m=="number"?LNe(u)&&zNe(l,u.length):m=="string"&&l in u)?FNe(u[l],o):!1}var UNe=HNe;function WNe(o,l){for(var u=-1,m=Array(o);++u<o;)m[u]=l(u);return m}var jNe=WNe;function ZNe(o){return o!=null&&typeof o=="object"}var hU=ZNe,qNe=mU,GNe=hU,KNe="[object Arguments]";function YNe(o){return GNe(o)&&qNe(o)==KNe}var XNe=YNe,_le=XNe,JNe=hU,Ole=Object.prototype,QNe=Ole.hasOwnProperty,eBe=Ole.propertyIsEnumerable,tBe=_le(function(){return arguments}())?_le:function(o){return JNe(o)&&QNe.call(o,"callee")&&!eBe.call(o,"callee")},nBe=tBe,oBe=Array.isArray,sBe=oBe,gU={exports:{}};function rBe(){return!1}var aBe=rBe;(function(o,l){var u=fU,m=aBe,b=l&&!l.nodeType&&l,C=b&&!0&&o&&!o.nodeType&&o,S=C&&C.exports===b,k=S?u.Buffer:void 0,O=k?k.isBuffer:void 0,B=O||m;o.exports=B})(gU,gU.exports);var lBe=mU,iBe=xle,cBe=hU,uBe="[object Arguments]",dBe="[object Array]",fBe="[object Boolean]",mBe="[object Date]",pBe="[object Error]",hBe="[object Function]",gBe="[object Map]",bBe="[object Number]",yBe="[object Object]",vBe="[object RegExp]",wBe="[object Set]",CBe="[object String]",SBe="[object WeakMap]",EBe="[object ArrayBuffer]",xBe="[object DataView]",kBe="[object Float32Array]",TBe="[object Float64Array]",_Be="[object Int8Array]",OBe="[object Int16Array]",ABe="[object Int32Array]",NBe="[object Uint8Array]",BBe="[object Uint8ClampedArray]",$Be="[object Uint16Array]",DBe="[object Uint32Array]",Ul={};Ul[kBe]=Ul[TBe]=Ul[_Be]=Ul[OBe]=Ul[ABe]=Ul[NBe]=Ul[BBe]=Ul[$Be]=Ul[DBe]=!0,Ul[uBe]=Ul[dBe]=Ul[EBe]=Ul[fBe]=Ul[xBe]=Ul[mBe]=Ul[pBe]=Ul[hBe]=Ul[gBe]=Ul[bBe]=Ul[yBe]=Ul[vBe]=Ul[wBe]=Ul[CBe]=Ul[SBe]=!1;function RBe(o){return cBe(o)&&iBe(o.length)&&!!Ul[lBe(o)]}var MBe=RBe;function PBe(o){return function(l){return o(l)}}var IBe=PBe,bU={exports:{}};(function(o,l){var u=ple,m=l&&!l.nodeType&&l,b=m&&!0&&o&&!o.nodeType&&o,C=b&&b.exports===m,S=C&&u.process,k=function(){try{var O=b&&b.require&&b.require("util").types;return O||S&&S.binding&&S.binding("util")}catch(B){}}();o.exports=k})(bU,bU.exports);var FBe=MBe,LBe=IBe,Ale=bU.exports,Nle=Ale&&Ale.isTypedArray,zBe=Nle?LBe(Nle):FBe,VBe=zBe,HBe=jNe,UBe=nBe,WBe=sBe,jBe=gU.exports,ZBe=Tle,qBe=VBe,GBe=Object.prototype,KBe=GBe.hasOwnProperty;function YBe(o,l){var u=WBe(o),m=!u&&UBe(o),b=!u&&!m&&jBe(o),C=!u&&!m&&!b&&qBe(o),S=u||m||b||C,k=S?HBe(o.length,String):[],O=k.length;for(var B in o)(l||KBe.call(o,B))&&!(S&&(B=="length"||b&&(B=="offset"||B=="parent")||C&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||ZBe(B,O)))&&k.push(B);return k}var XBe=YBe,JBe=Object.prototype;function QBe(o){var l=o&&o.constructor,u=typeof l=="function"&&l.prototype||JBe;return o===u}var e$e=QBe;function t$e(o){var l=[];if(o!=null)for(var u in Object(o))l.push(u);return l}var n$e=t$e,o$e=WP,s$e=e$e,r$e=n$e,a$e=Object.prototype,l$e=a$e.hasOwnProperty;function i$e(o){if(!o$e(o))return r$e(o);var l=s$e(o),u=[];for(var m in o)m=="constructor"&&(l||!l$e.call(o,m))||u.push(m);return u}var c$e=i$e,u$e=XBe,d$e=c$e,f$e=kle;function m$e(o){return f$e(o)?u$e(o,!0):d$e(o)}var p$e=m$e,h$e=ONe,g$e=Ele,b$e=UNe,y$e=p$e,Ble=Object.prototype,v$e=Ble.hasOwnProperty;h$e(function(o,l){o=Object(o);var u=-1,m=l.length,b=m>2?l[2]:void 0;for(b&&b$e(l[0],l[1],b)&&(m=1);++u<m;)for(var C=l[u],S=y$e(C),k=-1,O=S.length;++k<O;){var B=S[k],P=o[B];(P===void 0||g$e(P,Ble[B])&&!v$e.call(o,B))&&(o[B]=C[B])}return o});const w$e=typeof window!="undefined"&&window!==null;x$e();const C$e=Object.prototype.propertyIsEnumerable,$le=Object.getOwnPropertySymbols;function jP(o){return typeof o=="function"||toString.call(o)==="[object Object]"}function S$e(o){return typeof o=="object"?o===null:typeof o!="function"}function E$e(o){return o!=="__proto__"&&o!=="constructor"&&o!=="prototype"}function x$e(){return w$e&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function k$e(o,...l){if(!jP(o))throw new TypeError("expected the first argument to be an object");if(l.length===0||typeof Symbol!="function"||typeof $le!="function")return o;for(const u of l){const m=$le(u);for(const b of m)C$e.call(u,b)&&(o[b]=u[b])}return o}function Dle(o,...l){let u=0;for(S$e(o)&&(o=l[u++]),o||(o={});u<l.length;u++)if(jP(l[u])){for(const m of Object.keys(l[u]))E$e(m)&&(jP(o[m])&&jP(l[u][m])?Dle(o[m],l[u][m]):o[m]=l[u][m]);k$e(o,l[u])}return o}const T$e=({images:o=[],options:l})=>{l=Dle(l,{inline:!1});const u=document.createElement("div"),m=a.h("div",{style:{display:"none"},class:["__viewer-token"]},o.map(k=>a.h("img",typeof k=="string"?{src:k}:k)));a.render(m,u);const b=u.firstElementChild;document.body.appendChild(b);const C=new dU(b,l),S=C.destroy.bind(C);return C.destroy=function(){return S(),a.render(null,u),C},C.show(),b.addEventListener("hidden",function(){this.viewer===C&&C.destroy()}),C};a.defineComponent({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(o,{emit:l}){let u;const m=a.ref();function b(){u=new dU(m.value,o.options),l("inited",u)}function C(){u&&u.destroy()}function S(){C(),b()}function k(){u?(u.update(),l("inited",u)):b()}function O(){o.rebuild?S():k()}const B={deep:!0};return a.watch(()=>o.images,()=>a.nextTick(()=>O()),B),a.watch(()=>o.trigger,()=>a.nextTick(()=>O()),B),a.watch(()=>o.options,()=>a.nextTick(()=>S()),B),a.onMounted(()=>b()),a.onUnmounted(()=>C()),{root:m,createViewer:b,rebuildViewer:S,updateViewer:k,destroyViewer:C}}});const _$e=["onClick"],O$e=["onClick"],A$e=a.createElementVNode("div",null,"上传中",-1),N$e=a.createElementVNode("div",null,[a.createElementVNode("i",{class:"zy-font"},"")],-1),B$e={class:"el-upload__tip"},$$e={key:1},D$e=a.defineComponent({name:"ImageList"}),ZP=a.defineComponent(Ze(ue({},D$e),{props:{list:{type:Array,default(){return[]}},uploadPath:{type:String,required:!1},limit:{type:Number,default:-1},opt:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},title:{type:String,default:"请选择图片"},emptyText:{type:String,default:"暂无图片"},tip:{type:String},param:{type:Object,default(){return{}}}},emits:["update:list","on-error"],setup(o,{emit:l}){const u=o,m=Hl("zy-imagelist"),b=Hl("zy-imagelist-view"),C=a.useSlots(),S=a.ref(!1),k=a.ref(!1);(u.tip||C.tip)&&(k.value=!0);const O=a.computed(()=>u.list.map(q=>q.url)),B=a.computed(()=>u.opt?u.limit<0?!0:u.limit>u.list.length:!1),P=q=>{T$e({images:a.unref(O),options:{initialViewIndex:q}})},V=q=>{let U=[...u.list];U.splice(q,1),l("update:list",U)},j=()=>{},G=q=>{S.value=!0,$C(u.uploadPath,{file:q.file},{fd:!0,loading:!1}).then(({data:U})=>{S.value=!1,l("update:list",[...u.list,ue({},U)])}).catch(U=>{S.value=!1,console.warn("上传图片出错"),console.warn(U),l("on-error",U)})};return(q,U)=>{const Q=y2e,J=fre;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createElementVNode("ul",{class:a.normalizeClass(a.unref(b)())},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.list,(se,H)=>(a.openBlock(),a.createElementBlock("li",{class:a.normalizeClass(a.unref(b)("item"))},[a.createVNode(Q,{class:"el-img",src:se.thumPath||se.url,fit:"fill"},null,8,["src"]),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("mask"))},[a.createElementVNode("i",{class:"zy-font",onClick:ne=>P(H)},"",8,_$e),o.opt?(a.openBlock(),a.createElementBlock("i",{key:0,class:"zy-font",onClick:ne=>V(H)},"",8,O$e)):a.createCommentVNode("v-if",!0)],2)],2))),256)),!o.opt&&o.list.length==0?(a.openBlock(),a.createElementBlock("li",{key:0,class:a.normalizeClass(a.unref(b)("none-image"))},a.toDisplayString(o.emptyText),3)):a.createCommentVNode("v-if",!0),B.value?(a.openBlock(),a.createBlock(J,{key:1,"auto-upload":!0,"on-exceed":j,accept:o.accept,name:"file",multiple:!1,"http-request":G,"show-file-list":!1,style:{display:"inline-block","vertical-align":"top"},disabled:S.value},a.createSlots({default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(a.unref(m)("upload-btn"))},[S.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload-btn-loading"))},[a.createVNode(S4e,{color:"#AAAEB7",width:"4px",height:"24px"}),A$e],2)):a.createCommentVNode("v-if",!0),S.value?a.createCommentVNode("v-if",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[N$e,o.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload-btn-title"))},a.toDisplayString(o.title),3)):a.createCommentVNode("v-if",!0)],64))],2)]),_:2},[k.value?{name:"tip",fn:a.withCtx(()=>[a.createElementVNode("div",B$e,[a.unref(C).tip?a.renderSlot(q.$slots,"tip",{key:0}):(a.openBlock(),a.createElementBlock("span",$$e,a.toDisplayString(o.tip),1))])]),key:"0"}:void 0]),1032,["accept","disabled"])):a.createCommentVNode("v-if",!0)],2)],2)}}}));ZP.install=o=>{o.component(ZP.name,ZP)};const R$e=a.defineComponent({name:"PageLayout"}),qP=a.defineComponent(Ze(ue({},R$e),{props:{type:{type:String,default:"list",validator(o){return["list","detail","opt"].includes(o)}},width:{type:[Number,String],default:""}},setup(o){const l=o,u=1040,m=1040,b=Hl("zy-pagelayout"),{type:C,width:S}=a.toRefs(l),k=a.useSlots(),O=a.computed(()=>{let V={};return k.head&&(V.marginTop="12px"),k.footer&&(V.marginBottom="8px"),V}),B=a.computed(()=>{let V={};return S.value?V.width=Y9(S)?S+"px":S:C.value=="detail"?V.width=m+"px":C.value=="opt"&&(V.width=u+"px"),V}),P=a.computed(()=>{let V=[b()];return V.push(C.value),V});return(V,j)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(P.value),style:a.normalizeStyle(B.value)},[a.unref(k).head?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(b)("head"))},[a.renderSlot(V.$slots,"head")],2)):a.createCommentVNode("v-if",!0),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("body")),style:a.normalizeStyle(O.value)},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("body-inner"))},[a.renderSlot(V.$slots,"default")],2)],6),a.unref(k).footer?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(a.unref(b)("footer"))},[a.renderSlot(V.$slots,"footer")],2)):a.createCommentVNode("v-if",!0)],6))}}));qP.install=o=>{o.component(qP.name,qP)};const jRe="";/*! Element Plus v2.3.4 */var M$e={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const P$e=Hl("zy-wrapperpagination"),I$e={setup(o,l){return{zhCn:M$e}},name:"WrapperPage",inheritAttrs:!1,methods:{pageCls:P$e}};function F$e(o,l,u,m,b,C){const S=s9,k=x0e;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(C.pageCls())},[a.createVNode(k,{locale:m.zhCn},{default:a.withCtx(()=>[a.createVNode(S,a.mergeProps({"pager-count":4,layout:"prev, pager, next,sizes,total",background:""},o.$attrs),null,16)]),_:1},8,["locale"])],2)}const GP=Q9(I$e,[["render",F$e]]);GP.install=o=>{o.component(GP.name,GP)};const L$e=o=>o?a.defineComponent({setup(l,u){const m=a.ref(null);let[b]=o();return u.expose({slotRef:m}),()=>a.h(b,{ref:m})}}):null,z$e=a.createElementVNode("i",{class:"zy-font"},"",-1),V$e=a.defineComponent({name:"WrapperSearch"}),KP=a.defineComponent(Ze(ue({},V$e),{props:{searchText:{type:String,default:"搜索"},superSearchText:{type:String,default:"搜索"},resetText:{type:String,default:"重置"},autoClose:{type:Boolean,default:!1}},emits:["search","reset","super-search"],setup(o,{expose:l,emit:u}){const m=o,b=a.useSlots(),C=Hl("zy-supersearch"),S=Hl("zy-supersearch-super-con"),k=a.ref(null),O=a.ref(!1),B=L$e(b.super),P=a.ref(null),V=a.ref(document.querySelector(".zy-pagelayout-head"));a.onMounted(()=>{V.value=document.querySelector(".zy-pagelayout-head")});const j=a.toRef(m,"autoClose"),G=H=>{O.value=H},q=a.computed(()=>!!b.super),U=()=>{G(!O.value)},Q=()=>{b.super?P.value.slotRef.getSearchInfo?u("super-search",P.value.slotRef.getSearchInfo()):(console.warn("插槽super组件没有expose getSearchInfo方法"),u("search",{})):u("super-search",{}),j.value&&G(!1)},J=()=>{u("search"),j.value&&G(!1)},se=()=>{b.super&&(P.value.slotRef.resetSerachInfo?P.value.slotRef.resetSerachInfo():console.warn("插槽super组件没有expose resetSerachInfo方法")),u("reset"),j.value&&G(!1)};return l({setSuperStatus:G,tapSearch:J,tapReset:se,tapSuperSearch:Q}),(H,ne)=>{const Ae=EC;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(C)()),ref_key:"wrapperHolder",ref:k},[a.renderSlot(H.$slots,"default"),a.createElementVNode("span",{class:a.normalizeClass(a.unref(C)("search-btn")),onClick:J},[z$e,a.createTextVNode(" "+a.toDisplayString(o.searchText),1)],2),q.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(a.unref(C)("super-btn")),onClick:U,title:"条件搜索"},[a.createElementVNode("i",{class:a.normalizeClass(["zy-font",O.value?a.unref(S)("condition-icon"):""])},"",2)],2)):a.createCommentVNode("v-if",!0),V.value?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:V.value},[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)("tip"))}," 高级筛选: ",2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)("search-ctx"))},[a.createVNode(a.unref(B),{ref_key:"SuperRef",ref:P},null,512),a.createVNode(Ae,{type:"primary",class:a.normalizeClass(a.unref(S)("opt-btn")),onClick:Q},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.superSearchText),1)]),_:1},8,["class"]),a.createVNode(Ae,{class:a.normalizeClass(a.unref(S)("opt-btn")),onClick:se},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.resetText),1)]),_:1},8,["class"])],2)],2),[[a.vShow,O.value]])],8,["to"])):a.createCommentVNode("v-if",!0)],2)}}}));KP.install=o=>{o.component(KP.name,KP)};const H$e={name:"FormItem",props:{col:{type:[String,Number],default:"1"},label:{type:String},tip:{type:String},tipType:{type:String,default:"hover"},warning:{type:String},warningType:{default:"alway"}},setup(o,{slots:l}){let{col:u,label:m,warning:b,warningType:C,tip:S,tipType:k}=o,O="zy-formitem-"+u;return()=>a.h(wve,{class:["zy-formitem",O]},Ze(ue({},l),{label:()=>{if(b){if(C=="hover")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h(B0,{placement:"right",effect:"light"},{default:()=>a.h("i",{class:["zy-font","warning-icon"],innerHTML:""}),content:()=>a.h("span",{class:["zy-formitem-warning"]},b)})]);if(C=="alway")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h("i",{class:["zy-font","warning-icon"],innerHTML:""}),a.h("span",{class:["zy-formitem-warning"]},b)]);console.warn("FormItem的warning只能为hover或alway")}else if(S){if(k=="hover")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h(B0,{placement:"right",effect:"light"},{default:()=>a.h("i",{class:["zy-font","tip-icon"],innerHTML:""}),content:()=>a.h("span",{class:["zy-formitem-tip"]},S)})]);if(k=="alway")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h("i",{class:["zy-font","tip-icon"],innerHTML:""}),a.h("span",{class:["zy-formitem-tip"]},S)]);console.warn("FormItem的tip只能为hover或alway")}else return a.h("span",m)}}))}},U$e=a.defineComponent({name:"FormTitle"}),x4=a.defineComponent(Ze(ue({},U$e),{props:{color:{type:String}},setup(o){const{color:l}=o,u=Hl("zy-formtitle"),m=a.computed(()=>{let b={};return l&&(b.color=l),b});return(b,C)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(u)("ctx")),style:a.normalizeStyle(m.value)},[a.renderSlot(b.$slots,"default")],6)],2))}}));x4.install=o=>{o.component(x4.name,x4)};const W$e=a.defineComponent({name:"FieldList"}),YP=a.defineComponent(Ze(ue({},W$e),{props:{model:{type:Object},labelPosition:{type:String,default:"top"},labelWidth:{type:[String,Number],default:100},col:{type:[String,Number],default:"1"},colon:{type:Boolean,default:!1},title:{type:String}},setup(o,{expose:l}){const{labelPosition:u,labelWidth:m,col:b,colon:C,model:S}=o,k=Hl("zy-fieldlist"),O=a.ref([]),B=a.computed(()=>{if(u=="top")return{marginBottom:"-8px",marginTop:"12px"};if(u=="left")return{marginBottom:"-6px",marginTop:"12px"}}),P=G=>{kP(O,G,"uid")},V=G=>{p4(O,G,"uid")},j=()=>{O.value.forEach(G=>{G.exposed.OnFieldsChange&&G.exposed.OnFieldsChange.call(G)})};return a.watch(S,G=>{j()}),a.provide("labelPosition",u),a.provide("labelWidth",m),a.provide("col",u=="top"?1:2),a.provide("colon",C),a.provide("RegistryItem",P),a.provide("CancelItem",V),l({ForceUpdateContent:j}),(G,q)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(k)())},[o.title?(a.openBlock(),a.createBlock(a.unref(x4),{key:0,style:a.normalizeStyle(B.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.title),1)]),_:1},8,["style"])):a.createCommentVNode("v-if",!0),a.renderSlot(G.$slots,"default")],2))}})),j$e=o=>o?o==1?"是":o==2?"否":o:"",Z$e=(o,l)=>{if(!o||!l)return"";let u=a.unref(o),m=a.unref(l);return f4(m)?m.hasOwnProperty(u)?m[u]:"":(console.warn("getMapStr中的参数:map不是对象"),"")},q$e=(o,l,u,m="id")=>{if(!o||!l)return"";let b=a.unref(l);if(!X9(b))return console.warn("getListStr中的参数:list不是数组"),"";let C=b.find((S,k)=>f4(S)?S[m]==o:!1);return C?C[u]:""},G$e={key:0},K$e={key:1},Y$e={key:2},X$e=a.defineComponent({name:"FieldItem"}),XP=a.defineComponent(Ze(ue({},X$e),{props:{label:{type:String},labelPosition:{type:String},labelWidth:{type:[String,Number]},col:{type:[String,Number]},colon:{type:Boolean,default:!1},blankBackground:{type:Boolean,default:!1},isBoolean:{type:Boolean,default:!1},isFilter:{type:Boolean,default:!1},filterNameKey:{type:String,default:"name"},filterKey:{type:String,default:"id"},filterList:{type:Array,default(){return[]}},isMap:{type:Boolean,default:!1},mapObj:{type:Object,default(){return{}}}},setup(o,{expose:l}){const u=o,m=Hl("zy-fielditem"),b=a.inject("labelPosition"),C=a.inject("labelWidth"),S=a.inject("col"),k=a.inject("colon"),O=a.inject("RegistryItem"),B=a.inject("CancelItem"),{label:P,labelPosition:V,labelWidth:j,col:G,colon:q,isBoolean:U,isFilter:Q,isMap:J,blankBackground:se}=u,H=a.getCurrentInstance();a.onMounted(()=>{O(H)}),a.onBeforeUnmount(()=>{B(H)});const ne=a.ref(""),Ae=()=>{let Qe=[m("filed")];return se||Qe.push(m("filed-withbg")),Qe},pe=a.useSlots(),W=()=>{let Qe=pe.default();if(U&&pe.default){if(Qe.length>0){let M=Qe[0].children;M&&(ne.value=j$e(M))}}else if(Q){let{filterList:M,filterNameKey:Ge,filterKey:Me}=u;if(Qe.length>0){let et=Qe[0].children;et&&(ne.value=q$e(et,M,Ge,Me))}}else if(J){let{mapObj:M}=u;if(Qe.length>0){let Ge=Qe[0].children;Ge&&(ne.value=Z$e(Ge,M))}}};a.watch(u,W),W();const Se=a.computed(()=>V!=null?V:b),Ve=a.computed(()=>j!=null?j:C),Le=a.computed(()=>G!=null?G:S),xe=a.computed(()=>q!=null?q:k),de=a.computed(()=>{let Qe=[m()];return Qe.push(Qe[0]+"-"+Le.value),Se.value=="top"&&Qe.push(Qe[0]+"-tb"),Qe}),yt=a.computed(()=>{if(Se.value=="left")return{width:Ve.value+"px"}}),At=a.computed(()=>{let Qe=[m("label")];return Se.value=="top"&&Qe.push(m("label-online")),Qe});return l({OnFieldsChange:W}),(Qe,M)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(de.value)},[a.createElementVNode("div",{class:a.normalizeClass(At.value),style:a.normalizeStyle(yt.value)},a.toDisplayString(a.unref(P))+a.toDisplayString(xe.value?":":""),7),a.createElementVNode("div",{class:a.normalizeClass(a.unref(m)("ctx"))},[a.createElementVNode("div",{class:a.normalizeClass(Ae())},[a.unref(U)?(a.openBlock(),a.createElementBlock("span",G$e,a.toDisplayString(ne.value),1)):a.unref(Q)?(a.openBlock(),a.createElementBlock("span",K$e,a.toDisplayString(ne.value),1)):a.unref(J)?(a.openBlock(),a.createElementBlock("span",Y$e,a.toDisplayString(ne.value),1)):a.renderSlot(Qe.$slots,"default",{key:3})],2)],2)],2))}}));YP.install=o=>{o.component(YP.name,YP)},XP.install=o=>{o.component(XP.name,XP)};const J$e=a.createElementVNode("i",{class:"zy-font"},"",-1),Q$e=a.defineComponent({name:"TableBtns"}),JP=a.defineComponent(Ze(ue({},Q$e),{props:{maxCount:{type:Number,default:3}},setup(o){const{maxCount:l}=o,u=Hl("zy-tablebtns"),m=a.ref(!1),b=a.useSlots(),C=a.ref(0),S=a.ref(0);let k=b.default();return k.length>l&&(m.value=!0,C.value=l,S.value=k.length-l+1),(O,B)=>{const P=Rse,V=Mse,j=Dse;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[m.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(C.value-1,G=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{class:"with-border"}))),256)),a.createVNode(j,{class:a.normalizeClass(a.unref(u)("drop")),trigger:"click"},{dropdown:a.withCtx(()=>[a.createVNode(V,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(S.value,G=>(a.openBlock(),a.createBlock(P,null,{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G+o.maxCount-2]),{key:G}))]),_:2},1024))),256))]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("span",{class:a.normalizeClass(a.unref(u)("more-btn"))},[a.createTextVNode("更多"),J$e],2)]),_:1},8,["class"])],64)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(a.unref(k).length,G=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[G<a.unref(k).length-1?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{key:0,class:"with-border"})):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{key:1}))],64))),256))],2)}}})),eDe=a.defineComponent({name:"TableBtn"}),QP=a.defineComponent(Ze(ue({},eDe),{props:{disabled:{type:Boolean,default:!1},color:{type:String,default:""},type:{type:String,default:"primary"},tip:{type:String}},emits:["click"],setup(o,{emit:l}){const{disabled:u,type:m,tip:b,color:C}=o,S=["primary","success","warning","danger","gray"],k=Hl("zy-tablebtns-btn"),O=a.computed(()=>{let V={};return C&&(V.color=C),V}),B=()=>{let V=[k()];return u?V.push("disabled"):S.includes(m)&&V.push(m),V},P=()=>{u||l("click")};return(V,j)=>{const G=B0;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(B()),onClick:P,style:a.normalizeStyle(O.value)},[o.tip?(a.openBlock(),a.createBlock(G,{key:1,effect:"dark",content:o.tip,placement:"bottom"},{default:a.withCtx(()=>[a.renderSlot(V.$slots,"default")]),_:3},8,["content"])):a.renderSlot(V.$slots,"default",{key:0})],6)}}}));JP.install=o=>{o.component(JP.name,JP)},QP.install=o=>{o.component(QP.name,QP)};const ZRe="",qRe="",GRe="",KRe="",YRe="",tDe={key:1,class:"zy-wrapperpagination"},nDe=a.defineComponent({name:"UserSelectDialog"}),k4=a.defineComponent(Ze(ue({},nDe),{props:{title:{type:String,default:"请选择成员"},multiple:{type:Boolean,default:!0},modelValue:{type:Array,default(){return[]}},loadDataApi:{type:String,required:!0},size:{type:String,default:"default"},optColumnWidth:{type:Number,default:90},appendColumns:{type:Array,default:[]},defaultColumns:{type:Boolean,default:!0},dialogWidth:{type:Number,default:700},withFooter:{type:Boolean,default:!1},searchHoloder:{type:String,default:"成员名或手机号关键字"},canSearch:{type:Boolean,default:!0},showTag:{type:Boolean,default:!1},tagNameKey:{type:String,default:"username"},tagNameClosable:{type:Boolean,default:!0}},emits:["update:modelValue","check-item","cancel-item","select-item","close","open"],setup(o,{expose:l,emit:u}){const m=o,b=Hl("zy-userdialog"),C=a.ref(!1),S=a.ref(""),k=a.reactive({pageIndex:1,pageSize:10,total:0}),O=a.ref([]);let{loadDataApi:B,modelValue:P,canSearch:V}=m;a.watch(m,()=>{j.value=m.modelValue.map(Ve=>ue({},Ve))});const j=a.ref(P),G=a.useSlots(),q=a.computed(()=>O.value.filter(Ve=>m4(j,Ve))),U=a.computed(()=>O.value.length==0?!1:q.value.length==O.value.length),Q=()=>{O.value.length!=0&&(q.value.length==O.value.length?(O.value.forEach(Ve=>{p4(j,Ve)}),u("update:modelValue",j.value)):(O.value.forEach(Ve=>{kP(j,Ve)}),u("update:modelValue",j.value)))},J=()=>{if(!B){console.error("未配置loadDataApi");return}$C(B,{key:S.value},{pageInfo:V?k:null,loading:!1,method:"get"}).then(({data:Ve})=>{O.value=Ve.map(Le=>ue({},Le))})},se=Ve=>!!m4(j,{id:Ve}),H=Ve=>{m4(j,Ve)?(p4(j,Ve),u("update:modelValue",j.value),u("check-item",Ve)):(kP(j,Ve),u("update:modelValue",j.value),u("cancel-item",Ve))},ne=Ve=>{u("select-item",Ve)},Ae=()=>{J()},pe=()=>{k.pageIndex=1,k.total=0,J()},W=()=>{J(),C.value=!0},Se=()=>{C.value=!1};return a.watchPostEffect(()=>{C.value?u("open"):u("close")}),l({open:W,close:Se}),(Ve,Le)=>{const xe=KH,de=EC,yt=JA,At=M0,Qe=uke,M=cke,Ge=s9,Me=fSe;return a.openBlock(),a.createBlock(Me,{modelValue:C.value,"onUpdate:modelValue":Le[2]||(Le[2]=et=>C.value=et),title:o.title,width:o.dialogWidth,"close-on-click-modal":!1},a.createSlots({default:a.withCtx(()=>[o.showTag?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(b)("select-list"))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(j.value,et=>(a.openBlock(),a.createBlock(xe,{key:et.id,class:a.normalizeClass(a.unref(b)("select-tag")),closable:o.tagNameClosable,onClose:dt=>H(et)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(et[o.tagNameKey]),1)]),_:2},1032,["class","closable","onClose"]))),128))],2)):a.createCommentVNode("v-if",!0),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("searh-con"))},[a.unref(V)?(a.openBlock(),a.createBlock(yt,{key:0,modelValue:S.value,"onUpdate:modelValue":Le[0]||(Le[0]=et=>S.value=et),style:{width:"300px"},clearable:!0,onClear:pe,placeholder:o.searchHoloder},{append:a.withCtx(()=>[a.createVNode(de,{onClick:pe},{default:a.withCtx(()=>[a.createTextVNode("搜索")]),_:1})]),_:1},8,["modelValue","placeholder"])):a.createCommentVNode("v-if",!0)],2),a.createVNode(M,{data:O.value,style:{width:"100%"},size:o.size,"row-key":"id","empty-text":"暂无数据","header-cell-class-name":"zy-userdialog-table-head","cell-class-name":a.unref(b)("table-cell")},{default:a.withCtx(()=>[o.multiple?(a.openBlock(),a.createBlock(Qe,{key:0,width:"75"},{default:a.withCtx(({row:et})=>[a.createVNode(At,{"model-value":se(et.id),onClick:a.withModifiers(dt=>H(et),["stop","prevent"])},null,8,["model-value","onClick"])]),header:a.withCtx(()=>[a.createVNode(At,{onClick:a.withModifiers(Q,["stop","prevent"]),"model-value":U.value,indeterminate:q.value.length!=0&&q.value.length<O.value.length},null,8,["onClick","model-value","indeterminate"])]),_:1})):a.createCommentVNode("v-if",!0),o.defaultColumns?(a.openBlock(),a.createBlock(Qe,{key:1,prop:"username",label:"成员名"})):a.createCommentVNode("v-if",!0),o.defaultColumns?(a.openBlock(),a.createBlock(Qe,{key:2,prop:"telephone",label:"手机号"})):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.appendColumns,et=>(a.openBlock(),a.createBlock(Qe,{label:et.label,formatter:et.formatter},null,8,["label","formatter"]))),256)),o.multiple?a.createCommentVNode("v-if",!0):(a.openBlock(),a.createBlock(Qe,{key:3,label:"操作",width:o.optColumnWidth},{default:a.withCtx(et=>[a.unref(G)["opt-column"]?a.renderSlot(Ve.$slots,"opt-column",a.normalizeProps(a.mergeProps({key:0},et))):(a.openBlock(),a.createBlock(de,{key:1,type:"primary",size:"small",onClick:dt=>ne(et.row)},{default:a.withCtx(()=>[a.createTextVNode("选择")]),_:2},1032,["onClick"]))]),_:3},8,["width"]))]),_:3},8,["data","size","cell-class-name"]),a.unref(V)?(a.openBlock(),a.createElementBlock("div",tDe,[a.createVNode(Ge,{"page-size":k.pageSize,onCurrentChange:Ae,"current-page":k.pageIndex,"onUpdate:currentPage":Le[1]||(Le[1]=et=>k.pageIndex=et),background:"",layout:"prev, pager, next",total:k.total},null,8,["page-size","current-page","total"])])):a.createCommentVNode("v-if",!0)]),_:2},[a.unref(G).footer?{name:"footer",fn:a.withCtx(()=>[a.renderSlot(Ve.$slots,"footer")]),key:"0"}:void 0,!a.unref(G).footer&&o.withFooter?{name:"footer",fn:a.withCtx(()=>[a.createVNode(de,{type:"primary",onClick:Se},{default:a.withCtx(()=>[a.createTextVNode("确定")]),_:1})]),key:"1"}:void 0]),1032,["modelValue","title","width"])}}})),oDe={class:"el-input__inner"},sDe=a.createElementVNode("div",{class:"el-input__suffix"},[a.createElementVNode("i",{class:"zy-font el-select__arrow"},"")],-1),rDe=a.defineComponent({name:"UserSelect"}),eI=a.defineComponent(Ze(ue({},rDe),{props:{modelValue:{type:Array,default(){return[]}},placeholder:{type:String,default:"请选择成员"},tagNameKey:{type:String,default:"username"}},emits:["check-item","cancel-item","select-item","update:modelValue"],setup(o,{emit:l}){const u=o,m=a.ref(null),b=Hl("zy-userdialog"),{modelValue:C}=u,S=a.ref(C);a.watch(u,()=>{S.value=u.modelValue.map(j=>ue({},j))});const k=j=>{l("check-item",j)},O=j=>{l("cancel-item",j)},B=j=>{l("select-item",j)},P=()=>{m==null||m.value.open()},V=j=>{p4(S,j),l("update:modelValue",S),O(j)};return(j,G)=>{const q=KH;return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",{class:"el-input",onClick:P},[a.createElementVNode("div",{class:a.normalizeClass(["el-input__wrapper",a.unref(b)("select")])},[a.createElementVNode("div",oDe,[a.withDirectives(a.createElementVNode("span",{class:a.normalizeClass(a.unref(b)("select-placeholder"))},a.toDisplayString(o.placeholder),3),[[a.vShow,S.value.length==0]]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(S.value,U=>(a.openBlock(),a.createBlock(q,{key:U.id,class:a.normalizeClass(a.unref(b)("select-tag")),closable:"",onClose:Q=>V(U)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(U[o.tagNameKey]),1)]),_:2},1032,["class","onClose"]))),128))]),sDe],2)]),a.createVNode(k4,a.mergeProps({ref_key:"dialogRef",ref:m},j.$attrs,{modelValue:S.value,tagNameKey:o.tagNameKey,"onUpdate:modelValue":G[0]||(G[0]=U=>l("update:modelValue",U)),onSelectItem:B,onCancelItem:O,onCheckItem:k}),null,16,["modelValue","tagNameKey"])],64)}}}));k4.install=o=>{o.component(k4.name,k4)},eI.install=o=>{o.component(eI.name,eI)};const aDe=a.defineComponent({name:"MultiTip"}),lDe=a.defineComponent(Ze(ue({},aDe),{props:{count:{type:Number,default:0},showZero:{type:Boolean,default:!0},showOptBtn:{type:Boolean,default:!0},emptyOptMessage:{type:String,default:"未选中任何记录"},optText:{type:String,default:"批量操作"}},emits:["removeAll","tapOpt"],setup(o,{emit:l}){const u=o;a.ref(!1);const m=Hl("zy-multi"),b=a.useSlots(),{showZero:C,count:S}=a.toRefs(u),k=a.computed(()=>!!(C.value||S.value>0)),O=a.computed(()=>S.value>0),B=()=>{if(S.value==0){_C({type:"warning",message:u.emptyOptMessage});return}l("tapOpt")},P=()=>{u.count>0&&l("removeAll")};return(V,j)=>{const G=M0,q=EC;return a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createVNode(G,{class:a.normalizeClass(a.unref(m)("check")),indeterminate:O.value,modelValue:!1,onClick:a.withModifiers(P,["stop","prevent"])},null,8,["class","indeterminate","onClick"]),a.createElementVNode("span",{class:a.normalizeClass(a.unref(m)("msg"))},[a.createTextVNode(" 已选中"),a.createElementVNode("i",null,a.toDisplayString(u.count),1),a.createTextVNode("条记录")],2),a.unref(b).opt?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("opt"))},[a.renderSlot(V.$slots,"opt")],2)):a.createCommentVNode("v-if",!0),!a.unref(b).opt&&o.showOptBtn?(a.openBlock(),a.createBlock(q,{key:1,plain:"",type:"primary",class:a.normalizeClass(a.unref(m)("opt")),onClick:B},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.optText),1)]),_:1},8,["class"])):a.createCommentVNode("v-if",!0)],2)),[[a.vShow,k.value]])}}}));var iDe={exports:{}};(function(o){(function(){var l=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var n=typeof e;return n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},u=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},m=function(e,n){var s=Array.prototype.slice.call(e);return s.sort(n)},b=function(e,n){return C(function(s,i){return e.eq(n(s),n(i))})},C=function(e){return{eq:e}},S=C(function(e,n){return e===n}),k=S,O=function(e){return C(function(n,s){if(n.length!==s.length)return!1;for(var i=n.length,d=0;d<i;d++)if(!e.eq(n[d],s[d]))return!1;return!0})},B=function(e,n){return b(O(e),function(s){return m(s,n)})},P=function(e){return C(function(n,s){var i=Object.keys(n),d=Object.keys(s);if(!B(k).eq(i,d))return!1;for(var h=i.length,v=0;v<h;v++){var T=i[v];if(!e.eq(n[T],s[T]))return!1}return!0})},V=C(function(e,n){if(e===n)return!0;var s=l(e),i=l(n);return s!==i?!1:u(s)?e===n:s==="array"?O(V).eq(e,n):s==="object"?P(V).eq(e,n):!1});const j=Object.getPrototypeOf,G=(e,n,s)=>{var i;return s(e,n.prototype)?!0:((i=e.constructor)===null||i===void 0?void 0:i.name)===n.name},q=e=>{const n=typeof e;return e===null?"null":n==="object"&&Array.isArray(e)?"array":n==="object"&&G(e,String,(s,i)=>i.isPrototypeOf(s))?"string":n},U=e=>n=>q(n)===e,Q=e=>n=>typeof n===e,J=e=>n=>e===n,se=(e,n)=>ne(e)&&G(e,n,(s,i)=>j(s)===i),H=U("string"),ne=U("object"),Ae=e=>se(e,Object),pe=U("array"),W=J(null),Se=Q("boolean"),Ve=J(void 0),Le=e=>e==null,xe=e=>!Le(e),de=Q("function"),yt=Q("number"),At=(e,n)=>{if(pe(e)){for(let s=0,i=e.length;s<i;++s)if(!n(e[s]))return!1;return!0}return!1},Qe=()=>{},M=(e,n)=>(...s)=>e(n.apply(null,s)),Ge=(e,n)=>s=>e(n(s)),Me=e=>()=>e,et=e=>e,dt=(e,n)=>e===n;function Xe(e,...n){return(...s)=>{const i=n.concat(s);return e.apply(null,i)}}const on=e=>n=>!e(n),Kn=e=>()=>{throw new Error(e)},pn=e=>e(),lo=e=>{e()},at=Me(!1),lt=Me(!0);class oe{constructor(n,s){this.tag=n,this.value=s}static some(n){return new oe(!0,n)}static none(){return oe.singletonNone}fold(n,s){return this.tag?s(this.value):n()}isSome(){return this.tag}isNone(){return!this.tag}map(n){return this.tag?oe.some(n(this.value)):oe.none()}bind(n){return this.tag?n(this.value):oe.none()}exists(n){return this.tag&&n(this.value)}forall(n){return!this.tag||n(this.value)}filter(n){return!this.tag||n(this.value)?this:oe.none()}getOr(n){return this.tag?this.value:n}or(n){return this.tag?this:n}getOrThunk(n){return this.tag?this.value:n()}orThunk(n){return this.tag?this:n()}getOrDie(n){if(this.tag)return this.value;throw new Error(n!=null?n:"Called getOrDie on None")}static from(n){return xe(n)?oe.some(n):oe.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(n){this.tag&&n(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}oe.singletonNone=new oe(!1);const wo=Array.prototype.slice,Sn=Array.prototype.indexOf,io=Array.prototype.push,Pn=(e,n)=>Sn.call(e,n),Rs=(e,n)=>{const s=Pn(e,n);return s===-1?oe.none():oe.some(s)},An=(e,n)=>Pn(e,n)>-1,Mo=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];if(n(d,s))return!0}return!1},yn=(e,n)=>{const s=e.length,i=new Array(s);for(let d=0;d<s;d++){const h=e[d];i[d]=n(h,d)}return i},mt=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];n(d,s)}},cr=(e,n)=>{for(let s=e.length-1;s>=0;s--){const i=e[s];n(i,s)}},vs=(e,n)=>{const s=[],i=[];for(let d=0,h=e.length;d<h;d++){const v=e[d];(n(v,d)?s:i).push(v)}return{pass:s,fail:i}},mn=(e,n)=>{const s=[];for(let i=0,d=e.length;i<d;i++){const h=e[i];n(h,i)&&s.push(h)}return s},xr=(e,n,s)=>(cr(e,(i,d)=>{s=n(s,i,d)}),s),Jo=(e,n,s)=>(mt(e,(i,d)=>{s=n(s,i,d)}),s),sr=(e,n,s)=>{for(let i=0,d=e.length;i<d;i++){const h=e[i];if(n(h,i))return oe.some(h);if(s(h,i))break}return oe.none()},zt=(e,n)=>sr(e,n,at),fo=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];if(n(d,s))return oe.some(s)}return oe.none()},Ms=e=>{const n=[];for(let s=0,i=e.length;s<i;++s){if(!pe(e[s]))throw new Error("Arr.flatten item "+s+" was not an array, input: "+e);io.apply(n,e[s])}return n},Ps=(e,n)=>Ms(yn(e,n)),ns=(e,n)=>{for(let s=0,i=e.length;s<i;++s){const d=e[s];if(n(d,s)!==!0)return!1}return!0},gs=e=>{const n=wo.call(e,0);return n.reverse(),n},Vn=(e,n)=>mn(e,s=>!An(n,s)),Tn=(e,n)=>{const s={};for(let i=0,d=e.length;i<d;i++){const h=e[i];s[String(h)]=n(h,i)}return s},$n=(e,n)=>{const s=wo.call(e,0);return s.sort(n),s},No=(e,n)=>n>=0&&n<e.length?oe.some(e[n]):oe.none(),hn=e=>No(e,0),_o=e=>No(e,e.length-1),is=de(Array.from)?Array.from:e=>wo.call(e),xt=(e,n)=>{for(let s=0;s<e.length;s++){const i=n(e[s],s);if(i.isSome())return i}return oe.none()},Gt=(e,n)=>{const s=[],i=de(n)?d=>Mo(s,h=>n(h,d)):d=>An(s,d);for(let d=0,h=e.length;d<h;d++){const v=e[d];i(v)||s.push(v)}return s},fn=Object.keys,Ro=Object.hasOwnProperty,Nt=(e,n)=>{const s=fn(e);for(let i=0,d=s.length;i<d;i++){const h=s[i],v=e[h];n(v,h)}},qn=(e,n)=>Gs(e,(s,i)=>({k:i,v:n(s,i)})),Gs=(e,n)=>{const s={};return Nt(e,(i,d)=>{const h=n(i,d);s[h.k]=h.v}),s},rr=e=>(n,s)=>{e[s]=n},Sr=(e,n,s,i)=>{Nt(e,(d,h)=>{(n(d,h)?s:i)(d,h)})},Ca=(e,n)=>{const s={},i={};return Sr(e,n,rr(s),rr(i)),{t:s,f:i}},Fo=(e,n)=>{const s={};return Sr(e,n,rr(s),Qe),s},oa=(e,n)=>{const s=[];return Nt(e,(i,d)=>{s.push(n(i,d))}),s},fa=e=>oa(e,et),ws=(e,n)=>Gn(e,n)?oe.from(e[n]):oe.none(),Gn=(e,n)=>Ro.call(e,n),Xr=(e,n)=>Gn(e,n)&&e[n]!==void 0&&e[n]!==null,tl=(e,n,s=V)=>P(s).eq(e,n),Wl=e=>{const n={};return mt(e,s=>{n[s]={}}),fn(n)},ii=e=>e.length!==void 0,Ks=Array.isArray,Wr=e=>{if(Ks(e))return e;{const n=[];for(let s=0,i=e.length;s<i;s++)n[s]=e[s];return n}},Ys=(e,n,s)=>{if(!e)return!1;if(s=s||e,ii(e)){for(let i=0,d=e.length;i<d;i++)if(n.call(s,e[i],i,e)===!1)return!1}else for(const i in e)if(Gn(e,i)&&n.call(s,e[i],i,e)===!1)return!1;return!0},jr=(e,n)=>{const s=[];return Ys(e,(i,d)=>{s.push(n(i,d,e))}),s},Al=(e,n)=>{const s=[];return Ys(e,(i,d)=>{(!n||n(i,d,e))&&s.push(i)}),s},Xs=(e,n)=>{if(e){for(let s=0,i=e.length;s<i;s++)if(e[s]===n)return s}return-1},Aa=(e,n,s,i)=>{let d=Ve(s)?e[0]:s;for(let h=0;h<e.length;h++)d=n.call(i,d,e[h],h);return d},Oe=(e,n,s)=>{for(let i=0,d=e.length;i<d;i++)if(n.call(s,e[i],i,e))return i;return-1},Ne=e=>e[e.length-1],pt=e=>{let n=!1,s;return(...i)=>(n||(n=!0,s=e.apply(null,i)),s)},wt=(e,n,s,i)=>{const d=e.isiOS()&&/ipad/i.test(s)===!0,h=e.isiOS()&&!d,v=e.isiOS()||e.isAndroid(),T=v||i("(pointer:coarse)"),A=d||!h&&v&&i("(min-device-width:768px)"),F=h||v&&!A,te=n.isSafari()&&e.isiOS()&&/safari/i.test(s)===!1,Y=!F&&!A&&!te;return{isiPad:Me(d),isiPhone:Me(h),isTablet:Me(A),isPhone:Me(F),isTouch:Me(T),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:Me(te),isDesktop:Me(Y)}},gn=(e,n)=>{for(let s=0;s<e.length;s++){const i=e[s];if(i.test(n))return i}},Fn=(e,n)=>{const s=gn(e,n);if(!s)return{major:0,minor:0};const i=d=>Number(n.replace(s,"$"+d));return To(i(1),i(2))},Bo=(e,n)=>{const s=String(n).toLowerCase();return e.length===0?je():Fn(e,s)},je=()=>To(0,0),To=(e,n)=>({major:e,minor:n}),Co={nu:To,detect:Bo,unknown:je},Es=(e,n)=>xt(n.brands,s=>{const i=s.brand.toLowerCase();return zt(e,d=>{var h;return i===((h=d.brand)===null||h===void 0?void 0:h.toLowerCase())}).map(d=>({current:d.name,version:Co.nu(parseInt(s.version,10),0)}))}),kr=(e,n)=>{const s=String(n).toLowerCase();return zt(e,i=>i.search(s))},Wo=(e,n)=>kr(e,n).map(s=>{const i=Co.detect(s.versionRegexes,n);return{current:s.name,version:i}}),$i=(e,n)=>kr(e,n).map(s=>{const i=Co.detect(s.versionRegexes,n);return{current:s.name,version:i}}),tc=(e,n)=>e.substring(n),Rr=(e,n,s)=>n===""||e.length>=n.length&&e.substr(s,s+n.length)===n,jl=(e,n)=>Lo(e,n)?tc(e,n.length):e,Vo=(e,n,s=0,i)=>{const d=e.indexOf(n,s);return d!==-1?Ve(i)?!0:d+n.length<=i:!1},Lo=(e,n)=>Rr(e,n,0),ma=(e,n)=>Rr(e,n,e.length-n.length),pa=e=>n=>n.replace(e,""),yl=pa(/^\s+|\s+$/g),Ci=pa(/^\s+/g),Si=pa(/\s+$/g),ms=e=>e.length>0,Na=e=>!ms(e),ci=(e,n)=>n<=0?"":new Array(n+1).join(e),Di=(e,n=10)=>{const s=parseInt(e,n);return isNaN(s)?oe.none():oe.some(s)},vl=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Tr=e=>n=>Vo(n,e),tr=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Vo(e,"edge/")&&Vo(e,"chrome")&&Vo(e,"safari")&&Vo(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,vl],search:e=>Vo(e,"chrome")&&!Vo(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Vo(e,"msie")||Vo(e,"trident")},{name:"Opera",versionRegexes:[vl,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Tr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Tr("firefox")},{name:"Safari",versionRegexes:[vl,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Vo(e,"safari")||Vo(e,"mobile/"))&&Vo(e,"applewebkit")}],Ld=[{name:"Windows",search:Tr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Vo(e,"iphone")||Vo(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Tr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Tr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Tr("linux"),versionRegexes:[]},{name:"Solaris",search:Tr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Tr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Tr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],gc={browsers:Me(tr),oses:Me(Ld)},Os="Edge",Sa="Chromium",Ha="IE",_r="Opera",Mc="Firefox",wl="Safari",Ua=()=>Wa({current:void 0,version:Co.unknown()}),Wa=e=>{const n=e.current,s=e.version,i=d=>()=>n===d;return{current:n,version:s,isEdge:i(Os),isChromium:i(Sa),isIE:i(Ha),isOpera:i(_r),isFirefox:i(Mc),isSafari:i(wl)}},nd={unknown:Ua,nu:Wa,edge:Me(Os),chromium:Me(Sa),ie:Me(Ha),opera:Me(_r),firefox:Me(Mc),safari:Me(wl)},bc="Windows",yc="iOS",nl="Android",Zl="Linux",xu="macOS",ql="Solaris",vc="FreeBSD",su="ChromeOS",ge=()=>Ie({current:void 0,version:Co.unknown()}),Ie=e=>{const n=e.current,s=e.version,i=d=>()=>n===d;return{current:n,version:s,isWindows:i(bc),isiOS:i(yc),isAndroid:i(nl),isMacOS:i(xu),isLinux:i(Zl),isSolaris:i(ql),isFreeBSD:i(vc),isChromeOS:i(su)}},qe={unknown:ge,nu:Ie,windows:Me(bc),ios:Me(yc),android:Me(nl),linux:Me(Zl),macos:Me(xu),solaris:Me(ql),freebsd:Me(vc),chromeos:Me(su)},Ht={detect:(e,n,s)=>{const i=gc.browsers(),d=gc.oses(),h=n.bind(A=>Es(i,A)).orThunk(()=>Wo(i,e)).fold(nd.unknown,nd.nu),v=$i(d,e).fold(qe.unknown,qe.nu),T=wt(v,h,e,s);return{browser:h,os:v,deviceType:T}}},Ln=e=>window.matchMedia(e).matches;let As=pt(()=>Ht.detect(navigator.userAgent,oe.from(navigator.userAgentData),Ln));const js=()=>As(),xs=navigator.userAgent,bs=js(),ss=bs.browser,Ba=bs.os,Ei=bs.deviceType,so=xs.indexOf("Windows Phone")!==-1,Qo={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:ss.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!ss.isIE(),windowsPhone:so,browser:{current:ss.current,version:ss.version,isChromium:ss.isChromium,isEdge:ss.isEdge,isFirefox:ss.isFirefox,isIE:ss.isIE,isOpera:ss.isOpera,isSafari:ss.isSafari},os:{current:Ba.current,version:Ba.version,isAndroid:Ba.isAndroid,isChromeOS:Ba.isChromeOS,isFreeBSD:Ba.isFreeBSD,isiOS:Ba.isiOS,isLinux:Ba.isLinux,isMacOS:Ba.isMacOS,isSolaris:Ba.isSolaris,isWindows:Ba.isWindows},deviceType:{isDesktop:Ei.isDesktop,isiPad:Ei.isiPad,isiPhone:Ei.isiPhone,isPhone:Ei.isPhone,isTablet:Ei.isTablet,isTouch:Ei.isTouch,isWebView:Ei.isWebView}},Ea=/^\s*|\s*$/g,Mr=e=>Le(e)?"":(""+e).replace(Ea,""),re=(e,n)=>n?n==="array"&&Ks(e)?!0:typeof e===n:e!==void 0,be=(e,n,s={})=>{const i=H(e)?e.split(n||","):e||[];let d=i.length;for(;d--;)s[i[d]]={};return s},Re=Gn,it=(e,...n)=>{for(let s=0;s<n.length;s++){const i=n[s];for(const d in i)if(Gn(i,d)){const h=i[d];h!==void 0&&(e[d]=h)}}return e},sn=function(e,n,s,i){i=i||this,e&&(s&&(e=e[s]),Ys(e,(d,h)=>n.call(i,d,h,s)===!1?!1:(sn(d,n,s,i),!0)))},$t={trim:Mr,isArray:Ks,is:re,toArray:Wr,makeMap:be,each:Ys,map:jr,grep:Al,inArray:Xs,hasOwn:Re,extend:it,walk:sn,resolve:(e,n=window)=>{const s=e.split(".");for(let i=0,d=s.length;i<d&&(n=n[s[i]],!!n);i++);return n},explode:(e,n)=>pe(e)?e:e===""?[]:jr(e.split(n||","),Mr),_addCacheSuffix:e=>{const n=Qo.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e}},$a=(e,n,s=dt)=>e.exists(i=>s(i,n)),Js=e=>{const n=[],s=i=>{n.push(i)};for(let i=0;i<e.length;i++)e[i].each(s);return n},ta=(e,n,s)=>e.isSome()&&n.isSome()?oe.some(s(e.getOrDie(),n.getOrDie())):oe.none(),od=(e,n,s,i)=>e.isSome()&&n.isSome()&&s.isSome()?oe.some(i(e.getOrDie(),n.getOrDie(),s.getOrDie())):oe.none(),qo=(e,n)=>e?oe.some(n):oe.none(),Ce=typeof window!="undefined"?window:Function("return this;")(),$e=(e,n)=>{let s=n!=null?n:Ce;for(let i=0;i<e.length&&s!==void 0&&s!==null;++i)s=s[e[i]];return s},nt=(e,n)=>{const s=e.split(".");return $e(s,n)},gt=(e,n)=>nt(e,n),vn=(e,n)=>{const s=gt(e,n);if(s==null)throw new Error(e+" not available on this browser");return s},rs=Object.getPrototypeOf,hr=e=>vn("HTMLElement",e),es=e=>{const n=nt("ownerDocument.defaultView",e);return ne(e)&&(hr(n).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(rs(e).constructor.name))},ha=8,Pr=9,nr=11,Nl=1,Cl=3,or=e=>e.dom.nodeName.toLowerCase(),sa=e=>e.dom.nodeType,Zr=e=>n=>sa(n)===e,wc=e=>sa(e)===ha||or(e)==="#comment",nc=e=>ur(e)&&es(e.dom),ur=Zr(Nl),ja=Zr(Cl),Pc=Zr(Pr),Ef=Zr(nr),ku=e=>n=>ur(n)&&or(n)===e,Ic=(e,n,s)=>{if(H(s)||Se(s)||yt(s))e.setAttribute(n,s+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",s,":: Element ",e),new Error("Attribute value was not simple")},ra=(e,n,s)=>{Ic(e.dom,n,s)},Gl=(e,n)=>{const s=e.dom;Nt(n,(i,d)=>{Ic(s,d,i)})},ol=(e,n)=>{const s=e.dom.getAttribute(n);return s===null?void 0:s},Fc=(e,n)=>oe.from(ol(e,n)),sd=(e,n)=>{const s=e.dom;return s&&s.hasAttribute?s.hasAttribute(n):!1},Is=(e,n)=>{e.dom.removeAttribute(n)},oc=e=>{const n=e.dom.attributes;return n==null||n.length===0},Am=e=>Jo(e.dom.attributes,(n,s)=>(n[s.name]=s.value,n),{}),Tu=(e,n)=>{const s=ol(e,n);return s===void 0||s===""?[]:s.split(" ")},xf=(e,n,s)=>{const d=Tu(e,n).concat([s]);return ra(e,n,d.join(" ")),!0},bp=(e,n,s)=>{const i=mn(Tu(e,n),d=>d!==s);return i.length>0?ra(e,n,i.join(" ")):Is(e,n),!1},_u=e=>e.dom.classList!==void 0,Ri=e=>Tu(e,"class"),zd=(e,n)=>xf(e,"class",n),ui=(e,n)=>bp(e,"class",n),Ou=(e,n)=>An(Ri(e),n)?ui(e,n):zd(e,n),ru=(e,n)=>{_u(e)?e.dom.classList.add(n):zd(e,n)},yp=e=>{(_u(e)?e.dom.classList:Ri(e)).length===0&&Is(e,"class")},Lc=(e,n)=>{_u(e)?e.dom.classList.remove(n):ui(e,n),yp(e)},vp=(e,n)=>{const s=_u(e)?e.dom.classList.toggle(n):Ou(e,n);return yp(e),s},Nm=(e,n)=>_u(e)&&e.dom.classList.contains(n),rd=(e,n)=>{const i=(n||document).createElement("div");if(i.innerHTML=e,!i.hasChildNodes()||i.childNodes.length>1){const d="HTML does not have a single root node";throw console.error(d,e),new Error(d)}return Vd(i.childNodes[0])},wp=(e,n)=>{const i=(n||document).createElement(e);return Vd(i)},Cp=(e,n)=>{const i=(n||document).createTextNode(e);return Vd(i)},Vd=e=>{if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},Be={fromHtml:rd,fromTag:wp,fromText:Cp,fromDom:Vd,fromPoint:(e,n,s)=>oe.from(e.dom.elementFromPoint(n,s)).map(Vd)},Sp=(e,n)=>{const s=[],i=h=>(s.push(h),n(h));let d=n(e);do d=d.bind(i);while(d.isSome());return s},di=(e,n)=>{const s=e.dom;if(s.nodeType!==Nl)return!1;{const i=s;if(i.matches!==void 0)return i.matches(n);if(i.msMatchesSelector!==void 0)return i.msMatchesSelector(n);if(i.webkitMatchesSelector!==void 0)return i.webkitMatchesSelector(n);if(i.mozMatchesSelector!==void 0)return i.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")}},Eh=e=>e.nodeType!==Nl&&e.nodeType!==Pr&&e.nodeType!==nr||e.childElementCount===0,$1=(e,n)=>{const s=n===void 0?document:n.dom;return Eh(s)?[]:yn(s.querySelectorAll(e),Be.fromDom)},D1=(e,n)=>{const s=n===void 0?document:n.dom;return Eh(s)?oe.none():oe.from(s.querySelector(e)).map(Be.fromDom)},Vs=(e,n)=>e.dom===n.dom,sc=(e,n)=>{const s=e.dom,i=n.dom;return s===i?!1:s.contains(i)},Sl=e=>Be.fromDom(e.dom.ownerDocument),Au=e=>Pc(e)?e:Sl(e),ad=e=>Be.fromDom(Au(e).dom.documentElement),kf=e=>Be.fromDom(Au(e).dom.defaultView),xi=e=>oe.from(e.dom.parentNode).map(Be.fromDom),Ep=e=>oe.from(e.dom.parentElement).map(Be.fromDom),Bm=(e,n)=>{const s=de(n)?n:at;let i=e.dom;const d=[];for(;i.parentNode!==null&&i.parentNode!==void 0;){const h=i.parentNode,v=Be.fromDom(h);if(d.push(v),s(v)===!0)break;i=h}return d},xp=e=>{const n=s=>mn(s,i=>!Vs(e,i));return xi(e).map(sl).map(n).getOr([])},zc=e=>oe.from(e.dom.previousSibling).map(Be.fromDom),Hd=e=>oe.from(e.dom.nextSibling).map(Be.fromDom),Mg=e=>gs(Sp(e,zc)),Mi=e=>Sp(e,Hd),sl=e=>yn(e.dom.childNodes,Be.fromDom),ld=(e,n)=>{const s=e.dom.childNodes;return oe.from(s[n]).map(Be.fromDom)},Tf=e=>ld(e,0),Pi=e=>ld(e,e.dom.childNodes.length-1),fi=e=>e.dom.childNodes.length,xh=e=>e.dom.hasChildNodes(),Pg=e=>{const n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return Be.fromDom(n)},_f=e=>Ef(e)&&xe(e.dom.host),$m=de(Element.prototype.attachShadow)&&de(Node.prototype.getRootNode),kh=Me($m),au=$m?e=>Be.fromDom(e.dom.getRootNode()):Au,kp=e=>_f(e)?e:Pg(Au(e)),IC=e=>_f(e)?e:Be.fromDom(Au(e).dom.body),R1=e=>{const n=au(e);return _f(n)?oe.some(n):oe.none()},Th=e=>Be.fromDom(e.dom.host),Of=e=>{if(kh()&&xe(e.target)){const n=Be.fromDom(e.target);if(ur(n)&&Ig(n)&&e.composed&&e.composedPath){const s=e.composedPath();if(s)return hn(s)}}return oe.from(e.target)},Ig=e=>xe(e.dom.shadowRoot),Nu=e=>{const n=ja(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;const s=n.ownerDocument;return R1(Be.fromDom(n)).fold(()=>s.body.contains(n),Ge(Nu,Th))};var z=(e,n,s,i,d)=>e(s,i)?oe.some(s):de(d)&&d(s)?oe.none():n(s,i,d);const X=(e,n,s)=>{let i=e.dom;const d=de(s)?s:at;for(;i.parentNode;){i=i.parentNode;const h=Be.fromDom(i);if(n(h))return oe.some(h);if(d(h))break}return oe.none()},me=(e,n,s)=>z((d,h)=>h(d),X,e,n,s),Fe=(e,n)=>{const s=e.dom;return s.parentNode?He(Be.fromDom(s.parentNode),i=>!Vs(e,i)&&n(i)):oe.none()},He=(e,n)=>{const s=d=>n(Be.fromDom(d));return zt(e.dom.childNodes,s).map(Be.fromDom)},Ft=(e,n)=>{const s=i=>{for(let d=0;d<i.childNodes.length;d++){const h=Be.fromDom(i.childNodes[d]);if(n(h))return oe.some(h);const v=s(i.childNodes[d]);if(v.isSome())return v}return oe.none()};return s(e.dom)},to=(e,n,s)=>X(e,i=>di(i,n),s),So=(e,n)=>D1(n,e),Eo=(e,n,s)=>z((d,h)=>di(d,h),to,e,n,s),mo=e=>Eo(e,"[contenteditable]"),Nn=(e,n=!1)=>Nu(e)?e.dom.isContentEditable:mo(e).fold(Me(n),s=>qr(s)==="true"),qr=e=>e.dom.contentEditable,rl=e=>e.style!==void 0&&de(e.style.getPropertyValue),M1=(e,n,s)=>{if(!H(s))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",s,":: Element ",e),new Error("CSS value must be a string: "+s);rl(e)&&e.style.setProperty(n,s)},_h=(e,n)=>{rl(e)&&e.style.removeProperty(n)},Fg=(e,n,s)=>{const i=e.dom;M1(i,n,s)},Lg=(e,n)=>{const s=e.dom;Nt(n,(i,d)=>{M1(s,d,i)})},Za=(e,n)=>{const s=e.dom,d=window.getComputedStyle(s).getPropertyValue(n);return d===""&&!Nu(e)?mi(s,n):d},mi=(e,n)=>rl(e)?e.style.getPropertyValue(n):"",Ii=(e,n)=>{const s=e.dom,i=mi(s,n);return oe.from(i).filter(d=>d.length>0)},Kl=e=>{const n={},s=e.dom;if(rl(s))for(let i=0;i<s.style.length;i++){const d=s.style.item(i);n[d]=s.style[d]}return n},zg=(e,n)=>{const s=e.dom;_h(s,n),$a(Fc(e,"style").map(yl),"")&&Is(e,"style")},Jr=e=>e.dom.offsetWidth,Fi=(e,n)=>{xi(e).each(i=>{i.dom.insertBefore(n.dom,e.dom)})},Cc=(e,n)=>{Hd(e).fold(()=>{xi(e).each(d=>{ga(d,n)})},i=>{Fi(i,n)})},Tp=(e,n)=>{Tf(e).fold(()=>{ga(e,n)},i=>{e.dom.insertBefore(n.dom,i.dom)})},ga=(e,n)=>{e.dom.appendChild(n.dom)},U0=(e,n)=>{Fi(e,n),ga(n,e)},P1=(e,n)=>{mt(n,(s,i)=>{const d=i===0?e:n[i-1];Cc(d,s)})},gr=(e,n)=>{mt(n,s=>{ga(e,s)})},id=e=>{e.dom.textContent="",mt(sl(e),n=>{Ns(n)})},Ns=e=>{const n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},ki=e=>{const n=sl(e);n.length>0&&P1(e,n),Ns(e)},Af=(e,n)=>{const i=(n||document).createElement("div");return i.innerHTML=e,sl(Be.fromDom(i))},Nf=e=>yn(e,Be.fromDom),Dm=e=>e.dom.innerHTML,Ho=(e,n)=>{const i=Sl(e).dom,d=Be.fromDom(i.createDocumentFragment()),h=Af(n,i);gr(d,h),id(e),ga(e,d)},Vg=e=>{const n=Be.fromTag("div"),s=Be.fromDom(e.dom.cloneNode(!0));return ga(n,s),Dm(n)},Hg=(e,n,s,i,d,h,v)=>({target:e,x:n,y:s,stop:i,prevent:d,kill:h,raw:v}),FC=e=>{const n=Be.fromDom(Of(e).getOr(e.target)),s=()=>e.stopPropagation(),i=()=>e.preventDefault(),d=M(i,s);return Hg(n,e.clientX,e.clientY,s,i,d,e)},Mx=(e,n)=>s=>{e(s)&&n(FC(s))},Ug=(e,n,s,i,d)=>{const h=Mx(s,i);return e.dom.addEventListener(n,h,d),{unbind:Xe(LC,e,n,h,d)}},Oh=(e,n,s,i)=>Ug(e,n,s,i,!1),LC=(e,n,s,i)=>{e.dom.removeEventListener(n,s,i)},cd=(e,n)=>({left:e,top:n,translate:(i,d)=>cd(e+i,n+d)}),Rm=cd,zC=e=>{const n=e.getBoundingClientRect();return Rm(n.left,n.top)},Ah=(e,n)=>e!==void 0?e:n!==void 0?n:0,Ud=e=>{const n=e.dom.ownerDocument,s=n.body,i=n.defaultView,d=n.documentElement;if(s===e.dom)return Rm(s.offsetLeft,s.offsetTop);const h=Ah(i==null?void 0:i.pageYOffset,d.scrollTop),v=Ah(i==null?void 0:i.pageXOffset,d.scrollLeft),T=Ah(d.clientTop,s.clientTop),A=Ah(d.clientLeft,s.clientLeft);return I1(e).translate(v-A,h-T)},I1=e=>{const n=e.dom,i=n.ownerDocument.body;return i===n?Rm(i.offsetLeft,i.offsetTop):Nu(e)?zC(n):Rm(0,0)},Bu=e=>{const n=e!==void 0?e.dom:document,s=n.body.scrollLeft||n.documentElement.scrollLeft,i=n.body.scrollTop||n.documentElement.scrollTop;return Rm(s,i)},Bf=(e,n)=>{js().browser.isSafari()&&de(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},VC=e=>{const n=e===void 0?window:e;return js().browser.isFirefox()?oe.none():oe.from(n.visualViewport)},Wg=(e,n,s,i)=>({x:e,y:n,width:s,height:i,right:e+s,bottom:n+i}),F1=e=>{const n=e===void 0?window:e,s=n.document,i=Bu(Be.fromDom(s));return VC(n).fold(()=>{const d=n.document.documentElement,h=d.clientWidth,v=d.clientHeight;return Wg(i.left,i.top,h,v)},d=>Wg(Math.max(d.pageLeft,i.left),Math.max(d.pageTop,i.top),d.width,d.height))},L1=(e,n)=>mn(sl(e),n),z1=(e,n)=>{let s=[];return mt(sl(e),i=>{n(i)&&(s=s.concat([i])),s=s.concat(z1(i,n))}),s},Bl=(e,n)=>$1(n,e),jg=(e,n,s)=>to(e,n,s).isSome();class Da{constructor(n,s){this.node=n,this.rootNode=s,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(n){return this.node=this.findSibling(this.node,"firstChild","nextSibling",n),this.node}prev(n){return this.node=this.findSibling(this.node,"lastChild","previousSibling",n),this.node}prev2(n){return this.node=this.findPreviousNode(this.node,n),this.node}findSibling(n,s,i,d){if(n){if(!d&&n[s])return n[s];if(n!==this.rootNode){let h=n[i];if(h)return h;for(let v=n.parentNode;v&&v!==this.rootNode;v=v.parentNode)if(h=v[i],h)return h}}}findPreviousNode(n,s){if(n){const i=n.previousSibling;if(this.rootNode&&i===this.rootNode)return;if(i){if(!s){for(let h=i.lastChild;h;h=h.lastChild)if(!h.lastChild)return h}return i}const d=n.parentNode;if(d&&d!==this.rootNode)return d}}}const Yl=e=>n=>!!n&&n.nodeType===e,Un=e=>!!e&&!Object.getPrototypeOf(e),cn=Yl(1),_p=e=>{const n=e.toLowerCase();return s=>xe(s)&&s.nodeName.toLowerCase()===n},Vc=e=>{const n=e.map(s=>s.toLowerCase());return s=>{if(s&&s.nodeName){const i=s.nodeName.toLowerCase();return An(n,i)}return!1}},Op=(e,n)=>{const s=n.toLowerCase().split(" ");return i=>{if(cn(i)){const d=i.ownerDocument.defaultView;if(d)for(let h=0;h<s.length;h++){const v=d.getComputedStyle(i,null);if((v?v.getPropertyValue(e):null)===s[h])return!0}}return!1}},Nh=e=>n=>cn(n)&&n.hasAttribute(e),Sc=(e,n)=>s=>cn(s)&&s.getAttribute(e)===n,Ec=e=>cn(e)&&e.hasAttribute("data-mce-bogus"),Ap=e=>cn(e)&&e.getAttribute("data-mce-bogus")==="all",Qr=e=>cn(e)&&e.tagName==="TABLE",Np=e=>n=>!!(cn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e)),Bh=Vc(["textarea","input"]),Vt=Yl(3),HC=Yl(4),UC=Yl(7),rc=Yl(8),Bp=Yl(9),$f=Yl(11),Gr=_p("br"),W0=_p("img"),Qs=Np("true"),Fs=Np("false"),Xl=Vc(["td","th"]),$p=Vc(["td","th","caption"]),xa=Vc(["video","audio","object","embed"]),Mm=_p("li"),al=_p("details"),Ti=_p("summary"),Wd="\uFEFF",St=" ",Li=e=>e===Wd,j0=e=>e.replace(/\uFEFF/g,""),lu=((e,n)=>{const s=h=>{if(!e(h))throw new Error("Can only get "+n+" value of a "+n+" node");return i(h).getOr("")},i=h=>e(h)?oe.from(h.dom.nodeValue):oe.none();return{get:s,getOption:i,set:(h,v)=>{if(!e(h))throw new Error("Can only set raw "+n+" value of a "+n+" node");h.dom.nodeValue=v}}})(ja,"text"),Zg=e=>lu.get(e),xc=e=>lu.getOption(e),WC=(e,n)=>lu.set(e,n),Df=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],V1=["td","th"],kc=["thead","tbody","tfoot"],Bs=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],ud=["h1","h2","h3","h4","h5","h6"],$h=["li","dd","dt"],Jl=["ul","ol","dl"],qg=["pre","script","textarea","style"],Rf=["pre"].concat(ud),jd=e=>{let n;return s=>(n=n||Tn(e,lt),Gn(n,or(s)))},ba=jd(Df),Gg=e=>or(e)==="table",st=e=>ur(e)&&!ba(e),Ql=e=>ur(e)&&or(e)==="br",Dh=jd(Bs),_i=jd(Jl),pi=jd($h),El=jd(kc),aa=jd(V1),Kg=jd(qg),Mf=jd(Rf),Pf=e=>Mf(e)||st(e),Xn=e=>{const n=[];let s=e.dom;for(;s;)n.push(Be.fromDom(s)),s=s.lastChild;return n},Px=e=>{const n=Bl(e,"br"),s=mn(Xn(e).slice(-1),Ql);n.length===s.length&&mt(s,Ns)},$=()=>{const e=Be.fromTag("br");return ra(e,"data-mce-bogus","1"),e},I=e=>{id(e),ga(e,$())},ie=e=>{Pi(e).each(n=>{zc(n).each(s=>{ba(e)&&Ql(n)&&ba(s)&&Ns(n)})})},ye=Wd,ze=Li,Ct=j0,Lt=cn,an=Vt,Qn=e=>(an(e)&&(e=e.parentNode),Lt(e)&&e.hasAttribute("data-mce-caret")),ro=e=>an(e)&&ze(e.data),Hs=e=>Qn(e)||ro(e),ks=e=>e.firstChild!==e.lastChild||!Gr(e.firstChild),Ir=(e,n)=>{var s;const d=((s=e.ownerDocument)!==null&&s!==void 0?s:document).createTextNode(ye),h=e.parentNode;if(n){const v=e.previousSibling;if(an(v)){if(Hs(v))return v;if(Pm(v))return v.splitText(v.data.length-1)}h==null||h.insertBefore(d,e)}else{const v=e.nextSibling;if(an(v)){if(Hs(v))return v;if(zi(v))return v.splitText(1),v}e.nextSibling?h==null||h.insertBefore(d,e.nextSibling):h==null||h.appendChild(d)}return d},ei=e=>{const n=e.container();return Vt(n)?n.data.charAt(e.offset())===ye||e.isAtStart()&&ro(n.previousSibling):!1},Hc=e=>{const n=e.container();return Vt(n)?n.data.charAt(e.offset()-1)===ye||e.isAtEnd()&&ro(n.nextSibling):!1},Zd=(e,n,s)=>{var i;const h=((i=n.ownerDocument)!==null&&i!==void 0?i:document).createElement(e);h.setAttribute("data-mce-caret",s?"before":"after"),h.setAttribute("data-mce-bogus","all"),h.appendChild($().dom);const v=n.parentNode;return s?v==null||v.insertBefore(h,n):n.nextSibling?v==null||v.insertBefore(h,n.nextSibling):v==null||v.appendChild(h),h},zi=e=>an(e)&&e.data[0]===ye,Pm=e=>an(e)&&e.data[e.data.length-1]===ye,Yg=e=>{var n;const s=e.getElementsByTagName("br"),i=s[s.length-1];Ec(i)&&((n=i.parentNode)===null||n===void 0||n.removeChild(i))},Im=e=>e&&e.hasAttribute("data-mce-caret")?(Yg(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,If=e=>Qn(e.startContainer),ka=Qs,Uc=Fs,qd=Gr,Fm=Vt,Z0=Vc(["script","style","textarea"]),zo=Vc(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Fr=Vc(["table"]),$l=Hs,la=e=>$l(e)?!1:Fm(e)?!Z0(e.parentNode):zo(e)||qd(e)||Fr(e)||dd(e),Gd=e=>cn(e)&&e.getAttribute("unselectable")==="true",dd=e=>!Gd(e)&&Uc(e),$u=(e,n)=>{for(let s=e.parentNode;s&&s!==n;s=s.parentNode){if(dd(s))return!1;if(ka(s))return!0}return!0},ac=e=>dd(e)?!Jo(is(e.getElementsByTagName("*")),(n,s)=>n||ka(s),!1):!1,Ix=e=>zo(e)||ac(e),Dp=(e,n)=>la(e)&&$u(e,n),Xg=/^[ \t\r\n]*$/,Du=e=>Xg.test(e),Fx=e=>{for(const n of e)if(!Li(n))return!1;return!0},H1=e=>" \f \v".indexOf(e)!==-1,jC=e=>e===`
|
|
71
|
+
*/var UP=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Q4e(o){return o}var fle=Q4e;function e3e(o,l,u){switch(u.length){case 0:return o.call(l);case 1:return o.call(l,u[0]);case 2:return o.call(l,u[0],u[1]);case 3:return o.call(l,u[0],u[1],u[2])}return o.apply(l,u)}var t3e=e3e,n3e=t3e,mle=Math.max;function o3e(o,l,u){return l=mle(l===void 0?o.length-1:l,0),function(){for(var m=arguments,b=-1,C=mle(m.length-l,0),S=Array(C);++b<C;)S[b]=m[l+b];b=-1;for(var k=Array(l+1);++b<l;)k[b]=m[b];return k[l]=u(S),n3e(o,this,k)}}var s3e=o3e;function r3e(o){return function(){return o}}var a3e=r3e,l3e=typeof UP=="object"&&UP&&UP.Object===Object&&UP,ple=l3e,i3e=ple,c3e=typeof self=="object"&&self&&self.Object===Object&&self,u3e=i3e||c3e||Function("return this")(),fU=u3e,d3e=fU,f3e=d3e.Symbol,hle=f3e,gle=hle,ble=Object.prototype,m3e=ble.hasOwnProperty,p3e=ble.toString,E4=gle?gle.toStringTag:void 0;function h3e(o){var l=m3e.call(o,E4),u=o[E4];try{o[E4]=void 0;var m=!0}catch(C){}var b=p3e.call(o);return m&&(l?o[E4]=u:delete o[E4]),b}var g3e=h3e,b3e=Object.prototype,y3e=b3e.toString;function v3e(o){return y3e.call(o)}var w3e=v3e,yle=hle,C3e=g3e,S3e=w3e,E3e="[object Null]",x3e="[object Undefined]",vle=yle?yle.toStringTag:void 0;function k3e(o){return o==null?o===void 0?x3e:E3e:vle&&vle in Object(o)?C3e(o):S3e(o)}var mU=k3e;function T3e(o){var l=typeof o;return o!=null&&(l=="object"||l=="function")}var WP=T3e,_3e=mU,O3e=WP,A3e="[object AsyncFunction]",N3e="[object Function]",B3e="[object GeneratorFunction]",$3e="[object Proxy]";function D3e(o){if(!O3e(o))return!1;var l=_3e(o);return l==N3e||l==B3e||l==A3e||l==$3e}var wle=D3e,R3e=fU,M3e=R3e["__core-js_shared__"],P3e=M3e,pU=P3e,Cle=function(){var o=/[^.]+$/.exec(pU&&pU.keys&&pU.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function I3e(o){return!!Cle&&Cle in o}var F3e=I3e,L3e=Function.prototype,z3e=L3e.toString;function V3e(o){if(o!=null){try{return z3e.call(o)}catch(l){}try{return o+""}catch(l){}}return""}var H3e=V3e,U3e=wle,W3e=F3e,j3e=WP,Z3e=H3e,q3e=/[\\^$.*+?()[\]{}|]/g,G3e=/^\[object .+?Constructor\]$/,K3e=Function.prototype,Y3e=Object.prototype,X3e=K3e.toString,J3e=Y3e.hasOwnProperty,Q3e=RegExp("^"+X3e.call(J3e).replace(q3e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function eNe(o){if(!j3e(o)||W3e(o))return!1;var l=U3e(o)?Q3e:G3e;return l.test(Z3e(o))}var tNe=eNe;function nNe(o,l){return o==null?void 0:o[l]}var oNe=nNe,sNe=tNe,rNe=oNe;function aNe(o,l){var u=rNe(o,l);return sNe(u)?u:void 0}var lNe=aNe,iNe=lNe,cNe=function(){try{var o=iNe(Object,"defineProperty");return o({},"",{}),o}catch(l){}}(),uNe=cNe,dNe=a3e,Sle=uNe,fNe=fle,mNe=Sle?function(o,l){return Sle(o,"toString",{configurable:!0,enumerable:!1,value:dNe(l),writable:!0})}:fNe,pNe=mNe,hNe=800,gNe=16,bNe=Date.now;function yNe(o){var l=0,u=0;return function(){var m=bNe(),b=gNe-(m-u);if(u=m,b>0){if(++l>=hNe)return arguments[0]}else l=0;return o.apply(void 0,arguments)}}var vNe=yNe,wNe=pNe,CNe=vNe,SNe=CNe(wNe),ENe=SNe,xNe=fle,kNe=s3e,TNe=ENe;function _Ne(o,l){return TNe(kNe(o,l,xNe),o+"")}var ONe=_Ne;function ANe(o,l){return o===l||o!==o&&l!==l}var Ele=ANe,NNe=9007199254740991;function BNe(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=NNe}var xle=BNe,$Ne=wle,DNe=xle;function RNe(o){return o!=null&&DNe(o.length)&&!$Ne(o)}var kle=RNe,MNe=9007199254740991,PNe=/^(?:0|[1-9]\d*)$/;function INe(o,l){var u=typeof o;return l=l==null?MNe:l,!!l&&(u=="number"||u!="symbol"&&PNe.test(o))&&o>-1&&o%1==0&&o<l}var Tle=INe,FNe=Ele,LNe=kle,zNe=Tle,VNe=WP;function HNe(o,l,u){if(!VNe(u))return!1;var m=typeof l;return(m=="number"?LNe(u)&&zNe(l,u.length):m=="string"&&l in u)?FNe(u[l],o):!1}var UNe=HNe;function WNe(o,l){for(var u=-1,m=Array(o);++u<o;)m[u]=l(u);return m}var jNe=WNe;function ZNe(o){return o!=null&&typeof o=="object"}var hU=ZNe,qNe=mU,GNe=hU,KNe="[object Arguments]";function YNe(o){return GNe(o)&&qNe(o)==KNe}var XNe=YNe,_le=XNe,JNe=hU,Ole=Object.prototype,QNe=Ole.hasOwnProperty,eBe=Ole.propertyIsEnumerable,tBe=_le(function(){return arguments}())?_le:function(o){return JNe(o)&&QNe.call(o,"callee")&&!eBe.call(o,"callee")},nBe=tBe,oBe=Array.isArray,sBe=oBe,gU={exports:{}};function rBe(){return!1}var aBe=rBe;(function(o,l){var u=fU,m=aBe,b=l&&!l.nodeType&&l,C=b&&!0&&o&&!o.nodeType&&o,S=C&&C.exports===b,k=S?u.Buffer:void 0,O=k?k.isBuffer:void 0,B=O||m;o.exports=B})(gU,gU.exports);var lBe=mU,iBe=xle,cBe=hU,uBe="[object Arguments]",dBe="[object Array]",fBe="[object Boolean]",mBe="[object Date]",pBe="[object Error]",hBe="[object Function]",gBe="[object Map]",bBe="[object Number]",yBe="[object Object]",vBe="[object RegExp]",wBe="[object Set]",CBe="[object String]",SBe="[object WeakMap]",EBe="[object ArrayBuffer]",xBe="[object DataView]",kBe="[object Float32Array]",TBe="[object Float64Array]",_Be="[object Int8Array]",OBe="[object Int16Array]",ABe="[object Int32Array]",NBe="[object Uint8Array]",BBe="[object Uint8ClampedArray]",$Be="[object Uint16Array]",DBe="[object Uint32Array]",Ul={};Ul[kBe]=Ul[TBe]=Ul[_Be]=Ul[OBe]=Ul[ABe]=Ul[NBe]=Ul[BBe]=Ul[$Be]=Ul[DBe]=!0,Ul[uBe]=Ul[dBe]=Ul[EBe]=Ul[fBe]=Ul[xBe]=Ul[mBe]=Ul[pBe]=Ul[hBe]=Ul[gBe]=Ul[bBe]=Ul[yBe]=Ul[vBe]=Ul[wBe]=Ul[CBe]=Ul[SBe]=!1;function RBe(o){return cBe(o)&&iBe(o.length)&&!!Ul[lBe(o)]}var MBe=RBe;function PBe(o){return function(l){return o(l)}}var IBe=PBe,bU={exports:{}};(function(o,l){var u=ple,m=l&&!l.nodeType&&l,b=m&&!0&&o&&!o.nodeType&&o,C=b&&b.exports===m,S=C&&u.process,k=function(){try{var O=b&&b.require&&b.require("util").types;return O||S&&S.binding&&S.binding("util")}catch(B){}}();o.exports=k})(bU,bU.exports);var FBe=MBe,LBe=IBe,Ale=bU.exports,Nle=Ale&&Ale.isTypedArray,zBe=Nle?LBe(Nle):FBe,VBe=zBe,HBe=jNe,UBe=nBe,WBe=sBe,jBe=gU.exports,ZBe=Tle,qBe=VBe,GBe=Object.prototype,KBe=GBe.hasOwnProperty;function YBe(o,l){var u=WBe(o),m=!u&&UBe(o),b=!u&&!m&&jBe(o),C=!u&&!m&&!b&&qBe(o),S=u||m||b||C,k=S?HBe(o.length,String):[],O=k.length;for(var B in o)(l||KBe.call(o,B))&&!(S&&(B=="length"||b&&(B=="offset"||B=="parent")||C&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||ZBe(B,O)))&&k.push(B);return k}var XBe=YBe,JBe=Object.prototype;function QBe(o){var l=o&&o.constructor,u=typeof l=="function"&&l.prototype||JBe;return o===u}var e$e=QBe;function t$e(o){var l=[];if(o!=null)for(var u in Object(o))l.push(u);return l}var n$e=t$e,o$e=WP,s$e=e$e,r$e=n$e,a$e=Object.prototype,l$e=a$e.hasOwnProperty;function i$e(o){if(!o$e(o))return r$e(o);var l=s$e(o),u=[];for(var m in o)m=="constructor"&&(l||!l$e.call(o,m))||u.push(m);return u}var c$e=i$e,u$e=XBe,d$e=c$e,f$e=kle;function m$e(o){return f$e(o)?u$e(o,!0):d$e(o)}var p$e=m$e,h$e=ONe,g$e=Ele,b$e=UNe,y$e=p$e,Ble=Object.prototype,v$e=Ble.hasOwnProperty;h$e(function(o,l){o=Object(o);var u=-1,m=l.length,b=m>2?l[2]:void 0;for(b&&b$e(l[0],l[1],b)&&(m=1);++u<m;)for(var C=l[u],S=y$e(C),k=-1,O=S.length;++k<O;){var B=S[k],P=o[B];(P===void 0||g$e(P,Ble[B])&&!v$e.call(o,B))&&(o[B]=C[B])}return o});const w$e=typeof window!="undefined"&&window!==null;x$e();const C$e=Object.prototype.propertyIsEnumerable,$le=Object.getOwnPropertySymbols;function jP(o){return typeof o=="function"||toString.call(o)==="[object Object]"}function S$e(o){return typeof o=="object"?o===null:typeof o!="function"}function E$e(o){return o!=="__proto__"&&o!=="constructor"&&o!=="prototype"}function x$e(){return w$e&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function k$e(o,...l){if(!jP(o))throw new TypeError("expected the first argument to be an object");if(l.length===0||typeof Symbol!="function"||typeof $le!="function")return o;for(const u of l){const m=$le(u);for(const b of m)C$e.call(u,b)&&(o[b]=u[b])}return o}function Dle(o,...l){let u=0;for(S$e(o)&&(o=l[u++]),o||(o={});u<l.length;u++)if(jP(l[u])){for(const m of Object.keys(l[u]))E$e(m)&&(jP(o[m])&&jP(l[u][m])?Dle(o[m],l[u][m]):o[m]=l[u][m]);k$e(o,l[u])}return o}const T$e=({images:o=[],options:l})=>{l=Dle(l,{inline:!1});const u=document.createElement("div"),m=a.h("div",{style:{display:"none"},class:["__viewer-token"]},o.map(k=>a.h("img",typeof k=="string"?{src:k}:k)));a.render(m,u);const b=u.firstElementChild;document.body.appendChild(b);const C=new dU(b,l),S=C.destroy.bind(C);return C.destroy=function(){return S(),a.render(null,u),C},C.show(),b.addEventListener("hidden",function(){this.viewer===C&&C.destroy()}),C};a.defineComponent({name:"Viewer",props:{images:{type:Array,default:()=>[]},rebuild:{type:Boolean,default:!1},trigger:{type:Object,default:null},options:{type:Object,default:()=>null}},emits:["inited"],setup(o,{emit:l}){let u;const m=a.ref();function b(){u=new dU(m.value,o.options),l("inited",u)}function C(){u&&u.destroy()}function S(){C(),b()}function k(){u?(u.update(),l("inited",u)):b()}function O(){o.rebuild?S():k()}const B={deep:!0};return a.watch(()=>o.images,()=>a.nextTick(()=>O()),B),a.watch(()=>o.trigger,()=>a.nextTick(()=>O()),B),a.watch(()=>o.options,()=>a.nextTick(()=>S()),B),a.onMounted(()=>b()),a.onUnmounted(()=>C()),{root:m,createViewer:b,rebuildViewer:S,updateViewer:k,destroyViewer:C}}});const _$e=["onClick"],O$e=["onClick"],A$e=a.createElementVNode("div",null,"上传中",-1),N$e=a.createElementVNode("div",null,[a.createElementVNode("i",{class:"zy-font"},"")],-1),B$e={class:"el-upload__tip"},$$e={key:1},D$e=a.defineComponent({name:"ImageList"}),ZP=a.defineComponent(Ze(ue({},D$e),{props:{list:{type:Array,default(){return[]}},uploadPath:{type:String,required:!1},limit:{type:Number,default:-1},opt:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},title:{type:String,default:"请选择图片"},emptyText:{type:String,default:"暂无图片"},tip:{type:String},param:{type:Object,default(){return{}}},appendToken:{type:Boolean,default:!1}},emits:["update:list","on-error"],setup(o,{emit:l}){const u=o,m=Hl("zy-imagelist"),b=Hl("zy-imagelist-view"),C=a.useSlots(),S=a.ref(!1),k=a.ref(!1);(u.tip||C.tip)&&(k.value=!0);const O=a.computed(()=>u.list.map(q=>q.requestPath)),B=a.computed(()=>u.opt?u.limit<0?!0:u.limit>u.list.length:!1),P=q=>{T$e({images:a.unref(O),options:{initialViewIndex:q}})},V=q=>{let U=[...u.list];U.splice(q,1),l("update:list",U)},j=()=>{},G=q=>{S.value=!0,$C(u.uploadPath,{file:q.file},{fd:!0,loading:!1,appendToken:u.appendToken}).then(({data:U})=>{S.value=!1,l("update:list",[...u.list,ue({},U)])}).catch(U=>{S.value=!1,console.warn("上传图片出错"),console.warn(U),l("on-error",U)})};return(q,U)=>{const Q=y2e,J=fre;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createElementVNode("ul",{class:a.normalizeClass(a.unref(b)())},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.list,(se,H)=>(a.openBlock(),a.createElementBlock("li",{class:a.normalizeClass(a.unref(b)("item"))},[a.createVNode(Q,{class:"el-img",src:se.requestPath,fit:"fill"},null,8,["src"]),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("mask"))},[a.createElementVNode("i",{class:"zy-font",onClick:ne=>P(H)},"",8,_$e),o.opt?(a.openBlock(),a.createElementBlock("i",{key:0,class:"zy-font",onClick:ne=>V(H)},"",8,O$e)):a.createCommentVNode("v-if",!0)],2)],2))),256)),!o.opt&&o.list.length==0?(a.openBlock(),a.createElementBlock("li",{key:0,class:a.normalizeClass(a.unref(b)("none-image"))},a.toDisplayString(o.emptyText),3)):a.createCommentVNode("v-if",!0),B.value?(a.openBlock(),a.createBlock(J,{key:1,"auto-upload":!0,"on-exceed":j,accept:o.accept,name:"file",multiple:!1,"http-request":G,"show-file-list":!1,style:{display:"inline-block","vertical-align":"top"},disabled:S.value},a.createSlots({default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(a.unref(m)("upload-btn"))},[S.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload-btn-loading"))},[a.createVNode(S4e,{color:"#AAAEB7",width:"4px",height:"24px"}),A$e],2)):a.createCommentVNode("v-if",!0),S.value?a.createCommentVNode("v-if",!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[N$e,o.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("upload-btn-title"))},a.toDisplayString(o.title),3)):a.createCommentVNode("v-if",!0)],64))],2)]),_:2},[k.value?{name:"tip",fn:a.withCtx(()=>[a.createElementVNode("div",B$e,[a.unref(C).tip?a.renderSlot(q.$slots,"tip",{key:0}):(a.openBlock(),a.createElementBlock("span",$$e,a.toDisplayString(o.tip),1))])]),key:"0"}:void 0]),1032,["accept","disabled"])):a.createCommentVNode("v-if",!0)],2)],2)}}}));ZP.install=o=>{o.component(ZP.name,ZP)};const R$e=a.defineComponent({name:"PageLayout"}),qP=a.defineComponent(Ze(ue({},R$e),{props:{type:{type:String,default:"list",validator(o){return["list","detail","opt"].includes(o)}},width:{type:[Number,String],default:""}},setup(o){const l=o,u=1040,m=1040,b=Hl("zy-pagelayout"),{type:C,width:S}=a.toRefs(l),k=a.useSlots(),O=a.computed(()=>{let V={};return k.head&&(V.marginTop="12px"),k.footer&&(V.marginBottom="8px"),V}),B=a.computed(()=>{let V={};return S.value?V.width=Y9(S)?S+"px":S:C.value=="detail"?V.width=m+"px":C.value=="opt"&&(V.width=u+"px"),V}),P=a.computed(()=>{let V=[b()];return V.push(C.value),V});return(V,j)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(P.value),style:a.normalizeStyle(B.value)},[a.unref(k).head?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(b)("head"))},[a.renderSlot(V.$slots,"head")],2)):a.createCommentVNode("v-if",!0),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("body")),style:a.normalizeStyle(O.value)},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("body-inner"))},[a.renderSlot(V.$slots,"default")],2)],6),a.unref(k).footer?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(a.unref(b)("footer"))},[a.renderSlot(V.$slots,"footer")],2)):a.createCommentVNode("v-if",!0)],6))}}));qP.install=o=>{o.component(qP.name,qP)};const jRe="";/*! Element Plus v2.3.4 */var M$e={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const P$e=Hl("zy-wrapperpagination"),I$e={setup(o,l){return{zhCn:M$e}},name:"WrapperPage",inheritAttrs:!1,methods:{pageCls:P$e}};function F$e(o,l,u,m,b,C){const S=s9,k=x0e;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(C.pageCls())},[a.createVNode(k,{locale:m.zhCn},{default:a.withCtx(()=>[a.createVNode(S,a.mergeProps({"pager-count":4,layout:"prev, pager, next,sizes,total",background:""},o.$attrs),null,16)]),_:1},8,["locale"])],2)}const GP=Q9(I$e,[["render",F$e]]);GP.install=o=>{o.component(GP.name,GP)};const L$e=o=>o?a.defineComponent({setup(l,u){const m=a.ref(null);let[b]=o();return u.expose({slotRef:m}),()=>a.h(b,{ref:m})}}):null,z$e=a.createElementVNode("i",{class:"zy-font"},"",-1),V$e=a.defineComponent({name:"WrapperSearch"}),KP=a.defineComponent(Ze(ue({},V$e),{props:{searchText:{type:String,default:"搜索"},superSearchText:{type:String,default:"搜索"},resetText:{type:String,default:"重置"},autoClose:{type:Boolean,default:!1}},emits:["search","reset","super-search"],setup(o,{expose:l,emit:u}){const m=o,b=a.useSlots(),C=Hl("zy-supersearch"),S=Hl("zy-supersearch-super-con"),k=a.ref(null),O=a.ref(!1),B=L$e(b.super),P=a.ref(null),V=a.ref(document.querySelector(".zy-pagelayout-head"));a.onMounted(()=>{V.value=document.querySelector(".zy-pagelayout-head")});const j=a.toRef(m,"autoClose"),G=H=>{O.value=H},q=a.computed(()=>!!b.super),U=()=>{G(!O.value)},Q=()=>{b.super?P.value.slotRef.getSearchInfo?u("super-search",P.value.slotRef.getSearchInfo()):(console.warn("插槽super组件没有expose getSearchInfo方法"),u("search",{})):u("super-search",{}),j.value&&G(!1)},J=()=>{u("search"),j.value&&G(!1)},se=()=>{b.super&&(P.value.slotRef.resetSerachInfo?P.value.slotRef.resetSerachInfo():console.warn("插槽super组件没有expose resetSerachInfo方法")),u("reset"),j.value&&G(!1)};return l({setSuperStatus:G,tapSearch:J,tapReset:se,tapSuperSearch:Q}),(H,ne)=>{const Ae=EC;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(C)()),ref_key:"wrapperHolder",ref:k},[a.renderSlot(H.$slots,"default"),a.createElementVNode("span",{class:a.normalizeClass(a.unref(C)("search-btn")),onClick:J},[z$e,a.createTextVNode(" "+a.toDisplayString(o.searchText),1)],2),q.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(a.unref(C)("super-btn")),onClick:U,title:"条件搜索"},[a.createElementVNode("i",{class:a.normalizeClass(["zy-font",O.value?a.unref(S)("condition-icon"):""])},"",2)],2)):a.createCommentVNode("v-if",!0),V.value?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:V.value},[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)("tip"))}," 高级筛选: ",2),a.createElementVNode("div",{class:a.normalizeClass(a.unref(S)("search-ctx"))},[a.createVNode(a.unref(B),{ref_key:"SuperRef",ref:P},null,512),a.createVNode(Ae,{type:"primary",class:a.normalizeClass(a.unref(S)("opt-btn")),onClick:Q},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.superSearchText),1)]),_:1},8,["class"]),a.createVNode(Ae,{class:a.normalizeClass(a.unref(S)("opt-btn")),onClick:se},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.resetText),1)]),_:1},8,["class"])],2)],2),[[a.vShow,O.value]])],8,["to"])):a.createCommentVNode("v-if",!0)],2)}}}));KP.install=o=>{o.component(KP.name,KP)};const H$e={name:"FormItem",props:{col:{type:[String,Number],default:"1"},label:{type:String},tip:{type:String},tipType:{type:String,default:"hover"},warning:{type:String},warningType:{default:"alway"}},setup(o,{slots:l}){let{col:u,label:m,warning:b,warningType:C,tip:S,tipType:k}=o,O="zy-formitem-"+u;return()=>a.h(wve,{class:["zy-formitem",O]},Ze(ue({},l),{label:()=>{if(b){if(C=="hover")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h(B0,{placement:"right",effect:"light"},{default:()=>a.h("i",{class:["zy-font","warning-icon"],innerHTML:""}),content:()=>a.h("span",{class:["zy-formitem-warning"]},b)})]);if(C=="alway")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h("i",{class:["zy-font","warning-icon"],innerHTML:""}),a.h("span",{class:["zy-formitem-warning"]},b)]);console.warn("FormItem的warning只能为hover或alway")}else if(S){if(k=="hover")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h(B0,{placement:"right",effect:"light"},{default:()=>a.h("i",{class:["zy-font","tip-icon"],innerHTML:""}),content:()=>a.h("span",{class:["zy-formitem-tip"]},S)})]);if(k=="alway")return a.h("div",{class:["zy-formitem-label"]},[a.h("span",m),a.h("i",{class:["zy-font","tip-icon"],innerHTML:""}),a.h("span",{class:["zy-formitem-tip"]},S)]);console.warn("FormItem的tip只能为hover或alway")}else return a.h("span",m)}}))}},U$e=a.defineComponent({name:"FormTitle"}),x4=a.defineComponent(Ze(ue({},U$e),{props:{color:{type:String}},setup(o){const{color:l}=o,u=Hl("zy-formtitle"),m=a.computed(()=>{let b={};return l&&(b.color=l),b});return(b,C)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[a.createElementVNode("div",{class:a.normalizeClass(a.unref(u)("ctx")),style:a.normalizeStyle(m.value)},[a.renderSlot(b.$slots,"default")],6)],2))}}));x4.install=o=>{o.component(x4.name,x4)};const W$e=a.defineComponent({name:"FieldList"}),YP=a.defineComponent(Ze(ue({},W$e),{props:{model:{type:Object},labelPosition:{type:String,default:"top"},labelWidth:{type:[String,Number],default:100},col:{type:[String,Number],default:"1"},colon:{type:Boolean,default:!1},title:{type:String}},setup(o,{expose:l}){const{labelPosition:u,labelWidth:m,col:b,colon:C,model:S}=o,k=Hl("zy-fieldlist"),O=a.ref([]),B=a.computed(()=>{if(u=="top")return{marginBottom:"-8px",marginTop:"12px"};if(u=="left")return{marginBottom:"-6px",marginTop:"12px"}}),P=G=>{kP(O,G,"uid")},V=G=>{p4(O,G,"uid")},j=()=>{O.value.forEach(G=>{G.exposed.OnFieldsChange&&G.exposed.OnFieldsChange.call(G)})};return a.watch(S,G=>{j()}),a.provide("labelPosition",u),a.provide("labelWidth",m),a.provide("col",u=="top"?1:2),a.provide("colon",C),a.provide("RegistryItem",P),a.provide("CancelItem",V),l({ForceUpdateContent:j}),(G,q)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(k)())},[o.title?(a.openBlock(),a.createBlock(a.unref(x4),{key:0,style:a.normalizeStyle(B.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.title),1)]),_:1},8,["style"])):a.createCommentVNode("v-if",!0),a.renderSlot(G.$slots,"default")],2))}})),j$e=o=>o?o==1?"是":o==2?"否":o:"",Z$e=(o,l)=>{if(!o||!l)return"";let u=a.unref(o),m=a.unref(l);return f4(m)?m.hasOwnProperty(u)?m[u]:"":(console.warn("getMapStr中的参数:map不是对象"),"")},q$e=(o,l,u,m="id")=>{if(!o||!l)return"";let b=a.unref(l);if(!X9(b))return console.warn("getListStr中的参数:list不是数组"),"";let C=b.find((S,k)=>f4(S)?S[m]==o:!1);return C?C[u]:""},G$e={key:0},K$e={key:1},Y$e={key:2},X$e=a.defineComponent({name:"FieldItem"}),XP=a.defineComponent(Ze(ue({},X$e),{props:{label:{type:String},labelPosition:{type:String},labelWidth:{type:[String,Number]},col:{type:[String,Number]},colon:{type:Boolean,default:!1},blankBackground:{type:Boolean,default:!1},isBoolean:{type:Boolean,default:!1},isFilter:{type:Boolean,default:!1},filterNameKey:{type:String,default:"name"},filterKey:{type:String,default:"id"},filterList:{type:Array,default(){return[]}},isMap:{type:Boolean,default:!1},mapObj:{type:Object,default(){return{}}}},setup(o,{expose:l}){const u=o,m=Hl("zy-fielditem"),b=a.inject("labelPosition"),C=a.inject("labelWidth"),S=a.inject("col"),k=a.inject("colon"),O=a.inject("RegistryItem"),B=a.inject("CancelItem"),{label:P,labelPosition:V,labelWidth:j,col:G,colon:q,isBoolean:U,isFilter:Q,isMap:J,blankBackground:se}=u,H=a.getCurrentInstance();a.onMounted(()=>{O(H)}),a.onBeforeUnmount(()=>{B(H)});const ne=a.ref(""),Ae=()=>{let Qe=[m("filed")];return se||Qe.push(m("filed-withbg")),Qe},pe=a.useSlots(),W=()=>{let Qe=pe.default();if(U&&pe.default){if(Qe.length>0){let M=Qe[0].children;M&&(ne.value=j$e(M))}}else if(Q){let{filterList:M,filterNameKey:Ge,filterKey:Me}=u;if(Qe.length>0){let et=Qe[0].children;et&&(ne.value=q$e(et,M,Ge,Me))}}else if(J){let{mapObj:M}=u;if(Qe.length>0){let Ge=Qe[0].children;Ge&&(ne.value=Z$e(Ge,M))}}};a.watch(u,W),W();const Se=a.computed(()=>V!=null?V:b),Ve=a.computed(()=>j!=null?j:C),Le=a.computed(()=>G!=null?G:S),xe=a.computed(()=>q!=null?q:k),de=a.computed(()=>{let Qe=[m()];return Qe.push(Qe[0]+"-"+Le.value),Se.value=="top"&&Qe.push(Qe[0]+"-tb"),Qe}),yt=a.computed(()=>{if(Se.value=="left")return{width:Ve.value+"px"}}),At=a.computed(()=>{let Qe=[m("label")];return Se.value=="top"&&Qe.push(m("label-online")),Qe});return l({OnFieldsChange:W}),(Qe,M)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(de.value)},[a.createElementVNode("div",{class:a.normalizeClass(At.value),style:a.normalizeStyle(yt.value)},a.toDisplayString(a.unref(P))+a.toDisplayString(xe.value?":":""),7),a.createElementVNode("div",{class:a.normalizeClass(a.unref(m)("ctx"))},[a.createElementVNode("div",{class:a.normalizeClass(Ae())},[a.unref(U)?(a.openBlock(),a.createElementBlock("span",G$e,a.toDisplayString(ne.value),1)):a.unref(Q)?(a.openBlock(),a.createElementBlock("span",K$e,a.toDisplayString(ne.value),1)):a.unref(J)?(a.openBlock(),a.createElementBlock("span",Y$e,a.toDisplayString(ne.value),1)):a.renderSlot(Qe.$slots,"default",{key:3})],2)],2)],2))}}));YP.install=o=>{o.component(YP.name,YP)},XP.install=o=>{o.component(XP.name,XP)};const J$e=a.createElementVNode("i",{class:"zy-font"},"",-1),Q$e=a.defineComponent({name:"TableBtns"}),JP=a.defineComponent(Ze(ue({},Q$e),{props:{maxCount:{type:Number,default:3}},setup(o){const{maxCount:l}=o,u=Hl("zy-tablebtns"),m=a.ref(!1),b=a.useSlots(),C=a.ref(0),S=a.ref(0);let k=b.default();return k.length>l&&(m.value=!0,C.value=l,S.value=k.length-l+1),(O,B)=>{const P=Rse,V=Mse,j=Dse;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(u)())},[m.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(C.value-1,G=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{class:"with-border"}))),256)),a.createVNode(j,{class:a.normalizeClass(a.unref(u)("drop")),trigger:"click"},{dropdown:a.withCtx(()=>[a.createVNode(V,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(S.value,G=>(a.openBlock(),a.createBlock(P,null,{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G+o.maxCount-2]),{key:G}))]),_:2},1024))),256))]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("span",{class:a.normalizeClass(a.unref(u)("more-btn"))},[a.createTextVNode("更多"),J$e],2)]),_:1},8,["class"])],64)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(a.unref(k).length,G=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[G<a.unref(k).length-1?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{key:0,class:"with-border"})):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(k)[G-1]),{key:1}))],64))),256))],2)}}})),eDe=a.defineComponent({name:"TableBtn"}),QP=a.defineComponent(Ze(ue({},eDe),{props:{disabled:{type:Boolean,default:!1},color:{type:String,default:""},type:{type:String,default:"primary"},tip:{type:String}},emits:["click"],setup(o,{emit:l}){const{disabled:u,type:m,tip:b,color:C}=o,S=["primary","success","warning","danger","gray"],k=Hl("zy-tablebtns-btn"),O=a.computed(()=>{let V={};return C&&(V.color=C),V}),B=()=>{let V=[k()];return u?V.push("disabled"):S.includes(m)&&V.push(m),V},P=()=>{u||l("click")};return(V,j)=>{const G=B0;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(B()),onClick:P,style:a.normalizeStyle(O.value)},[o.tip?(a.openBlock(),a.createBlock(G,{key:1,effect:"dark",content:o.tip,placement:"bottom"},{default:a.withCtx(()=>[a.renderSlot(V.$slots,"default")]),_:3},8,["content"])):a.renderSlot(V.$slots,"default",{key:0})],6)}}}));JP.install=o=>{o.component(JP.name,JP)},QP.install=o=>{o.component(QP.name,QP)};const ZRe="",qRe="",GRe="",KRe="",YRe="",tDe={key:1,class:"zy-wrapperpagination"},nDe=a.defineComponent({name:"UserSelectDialog"}),k4=a.defineComponent(Ze(ue({},nDe),{props:{title:{type:String,default:"请选择成员"},multiple:{type:Boolean,default:!0},modelValue:{type:Array,default(){return[]}},loadDataApi:{type:String,required:!0},size:{type:String,default:"default"},optColumnWidth:{type:Number,default:90},appendColumns:{type:Array,default:[]},defaultColumns:{type:Boolean,default:!0},dialogWidth:{type:Number,default:700},withFooter:{type:Boolean,default:!1},searchHoloder:{type:String,default:"成员名或手机号关键字"},canSearch:{type:Boolean,default:!0},showTag:{type:Boolean,default:!1},tagNameKey:{type:String,default:"username"},tagNameClosable:{type:Boolean,default:!0}},emits:["update:modelValue","check-item","cancel-item","select-item","close","open"],setup(o,{expose:l,emit:u}){const m=o,b=Hl("zy-userdialog"),C=a.ref(!1),S=a.ref(""),k=a.reactive({pageIndex:1,pageSize:10,total:0}),O=a.ref([]);let{loadDataApi:B,modelValue:P,canSearch:V}=m;a.watch(m,()=>{j.value=m.modelValue.map(Ve=>ue({},Ve))});const j=a.ref(P),G=a.useSlots(),q=a.computed(()=>O.value.filter(Ve=>m4(j,Ve))),U=a.computed(()=>O.value.length==0?!1:q.value.length==O.value.length),Q=()=>{O.value.length!=0&&(q.value.length==O.value.length?(O.value.forEach(Ve=>{p4(j,Ve)}),u("update:modelValue",j.value)):(O.value.forEach(Ve=>{kP(j,Ve)}),u("update:modelValue",j.value)))},J=()=>{if(!B){console.error("未配置loadDataApi");return}$C(B,{key:S.value},{pageInfo:V?k:null,loading:!1,method:"get"}).then(({data:Ve})=>{O.value=Ve.map(Le=>ue({},Le))})},se=Ve=>!!m4(j,{id:Ve}),H=Ve=>{m4(j,Ve)?(p4(j,Ve),u("update:modelValue",j.value),u("check-item",Ve)):(kP(j,Ve),u("update:modelValue",j.value),u("cancel-item",Ve))},ne=Ve=>{u("select-item",Ve)},Ae=()=>{J()},pe=()=>{k.pageIndex=1,k.total=0,J()},W=()=>{J(),C.value=!0},Se=()=>{C.value=!1};return a.watchPostEffect(()=>{C.value?u("open"):u("close")}),l({open:W,close:Se}),(Ve,Le)=>{const xe=KH,de=EC,yt=JA,At=M0,Qe=uke,M=cke,Ge=s9,Me=fSe;return a.openBlock(),a.createBlock(Me,{modelValue:C.value,"onUpdate:modelValue":Le[2]||(Le[2]=et=>C.value=et),title:o.title,width:o.dialogWidth,"close-on-click-modal":!1},a.createSlots({default:a.withCtx(()=>[o.showTag?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(b)("select-list"))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(j.value,et=>(a.openBlock(),a.createBlock(xe,{key:et.id,class:a.normalizeClass(a.unref(b)("select-tag")),closable:o.tagNameClosable,onClose:dt=>H(et)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(et[o.tagNameKey]),1)]),_:2},1032,["class","closable","onClose"]))),128))],2)):a.createCommentVNode("v-if",!0),a.createElementVNode("div",{class:a.normalizeClass(a.unref(b)("searh-con"))},[a.unref(V)?(a.openBlock(),a.createBlock(yt,{key:0,modelValue:S.value,"onUpdate:modelValue":Le[0]||(Le[0]=et=>S.value=et),style:{width:"300px"},clearable:!0,onClear:pe,placeholder:o.searchHoloder},{append:a.withCtx(()=>[a.createVNode(de,{onClick:pe},{default:a.withCtx(()=>[a.createTextVNode("搜索")]),_:1})]),_:1},8,["modelValue","placeholder"])):a.createCommentVNode("v-if",!0)],2),a.createVNode(M,{data:O.value,style:{width:"100%"},size:o.size,"row-key":"id","empty-text":"暂无数据","header-cell-class-name":"zy-userdialog-table-head","cell-class-name":a.unref(b)("table-cell")},{default:a.withCtx(()=>[o.multiple?(a.openBlock(),a.createBlock(Qe,{key:0,width:"75"},{default:a.withCtx(({row:et})=>[a.createVNode(At,{"model-value":se(et.id),onClick:a.withModifiers(dt=>H(et),["stop","prevent"])},null,8,["model-value","onClick"])]),header:a.withCtx(()=>[a.createVNode(At,{onClick:a.withModifiers(Q,["stop","prevent"]),"model-value":U.value,indeterminate:q.value.length!=0&&q.value.length<O.value.length},null,8,["onClick","model-value","indeterminate"])]),_:1})):a.createCommentVNode("v-if",!0),o.defaultColumns?(a.openBlock(),a.createBlock(Qe,{key:1,prop:"username",label:"成员名"})):a.createCommentVNode("v-if",!0),o.defaultColumns?(a.openBlock(),a.createBlock(Qe,{key:2,prop:"telephone",label:"手机号"})):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.appendColumns,et=>(a.openBlock(),a.createBlock(Qe,{label:et.label,formatter:et.formatter},null,8,["label","formatter"]))),256)),o.multiple?a.createCommentVNode("v-if",!0):(a.openBlock(),a.createBlock(Qe,{key:3,label:"操作",width:o.optColumnWidth},{default:a.withCtx(et=>[a.unref(G)["opt-column"]?a.renderSlot(Ve.$slots,"opt-column",a.normalizeProps(a.mergeProps({key:0},et))):(a.openBlock(),a.createBlock(de,{key:1,type:"primary",size:"small",onClick:dt=>ne(et.row)},{default:a.withCtx(()=>[a.createTextVNode("选择")]),_:2},1032,["onClick"]))]),_:3},8,["width"]))]),_:3},8,["data","size","cell-class-name"]),a.unref(V)?(a.openBlock(),a.createElementBlock("div",tDe,[a.createVNode(Ge,{"page-size":k.pageSize,onCurrentChange:Ae,"current-page":k.pageIndex,"onUpdate:currentPage":Le[1]||(Le[1]=et=>k.pageIndex=et),background:"",layout:"prev, pager, next",total:k.total},null,8,["page-size","current-page","total"])])):a.createCommentVNode("v-if",!0)]),_:2},[a.unref(G).footer?{name:"footer",fn:a.withCtx(()=>[a.renderSlot(Ve.$slots,"footer")]),key:"0"}:void 0,!a.unref(G).footer&&o.withFooter?{name:"footer",fn:a.withCtx(()=>[a.createVNode(de,{type:"primary",onClick:Se},{default:a.withCtx(()=>[a.createTextVNode("确定")]),_:1})]),key:"1"}:void 0]),1032,["modelValue","title","width"])}}})),oDe={class:"el-input__inner"},sDe=a.createElementVNode("div",{class:"el-input__suffix"},[a.createElementVNode("i",{class:"zy-font el-select__arrow"},"")],-1),rDe=a.defineComponent({name:"UserSelect"}),eI=a.defineComponent(Ze(ue({},rDe),{props:{modelValue:{type:Array,default(){return[]}},placeholder:{type:String,default:"请选择成员"},tagNameKey:{type:String,default:"username"}},emits:["check-item","cancel-item","select-item","update:modelValue"],setup(o,{emit:l}){const u=o,m=a.ref(null),b=Hl("zy-userdialog"),{modelValue:C}=u,S=a.ref(C);a.watch(u,()=>{S.value=u.modelValue.map(j=>ue({},j))});const k=j=>{l("check-item",j)},O=j=>{l("cancel-item",j)},B=j=>{l("select-item",j)},P=()=>{m==null||m.value.open()},V=j=>{p4(S,j),l("update:modelValue",S),O(j)};return(j,G)=>{const q=KH;return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",{class:"el-input",onClick:P},[a.createElementVNode("div",{class:a.normalizeClass(["el-input__wrapper",a.unref(b)("select")])},[a.createElementVNode("div",oDe,[a.withDirectives(a.createElementVNode("span",{class:a.normalizeClass(a.unref(b)("select-placeholder"))},a.toDisplayString(o.placeholder),3),[[a.vShow,S.value.length==0]]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(S.value,U=>(a.openBlock(),a.createBlock(q,{key:U.id,class:a.normalizeClass(a.unref(b)("select-tag")),closable:"",onClose:Q=>V(U)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(U[o.tagNameKey]),1)]),_:2},1032,["class","onClose"]))),128))]),sDe],2)]),a.createVNode(k4,a.mergeProps({ref_key:"dialogRef",ref:m},j.$attrs,{modelValue:S.value,tagNameKey:o.tagNameKey,"onUpdate:modelValue":G[0]||(G[0]=U=>l("update:modelValue",U)),onSelectItem:B,onCancelItem:O,onCheckItem:k}),null,16,["modelValue","tagNameKey"])],64)}}}));k4.install=o=>{o.component(k4.name,k4)},eI.install=o=>{o.component(eI.name,eI)};const aDe=a.defineComponent({name:"MultiTip"}),lDe=a.defineComponent(Ze(ue({},aDe),{props:{count:{type:Number,default:0},showZero:{type:Boolean,default:!0},showOptBtn:{type:Boolean,default:!0},emptyOptMessage:{type:String,default:"未选中任何记录"},optText:{type:String,default:"批量操作"}},emits:["removeAll","tapOpt"],setup(o,{emit:l}){const u=o;a.ref(!1);const m=Hl("zy-multi"),b=a.useSlots(),{showZero:C,count:S}=a.toRefs(u),k=a.computed(()=>!!(C.value||S.value>0)),O=a.computed(()=>S.value>0),B=()=>{if(S.value==0){_C({type:"warning",message:u.emptyOptMessage});return}l("tapOpt")},P=()=>{u.count>0&&l("removeAll")};return(V,j)=>{const G=M0,q=EC;return a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(m)())},[a.createVNode(G,{class:a.normalizeClass(a.unref(m)("check")),indeterminate:O.value,modelValue:!1,onClick:a.withModifiers(P,["stop","prevent"])},null,8,["class","indeterminate","onClick"]),a.createElementVNode("span",{class:a.normalizeClass(a.unref(m)("msg"))},[a.createTextVNode(" 已选中"),a.createElementVNode("i",null,a.toDisplayString(u.count),1),a.createTextVNode("条记录")],2),a.unref(b).opt?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(a.unref(m)("opt"))},[a.renderSlot(V.$slots,"opt")],2)):a.createCommentVNode("v-if",!0),!a.unref(b).opt&&o.showOptBtn?(a.openBlock(),a.createBlock(q,{key:1,plain:"",type:"primary",class:a.normalizeClass(a.unref(m)("opt")),onClick:B},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.optText),1)]),_:1},8,["class"])):a.createCommentVNode("v-if",!0)],2)),[[a.vShow,k.value]])}}}));var iDe={exports:{}};(function(o){(function(){var l=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var n=typeof e;return n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},u=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},m=function(e,n){var s=Array.prototype.slice.call(e);return s.sort(n)},b=function(e,n){return C(function(s,i){return e.eq(n(s),n(i))})},C=function(e){return{eq:e}},S=C(function(e,n){return e===n}),k=S,O=function(e){return C(function(n,s){if(n.length!==s.length)return!1;for(var i=n.length,d=0;d<i;d++)if(!e.eq(n[d],s[d]))return!1;return!0})},B=function(e,n){return b(O(e),function(s){return m(s,n)})},P=function(e){return C(function(n,s){var i=Object.keys(n),d=Object.keys(s);if(!B(k).eq(i,d))return!1;for(var h=i.length,v=0;v<h;v++){var T=i[v];if(!e.eq(n[T],s[T]))return!1}return!0})},V=C(function(e,n){if(e===n)return!0;var s=l(e),i=l(n);return s!==i?!1:u(s)?e===n:s==="array"?O(V).eq(e,n):s==="object"?P(V).eq(e,n):!1});const j=Object.getPrototypeOf,G=(e,n,s)=>{var i;return s(e,n.prototype)?!0:((i=e.constructor)===null||i===void 0?void 0:i.name)===n.name},q=e=>{const n=typeof e;return e===null?"null":n==="object"&&Array.isArray(e)?"array":n==="object"&&G(e,String,(s,i)=>i.isPrototypeOf(s))?"string":n},U=e=>n=>q(n)===e,Q=e=>n=>typeof n===e,J=e=>n=>e===n,se=(e,n)=>ne(e)&&G(e,n,(s,i)=>j(s)===i),H=U("string"),ne=U("object"),Ae=e=>se(e,Object),pe=U("array"),W=J(null),Se=Q("boolean"),Ve=J(void 0),Le=e=>e==null,xe=e=>!Le(e),de=Q("function"),yt=Q("number"),At=(e,n)=>{if(pe(e)){for(let s=0,i=e.length;s<i;++s)if(!n(e[s]))return!1;return!0}return!1},Qe=()=>{},M=(e,n)=>(...s)=>e(n.apply(null,s)),Ge=(e,n)=>s=>e(n(s)),Me=e=>()=>e,et=e=>e,dt=(e,n)=>e===n;function Xe(e,...n){return(...s)=>{const i=n.concat(s);return e.apply(null,i)}}const on=e=>n=>!e(n),Kn=e=>()=>{throw new Error(e)},pn=e=>e(),lo=e=>{e()},at=Me(!1),lt=Me(!0);class oe{constructor(n,s){this.tag=n,this.value=s}static some(n){return new oe(!0,n)}static none(){return oe.singletonNone}fold(n,s){return this.tag?s(this.value):n()}isSome(){return this.tag}isNone(){return!this.tag}map(n){return this.tag?oe.some(n(this.value)):oe.none()}bind(n){return this.tag?n(this.value):oe.none()}exists(n){return this.tag&&n(this.value)}forall(n){return!this.tag||n(this.value)}filter(n){return!this.tag||n(this.value)?this:oe.none()}getOr(n){return this.tag?this.value:n}or(n){return this.tag?this:n}getOrThunk(n){return this.tag?this.value:n()}orThunk(n){return this.tag?this:n()}getOrDie(n){if(this.tag)return this.value;throw new Error(n!=null?n:"Called getOrDie on None")}static from(n){return xe(n)?oe.some(n):oe.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(n){this.tag&&n(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}oe.singletonNone=new oe(!1);const wo=Array.prototype.slice,Sn=Array.prototype.indexOf,io=Array.prototype.push,Pn=(e,n)=>Sn.call(e,n),Rs=(e,n)=>{const s=Pn(e,n);return s===-1?oe.none():oe.some(s)},An=(e,n)=>Pn(e,n)>-1,Mo=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];if(n(d,s))return!0}return!1},yn=(e,n)=>{const s=e.length,i=new Array(s);for(let d=0;d<s;d++){const h=e[d];i[d]=n(h,d)}return i},mt=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];n(d,s)}},cr=(e,n)=>{for(let s=e.length-1;s>=0;s--){const i=e[s];n(i,s)}},vs=(e,n)=>{const s=[],i=[];for(let d=0,h=e.length;d<h;d++){const v=e[d];(n(v,d)?s:i).push(v)}return{pass:s,fail:i}},mn=(e,n)=>{const s=[];for(let i=0,d=e.length;i<d;i++){const h=e[i];n(h,i)&&s.push(h)}return s},xr=(e,n,s)=>(cr(e,(i,d)=>{s=n(s,i,d)}),s),Jo=(e,n,s)=>(mt(e,(i,d)=>{s=n(s,i,d)}),s),sr=(e,n,s)=>{for(let i=0,d=e.length;i<d;i++){const h=e[i];if(n(h,i))return oe.some(h);if(s(h,i))break}return oe.none()},zt=(e,n)=>sr(e,n,at),fo=(e,n)=>{for(let s=0,i=e.length;s<i;s++){const d=e[s];if(n(d,s))return oe.some(s)}return oe.none()},Ms=e=>{const n=[];for(let s=0,i=e.length;s<i;++s){if(!pe(e[s]))throw new Error("Arr.flatten item "+s+" was not an array, input: "+e);io.apply(n,e[s])}return n},Ps=(e,n)=>Ms(yn(e,n)),ns=(e,n)=>{for(let s=0,i=e.length;s<i;++s){const d=e[s];if(n(d,s)!==!0)return!1}return!0},gs=e=>{const n=wo.call(e,0);return n.reverse(),n},Vn=(e,n)=>mn(e,s=>!An(n,s)),Tn=(e,n)=>{const s={};for(let i=0,d=e.length;i<d;i++){const h=e[i];s[String(h)]=n(h,i)}return s},$n=(e,n)=>{const s=wo.call(e,0);return s.sort(n),s},No=(e,n)=>n>=0&&n<e.length?oe.some(e[n]):oe.none(),hn=e=>No(e,0),_o=e=>No(e,e.length-1),is=de(Array.from)?Array.from:e=>wo.call(e),xt=(e,n)=>{for(let s=0;s<e.length;s++){const i=n(e[s],s);if(i.isSome())return i}return oe.none()},Gt=(e,n)=>{const s=[],i=de(n)?d=>Mo(s,h=>n(h,d)):d=>An(s,d);for(let d=0,h=e.length;d<h;d++){const v=e[d];i(v)||s.push(v)}return s},fn=Object.keys,Ro=Object.hasOwnProperty,Nt=(e,n)=>{const s=fn(e);for(let i=0,d=s.length;i<d;i++){const h=s[i],v=e[h];n(v,h)}},qn=(e,n)=>Gs(e,(s,i)=>({k:i,v:n(s,i)})),Gs=(e,n)=>{const s={};return Nt(e,(i,d)=>{const h=n(i,d);s[h.k]=h.v}),s},rr=e=>(n,s)=>{e[s]=n},Sr=(e,n,s,i)=>{Nt(e,(d,h)=>{(n(d,h)?s:i)(d,h)})},Ca=(e,n)=>{const s={},i={};return Sr(e,n,rr(s),rr(i)),{t:s,f:i}},Fo=(e,n)=>{const s={};return Sr(e,n,rr(s),Qe),s},oa=(e,n)=>{const s=[];return Nt(e,(i,d)=>{s.push(n(i,d))}),s},fa=e=>oa(e,et),ws=(e,n)=>Gn(e,n)?oe.from(e[n]):oe.none(),Gn=(e,n)=>Ro.call(e,n),Xr=(e,n)=>Gn(e,n)&&e[n]!==void 0&&e[n]!==null,tl=(e,n,s=V)=>P(s).eq(e,n),Wl=e=>{const n={};return mt(e,s=>{n[s]={}}),fn(n)},ii=e=>e.length!==void 0,Ks=Array.isArray,Wr=e=>{if(Ks(e))return e;{const n=[];for(let s=0,i=e.length;s<i;s++)n[s]=e[s];return n}},Ys=(e,n,s)=>{if(!e)return!1;if(s=s||e,ii(e)){for(let i=0,d=e.length;i<d;i++)if(n.call(s,e[i],i,e)===!1)return!1}else for(const i in e)if(Gn(e,i)&&n.call(s,e[i],i,e)===!1)return!1;return!0},jr=(e,n)=>{const s=[];return Ys(e,(i,d)=>{s.push(n(i,d,e))}),s},Al=(e,n)=>{const s=[];return Ys(e,(i,d)=>{(!n||n(i,d,e))&&s.push(i)}),s},Xs=(e,n)=>{if(e){for(let s=0,i=e.length;s<i;s++)if(e[s]===n)return s}return-1},Aa=(e,n,s,i)=>{let d=Ve(s)?e[0]:s;for(let h=0;h<e.length;h++)d=n.call(i,d,e[h],h);return d},Oe=(e,n,s)=>{for(let i=0,d=e.length;i<d;i++)if(n.call(s,e[i],i,e))return i;return-1},Ne=e=>e[e.length-1],pt=e=>{let n=!1,s;return(...i)=>(n||(n=!0,s=e.apply(null,i)),s)},wt=(e,n,s,i)=>{const d=e.isiOS()&&/ipad/i.test(s)===!0,h=e.isiOS()&&!d,v=e.isiOS()||e.isAndroid(),T=v||i("(pointer:coarse)"),A=d||!h&&v&&i("(min-device-width:768px)"),F=h||v&&!A,te=n.isSafari()&&e.isiOS()&&/safari/i.test(s)===!1,Y=!F&&!A&&!te;return{isiPad:Me(d),isiPhone:Me(h),isTablet:Me(A),isPhone:Me(F),isTouch:Me(T),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:Me(te),isDesktop:Me(Y)}},gn=(e,n)=>{for(let s=0;s<e.length;s++){const i=e[s];if(i.test(n))return i}},Fn=(e,n)=>{const s=gn(e,n);if(!s)return{major:0,minor:0};const i=d=>Number(n.replace(s,"$"+d));return To(i(1),i(2))},Bo=(e,n)=>{const s=String(n).toLowerCase();return e.length===0?je():Fn(e,s)},je=()=>To(0,0),To=(e,n)=>({major:e,minor:n}),Co={nu:To,detect:Bo,unknown:je},Es=(e,n)=>xt(n.brands,s=>{const i=s.brand.toLowerCase();return zt(e,d=>{var h;return i===((h=d.brand)===null||h===void 0?void 0:h.toLowerCase())}).map(d=>({current:d.name,version:Co.nu(parseInt(s.version,10),0)}))}),kr=(e,n)=>{const s=String(n).toLowerCase();return zt(e,i=>i.search(s))},Wo=(e,n)=>kr(e,n).map(s=>{const i=Co.detect(s.versionRegexes,n);return{current:s.name,version:i}}),$i=(e,n)=>kr(e,n).map(s=>{const i=Co.detect(s.versionRegexes,n);return{current:s.name,version:i}}),tc=(e,n)=>e.substring(n),Rr=(e,n,s)=>n===""||e.length>=n.length&&e.substr(s,s+n.length)===n,jl=(e,n)=>Lo(e,n)?tc(e,n.length):e,Vo=(e,n,s=0,i)=>{const d=e.indexOf(n,s);return d!==-1?Ve(i)?!0:d+n.length<=i:!1},Lo=(e,n)=>Rr(e,n,0),ma=(e,n)=>Rr(e,n,e.length-n.length),pa=e=>n=>n.replace(e,""),yl=pa(/^\s+|\s+$/g),Ci=pa(/^\s+/g),Si=pa(/\s+$/g),ms=e=>e.length>0,Na=e=>!ms(e),ci=(e,n)=>n<=0?"":new Array(n+1).join(e),Di=(e,n=10)=>{const s=parseInt(e,n);return isNaN(s)?oe.none():oe.some(s)},vl=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Tr=e=>n=>Vo(n,e),tr=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Vo(e,"edge/")&&Vo(e,"chrome")&&Vo(e,"safari")&&Vo(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,vl],search:e=>Vo(e,"chrome")&&!Vo(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Vo(e,"msie")||Vo(e,"trident")},{name:"Opera",versionRegexes:[vl,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Tr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Tr("firefox")},{name:"Safari",versionRegexes:[vl,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Vo(e,"safari")||Vo(e,"mobile/"))&&Vo(e,"applewebkit")}],Ld=[{name:"Windows",search:Tr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Vo(e,"iphone")||Vo(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Tr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Tr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Tr("linux"),versionRegexes:[]},{name:"Solaris",search:Tr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Tr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Tr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],gc={browsers:Me(tr),oses:Me(Ld)},Os="Edge",Sa="Chromium",Ha="IE",_r="Opera",Mc="Firefox",wl="Safari",Ua=()=>Wa({current:void 0,version:Co.unknown()}),Wa=e=>{const n=e.current,s=e.version,i=d=>()=>n===d;return{current:n,version:s,isEdge:i(Os),isChromium:i(Sa),isIE:i(Ha),isOpera:i(_r),isFirefox:i(Mc),isSafari:i(wl)}},nd={unknown:Ua,nu:Wa,edge:Me(Os),chromium:Me(Sa),ie:Me(Ha),opera:Me(_r),firefox:Me(Mc),safari:Me(wl)},bc="Windows",yc="iOS",nl="Android",Zl="Linux",xu="macOS",ql="Solaris",vc="FreeBSD",su="ChromeOS",ge=()=>Ie({current:void 0,version:Co.unknown()}),Ie=e=>{const n=e.current,s=e.version,i=d=>()=>n===d;return{current:n,version:s,isWindows:i(bc),isiOS:i(yc),isAndroid:i(nl),isMacOS:i(xu),isLinux:i(Zl),isSolaris:i(ql),isFreeBSD:i(vc),isChromeOS:i(su)}},qe={unknown:ge,nu:Ie,windows:Me(bc),ios:Me(yc),android:Me(nl),linux:Me(Zl),macos:Me(xu),solaris:Me(ql),freebsd:Me(vc),chromeos:Me(su)},Ht={detect:(e,n,s)=>{const i=gc.browsers(),d=gc.oses(),h=n.bind(A=>Es(i,A)).orThunk(()=>Wo(i,e)).fold(nd.unknown,nd.nu),v=$i(d,e).fold(qe.unknown,qe.nu),T=wt(v,h,e,s);return{browser:h,os:v,deviceType:T}}},Ln=e=>window.matchMedia(e).matches;let As=pt(()=>Ht.detect(navigator.userAgent,oe.from(navigator.userAgentData),Ln));const js=()=>As(),xs=navigator.userAgent,bs=js(),ss=bs.browser,Ba=bs.os,Ei=bs.deviceType,so=xs.indexOf("Windows Phone")!==-1,Qo={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:ss.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!ss.isIE(),windowsPhone:so,browser:{current:ss.current,version:ss.version,isChromium:ss.isChromium,isEdge:ss.isEdge,isFirefox:ss.isFirefox,isIE:ss.isIE,isOpera:ss.isOpera,isSafari:ss.isSafari},os:{current:Ba.current,version:Ba.version,isAndroid:Ba.isAndroid,isChromeOS:Ba.isChromeOS,isFreeBSD:Ba.isFreeBSD,isiOS:Ba.isiOS,isLinux:Ba.isLinux,isMacOS:Ba.isMacOS,isSolaris:Ba.isSolaris,isWindows:Ba.isWindows},deviceType:{isDesktop:Ei.isDesktop,isiPad:Ei.isiPad,isiPhone:Ei.isiPhone,isPhone:Ei.isPhone,isTablet:Ei.isTablet,isTouch:Ei.isTouch,isWebView:Ei.isWebView}},Ea=/^\s*|\s*$/g,Mr=e=>Le(e)?"":(""+e).replace(Ea,""),re=(e,n)=>n?n==="array"&&Ks(e)?!0:typeof e===n:e!==void 0,be=(e,n,s={})=>{const i=H(e)?e.split(n||","):e||[];let d=i.length;for(;d--;)s[i[d]]={};return s},Re=Gn,it=(e,...n)=>{for(let s=0;s<n.length;s++){const i=n[s];for(const d in i)if(Gn(i,d)){const h=i[d];h!==void 0&&(e[d]=h)}}return e},sn=function(e,n,s,i){i=i||this,e&&(s&&(e=e[s]),Ys(e,(d,h)=>n.call(i,d,h,s)===!1?!1:(sn(d,n,s,i),!0)))},$t={trim:Mr,isArray:Ks,is:re,toArray:Wr,makeMap:be,each:Ys,map:jr,grep:Al,inArray:Xs,hasOwn:Re,extend:it,walk:sn,resolve:(e,n=window)=>{const s=e.split(".");for(let i=0,d=s.length;i<d&&(n=n[s[i]],!!n);i++);return n},explode:(e,n)=>pe(e)?e:e===""?[]:jr(e.split(n||","),Mr),_addCacheSuffix:e=>{const n=Qo.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e}},$a=(e,n,s=dt)=>e.exists(i=>s(i,n)),Js=e=>{const n=[],s=i=>{n.push(i)};for(let i=0;i<e.length;i++)e[i].each(s);return n},ta=(e,n,s)=>e.isSome()&&n.isSome()?oe.some(s(e.getOrDie(),n.getOrDie())):oe.none(),od=(e,n,s,i)=>e.isSome()&&n.isSome()&&s.isSome()?oe.some(i(e.getOrDie(),n.getOrDie(),s.getOrDie())):oe.none(),qo=(e,n)=>e?oe.some(n):oe.none(),Ce=typeof window!="undefined"?window:Function("return this;")(),$e=(e,n)=>{let s=n!=null?n:Ce;for(let i=0;i<e.length&&s!==void 0&&s!==null;++i)s=s[e[i]];return s},nt=(e,n)=>{const s=e.split(".");return $e(s,n)},gt=(e,n)=>nt(e,n),vn=(e,n)=>{const s=gt(e,n);if(s==null)throw new Error(e+" not available on this browser");return s},rs=Object.getPrototypeOf,hr=e=>vn("HTMLElement",e),es=e=>{const n=nt("ownerDocument.defaultView",e);return ne(e)&&(hr(n).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(rs(e).constructor.name))},ha=8,Pr=9,nr=11,Nl=1,Cl=3,or=e=>e.dom.nodeName.toLowerCase(),sa=e=>e.dom.nodeType,Zr=e=>n=>sa(n)===e,wc=e=>sa(e)===ha||or(e)==="#comment",nc=e=>ur(e)&&es(e.dom),ur=Zr(Nl),ja=Zr(Cl),Pc=Zr(Pr),Ef=Zr(nr),ku=e=>n=>ur(n)&&or(n)===e,Ic=(e,n,s)=>{if(H(s)||Se(s)||yt(s))e.setAttribute(n,s+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",s,":: Element ",e),new Error("Attribute value was not simple")},ra=(e,n,s)=>{Ic(e.dom,n,s)},Gl=(e,n)=>{const s=e.dom;Nt(n,(i,d)=>{Ic(s,d,i)})},ol=(e,n)=>{const s=e.dom.getAttribute(n);return s===null?void 0:s},Fc=(e,n)=>oe.from(ol(e,n)),sd=(e,n)=>{const s=e.dom;return s&&s.hasAttribute?s.hasAttribute(n):!1},Is=(e,n)=>{e.dom.removeAttribute(n)},oc=e=>{const n=e.dom.attributes;return n==null||n.length===0},Am=e=>Jo(e.dom.attributes,(n,s)=>(n[s.name]=s.value,n),{}),Tu=(e,n)=>{const s=ol(e,n);return s===void 0||s===""?[]:s.split(" ")},xf=(e,n,s)=>{const d=Tu(e,n).concat([s]);return ra(e,n,d.join(" ")),!0},bp=(e,n,s)=>{const i=mn(Tu(e,n),d=>d!==s);return i.length>0?ra(e,n,i.join(" ")):Is(e,n),!1},_u=e=>e.dom.classList!==void 0,Ri=e=>Tu(e,"class"),zd=(e,n)=>xf(e,"class",n),ui=(e,n)=>bp(e,"class",n),Ou=(e,n)=>An(Ri(e),n)?ui(e,n):zd(e,n),ru=(e,n)=>{_u(e)?e.dom.classList.add(n):zd(e,n)},yp=e=>{(_u(e)?e.dom.classList:Ri(e)).length===0&&Is(e,"class")},Lc=(e,n)=>{_u(e)?e.dom.classList.remove(n):ui(e,n),yp(e)},vp=(e,n)=>{const s=_u(e)?e.dom.classList.toggle(n):Ou(e,n);return yp(e),s},Nm=(e,n)=>_u(e)&&e.dom.classList.contains(n),rd=(e,n)=>{const i=(n||document).createElement("div");if(i.innerHTML=e,!i.hasChildNodes()||i.childNodes.length>1){const d="HTML does not have a single root node";throw console.error(d,e),new Error(d)}return Vd(i.childNodes[0])},wp=(e,n)=>{const i=(n||document).createElement(e);return Vd(i)},Cp=(e,n)=>{const i=(n||document).createTextNode(e);return Vd(i)},Vd=e=>{if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},Be={fromHtml:rd,fromTag:wp,fromText:Cp,fromDom:Vd,fromPoint:(e,n,s)=>oe.from(e.dom.elementFromPoint(n,s)).map(Vd)},Sp=(e,n)=>{const s=[],i=h=>(s.push(h),n(h));let d=n(e);do d=d.bind(i);while(d.isSome());return s},di=(e,n)=>{const s=e.dom;if(s.nodeType!==Nl)return!1;{const i=s;if(i.matches!==void 0)return i.matches(n);if(i.msMatchesSelector!==void 0)return i.msMatchesSelector(n);if(i.webkitMatchesSelector!==void 0)return i.webkitMatchesSelector(n);if(i.mozMatchesSelector!==void 0)return i.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")}},Eh=e=>e.nodeType!==Nl&&e.nodeType!==Pr&&e.nodeType!==nr||e.childElementCount===0,$1=(e,n)=>{const s=n===void 0?document:n.dom;return Eh(s)?[]:yn(s.querySelectorAll(e),Be.fromDom)},D1=(e,n)=>{const s=n===void 0?document:n.dom;return Eh(s)?oe.none():oe.from(s.querySelector(e)).map(Be.fromDom)},Vs=(e,n)=>e.dom===n.dom,sc=(e,n)=>{const s=e.dom,i=n.dom;return s===i?!1:s.contains(i)},Sl=e=>Be.fromDom(e.dom.ownerDocument),Au=e=>Pc(e)?e:Sl(e),ad=e=>Be.fromDom(Au(e).dom.documentElement),kf=e=>Be.fromDom(Au(e).dom.defaultView),xi=e=>oe.from(e.dom.parentNode).map(Be.fromDom),Ep=e=>oe.from(e.dom.parentElement).map(Be.fromDom),Bm=(e,n)=>{const s=de(n)?n:at;let i=e.dom;const d=[];for(;i.parentNode!==null&&i.parentNode!==void 0;){const h=i.parentNode,v=Be.fromDom(h);if(d.push(v),s(v)===!0)break;i=h}return d},xp=e=>{const n=s=>mn(s,i=>!Vs(e,i));return xi(e).map(sl).map(n).getOr([])},zc=e=>oe.from(e.dom.previousSibling).map(Be.fromDom),Hd=e=>oe.from(e.dom.nextSibling).map(Be.fromDom),Mg=e=>gs(Sp(e,zc)),Mi=e=>Sp(e,Hd),sl=e=>yn(e.dom.childNodes,Be.fromDom),ld=(e,n)=>{const s=e.dom.childNodes;return oe.from(s[n]).map(Be.fromDom)},Tf=e=>ld(e,0),Pi=e=>ld(e,e.dom.childNodes.length-1),fi=e=>e.dom.childNodes.length,xh=e=>e.dom.hasChildNodes(),Pg=e=>{const n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return Be.fromDom(n)},_f=e=>Ef(e)&&xe(e.dom.host),$m=de(Element.prototype.attachShadow)&&de(Node.prototype.getRootNode),kh=Me($m),au=$m?e=>Be.fromDom(e.dom.getRootNode()):Au,kp=e=>_f(e)?e:Pg(Au(e)),IC=e=>_f(e)?e:Be.fromDom(Au(e).dom.body),R1=e=>{const n=au(e);return _f(n)?oe.some(n):oe.none()},Th=e=>Be.fromDom(e.dom.host),Of=e=>{if(kh()&&xe(e.target)){const n=Be.fromDom(e.target);if(ur(n)&&Ig(n)&&e.composed&&e.composedPath){const s=e.composedPath();if(s)return hn(s)}}return oe.from(e.target)},Ig=e=>xe(e.dom.shadowRoot),Nu=e=>{const n=ja(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;const s=n.ownerDocument;return R1(Be.fromDom(n)).fold(()=>s.body.contains(n),Ge(Nu,Th))};var z=(e,n,s,i,d)=>e(s,i)?oe.some(s):de(d)&&d(s)?oe.none():n(s,i,d);const X=(e,n,s)=>{let i=e.dom;const d=de(s)?s:at;for(;i.parentNode;){i=i.parentNode;const h=Be.fromDom(i);if(n(h))return oe.some(h);if(d(h))break}return oe.none()},me=(e,n,s)=>z((d,h)=>h(d),X,e,n,s),Fe=(e,n)=>{const s=e.dom;return s.parentNode?He(Be.fromDom(s.parentNode),i=>!Vs(e,i)&&n(i)):oe.none()},He=(e,n)=>{const s=d=>n(Be.fromDom(d));return zt(e.dom.childNodes,s).map(Be.fromDom)},Ft=(e,n)=>{const s=i=>{for(let d=0;d<i.childNodes.length;d++){const h=Be.fromDom(i.childNodes[d]);if(n(h))return oe.some(h);const v=s(i.childNodes[d]);if(v.isSome())return v}return oe.none()};return s(e.dom)},to=(e,n,s)=>X(e,i=>di(i,n),s),So=(e,n)=>D1(n,e),Eo=(e,n,s)=>z((d,h)=>di(d,h),to,e,n,s),mo=e=>Eo(e,"[contenteditable]"),Nn=(e,n=!1)=>Nu(e)?e.dom.isContentEditable:mo(e).fold(Me(n),s=>qr(s)==="true"),qr=e=>e.dom.contentEditable,rl=e=>e.style!==void 0&&de(e.style.getPropertyValue),M1=(e,n,s)=>{if(!H(s))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",s,":: Element ",e),new Error("CSS value must be a string: "+s);rl(e)&&e.style.setProperty(n,s)},_h=(e,n)=>{rl(e)&&e.style.removeProperty(n)},Fg=(e,n,s)=>{const i=e.dom;M1(i,n,s)},Lg=(e,n)=>{const s=e.dom;Nt(n,(i,d)=>{M1(s,d,i)})},Za=(e,n)=>{const s=e.dom,d=window.getComputedStyle(s).getPropertyValue(n);return d===""&&!Nu(e)?mi(s,n):d},mi=(e,n)=>rl(e)?e.style.getPropertyValue(n):"",Ii=(e,n)=>{const s=e.dom,i=mi(s,n);return oe.from(i).filter(d=>d.length>0)},Kl=e=>{const n={},s=e.dom;if(rl(s))for(let i=0;i<s.style.length;i++){const d=s.style.item(i);n[d]=s.style[d]}return n},zg=(e,n)=>{const s=e.dom;_h(s,n),$a(Fc(e,"style").map(yl),"")&&Is(e,"style")},Jr=e=>e.dom.offsetWidth,Fi=(e,n)=>{xi(e).each(i=>{i.dom.insertBefore(n.dom,e.dom)})},Cc=(e,n)=>{Hd(e).fold(()=>{xi(e).each(d=>{ga(d,n)})},i=>{Fi(i,n)})},Tp=(e,n)=>{Tf(e).fold(()=>{ga(e,n)},i=>{e.dom.insertBefore(n.dom,i.dom)})},ga=(e,n)=>{e.dom.appendChild(n.dom)},U0=(e,n)=>{Fi(e,n),ga(n,e)},P1=(e,n)=>{mt(n,(s,i)=>{const d=i===0?e:n[i-1];Cc(d,s)})},gr=(e,n)=>{mt(n,s=>{ga(e,s)})},id=e=>{e.dom.textContent="",mt(sl(e),n=>{Ns(n)})},Ns=e=>{const n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},ki=e=>{const n=sl(e);n.length>0&&P1(e,n),Ns(e)},Af=(e,n)=>{const i=(n||document).createElement("div");return i.innerHTML=e,sl(Be.fromDom(i))},Nf=e=>yn(e,Be.fromDom),Dm=e=>e.dom.innerHTML,Ho=(e,n)=>{const i=Sl(e).dom,d=Be.fromDom(i.createDocumentFragment()),h=Af(n,i);gr(d,h),id(e),ga(e,d)},Vg=e=>{const n=Be.fromTag("div"),s=Be.fromDom(e.dom.cloneNode(!0));return ga(n,s),Dm(n)},Hg=(e,n,s,i,d,h,v)=>({target:e,x:n,y:s,stop:i,prevent:d,kill:h,raw:v}),FC=e=>{const n=Be.fromDom(Of(e).getOr(e.target)),s=()=>e.stopPropagation(),i=()=>e.preventDefault(),d=M(i,s);return Hg(n,e.clientX,e.clientY,s,i,d,e)},Mx=(e,n)=>s=>{e(s)&&n(FC(s))},Ug=(e,n,s,i,d)=>{const h=Mx(s,i);return e.dom.addEventListener(n,h,d),{unbind:Xe(LC,e,n,h,d)}},Oh=(e,n,s,i)=>Ug(e,n,s,i,!1),LC=(e,n,s,i)=>{e.dom.removeEventListener(n,s,i)},cd=(e,n)=>({left:e,top:n,translate:(i,d)=>cd(e+i,n+d)}),Rm=cd,zC=e=>{const n=e.getBoundingClientRect();return Rm(n.left,n.top)},Ah=(e,n)=>e!==void 0?e:n!==void 0?n:0,Ud=e=>{const n=e.dom.ownerDocument,s=n.body,i=n.defaultView,d=n.documentElement;if(s===e.dom)return Rm(s.offsetLeft,s.offsetTop);const h=Ah(i==null?void 0:i.pageYOffset,d.scrollTop),v=Ah(i==null?void 0:i.pageXOffset,d.scrollLeft),T=Ah(d.clientTop,s.clientTop),A=Ah(d.clientLeft,s.clientLeft);return I1(e).translate(v-A,h-T)},I1=e=>{const n=e.dom,i=n.ownerDocument.body;return i===n?Rm(i.offsetLeft,i.offsetTop):Nu(e)?zC(n):Rm(0,0)},Bu=e=>{const n=e!==void 0?e.dom:document,s=n.body.scrollLeft||n.documentElement.scrollLeft,i=n.body.scrollTop||n.documentElement.scrollTop;return Rm(s,i)},Bf=(e,n)=>{js().browser.isSafari()&&de(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},VC=e=>{const n=e===void 0?window:e;return js().browser.isFirefox()?oe.none():oe.from(n.visualViewport)},Wg=(e,n,s,i)=>({x:e,y:n,width:s,height:i,right:e+s,bottom:n+i}),F1=e=>{const n=e===void 0?window:e,s=n.document,i=Bu(Be.fromDom(s));return VC(n).fold(()=>{const d=n.document.documentElement,h=d.clientWidth,v=d.clientHeight;return Wg(i.left,i.top,h,v)},d=>Wg(Math.max(d.pageLeft,i.left),Math.max(d.pageTop,i.top),d.width,d.height))},L1=(e,n)=>mn(sl(e),n),z1=(e,n)=>{let s=[];return mt(sl(e),i=>{n(i)&&(s=s.concat([i])),s=s.concat(z1(i,n))}),s},Bl=(e,n)=>$1(n,e),jg=(e,n,s)=>to(e,n,s).isSome();class Da{constructor(n,s){this.node=n,this.rootNode=s,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(n){return this.node=this.findSibling(this.node,"firstChild","nextSibling",n),this.node}prev(n){return this.node=this.findSibling(this.node,"lastChild","previousSibling",n),this.node}prev2(n){return this.node=this.findPreviousNode(this.node,n),this.node}findSibling(n,s,i,d){if(n){if(!d&&n[s])return n[s];if(n!==this.rootNode){let h=n[i];if(h)return h;for(let v=n.parentNode;v&&v!==this.rootNode;v=v.parentNode)if(h=v[i],h)return h}}}findPreviousNode(n,s){if(n){const i=n.previousSibling;if(this.rootNode&&i===this.rootNode)return;if(i){if(!s){for(let h=i.lastChild;h;h=h.lastChild)if(!h.lastChild)return h}return i}const d=n.parentNode;if(d&&d!==this.rootNode)return d}}}const Yl=e=>n=>!!n&&n.nodeType===e,Un=e=>!!e&&!Object.getPrototypeOf(e),cn=Yl(1),_p=e=>{const n=e.toLowerCase();return s=>xe(s)&&s.nodeName.toLowerCase()===n},Vc=e=>{const n=e.map(s=>s.toLowerCase());return s=>{if(s&&s.nodeName){const i=s.nodeName.toLowerCase();return An(n,i)}return!1}},Op=(e,n)=>{const s=n.toLowerCase().split(" ");return i=>{if(cn(i)){const d=i.ownerDocument.defaultView;if(d)for(let h=0;h<s.length;h++){const v=d.getComputedStyle(i,null);if((v?v.getPropertyValue(e):null)===s[h])return!0}}return!1}},Nh=e=>n=>cn(n)&&n.hasAttribute(e),Sc=(e,n)=>s=>cn(s)&&s.getAttribute(e)===n,Ec=e=>cn(e)&&e.hasAttribute("data-mce-bogus"),Ap=e=>cn(e)&&e.getAttribute("data-mce-bogus")==="all",Qr=e=>cn(e)&&e.tagName==="TABLE",Np=e=>n=>!!(cn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e)),Bh=Vc(["textarea","input"]),Vt=Yl(3),HC=Yl(4),UC=Yl(7),rc=Yl(8),Bp=Yl(9),$f=Yl(11),Gr=_p("br"),W0=_p("img"),Qs=Np("true"),Fs=Np("false"),Xl=Vc(["td","th"]),$p=Vc(["td","th","caption"]),xa=Vc(["video","audio","object","embed"]),Mm=_p("li"),al=_p("details"),Ti=_p("summary"),Wd="\uFEFF",St=" ",Li=e=>e===Wd,j0=e=>e.replace(/\uFEFF/g,""),lu=((e,n)=>{const s=h=>{if(!e(h))throw new Error("Can only get "+n+" value of a "+n+" node");return i(h).getOr("")},i=h=>e(h)?oe.from(h.dom.nodeValue):oe.none();return{get:s,getOption:i,set:(h,v)=>{if(!e(h))throw new Error("Can only set raw "+n+" value of a "+n+" node");h.dom.nodeValue=v}}})(ja,"text"),Zg=e=>lu.get(e),xc=e=>lu.getOption(e),WC=(e,n)=>lu.set(e,n),Df=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],V1=["td","th"],kc=["thead","tbody","tfoot"],Bs=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],ud=["h1","h2","h3","h4","h5","h6"],$h=["li","dd","dt"],Jl=["ul","ol","dl"],qg=["pre","script","textarea","style"],Rf=["pre"].concat(ud),jd=e=>{let n;return s=>(n=n||Tn(e,lt),Gn(n,or(s)))},ba=jd(Df),Gg=e=>or(e)==="table",st=e=>ur(e)&&!ba(e),Ql=e=>ur(e)&&or(e)==="br",Dh=jd(Bs),_i=jd(Jl),pi=jd($h),El=jd(kc),aa=jd(V1),Kg=jd(qg),Mf=jd(Rf),Pf=e=>Mf(e)||st(e),Xn=e=>{const n=[];let s=e.dom;for(;s;)n.push(Be.fromDom(s)),s=s.lastChild;return n},Px=e=>{const n=Bl(e,"br"),s=mn(Xn(e).slice(-1),Ql);n.length===s.length&&mt(s,Ns)},$=()=>{const e=Be.fromTag("br");return ra(e,"data-mce-bogus","1"),e},I=e=>{id(e),ga(e,$())},ie=e=>{Pi(e).each(n=>{zc(n).each(s=>{ba(e)&&Ql(n)&&ba(s)&&Ns(n)})})},ye=Wd,ze=Li,Ct=j0,Lt=cn,an=Vt,Qn=e=>(an(e)&&(e=e.parentNode),Lt(e)&&e.hasAttribute("data-mce-caret")),ro=e=>an(e)&&ze(e.data),Hs=e=>Qn(e)||ro(e),ks=e=>e.firstChild!==e.lastChild||!Gr(e.firstChild),Ir=(e,n)=>{var s;const d=((s=e.ownerDocument)!==null&&s!==void 0?s:document).createTextNode(ye),h=e.parentNode;if(n){const v=e.previousSibling;if(an(v)){if(Hs(v))return v;if(Pm(v))return v.splitText(v.data.length-1)}h==null||h.insertBefore(d,e)}else{const v=e.nextSibling;if(an(v)){if(Hs(v))return v;if(zi(v))return v.splitText(1),v}e.nextSibling?h==null||h.insertBefore(d,e.nextSibling):h==null||h.appendChild(d)}return d},ei=e=>{const n=e.container();return Vt(n)?n.data.charAt(e.offset())===ye||e.isAtStart()&&ro(n.previousSibling):!1},Hc=e=>{const n=e.container();return Vt(n)?n.data.charAt(e.offset()-1)===ye||e.isAtEnd()&&ro(n.nextSibling):!1},Zd=(e,n,s)=>{var i;const h=((i=n.ownerDocument)!==null&&i!==void 0?i:document).createElement(e);h.setAttribute("data-mce-caret",s?"before":"after"),h.setAttribute("data-mce-bogus","all"),h.appendChild($().dom);const v=n.parentNode;return s?v==null||v.insertBefore(h,n):n.nextSibling?v==null||v.insertBefore(h,n.nextSibling):v==null||v.appendChild(h),h},zi=e=>an(e)&&e.data[0]===ye,Pm=e=>an(e)&&e.data[e.data.length-1]===ye,Yg=e=>{var n;const s=e.getElementsByTagName("br"),i=s[s.length-1];Ec(i)&&((n=i.parentNode)===null||n===void 0||n.removeChild(i))},Im=e=>e&&e.hasAttribute("data-mce-caret")?(Yg(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,If=e=>Qn(e.startContainer),ka=Qs,Uc=Fs,qd=Gr,Fm=Vt,Z0=Vc(["script","style","textarea"]),zo=Vc(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Fr=Vc(["table"]),$l=Hs,la=e=>$l(e)?!1:Fm(e)?!Z0(e.parentNode):zo(e)||qd(e)||Fr(e)||dd(e),Gd=e=>cn(e)&&e.getAttribute("unselectable")==="true",dd=e=>!Gd(e)&&Uc(e),$u=(e,n)=>{for(let s=e.parentNode;s&&s!==n;s=s.parentNode){if(dd(s))return!1;if(ka(s))return!0}return!0},ac=e=>dd(e)?!Jo(is(e.getElementsByTagName("*")),(n,s)=>n||ka(s),!1):!1,Ix=e=>zo(e)||ac(e),Dp=(e,n)=>la(e)&&$u(e,n),Xg=/^[ \t\r\n]*$/,Du=e=>Xg.test(e),Fx=e=>{for(const n of e)if(!Li(n))return!1;return!0},H1=e=>" \f \v".indexOf(e)!==-1,jC=e=>e===`
|
|
72
72
|
`||e==="\r",ZC=(e,n)=>n<e.length&&n>=0?jC(e[n]):!1,ya=(e,n=4,s=!0,i=!0)=>{const d=ci(" ",n),h=e.replace(/\t/g,d);return Jo(h,(T,A)=>H1(A)||A===St?T.pcIsSpace||T.str===""&&s||T.str.length===h.length-1&&i||ZC(h,T.str.length+1)?{pcIsSpace:!1,str:T.str+St}:{pcIsSpace:!0,str:T.str+" "}:{pcIsSpace:jC(A),str:T.str+A},{pcIsSpace:!1,str:""}).str},Lx=(e,n)=>{const s=Be.fromDom(n),i=Be.fromDom(e);return jg(i,"pre,code",Xe(Vs,s))},Ff=(e,n)=>Vt(e)&&Du(e.data)&&!Lx(e,n),Jg=e=>cn(e)&&e.nodeName==="A"&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id")),Kd=(e,n)=>la(e)&&!Ff(e,n)||Jg(e)||Yd(e),Yd=Nh("data-mce-bookmark"),iu=Nh("data-mce-bogus"),Qg=Sc("data-mce-bogus","all"),U1=(e,n)=>{let s=0;if(Kd(e,e))return!1;{let i=e.firstChild;if(!i)return!0;const d=new Da(i,e);do{if(n){if(Qg(i)){i=d.next(!0);continue}if(iu(i)){i=d.next();continue}}if(Gr(i)){s++,i=d.next();continue}if(Kd(i,e))return!1;i=d.next()}while(i);return s<=1}},ll=(e,n=!0)=>U1(e.dom,n),Rp="data-mce-block",qC=e=>mn(fn(e),n=>!/[A-Z]/.test(n)),Rh=e=>qC(e).join(","),eb=(e,n)=>xe(n.querySelector(e))?(n.setAttribute(Rp,"true"),n.getAttribute("data-mce-selected")==="inline-boundary"&&n.removeAttribute("data-mce-selected"),!0):(n.removeAttribute(Rp),!1),GC=(e,n)=>{const s=Rh(e.getTransparentElements()),i=Rh(e.getBlockElements());return mn(n.querySelectorAll(s),d=>eb(i,d))},Mh=(e,n)=>{var s;const i=n?"lastChild":"firstChild";for(let d=e[i];d;d=d[i])if(ll(Be.fromDom(d))){(s=d.parentNode)===null||s===void 0||s.removeChild(d);return}},Lm=(e,n)=>{const s=document.createRange(),i=e.parentNode;if(i){s.setStartBefore(e),s.setEndBefore(n);const d=s.extractContents();Mh(d,!0),s.setStartAfter(n),s.setEndAfter(e);const h=s.extractContents();Mh(h,!1),ll(Be.fromDom(d))||i.insertBefore(d,e),ll(Be.fromDom(n))||i.insertBefore(n,e),ll(Be.fromDom(h))||i.insertBefore(h,e),i.removeChild(e)}},Tc=(e,n,s)=>{const i=e.getBlockElements(),d=Be.fromDom(n),h=T=>or(T)in i,v=T=>Vs(T,d);mt(Nf(s),T=>{X(T,h,v).each(A=>{const F=L1(T,te=>h(te)&&!e.isValidChild(or(A),or(te)));if(F.length>0){const te=Ep(A);mt(F,Y=>{X(Y,h,v).each(ce=>{Lm(ce.dom,Y.dom)})}),te.each(Y=>GC(e,Y.dom))}})})},zm=(e,n,s)=>{mt([...s,...Mp(e,n)?[n]:[]],i=>mt(Bl(Be.fromDom(i),i.nodeName.toLowerCase()),d=>{Vx(e,d.dom)&&ki(d)}))},Lf=(e,n)=>{const s=GC(e,n);Tc(e,n,s),zm(e,n,s)},KC=(e,n)=>{if(tb(e,n)){const s=Rh(e.getBlockElements());eb(s,n)}},zx=(e,n,s)=>{const i=h=>Vs(h,Be.fromDom(n)),d=Bm(Be.fromDom(s),i);No(d,d.length-2).filter(ur).fold(()=>Lf(e,n),h=>Lf(e,h.dom))},W1=e=>e.hasAttribute(Rp),j1=(e,n)=>Gn(e.getTransparentElements(),n),tb=(e,n)=>cn(n)&&j1(e,n.nodeName),Mp=(e,n)=>tb(e,n)&&W1(n),Vx=(e,n)=>tb(e,n)&&!W1(n),q0=(e,n)=>n.type===1&&j1(e,n.name)&&H(n.attr(Rp)),$s=(e,n)=>n.type===1&&j1(e,n.name)&&Ve(n.attr(Rp)),zn=js().browser,Pp=e=>zt(e,ur),YC=e=>zn.isFirefox()&&or(e)==="table"?Pp(sl(e)).filter(n=>or(n)==="caption").bind(n=>Pp(Mi(n)).map(s=>{const i=s.dom.offsetTop,d=n.dom.offsetTop,h=n.dom.offsetHeight;return i<=d?-h:0})).getOr(0):0,Z1=(e,n)=>e.children&&An(e.children,n),Hx=(e,n,s)=>{let i=0,d=0;const h=e.ownerDocument;if(s=s||e,n){if(s===e&&n.getBoundingClientRect&&Za(Be.fromDom(e),"position")==="static"){const T=n.getBoundingClientRect();return i=T.left+(h.documentElement.scrollLeft||e.scrollLeft)-h.documentElement.clientLeft,d=T.top+(h.documentElement.scrollTop||e.scrollTop)-h.documentElement.clientTop,{x:i,y:d}}let v=n;for(;v&&v!==s&&v.nodeType&&!Z1(v,s);){const T=v;i+=T.offsetLeft||0,d+=T.offsetTop||0,v=T.offsetParent}for(v=n.parentNode;v&&v!==s&&v.nodeType&&!Z1(v,s);)i-=v.scrollLeft||0,d-=v.scrollTop||0,v=v.parentNode;d+=YC(Be.fromDom(n))}return{x:i,y:d}},XC=(e,n={})=>{let s=0;const i={},d=Be.fromDom(e),h=Au(d),v=ve=>{n.referrerPolicy=ve},T=ve=>{n.contentCssCors=ve},A=ve=>{ga(kp(d),ve)},F=ve=>{const Te=kp(d);So(Te,"#"+ve).each(Ns)},te=ve=>ws(i,ve).getOrThunk(()=>({id:"mce-u"+s++,passed:[],failed:[],count:0})),Y=ve=>new Promise((Te,We)=>{let Ye;const Je=$t._addCacheSuffix(ve),rt=te(Je);i[Je]=rt,rt.count++;const Bt=(Tt,Jt)=>{mt(Tt,lo),rt.status=Jt,rt.passed=[],rt.failed=[],Ye&&(Ye.onload=null,Ye.onerror=null,Ye=null)},Dn=()=>Bt(rt.passed,2),Pt=()=>Bt(rt.failed,3);if(Te&&rt.passed.push(Te),We&&rt.failed.push(We),rt.status===1)return;if(rt.status===2){Dn();return}if(rt.status===3){Pt();return}rt.status=1;const bt=Be.fromTag("link",h.dom);Gl(bt,{rel:"stylesheet",type:"text/css",id:rt.id}),n.contentCssCors&&ra(bt,"crossOrigin","anonymous"),n.referrerPolicy&&ra(bt,"referrerpolicy",n.referrerPolicy),Ye=bt.dom,Ye.onload=Dn,Ye.onerror=Pt,A(bt),ra(bt,"href",Je)}),ce=ve=>Promise.allSettled(yn(ve,We=>Y(We).then(Me(We)))).then(We=>{const Ye=vs(We,Je=>Je.status==="fulfilled");return Ye.fail.length>0?Promise.reject(yn(Ye.fail,Je=>Je.reason)):yn(Ye.pass,Je=>Je.value)}),ke=ve=>{const Te=$t._addCacheSuffix(ve);ws(i,Te).each(We=>{--We.count===0&&(delete i[Te],F(We.id))})};return{load:Y,loadAll:ce,unload:ke,unloadAll:ve=>{mt(ve,Te=>{ke(Te)})},_setReferrerPolicy:v,_setContentCssCors:T}},q1=(()=>{const e=new WeakMap;return{forElement:(s,i)=>{const h=au(s).dom;return oe.from(e.get(h)).getOrThunk(()=>{const v=XC(h,i);return e.set(h,v),v})}}})(),T4=e=>e.nodeName.toLowerCase()==="span",nb=(e,n)=>xe(e)&&(Kd(e,n)||st(Be.fromDom(e))),Dt=(e,n)=>{const s=new Da(e,n).prev(!1),i=new Da(e,n).next(!1),d=Ve(s)||nb(s,n),h=Ve(i)||nb(i,n);return d&&h},Ph=e=>T4(e)&&e.getAttribute("data-mce-type")==="bookmark",_4=(e,n)=>Vt(e)&&e.data.length>0&&Dt(e,n),G0=e=>cn(e)?e.childNodes.length>0:!1,O4=e=>$f(e)||Bp(e),Ip=(e,n,s)=>{var i;const d=s||n;if(cn(n)&&Ph(n))return n;const h=n.childNodes;for(let v=h.length-1;v>=0;v--)Ip(e,h[v],d);if(cn(n)){const v=n.childNodes;v.length===1&&Ph(v[0])&&((i=n.parentNode)===null||i===void 0||i.insertBefore(v[0],n))}return!O4(n)&&!Kd(n,d)&&!G0(n)&&!_4(n,d)&&e.remove(n),n},JC=$t.makeMap,zf=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,K0=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ob=/[<>&\"\']/g,zr=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,fd={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},Ih={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},Xd={"<":"<",">":">","&":"&",""":'"',"'":"'"},Y0=e=>{const n=Be.fromTag("div").dom;return n.innerHTML=e,n.textContent||n.innerText||e},sb=(e,n)=>{const s={};if(e){const i=e.split(",");n=n||10;for(let d=0;d<i.length;d+=2){const h=String.fromCharCode(parseInt(i[d],n));if(!Ih[h]){const v="&"+i[d+1]+";";s[h]=v,s[v]=h}}return s}else return},Fp=sb("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),QC=(e,n)=>e.replace(n?zf:K0,s=>Ih[s]||s),A4=e=>(""+e).replace(ob,n=>Ih[n]||n),Ux=(e,n)=>e.replace(n?zf:K0,s=>s.length>1?"&#"+((s.charCodeAt(0)-55296)*1024+(s.charCodeAt(1)-56320)+65536)+";":Ih[s]||"&#"+s.charCodeAt(0)+";"),X0=(e,n,s)=>{const i=s||Fp;return e.replace(n?zf:K0,d=>Ih[d]||i[d]||d)},Lp={encodeRaw:QC,encodeAllRaw:A4,encodeNumeric:Ux,encodeNamed:X0,getEncodeFunc:(e,n)=>{const s=sb(n)||Fp,i=(v,T)=>v.replace(T?zf:K0,A=>Ih[A]!==void 0?Ih[A]:s[A]!==void 0?s[A]:A.length>1?"&#"+((A.charCodeAt(0)-55296)*1024+(A.charCodeAt(1)-56320)+65536)+";":"&#"+A.charCodeAt(0)+";"),d=(v,T)=>X0(v,T,s),h=JC(e.replace(/\+/g,","));return h.named&&h.numeric?i:h.named?n?d:X0:h.numeric?Ux:QC},decode:e=>e.replace(zr,(n,s)=>s?(s.charAt(0).toLowerCase()==="x"?s=parseInt(s.substr(1),16):s=parseInt(s,10),s>65535?(s-=65536,String.fromCharCode(55296+(s>>10),56320+(s&1023))):fd[s]||String.fromCharCode(s)):Xd[n]||Fp[n]||Y0(n))},J0={},zp={},En={},rb=$t.makeMap,hi=$t.each,eS=$t.extend,G1=$t.explode,B4=$t.inArray,ti=(e,n)=>(e=$t.trim(e),e?e.split(n||" "):[]),md=(e,n={})=>{const s=rb(e," ",rb(e.toUpperCase()," "));return eS(s,n)},Vf=e=>md("td th li dt dd figcaption caption details summary",e.getTextBlockElements()),$4=e=>{const n={};let s,i,d,h;const v=(A,F="",te="")=>{const Y=ti(te),ce=ti(A);let ke=ce.length;for(;ke--;){const _e=ti([s,F].join(" "));n[ce[ke]]={attributes:Tn(_e,()=>({})),attributesOrder:_e,children:Tn(Y,Me(En))}}},T=(A,F)=>{const te=ti(A),Y=ti(F);let ce=te.length;for(;ce--;){const ke=n[te[ce]];for(let _e=0,ve=Y.length;_e<ve;_e++)ke.attributes[Y[_e]]={},ke.attributesOrder.push(Y[_e])}};if(J0[e])return J0[e];if(s="id accesskey class dir lang style tabindex title role",i="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",d="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment",e!=="html4"){const A="a ins del canvas map";s+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",i+=" article aside details dialog figure main header footer hgroup section nav "+A,d+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"}if(e!=="html5-strict"){s+=" xml:lang";const A="acronym applet basefont big font strike tt";d=[d,A].join(" "),hi(ti(A),te=>{v(te,"",d)});const F="center dir isindex noframes";i=[i,F].join(" "),h=[i,d].join(" "),hi(ti(F),te=>{v(te,"",h)})}return h=h||[i,d].join(" "),v("html","manifest","head body"),v("head","","base command link meta noscript script style title"),v("title hr noscript br"),v("base","href target"),v("link","href rel media hreflang type sizes hreflang"),v("meta","name http-equiv content charset"),v("style","media type scoped"),v("script","src async defer type charset"),v("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",h),v("dd div","",h),v("address dt caption","",e==="html4"?d:h),v("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",d),v("blockquote","cite",h),v("ol","reversed start type","li"),v("ul","","li"),v("li","value",h),v("dl","","dt dd"),v("a","href target rel media hreflang type",e==="html4"?d:h),v("q","cite",d),v("ins del","cite datetime",h),v("img","src sizes srcset alt usemap ismap width height"),v("iframe","src name width height",h),v("embed","src type width height"),v("object","data type typemustmatch name usemap form width height",[h,"param"].join(" ")),v("param","name value"),v("map","name",[h,"area"].join(" ")),v("area","alt coords shape href target rel media hreflang type"),v("table","border","caption colgroup thead tfoot tbody tr"+(e==="html4"?" col":"")),v("colgroup","span","col"),v("col","span"),v("tbody thead tfoot","","tr"),v("tr","","td th"),v("td","colspan rowspan headers",h),v("th","colspan rowspan headers scope abbr",h),v("form","accept-charset action autocomplete enctype method name novalidate target",h),v("fieldset","disabled form name",[h,"legend"].join(" ")),v("label","form for",d),v("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),v("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",e==="html4"?h:d),v("select","disabled form multiple name required size","option optgroup"),v("optgroup","disabled label","option"),v("option","disabled label selected value"),v("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),v("menu","type label",[h,"li"].join(" ")),v("noscript","",h),e!=="html4"&&(v("wbr"),v("ruby","",[d,"rt rp"].join(" ")),v("figcaption","",h),v("mark rt rp summary bdi","",d),v("canvas","width height",h),v("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[h,"track source"].join(" ")),v("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[h,"track source"].join(" ")),v("picture","","img source"),v("source","src srcset type media sizes"),v("track","kind src srclang label default"),v("datalist","",[d,"option"].join(" ")),v("article section nav aside main header footer","",h),v("hgroup","","h1 h2 h3 h4 h5 h6"),v("figure","",[h,"figcaption"].join(" ")),v("time","datetime",d),v("dialog","open",h),v("command","type label icon disabled checked radiogroup command"),v("output","for form name",d),v("progress","value max",d),v("meter","value min max low high optimum",d),v("details","open",[h,"summary"].join(" ")),v("keygen","autofocus challenge disabled form keytype name")),e!=="html5-strict"&&(T("script","language xml:space"),T("style","xml:space"),T("object","declare classid code codebase codetype archive standby align border hspace vspace"),T("embed","align name hspace vspace"),T("param","valuetype type"),T("a","charset name rev shape coords"),T("br","clear"),T("applet","codebase archive code object alt name width height align hspace vspace"),T("img","name longdesc align border hspace vspace"),T("iframe","longdesc frameborder marginwidth marginheight scrolling align"),T("font basefont","size color face"),T("input","usemap align"),T("select"),T("textarea"),T("h1 h2 h3 h4 h5 h6 div p legend caption","align"),T("ul","type compact"),T("li","type"),T("ol dl menu dir","compact"),T("pre","width xml:space"),T("hr","align noshade size width"),T("isindex","prompt"),T("table","summary width frame rules cellspacing cellpadding align bgcolor"),T("col","width align char charoff valign"),T("colgroup","width align char charoff valign"),T("thead","align char charoff valign"),T("tr","align char charoff valign bgcolor"),T("th","axis align char charoff valign nowrap bgcolor width height"),T("form","accept"),T("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),T("tfoot","align char charoff valign"),T("tbody","align char charoff valign"),T("area","nohref"),T("body","background bgcolor text link vlink alink")),e!=="html4"&&(T("input button select textarea","autofocus"),T("input textarea","placeholder"),T("a","download"),T("link script img","crossorigin"),T("img","loading"),T("iframe","sandbox seamless allow allowfullscreen loading")),e!=="html4"&&mt([n.video,n.audio],A=>{delete A.children.audio,delete A.children.video}),hi(ti("a form meter progress dfn"),A=>{n[A]&&delete n[A].children[A]}),delete n.caption.children.table,delete n.script,J0[e]=n,n},ab=(e,n)=>{if(e){const s={};return H(e)&&(e={"*":e}),hi(e,(i,d)=>{s[d]=s[d.toUpperCase()]=n==="map"?rb(i,/[, ]/):G1(i,/[, ]/)}),s}else return},Vp=(e={})=>{var n;const s={},i={};let d=[];const h={},v={},T=(bo,Go,Ja)=>{const oo=e[bo];if(oo)return rb(oo,/[, ]/,rb(oo.toUpperCase(),/[, ]/));{let $r=zp[bo];return $r||($r=md(Go,Ja),zp[bo]=$r),$r}},A=(n=e.schema)!==null&&n!==void 0?n:"html5",F=$4(A);e.verify_html===!1&&(e.valid_elements="*[*]");const te=ab(e.valid_styles),Y=ab(e.invalid_styles,"map"),ce=ab(e.valid_classes,"map"),ke=T("whitespace_elements","pre script noscript style textarea video audio iframe object code"),_e=T("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),ve=T("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),Te=T("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),We="td th iframe video audio object script code",Ye=T("non_empty_elements",We+" pre",ve),Je=T("move_caret_before_on_enter_elements",We+" table",ve),rt=T("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),Bt=T("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",rt),Dn=T("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),Pt=T("transparent_elements","a ins del canvas map");hi("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),bo=>{v[bo]=new RegExp("</"+bo+"[^>]*>","gi")});const bt=bo=>new RegExp("^"+bo.replace(/([?+*])/g,".$1")+"$"),Tt=bo=>{const Go=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/,Ja=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,oo=/[*?+]/;if(bo){const $r=ti(bo,",");let da,Kr;s["@"]&&(da=s["@"].attributes,Kr=s["@"].attributesOrder);for(let za=0,Ku=$r.length;za<Ku;za++){let Yi=Go.exec($r[za]);if(Yi){const df=Yi[1],Dd=Yi[2],u1=Yi[3],d1=Yi[5],ff={},mf=[],Va={attributes:ff,attributesOrder:mf};if(df==="#"&&(Va.paddEmpty=!0),df==="-"&&(Va.removeEmpty=!0),Yi[4]==="!"&&(Va.removeEmptyAttrs=!0),da&&(Nt(da,(pf,lp)=>{ff[lp]=pf}),Kr&&mf.push(...Kr)),d1){const pf=ti(d1,"|");for(let lp=0,hf=pf.length;lp<hf;lp++)if(Yi=Ja.exec(pf[lp]),Yi){const gf={},fh=Yi[1],mc=Yi[2].replace(/[\\:]:/g,":"),Sg=Yi[3],mh=Yi[4];if(fh==="!"&&(Va.attributesRequired=Va.attributesRequired||[],Va.attributesRequired.push(mc),gf.required=!0),fh==="-"){delete ff[mc],mf.splice(B4(mf,mc),1);continue}if(Sg&&(Sg==="="&&(Va.attributesDefault=Va.attributesDefault||[],Va.attributesDefault.push({name:mc,value:mh}),gf.defaultValue=mh),Sg==="~"&&(Va.attributesForced=Va.attributesForced||[],Va.attributesForced.push({name:mc,value:mh}),gf.forcedValue=mh),Sg==="<"&&(gf.validValues=rb(mh,"?"))),oo.test(mc)){const Cm=gf;Va.attributePatterns=Va.attributePatterns||[],Cm.pattern=bt(mc),Va.attributePatterns.push(Cm)}else ff[mc]||mf.push(mc),ff[mc]=gf}}if(!da&&Dd==="@"&&(da=ff,Kr=mf),u1&&(Va.outputName=Dd,s[u1]=Va),oo.test(Dd)){const pf=Va;pf.pattern=bt(Dd),d.push(pf)}else s[Dd]=Va}}}},Jt=bo=>{d=[],mt(fn(s),Go=>{delete s[Go]}),Tt(bo),hi(F,(Go,Ja)=>{i[Ja]=Go.children})},tn=bo=>{const Go=/^(~)?(.+)$/;bo&&(delete zp.text_block_elements,delete zp.block_elements,hi(ti(bo,","),Ja=>{const oo=Go.exec(Ja);if(oo){const $r=oo[1]==="~",da=$r?"span":"div",Kr=oo[2];if(i[Kr]=i[da],h[Kr]=da,Ye[Kr.toUpperCase()]={},Ye[Kr]={},$r||(Bt[Kr.toUpperCase()]={},Bt[Kr]={}),!s[Kr]){let za=s[da];za=eS({},za),delete za.removeEmptyAttrs,delete za.removeEmpty,s[Kr]=za}hi(i,(za,Ku)=>{za[da]&&(i[Ku]=za=eS({},i[Ku]),za[Kr]=za[da])})}}))},Cn=bo=>{const Go=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;delete J0[A],bo&&hi(ti(bo,","),Ja=>{const oo=Go.exec(Ja);if(oo){const $r=oo[1];let da;$r?da=i[oo[2]]:da=i[oo[2]]={"#comment":{}},da=i[oo[2]],hi(ti(oo[3],"|"),Kr=>{$r==="-"?delete da[Kr]:da[Kr]={}})}})},go=bo=>{const Go=s[bo];if(Go)return Go;let Ja=d.length;for(;Ja--;){const oo=d[Ja];if(oo.pattern.test(bo))return oo}};e.valid_elements?Jt(e.valid_elements):(hi(F,(bo,Go)=>{s[Go]={attributes:bo.attributes,attributesOrder:bo.attributesOrder},i[Go]=bo.children}),hi(ti("strong/b em/i"),bo=>{const Go=ti(bo,"/");s[Go[1]].outputName=Go[0]}),hi(Dn,(bo,Go)=>{s[Go]&&(e.padd_empty_block_inline_children&&(s[Go].paddInEmptyBlock=!0),s[Go].removeEmpty=!0)}),hi(ti("ol ul blockquote a table tbody"),bo=>{s[bo]&&(s[bo].removeEmpty=!0)}),hi(ti("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),bo=>{s[bo]&&(s[bo].paddEmpty=!0)}),hi(ti("span"),bo=>{s[bo].removeEmptyAttrs=!0})),tn(e.custom_elements),Cn(e.valid_children),Tt(e.extended_valid_elements),Cn("+ol[ul|ol],+ul[ul|ol]"),hi({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(bo,Go)=>{s[Go]&&(s[Go].parentsRequired=ti(bo))}),e.invalid_elements&&hi(G1(e.invalid_elements),bo=>{s[bo]&&delete s[bo]}),go("span")||Tt("span[!data-mce-type|*]");const ao=Me(te),ys=Me(Y),Zo=Me(ce),wr=Me(Te),Ki=Me(Bt),Tl=Me(rt),Zt=Me(Dn),_n=Me(Object.seal(ve)),Cs=Me(_e),hs=Me(Ye),kn=Me(Je),Bn=Me(ke),qt=Me(Pt),Jn=Me(Object.seal(v)),us=(bo,Go)=>{const Ja=i[bo.toLowerCase()];return!!(Ja&&Ja[Go.toLowerCase()])},ir=(bo,Go)=>{const Ja=go(bo);if(Ja)if(Go){if(Ja.attributes[Go])return!0;const oo=Ja.attributePatterns;if(oo){let $r=oo.length;for(;$r--;)if(oo[$r].pattern.test(Go))return!0}}else return!0;return!1},Ss=Me(h);return{type:A,children:i,elements:s,getValidStyles:ao,getValidClasses:Zo,getBlockElements:Ki,getInvalidStyles:ys,getVoidElements:_n,getTextBlockElements:Tl,getTextInlineElements:Zt,getBoolAttrs:wr,getElementRule:go,getSelfClosingElements:Cs,getNonEmptyElements:hs,getMoveCaretBeforeOnEnterElements:kn,getWhitespaceElements:Bn,getTransparentElements:qt,getSpecialElements:Jn,isValidChild:us,isValid:ir,getCustomElements:Ss,addValidElements:Tt,setValidElements:Jt,addCustomElements:tn,addValidChildren:Cn}},Q0=(e={},n)=>{const s=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,i=/\s*([^:]+):\s*([^;]+);?/g,d=/\s+$/,h={};let v,T;const A=Wd;n&&(v=n.getValidStyles(),T=n.getInvalidStyles());const F=(`\\" \\' \\; \\: ; : `+A).split(" ");for(let Y=0;Y<F.length;Y++)h[F[Y]]=A+Y,h[A+Y]=F[Y];const te={parse:Y=>{const ce={};let ke=!1;const _e=e.url_converter,ve=e.url_converter_scope||te,Te=(bt,Tt,Jt)=>{const tn=ce[bt+"-top"+Tt];if(!tn)return;const Cn=ce[bt+"-right"+Tt];if(!Cn)return;const go=ce[bt+"-bottom"+Tt];if(!go)return;const ao=ce[bt+"-left"+Tt];if(!ao)return;const ys=[tn,Cn,go,ao];let Zo=ys.length-1;for(;Zo--&&ys[Zo]===ys[Zo+1];);Zo>-1&&Jt||(ce[bt+Tt]=Zo===-1?ys[0]:ys.join(" "),delete ce[bt+"-top"+Tt],delete ce[bt+"-right"+Tt],delete ce[bt+"-bottom"+Tt],delete ce[bt+"-left"+Tt])},We=bt=>{const Tt=ce[bt];if(!Tt)return;const Jt=Tt.split(" ");let tn=Jt.length;for(;tn--;)if(Jt[tn]!==Jt[0])return!1;return ce[bt]=Jt[0],!0},Ye=(bt,Tt,Jt,tn)=>{We(Tt)&&We(Jt)&&We(tn)&&(ce[bt]=ce[Tt]+" "+ce[Jt]+" "+ce[tn],delete ce[Tt],delete ce[Jt],delete ce[tn])},Je=bt=>(ke=!0,h[bt]),rt=(bt,Tt)=>(ke&&(bt=bt.replace(/\uFEFF[0-9]/g,Jt=>h[Jt])),Tt||(bt=bt.replace(/\\([\'\";:])/g,"$1")),bt),Bt=bt=>String.fromCharCode(parseInt(bt.slice(1),16)),Dn=bt=>bt.replace(/\\[0-9a-f]+/gi,Bt),Pt=(bt,Tt,Jt,tn,Cn,go)=>{if(Cn=Cn||go,Cn)return Cn=rt(Cn),"'"+Cn.replace(/\'/g,"\\'")+"'";if(Tt=rt(Tt||Jt||tn||""),!e.allow_script_urls){const ao=Tt.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(ao)||!e.allow_svg_data_urls&&/^data:image\/svg/i.test(ao))return""}return _e&&(Tt=_e.call(ve,Tt,"style")),"url('"+Tt.replace(/\'/g,"\\'")+"')"};if(Y){Y=Y.replace(/[\u0000-\u001F]/g,""),Y=Y.replace(/\\[\"\';:\uFEFF]/g,Je).replace(/\"[^\"]+\"|\'[^\']+\'/g,Tt=>Tt.replace(/[;:]/g,Je));let bt;for(;bt=i.exec(Y);){i.lastIndex=bt.index+bt[0].length;let Tt=bt[1].replace(d,"").toLowerCase(),Jt=bt[2].replace(d,"");if(Tt&&Jt){if(Tt=Dn(Tt),Jt=Dn(Jt),Tt.indexOf(A)!==-1||Tt.indexOf('"')!==-1||!e.allow_script_urls&&(Tt==="behavior"||/expression\s*\(|\/\*|\*\//.test(Jt)))continue;Tt==="font-weight"&&Jt==="700"?Jt="bold":(Tt==="color"||Tt==="background-color")&&(Jt=Jt.toLowerCase()),Jt=Jt.replace(s,Pt),ce[Tt]=ke?rt(Jt,!0):Jt}}Te("border","",!0),Te("border","-width"),Te("border","-color"),Te("border","-style"),Te("padding",""),Te("margin",""),Ye("border","border-width","border-style","border-color"),ce.border==="medium none"&&delete ce.border,ce["border-image"]==="none"&&delete ce["border-image"]}return ce},serialize:(Y,ce)=>{let ke="";const _e=(Te,We)=>{const Ye=We[Te];if(Ye)for(let Je=0,rt=Ye.length;Je<rt;Je++){const Bt=Ye[Je],Dn=Y[Bt];Dn&&(ke+=(ke.length>0?" ":"")+Bt+": "+Dn+";")}},ve=(Te,We)=>{if(!T||!We)return!0;let Ye=T["*"];return Ye&&Ye[Te]?!1:(Ye=T[We],!(Ye&&Ye[Te]))};return ce&&v?(_e("*",v),_e(ce,v)):Nt(Y,(Te,We)=>{Te&&ve(We,ce)&&(ke+=(ke.length>0?" ":"")+We+": "+Te+";")}),ke}};return te},tS={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},K1=e=>e instanceof Event||de(e.initEvent),Hf=e=>e.isDefaultPrevented===lt||e.isDefaultPrevented===at,ev=e=>Le(e.preventDefault)||K1(e),nS=(e,n)=>{const s=n!=null?n:{};for(const i in e)Gn(tS,i)||(s[i]=e[i]);return xe(e.composedPath)&&(s.composedPath=()=>e.composedPath()),s},oS=(e,n,s,i)=>{var d;const h=nS(n,i);return h.type=e,Le(h.target)&&(h.target=(d=h.srcElement)!==null&&d!==void 0?d:s),ev(n)&&(h.preventDefault=()=>{h.defaultPrevented=!0,h.isDefaultPrevented=lt,de(n.preventDefault)&&n.preventDefault()},h.stopPropagation=()=>{h.cancelBubble=!0,h.isPropagationStopped=lt,de(n.stopPropagation)&&n.stopPropagation()},h.stopImmediatePropagation=()=>{h.isImmediatePropagationStopped=lt,h.stopPropagation()},Hf(h)||(h.isDefaultPrevented=h.defaultPrevented===!0?lt:at,h.isPropagationStopped=h.cancelBubble===!0?lt:at,h.isImmediatePropagationStopped=at)),h},Wx="mce-data-",tv=/^(?:mouse|contextmenu)|click/,lc=(e,n,s,i)=>{e.addEventListener(n,s,i||!1)},Vi=(e,n,s,i)=>{e.removeEventListener(n,s,i||!1)},jx=e=>xe(e)&&tv.test(e.type),lb=(e,n)=>{const s=oS(e.type,e,document,n);if(jx(e)&&Ve(e.pageX)&&!Ve(e.clientX)){const i=s.target.ownerDocument||document,d=i.documentElement,h=i.body,v=s;v.pageX=e.clientX+(d&&d.scrollLeft||h&&h.scrollLeft||0)-(d&&d.clientLeft||h&&h.clientLeft||0),v.pageY=e.clientY+(d&&d.scrollTop||h&&h.scrollTop||0)-(d&&d.clientTop||h&&h.clientTop||0)}return s},D4=(e,n,s)=>{const i=e.document,d={type:"ready"};if(s.domLoaded){n(d);return}const h=()=>i.readyState==="complete"||i.readyState==="interactive"&&i.body,v=()=>{Vi(e,"DOMContentLoaded",v),Vi(e,"load",v),s.domLoaded||(s.domLoaded=!0,n(d)),e=null};h()?v():lc(e,"DOMContentLoaded",v),s.domLoaded||lc(e,"load",v)};class Hp{constructor(){this.domLoaded=!1,this.events={},this.count=1,this.expando=Wx+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(n,s,i,d){const h=this;let v;const T=window,A=ce=>{h.executeHandlers(lb(ce||T.event),F)};if(!n||Vt(n)||rc(n))return i;let F;n[h.expando]?F=n[h.expando]:(F=h.count++,n[h.expando]=F,h.events[F]={}),d=d||n;const te=s.split(" ");let Y=te.length;for(;Y--;){let ce=te[Y],ke=A,_e=!1,ve=!1;if(ce==="DOMContentLoaded"&&(ce="ready"),h.domLoaded&&ce==="ready"&&n.readyState==="complete"){i.call(d,lb({type:ce}));continue}!h.hasFocusIn&&(ce==="focusin"||ce==="focusout")&&(_e=!0,ve=ce==="focusin"?"focus":"blur",ke=Te=>{const We=lb(Te||T.event);We.type=We.type==="focus"?"focusin":"focusout",h.executeHandlers(We,F)}),v=h.events[F][ce],v?ce==="ready"&&h.domLoaded?i(lb({type:ce})):v.push({func:i,scope:d}):(h.events[F][ce]=v=[{func:i,scope:d}],v.fakeName=ve,v.capture=_e,v.nativeHandler=ke,ce==="ready"?D4(n,ke,h):lc(n,ve||ce,ke,_e))}return n=v=null,i}unbind(n,s,i){if(!n||Vt(n)||rc(n))return this;const d=n[this.expando];if(d){let h=this.events[d];if(s){const v=s.split(" ");let T=v.length;for(;T--;){const A=v[T],F=h[A];if(F){if(i){let te=F.length;for(;te--;)if(F[te].func===i){const Y=F.nativeHandler,ce=F.fakeName,ke=F.capture,_e=F.slice(0,te).concat(F.slice(te+1));_e.nativeHandler=Y,_e.fakeName=ce,_e.capture=ke,h[A]=_e}}(!i||F.length===0)&&(delete h[A],Vi(n,F.fakeName||A,F.nativeHandler,F.capture))}}}else Nt(h,(v,T)=>{Vi(n,v.fakeName||T,v.nativeHandler,v.capture)}),h={};for(const v in h)if(Gn(h,v))return this;delete this.events[d];try{delete n[this.expando]}catch(v){n[this.expando]=null}}return this}fire(n,s,i){return this.dispatch(n,s,i)}dispatch(n,s,i){if(!n||Vt(n)||rc(n))return this;const d=lb({type:s,target:n},i);do{const h=n[this.expando];h&&this.executeHandlers(d,h),n=n.parentNode||n.ownerDocument||n.defaultView||n.parentWindow}while(n&&!d.isPropagationStopped());return this}clean(n){if(!n||Vt(n)||rc(n))return this;if(n[this.expando]&&this.unbind(n),n.getElementsByTagName||(n=n.document),n&&n.getElementsByTagName){this.unbind(n);const s=n.getElementsByTagName("*");let i=s.length;for(;i--;)n=s[i],n[this.expando]&&this.unbind(n)}return this}destroy(){this.events={}}cancel(n){return n&&(n.preventDefault(),n.stopImmediatePropagation()),!1}executeHandlers(n,s){const i=this.events[s],d=i&&i[n.type];if(d)for(let h=0,v=d.length;h<v;h++){const T=d[h];if(T&&T.func.call(T.scope,n)===!1&&n.preventDefault(),n.isImmediatePropagationStopped())return}}}Hp.Event=new Hp;const cu=$t.each,R4=$t.grep,ib="data-mce-style",Zx=$t.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom"," "),cb=(e,n,s)=>{Le(s)||s===""?Is(e,n):ra(e,n,s)},Y1=e=>e.replace(/[A-Z]/g,n=>"-"+n.toLowerCase()),ub=(e,n)=>{let s=0;if(e)for(let i=e.nodeType,d=e.previousSibling;d;d=d.previousSibling){const h=d.nodeType;n&&Vt(d)&&(h===i||!d.data.length)||(s++,i=h)}return s},X1=(e,n)=>{const s=ol(n,"style"),i=e.serialize(e.parse(s),or(n));cb(n,ib,i)},sS=(e,n)=>yt(e)?Gn(Zx,n)?e+"":e+"px":e,nv=(e,n,s)=>{const i=Y1(n);Le(s)||s===""?zg(e,i):Fg(e,i,sS(s,i))},ov=(e,n,s)=>{const i=n.keep_values,d={set:(v,T,A)=>{const F=Be.fromDom(v);de(n.url_converter)&&xe(T)&&(T=n.url_converter.call(n.url_converter_scope||s(),String(T),A,v));const te="data-mce-"+A;cb(F,te,T),cb(F,A,T)},get:(v,T)=>{const A=Be.fromDom(v);return ol(A,"data-mce-"+T)||ol(A,T)}},h={style:{set:(v,T)=>{const A=Be.fromDom(v);i&&cb(A,ib,T),Is(A,"style"),H(T)&&Lg(A,e.parse(T))},get:v=>{const T=Be.fromDom(v),A=ol(T,ib)||ol(T,"style");return e.serialize(e.parse(A),or(T))}}};return i&&(h.href=h.src=d),h},dr=(e,n={})=>{const s={},i=window,d={};let h=0;const v=!0,T=!0,A=q1.forElement(Be.fromDom(e),{contentCssCors:n.contentCssCors,referrerPolicy:n.referrerPolicy}),F=[],te=n.schema?n.schema:Vp({}),Y=Q0({url_converter:n.url_converter,url_converter_scope:n.url_converter_scope},n.schema),ce=n.ownEvents?new Hp:Hp.Event,ke=te.getBlockElements(),_e=ct=>H(ct)?Gn(ke,ct):cn(ct)&&(Gn(ke,ct.nodeName)||Mp(te,ct)),ve=ct=>ct&&e&&H(ct)?e.getElementById(ct):ct,Te=ct=>{const ut=ve(ct);return xe(ut)?Be.fromDom(ut):null},We=(ct,ut,Kt="")=>{let Ut;const jn=Te(ct);if(xe(jn)&&ur(jn)){const ds=w0[ut];ds&&ds.get?Ut=ds.get(jn.dom,ut):Ut=ol(jn,ut)}return xe(Ut)?Ut:Kt},Ye=ct=>{const ut=ve(ct);return Le(ut)?[]:ut.attributes},Je=(ct,ut,Kt)=>{_n(ct,Ut=>{if(cn(Ut)){const jn=Be.fromDom(Ut),ds=Kt===""?null:Kt,Yr=ol(jn,ut),yi=w0[ut];yi&&yi.set?yi.set(jn.dom,ds,ut):cb(jn,ut,ds),Yr!==ds&&n.onSetAttrib&&n.onSetAttrib({attrElm:jn.dom,attrName:ut,attrValue:ds})}})},rt=(ct,ut)=>ct.cloneNode(ut),Bt=()=>n.root_element||e.body,Dn=ct=>{const ut=F1(ct);return{x:ut.x,y:ut.y,w:ut.width,h:ut.height}},Pt=(ct,ut)=>Hx(e.body,ve(ct),ut),bt=(ct,ut,Kt)=>{_n(ct,Ut=>{const jn=Be.fromDom(Ut);nv(jn,ut,Kt),n.update_styles&&X1(Y,jn)})},Tt=(ct,ut)=>{_n(ct,Kt=>{const Ut=Be.fromDom(Kt);Nt(ut,(jn,ds)=>{nv(Ut,ds,jn)}),n.update_styles&&X1(Y,Ut)})},Jt=(ct,ut,Kt)=>{const Ut=ve(ct);if(!(Le(Ut)||!cn(Ut)))return Kt?Za(Be.fromDom(Ut),Y1(ut)):(ut=ut.replace(/-(\D)/g,(jn,ds)=>ds.toUpperCase()),ut==="float"&&(ut="cssFloat"),Ut.style?Ut.style[ut]:void 0)},tn=ct=>{const ut=ve(ct);if(!ut)return{w:0,h:0};let Kt=Jt(ut,"width"),Ut=Jt(ut,"height");return(!Kt||Kt.indexOf("px")===-1)&&(Kt="0"),(!Ut||Ut.indexOf("px")===-1)&&(Ut="0"),{w:parseInt(Kt,10)||ut.offsetWidth||ut.clientWidth,h:parseInt(Ut,10)||ut.offsetHeight||ut.clientHeight}},Cn=ct=>{const ut=ve(ct),Kt=Pt(ut),Ut=tn(ut);return{x:Kt.x,y:Kt.y,w:Ut.w,h:Ut.h}},go=(ct,ut)=>{if(!ct)return!1;const Kt=pe(ct)?ct:[ct];return Mo(Kt,Ut=>di(Be.fromDom(Ut),ut))},ao=(ct,ut,Kt,Ut)=>{const jn=[];let ds=ve(ct);Ut=Ut===void 0;const Yr=Kt||(Bt().nodeName!=="BODY"?Bt().parentNode:null);if(H(ut))if(ut==="*")ut=cn;else{const yi=ut;ut=vi=>go(vi,yi)}for(;ds&&!(ds===Yr||Le(ds.nodeType)||Bp(ds)||$f(ds));){if(!ut||ut(ds))if(Ut)jn.push(ds);else return[ds];ds=ds.parentNode}return Ut?jn:null},ys=(ct,ut,Kt)=>{const Ut=ao(ct,ut,Kt,!1);return Ut&&Ut.length>0?Ut[0]:null},Zo=(ct,ut,Kt)=>{let Ut=ut;if(ct){H(ut)&&(Ut=jn=>go(jn,ut));for(let jn=ct[Kt];jn;jn=jn[Kt])if(de(Ut)&&Ut(jn))return jn}return null},wr=(ct,ut)=>Zo(ct,ut,"nextSibling"),Ki=(ct,ut)=>Zo(ct,ut,"previousSibling"),Tl=ct=>de(ct.querySelectorAll),Zt=(ct,ut)=>{var Kt,Ut;const jn=(Ut=(Kt=ve(ut))!==null&&Kt!==void 0?Kt:n.root_element)!==null&&Ut!==void 0?Ut:e;return Tl(jn)?is(jn.querySelectorAll(ct)):[]},_n=function(ct,ut,Kt){const Ut=Kt!=null?Kt:this;if(pe(ct)){const jn=[];return cu(ct,(ds,Yr)=>{const yi=ve(ds);yi&&jn.push(ut.call(Ut,yi,Yr))}),jn}else{const jn=ve(ct);return jn?ut.call(Ut,jn):!1}},Cs=(ct,ut)=>{_n(ct,Kt=>{Nt(ut,(Ut,jn)=>{Je(Kt,jn,Ut)})})},hs=(ct,ut)=>{_n(ct,Kt=>{const Ut=Be.fromDom(Kt);Ho(Ut,ut)})},kn=(ct,ut,Kt,Ut,jn)=>_n(ct,ds=>{const Yr=H(ut)?e.createElement(ut):ut;return xe(Kt)&&Cs(Yr,Kt),Ut&&(!H(Ut)&&Ut.nodeType?Yr.appendChild(Ut):H(Ut)&&hs(Yr,Ut)),jn?Yr:ds.appendChild(Yr)}),Bn=(ct,ut,Kt)=>kn(e.createElement(ct),ct,ut,Kt,!0),qt=Lp.decode,Jn=Lp.encodeAllRaw,us=(ct,ut,Kt="")=>{let Ut="<"+ct;for(const jn in ut)Xr(ut,jn)&&(Ut+=" "+jn+'="'+Jn(ut[jn])+'"');return Na(Kt)&&Gn(te.getVoidElements(),ct)?Ut+" />":Ut+">"+Kt+"</"+ct+">"},ir=ct=>{const ut=e.createElement("div"),Kt=e.createDocumentFragment();Kt.appendChild(ut),ct&&(ut.innerHTML=ct);let Ut;for(;Ut=ut.firstChild;)Kt.appendChild(Ut);return Kt.removeChild(ut),Kt},Ss=(ct,ut)=>_n(ct,Kt=>{const Ut=Be.fromDom(Kt);return ut&&mt(sl(Ut),jn=>{ja(jn)&&jn.dom.length===0?Ns(jn):Fi(Ut,jn)}),Ns(Ut),Ut.dom}),bo=ct=>_n(ct,ut=>{const Kt=ut.attributes;for(let Ut=Kt.length-1;Ut>=0;Ut--)ut.removeAttributeNode(Kt.item(Ut))}),Go=ct=>Y.parse(ct),Ja=(ct,ut)=>Y.serialize(ct,ut),oo=ct=>{if(Sm!==dr.DOM&&e===document){if(s[ct])return;s[ct]=!0}let ut=e.getElementById("mceDefaultStyles");if(!ut){ut=e.createElement("style"),ut.id="mceDefaultStyles",ut.type="text/css";const Kt=e.head;Kt.firstChild?Kt.insertBefore(ut,Kt.firstChild):Kt.appendChild(ut)}ut.styleSheet?ut.styleSheet.cssText+=ct:ut.appendChild(e.createTextNode(ct))},$r=ct=>{ct||(ct=""),mt(ct.split(","),ut=>{d[ut]=!0,A.load(ut).catch(Qe)})},da=(ct,ut,Kt)=>{_n(ct,Ut=>{if(cn(Ut)){const jn=Be.fromDom(Ut),ds=ut.split(" ");mt(ds,Yr=>{xe(Kt)?(Kt?ru:Lc)(jn,Yr):vp(jn,Yr)})}})},Kr=(ct,ut)=>{da(ct,ut,!0)},za=(ct,ut)=>{da(ct,ut,!1)},Ku=(ct,ut)=>{const Kt=Te(ct),Ut=ut.split(" ");return xe(Kt)&&ns(Ut,jn=>Nm(Kt,jn))},Yi=ct=>{_n(ct,ut=>zg(Be.fromDom(ut),"display"))},df=ct=>{_n(ct,ut=>Fg(Be.fromDom(ut),"display","none"))},Dd=ct=>{const ut=Te(ct);return xe(ut)&&$a(Ii(ut,"display"),"none")},u1=ct=>(ct||"mce_")+h++,d1=ct=>{const ut=Te(ct);return xe(ut)?cn(ut.dom)?ut.dom.outerHTML:Vg(ut):""},ff=(ct,ut)=>{_n(ct,Kt=>{cn(Kt)&&(Kt.outerHTML=ut)})},mf=(ct,ut)=>{const Kt=ve(ut);return _n(ct,Ut=>{const jn=Kt==null?void 0:Kt.parentNode,ds=Kt==null?void 0:Kt.nextSibling;return jn&&(ds?jn.insertBefore(Ut,ds):jn.appendChild(Ut)),Ut})},Va=(ct,ut,Kt)=>_n(ut,Ut=>{var jn;const ds=pe(ut)?ct.cloneNode(!0):ct;return Kt&&cu(R4(Ut.childNodes),Yr=>{ds.appendChild(Yr)}),(jn=Ut.parentNode)===null||jn===void 0||jn.replaceChild(ds,Ut),Ut}),pf=(ct,ut)=>{if(ct.nodeName!==ut.toUpperCase()){const Kt=Bn(ut);return cu(Ye(ct),Ut=>{Je(Kt,Ut.nodeName,We(ct,Ut.nodeName))}),Va(Kt,ct,!0),Kt}else return ct},lp=(ct,ut)=>{let Kt=ct;for(;Kt;){let Ut=ut;for(;Ut&&Kt!==Ut;)Ut=Ut.parentNode;if(Kt===Ut)break;Kt=Kt.parentNode}return!Kt&&ct.ownerDocument?ct.ownerDocument.documentElement:Kt},hf=ct=>{if(cn(ct)){const ut=ct.nodeName.toLowerCase()==="a"&&!We(ct,"href")&&We(ct,"id");if(We(ct,"name")||We(ct,"data-mce-bookmark")||ut)return!0}return!1},gf=(ct,ut,Kt)=>{let Ut=0;if(hf(ct))return!1;const jn=ct.firstChild;if(jn){const ds=new Da(jn,ct),Yr=te?te.getWhitespaceElements():{},yi=ut||(te?te.getNonEmptyElements():null);let vi=jn;do{if(cn(vi)){const oC=vi.getAttribute("data-mce-bogus");if(oC){vi=ds.next(oC==="all");continue}const sC=vi.nodeName.toLowerCase();if(yi&&yi[sC]){if(sC==="br"){Ut++,vi=ds.next();continue}return!1}if(hf(vi))return!1}if(rc(vi)||Vt(vi)&&!Du(vi.data)&&(!(Kt!=null&&Kt.includeZwsp)||!Fx(vi.data))||Vt(vi)&&vi.parentNode&&Yr[vi.parentNode.nodeName]&&Du(vi.data))return!1;vi=ds.next()}while(vi)}return Ut<=1},fh=()=>e.createRange(),mc=(ct,ut,Kt)=>{let Ut=fh(),jn,ds;if(ct&&ut&&ct.parentNode&&ut.parentNode){const Yr=ct.parentNode;return Ut.setStart(Yr,ub(ct)),Ut.setEnd(ut.parentNode,ub(ut)),jn=Ut.extractContents(),Ut=fh(),Ut.setStart(ut.parentNode,ub(ut)+1),Ut.setEnd(Yr,ub(ct)+1),ds=Ut.extractContents(),Yr.insertBefore(Ip(Sm,jn),ct),Kt?Yr.insertBefore(Kt,ct):Yr.insertBefore(ut,ct),Yr.insertBefore(Ip(Sm,ds),ct),Ss(ct),Kt||ut}else return},Sg=(ct,ut,Kt,Ut)=>{if(pe(ct)){let jn=ct.length;const ds=[];for(;jn--;)ds[jn]=Sg(ct[jn],ut,Kt,Ut);return ds}else return n.collect&&(ct===e||ct===i)&&F.push([ct,ut,Kt,Ut]),ce.bind(ct,ut,Kt,Ut||Sm)},mh=(ct,ut,Kt)=>{if(pe(ct)){let Ut=ct.length;const jn=[];for(;Ut--;)jn[Ut]=mh(ct[Ut],ut,Kt);return jn}else{if(F.length>0&&(ct===e||ct===i)){let Ut=F.length;for(;Ut--;){const[jn,ds,Yr]=F[Ut];ct===jn&&(!ut||ut===ds)&&(!Kt||Kt===Yr)&&ce.unbind(jn,ds,Yr)}}return ce.unbind(ct,ut,Kt)}},Cm=(ct,ut,Kt)=>ce.dispatch(ct,ut,Kt),f1=(ct,ut,Kt)=>ce.dispatch(ct,ut,Kt),ZE=ct=>{if(ct&&cn(ct)){const ut=ct.getAttribute("data-mce-contenteditable");return ut&&ut!=="inherit"?ut:ct.contentEditable!=="inherit"?ct.contentEditable:null}else return null},Sm={doc:e,settings:n,win:i,files:d,stdMode:v,boxModel:T,styleSheetLoader:A,boundEvents:F,styles:Y,schema:te,events:ce,isBlock:_e,root:null,clone:rt,getRoot:Bt,getViewPort:Dn,getRect:Cn,getSize:tn,getParent:ys,getParents:ao,get:ve,getNext:wr,getPrev:Ki,select:Zt,is:go,add:kn,create:Bn,createHTML:us,createFragment:ir,remove:Ss,setStyle:bt,getStyle:Jt,setStyles:Tt,removeAllAttribs:bo,setAttrib:Je,setAttribs:Cs,getAttrib:We,getPos:Pt,parseStyle:Go,serializeStyle:Ja,addStyle:oo,loadCSS:$r,addClass:Kr,removeClass:za,hasClass:Ku,toggleClass:da,show:Yi,hide:df,isHidden:Dd,uniqueId:u1,setHTML:hs,getOuterHTML:d1,setOuterHTML:ff,decode:qt,encode:Jn,insertAfter:mf,replace:Va,rename:pf,findCommonAncestor:lp,run:_n,getAttribs:Ye,isEmpty:gf,createRng:fh,nodeIndex:ub,split:mc,bind:Sg,unbind:mh,fire:f1,dispatch:Cm,getContentEditable:ZE,getContentEditableParent:ct=>{const ut=Bt();let Kt=null;for(let Ut=ct;Ut&&Ut!==ut&&(Kt=ZE(Ut),Kt===null);Ut=Ut.parentNode);return Kt},isEditable:ct=>{if(xe(ct)){const ut=cn(ct)?ct:ct.parentElement;return xe(ut)&&Nn(Be.fromDom(ut))}else return!1},destroy:()=>{if(F.length>0){let ct=F.length;for(;ct--;){const[ut,Kt,Ut]=F[ct];ce.unbind(ut,Kt,Ut)}}Nt(d,(ct,ut)=>{A.unload(ut),delete d[ut]})},isChildOf:(ct,ut)=>ct===ut||ut.contains(ct),dumpRng:ct=>"startContainer: "+ct.startContainer.nodeName+", startOffset: "+ct.startOffset+", endContainer: "+ct.endContainer.nodeName+", endOffset: "+ct.endOffset},w0=ov(Y,n,Me(Sm));return Sm};dr.DOM=dr(document),dr.nodeIndex=ub;const M4=dr.DOM,qx=0,rS=1,sv=2,Up=3;class Jd{constructor(n={}){this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=!1,this.settings=n}_setReferrerPolicy(n){this.settings.referrerPolicy=n}loadScript(n){return new Promise((s,i)=>{const d=M4;let h;const v=()=>{d.remove(F),h&&(h.onerror=h.onload=h=null)},T=()=>{v(),s()},A=()=>{v(),i("Failed to load script: "+n)},F=d.uniqueId();h=document.createElement("script"),h.id=F,h.type="text/javascript",h.src=$t._addCacheSuffix(n),this.settings.referrerPolicy&&d.setAttrib(h,"referrerpolicy",this.settings.referrerPolicy),h.onload=T,h.onerror=A,(document.getElementsByTagName("head")[0]||document.body).appendChild(h)})}isDone(n){return this.states[n]===sv}markDone(n){this.states[n]=sv}add(n){const s=this;return s.queue.push(n),s.states[n]===void 0&&(s.states[n]=qx),new Promise((d,h)=>{s.scriptLoadedCallbacks[n]||(s.scriptLoadedCallbacks[n]=[]),s.scriptLoadedCallbacks[n].push({resolve:d,reject:h})})}load(n){return this.add(n)}remove(n){delete this.states[n],delete this.scriptLoadedCallbacks[n]}loadQueue(){const n=this.queue;return this.queue=[],this.loadScripts(n)}loadScripts(n){const s=this,i=(A,F)=>{ws(s.scriptLoadedCallbacks,F).each(te=>{mt(te,Y=>Y[A](F))}),delete s.scriptLoadedCallbacks[F]},d=A=>{const F=mn(A,te=>te.status==="rejected");return F.length>0?Promise.reject(Ps(F,({reason:te})=>pe(te)?te:[te])):Promise.resolve()},h=A=>Promise.allSettled(yn(A,F=>s.states[F]===sv?(i("resolve",F),Promise.resolve()):s.states[F]===Up?(i("reject",F),Promise.reject(F)):(s.states[F]=rS,s.loadScript(F).then(()=>{s.states[F]=sv,i("resolve",F);const te=s.queue;return te.length>0?(s.queue=[],h(te).then(d)):Promise.resolve()},()=>(s.states[F]=Up,i("reject",F),Promise.reject(F)))))),v=A=>(s.loading=!0,h(A).then(F=>{s.loading=!1;const te=s.queueLoadedCallbacks.shift();return oe.from(te).each(lo),d(F)})),T=Wl(n);return s.loading?new Promise((A,F)=>{s.queueLoadedCallbacks.push(()=>{v(T).then(A,F)})}):v(T)}}Jd.ScriptLoader=new Jd;const xl=e=>{let n=e;return{get:()=>n,set:d=>{n=d}}},Gx=e=>ne(e)&&Gn(e,"raw"),Kx=e=>pe(e)&&e.length>1,db={},rv=xl("en"),P4=()=>ws(db,rv.get()),ar={getData:()=>qn(db,e=>ue({},e)),setCode:e=>{e&&rv.set(e)},getCode:()=>rv.get(),add:(e,n)=>{let s=db[e];s||(db[e]=s={}),Nt(n,(i,d)=>{s[d.toLowerCase()]=i})},translate:e=>{const n=P4().getOr({}),s=v=>de(v)?Object.prototype.toString.call(v):i(v)?"":""+v,i=v=>v===""||v===null||v===void 0,d=v=>{const T=s(v);return ws(n,T.toLowerCase()).map(s).getOr(T)},h=v=>v.replace(/{context:\w+}$/,"");if(i(e))return"";if(Gx(e))return s(e.raw);if(Kx(e)){const v=e.slice(1),T=d(e[0]).replace(/\{([0-9]+)\}/g,(A,F)=>Gn(v,F)?s(v[F]):A);return h(T)}return h(d(e))},isRtl:()=>P4().bind(e=>ws(e,"_dir")).exists(e=>e==="rtl"),hasCode:e=>Gn(db,e)},Vr=()=>{const e=[],n={},s={},i=[],d=(ve,Te)=>{const We=mn(i,Ye=>Ye.name===ve&&Ye.state===Te);mt(We,Ye=>Ye.resolve())},h=ve=>Gn(n,ve),v=ve=>Gn(s,ve),T=ve=>{if(s[ve])return s[ve].instance},A=(ve,Te)=>{const We=ar.getCode(),Ye=","+(Te||"")+",";!We||Te&&Ye.indexOf(","+We+",")===-1||Jd.ScriptLoader.add(n[ve]+"/langs/"+We+".js")},F=(ve,Te)=>{Vr.languageLoad!==!1&&(h(ve)?A(ve,Te):_e(ve,"loaded").then(()=>A(ve,Te)))},te=(ve,Te)=>(e.push(Te),s[ve]={instance:Te},d(ve,"added"),Te),Y=ve=>{delete n[ve],delete s[ve]},ce=(ve,Te)=>H(Te)?H(ve)?{prefix:"",resource:Te,suffix:""}:{prefix:ve.prefix,resource:Te,suffix:ve.suffix}:Te,ke=(ve,Te)=>{if(n[ve])return Promise.resolve();let We=H(Te)?Te:Te.prefix+Te.resource+Te.suffix;We.indexOf("/")!==0&&We.indexOf("://")===-1&&(We=Vr.baseURL+"/"+We),n[ve]=We.substring(0,We.lastIndexOf("/"));const Ye=()=>(d(ve,"loaded"),Promise.resolve());return s[ve]?Ye():Jd.ScriptLoader.add(We).then(Ye)},_e=(ve,Te="added")=>Te==="added"&&v(ve)||Te==="loaded"&&h(ve)?Promise.resolve():new Promise(We=>{i.push({name:ve,state:Te,resolve:We})});return{items:e,urls:n,lookup:s,get:T,requireLangPack:F,add:te,remove:Y,createUrl:ce,load:ke,waitFor:_e}};Vr.languageLoad=!0,Vr.baseURL="",Vr.PluginManager=Vr(),Vr.ThemeManager=Vr(),Vr.ModelManager=Vr();const Uf=e=>{const n=xl(oe.none()),s=()=>n.get().each(e);return{clear:()=>{s(),n.set(oe.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:T=>{s(),n.set(oe.some(T))}}},uu=e=>{const n=xl(oe.none()),s=()=>n.get().each(T=>clearInterval(T));return{clear:()=>{s(),n.set(oe.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:T=>{s(),n.set(oe.some(setInterval(T,e)))}}},Ru=()=>{const e=Uf(Qe),n=s=>e.get().each(s);return Ze(ue({},e),{on:n})},lv=(e,n)=>{let s=null;return{cancel:()=>{W(s)||(clearTimeout(s),s=null)},throttle:(...h)=>{W(s)&&(s=setTimeout(()=>{s=null,e.apply(null,h)},n))}}},fb=(e,n)=>{let s=null;const i=()=>{W(s)||(clearTimeout(s),s=null)};return{cancel:i,throttle:(...h)=>{i(),s=setTimeout(()=>{s=null,e.apply(null,h)},n)}}},_c=Me("mce-annotation"),Oc=Me("data-mce-annotation"),Ga=Me("data-mce-annotation-uid"),mb=Me("data-mce-annotation-active"),jp=Me("data-mce-annotation-classes"),pb=Me("data-mce-annotation-attrs"),Xx=e=>n=>Vs(n,e),Wf=(e,n)=>{const s=e.selection.getRng(),i=Be.fromDom(s.startContainer),d=Be.fromDom(e.getBody()),h=n.fold(()=>"."+_c(),A=>`[${Oc()}="${A}"]`),v=ld(i,s.startOffset).getOr(i);return Eo(v,h,Xx(d)).bind(A=>Fc(A,`${Ga()}`).bind(F=>Fc(A,`${Oc()}`).map(te=>{const Y=aS(e,F);return{uid:F,name:te,elements:Y}})))},jf=e=>ur(e)&&Nm(e,_c()),Jx=(e,n)=>sd(e,"data-mce-bogus")||jg(e,'[data-mce-bogus="all"]',Xx(n)),aS=(e,n)=>{const s=Be.fromDom(e.getBody()),i=Bl(s,`[${Ga()}="${n}"]`);return mn(i,d=>!Jx(d,s))},Qx=(e,n)=>{const s=Be.fromDom(e.getBody()),i=Bl(s,`[${Oc()}="${n}"]`),d={};return mt(i,h=>{if(!Jx(h,s)){const v=ol(h,Ga()),T=ws(d,v).getOr([]);d[v]=T.concat([h])}}),d},I4=(e,n)=>{const s=xl({}),i=()=>({listeners:[],previous:Ru()}),d=(Y,ce)=>{h(Y,ke=>(ce(ke),ke))},h=(Y,ce)=>{const ke=s.get(),_e=ws(ke,Y).getOrThunk(i),ve=ce(_e);ke[Y]=ve,s.set(ke)},v=(Y,ce,ke)=>{d(Y,_e=>{mt(_e.listeners,ve=>ve(!0,Y,{uid:ce,nodes:yn(ke,Te=>Te.dom)}))})},T=Y=>{d(Y,ce=>{mt(ce.listeners,ke=>ke(!1,Y))})},A=(Y,ce)=>{mt(aS(e,Y),ke=>{ce?ra(ke,mb(),"true"):Is(ke,mb())})},F=fb(()=>{const Y=$n(n.getNames());mt(Y,ce=>{h(ce,ke=>{const _e=ke.previous.get();return Wf(e,oe.some(ce)).fold(()=>{_e.each(ve=>{T(ce),ke.previous.clear(),A(ve,!1)})},({uid:ve,name:Te,elements:We})=>{$a(_e,ve)||(_e.each(Ye=>A(Ye,!1)),v(Te,ve,We),ke.previous.set(ve),A(ve,!0))}),{previous:ke.previous,listeners:ke.listeners}})})},30);return e.on("remove",()=>{F.cancel()}),e.on("NodeChange",()=>{F.throttle()}),{addListener:(Y,ce)=>{h(Y,ke=>({previous:ke.previous,listeners:ke.listeners.concat([ce])}))}}},F4=(e,n)=>{const s=Oc(),i=h=>oe.from(h.attr(s)).bind(n.lookup),d=h=>{var v,T;h.attr(Ga(),null),h.attr(Oc(),null),h.attr(mb(),null);const A=oe.from(h.attr(pb())).map(ce=>ce.split(",")).getOr([]),F=oe.from(h.attr(jp())).map(ce=>ce.split(",")).getOr([]);mt(A,ce=>h.attr(ce,null));const te=(T=(v=h.attr("class"))===null||v===void 0?void 0:v.split(" "))!==null&&T!==void 0?T:[],Y=Vn(te,[_c()].concat(F));h.attr("class",Y.length>0?Y.join(" "):null),h.attr(jp(),null),h.attr(pb(),null)};e.serializer.addTempAttr(mb()),e.serializer.addAttributeFilter(s,h=>{for(const v of h)i(v).each(T=>{T.persistent===!1&&(v.name==="span"?v.unwrap():d(v))})})},ek=()=>{const e={};return{register:(d,h)=>{e[d]={name:d,settings:h}},lookup:d=>ws(e,d).map(h=>h.settings),getNames:()=>fn(e)}};let tk=0;const J1=e=>{const s=new Date().getTime(),i=Math.floor(Math.random()*1e9);return tk++,e+"_"+i+tk+String(s)},L4=(e,n)=>{mt(n,s=>{ru(e,s)})},nk=(e,n)=>{mt(n,s=>{Lc(e,s)})},lS=(e,n)=>Be.fromDom(e.dom.cloneNode(n)),hb=e=>lS(e,!1),Q1=e=>lS(e,!0),Ra=(e,n)=>{const s=Be.fromTag(n),i=Am(e);return Gl(s,i),s},iv=(e,n)=>{const s=Ra(e,n);Cc(e,s);const i=sl(e);return gr(s,i),Ns(e),s},iS=(e,n,s=at)=>{const i=new Da(e,n),d=h=>{let v;do v=i[h]();while(v&&!Vt(v)&&!s(v));return oe.from(v).filter(Vt)};return{current:()=>oe.from(i.current()).filter(Vt),next:()=>d("next"),prev:()=>d("prev"),prev2:()=>d("prev2")}},Vm=(e,n)=>{const s=n||(v=>e.isBlock(v)||Gr(v)||Fs(v)),i=(v,T,A,F)=>{if(Vt(v)){const te=F(v,T,v.data);if(te!==-1)return oe.some({container:v,offset:te})}return A().bind(te=>i(te.container,te.offset,A,F))};return{backwards:(v,T,A,F)=>{const te=iS(v,F!=null?F:e.getRoot(),s);return i(v,T,()=>te.prev().map(Y=>({container:Y,offset:Y.length})),A).getOrNull()},forwards:(v,T,A,F)=>{const te=iS(v,F!=null?F:e.getRoot(),s);return i(v,T,()=>te.next().map(Y=>({container:Y,offset:0})),A).getOrNull()}}},Zp=Math.round,Ka=e=>e?{left:Zp(e.left),top:Zp(e.top),bottom:Zp(e.bottom),right:Zp(e.right),width:Zp(e.width),height:Zp(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},du=(e,n)=>(e=Ka(e),n||(e.left=e.left+e.width),e.right=e.left,e.width=0,e),gb=(e,n)=>e.left===n.left&&e.top===n.top&&e.bottom===n.bottom&&e.right===n.right,cS=(e,n,s)=>e>=0&&e<=Math.min(n.height,s.height)/2,bb=(e,n)=>{const s=Math.min(n.height/2,e.height/2);return e.bottom-s<n.top?!0:e.top>n.bottom?!1:cS(n.top-e.bottom,e,n)},ey=(e,n)=>e.top>n.bottom?!0:e.bottom<n.top?!1:cS(n.bottom-e.top,e,n),ok=(e,n,s)=>n>=e.left&&n<=e.right&&s>=e.top&&s<=e.bottom,sk=e=>Jo(e,(n,s)=>n.fold(()=>oe.some(s),i=>{const d=Math.min(s.left,i.left),h=Math.min(s.top,i.top),v=Math.max(s.right,i.right),T=Math.max(s.bottom,i.bottom);return oe.some({top:h,right:v,bottom:T,left:d,width:v-d,height:T-h})}),oe.none()),Zf=(e,n,s)=>{const i=Math.max(Math.min(n,e.left+e.width),e.left),d=Math.max(Math.min(s,e.top+e.height),e.top);return Math.sqrt((n-i)*(n-i)+(s-d)*(s-d))},cv=(e,n)=>Math.max(0,Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top)),Ma=(e,n,s)=>Math.min(Math.max(e,n),s),Wc=e=>{const n=e.startContainer,s=e.startOffset;return n===e.endContainer&&n.hasChildNodes()&&e.endOffset===s+1?n.childNodes[s]:null},pd=(e,n)=>{if(cn(e)&&e.hasChildNodes()){const s=e.childNodes,i=Ma(n,0,s.length-1);return s[i]}else return e},rk=(e,n)=>{if(!(n<0&&cn(e)&&e.hasChildNodes()))return pd(e,n)},ak=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),lk=e=>H(e)&&e.charCodeAt(0)>=768&&ak.test(e),Lh=(...e)=>n=>{for(let s=0;s<e.length;s++)if(e[s](n))return!0;return!1},ik=(...e)=>n=>{for(let s=0;s<e.length;s++)if(!e[s](n))return!1;return!0},qp=cn,uS=la,ck=Op("display","block table"),uk=Op("float","left right"),ty=ik(qp,uS,on(uk)),z4=on(Op("white-space","pre pre-line pre-wrap")),yb=Vt,zh=Gr,dS=dr.nodeIndex,ny=rk,vb=e=>e?e.createRange():dr.DOM.createRng(),fS=e=>H(e)&&/[\r\n\t ]/.test(e),mS=e=>!!e.setStart&&!!e.setEnd,dk=e=>{const n=e.startContainer,s=e.startOffset;if(fS(e.toString())&&z4(n.parentNode)&&Vt(n)){const i=n.data;if(fS(i[s-1])||fS(i[s+1]))return!0}return!1},qf=e=>{const n=e.ownerDocument,s=vb(n),i=n.createTextNode(St),d=e.parentNode;d.insertBefore(i,e),s.setStart(i,0),s.setEnd(i,1);const h=Ka(s.getBoundingClientRect());return d.removeChild(i),h},Vh=e=>{const n=e.startContainer,s=e.endContainer,i=e.startOffset,d=e.endOffset;if(n===s&&Vt(s)&&i===0&&d===1){const h=e.cloneRange();return h.setEndAfter(s),jo(h)}else return null},Gf=e=>e.left===0&&e.right===0&&e.top===0&&e.bottom===0,jo=e=>{var n;let s;const i=e.getClientRects();return i.length>0?s=Ka(i[0]):s=Ka(e.getBoundingClientRect()),!mS(e)&&zh(e)&&Gf(s)?qf(e):Gf(s)&&mS(e)&&(n=Vh(e))!==null&&n!==void 0?n:s},ni=(e,n)=>{const s=du(e,n);return s.width=1,s.right=s.left+1,s},Gp=e=>{const n=[],s=v=>{v.height!==0&&(n.length>0&&gb(v,n[n.length-1])||n.push(v))},i=(v,T)=>{const A=vb(v.ownerDocument);if(T<v.data.length){if(lk(v.data[T]))return;if(lk(v.data[T-1])&&(A.setStart(v,T),A.setEnd(v,T+1),!dk(A))){s(ni(jo(A),!1));return}}T>0&&(A.setStart(v,T-1),A.setEnd(v,T),dk(A)||s(ni(jo(A),!1))),T<v.data.length&&(A.setStart(v,T),A.setEnd(v,T+1),dk(A)||s(ni(jo(A),!0)))},d=e.container(),h=e.offset();if(yb(d))return i(d,h),n;if(qp(d))if(e.isAtEnd()){const v=ny(d,h);yb(v)&&i(v,v.data.length),ty(v)&&!zh(v)&&s(ni(jo(v),!1))}else{const v=ny(d,h);if(yb(v)&&i(v,0),ty(v)&&e.isAtEnd())return s(ni(jo(v),!1)),n;const T=ny(e.container(),e.offset()-1);ty(T)&&!zh(T)&&(ck(T)||ck(v)||!ty(v))&&s(ni(jo(T),!1)),ty(v)&&s(ni(jo(v),!0))}return n},Et=(e,n,s)=>{const i=()=>(yb(e),n===0),d=()=>yb(e)?n>=e.data.length:n>=e.childNodes.length,h=()=>{const te=vb(e.ownerDocument);return te.setStart(e,n),te.setEnd(e,n),te},v=()=>(s||(s=Gp(Et(e,n))),s),T=()=>v().length>0,A=te=>te&&e===te.container()&&n===te.offset(),F=te=>ny(e,te?n-1:n);return{container:Me(e),offset:Me(n),toRange:h,getClientRects:v,isVisible:T,isAtStart:i,isAtEnd:d,isEqual:A,getNode:F}};Et.fromRangeStart=e=>Et(e.startContainer,e.startOffset),Et.fromRangeEnd=e=>Et(e.endContainer,e.endOffset),Et.after=e=>Et(e.parentNode,dS(e)+1),Et.before=e=>Et(e.parentNode,dS(e)),Et.isAbove=(e,n)=>ta(hn(n.getClientRects()),_o(e.getClientRects()),bb).getOr(!1),Et.isBelow=(e,n)=>ta(_o(n.getClientRects()),hn(e.getClientRects()),ey).getOr(!1),Et.isAtStart=e=>e?e.isAtStart():!1,Et.isAtEnd=e=>e?e.isAtEnd():!1,Et.isTextPosition=e=>e?Vt(e.container()):!1,Et.isElementPosition=e=>!Et.isTextPosition(e);const br=(e,n)=>{Vt(n)&&n.data.length===0&&e.remove(n)},fk=(e,n,s)=>{n.insertNode(s),br(e,s.previousSibling),br(e,s.nextSibling)},mk=(e,n,s)=>{const i=oe.from(s.firstChild),d=oe.from(s.lastChild);n.insertNode(s),i.each(h=>br(e,h.previousSibling)),d.each(h=>br(e,h.nextSibling))},Dl=(e,n,s)=>{$f(s)?mk(e,n,s):fk(e,n,s)},Hi=Vt,uv=Ec,pS=dr.nodeIndex,pk=e=>{const n=e.parentNode;return uv(n)?pk(n):n},wb=e=>e?Aa(e.childNodes,(n,s)=>(uv(s)&&s.nodeName!=="BR"?n=n.concat(wb(s)):n.push(s),n),[]):[],hS=(e,n)=>{let s=e;for(;(s=s.previousSibling)&&Hi(s);)n+=s.data.length;return n},Hm=e=>n=>e===n,dv=e=>{let n,s;n=wb(pk(e)),s=Oe(n,Hm(e),e),n=n.slice(0,s+1);const i=Aa(n,(d,h,v)=>(Hi(h)&&Hi(n[v-1])&&d++,d),0);return n=Al(n,Vc([e.nodeName])),s=Oe(n,Hm(e),e),s-i},fv=e=>(Hi(e)?"text()":e.nodeName.toLowerCase())+"["+dv(e)+"]",gS=(e,n,s)=>{const i=[];for(let d=n.parentNode;d&&d!==e&&!(s&&s(d));d=d.parentNode)i.push(d);return i},bS=(e,n)=>{let s=[],i=n.container(),d=n.offset(),h;if(Hi(i))h=hS(i,d);else{const T=i.childNodes;d>=T.length?(h="after",d=T.length-1):h="before",i=T[d]}s.push(fv(i));let v=gS(e,i);return v=Al(v,on(Ec)),s=s.concat(jr(v,T=>fv(T))),s.reverse().join("/")+","+h},hk=(e,n,s)=>{let i=wb(e);return i=Al(i,(d,h)=>!Hi(d)||!Hi(i[h-1])),i=Al(i,Vc([n])),i[s]},Cb=(e,n)=>{let s=e,i=0;for(;Hi(s);){const d=s.data.length;if(n>=i&&n<=i+d){e=s,n=n-i;break}if(!Hi(s.nextSibling)){e=s,n=d;break}i+=d,s=s.nextSibling}return Hi(e)&&n>e.data.length&&(n=e.data.length),Et(e,n)},Ac=(e,n)=>{if(!n)return null;const s=n.split(","),i=s[0].split("/"),d=s.length>1?s[1]:"before",h=Aa(i,(v,T)=>{const A=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(T);return A?(A[1]==="text()"&&(A[1]="#text"),hk(v,A[1],parseInt(A[2],10))):null},e);if(!h)return null;if(!Hi(h)&&h.parentNode){let v;return d==="after"?v=pS(h)+1:v=pS(h),Et(h.parentNode,v)}return Cb(h,parseInt(d,10))},yS=Fs,Ar=(e,n,s)=>{let i=e(n.data.slice(0,s)).length;for(let d=n.previousSibling;d&&Vt(d);d=d.previousSibling)i+=e(d.data).length;return i},gk=(e,n,s,i,d)=>{const h=d?i.startContainer:i.endContainer;let v=d?i.startOffset:i.endOffset;const T=[],A=e.getRoot();if(Vt(h))T.push(s?Ar(n,h,v):v);else{let F=0;const te=h.childNodes;v>=te.length&&te.length&&(F=1,v=Math.max(0,te.length-1)),T.push(e.nodeIndex(te[v],s)+F)}for(let F=h;F&&F!==A;F=F.parentNode)T.push(e.nodeIndex(F,s));return T},Kp=(e,n,s,i)=>{const d=n.dom,h=gk(d,e,s,i,!0),v=n.isForward(),T=If(i)?{isFakeCaret:!0}:{};if(n.isCollapsed())return ue({start:h,forward:v},T);{const A=gk(d,e,s,i,!1);return ue({start:h,end:A,forward:v},T)}},mv=(e,n,s)=>{let i=0;return $t.each(e.select(n),d=>{if(d.getAttribute("data-mce-bogus")!=="all"){if(d===s)return!1;i++;return}}),i},vS=(e,n)=>{let s=n?e.startContainer:e.endContainer,i=n?e.startOffset:e.endOffset;if(cn(s)&&s.nodeName==="TR"){const d=s.childNodes;s=d[Math.min(n?i:i-1,d.length-1)],s&&(i=n?0:s.childNodes.length,n?e.setStart(s,i):e.setEnd(s,i))}},oy=e=>(vS(e,!0),vS(e,!1),e),Sb=(e,n)=>{if(cn(e)&&(e=pd(e,n),yS(e)))return e;if(Hs(e)){Vt(e)&&Qn(e)&&(e=e.parentNode);let s=e.previousSibling;if(yS(s)||(s=e.nextSibling,yS(s)))return s}},wS=e=>Sb(e.startContainer,e.startOffset)||Sb(e.endContainer,e.endOffset),CS=(e,n,s)=>{const i=s.getNode(),d=s.getRng();if(i.nodeName==="IMG"||yS(i)){const v=i.nodeName;return{name:v,index:mv(s.dom,v,i)}}const h=wS(d);if(h){const v=h.tagName;return{name:v,index:mv(s.dom,v,h)}}return Kp(e,s,n,d)},V4=e=>{const n=e.getRng();return{start:bS(e.dom.getRoot(),Et.fromRangeStart(n)),end:bS(e.dom.getRoot(),Et.fromRangeEnd(n)),forward:e.isForward()}},bk=e=>({rng:e.getRng(),forward:e.isForward()}),Rl=(e,n,s)=>{const i={"data-mce-type":"bookmark",id:n,style:"overflow:hidden;line-height:0px"};return s?e.create("span",i,""):e.create("span",i)},cl=(e,n)=>{const s=e.dom;let i=e.getRng();const d=s.uniqueId(),h=e.isCollapsed(),v=e.getNode(),T=v.nodeName,A=e.isForward();if(T==="IMG")return{name:T,index:mv(s,T,v)};const F=oy(i.cloneRange());if(!h){F.collapse(!1);const Y=Rl(s,d+"_end",n);Dl(s,F,Y)}i=oy(i),i.collapse(!0);const te=Rl(s,d+"_start",n);return Dl(s,i,te),e.moveToBookmark({id:d,keep:!0,forward:A}),{id:d,forward:A}},Nc=(e,n,s=!1)=>n===2?CS(Ct,s,e):n===3?V4(e):n?bk(e):cl(e,!1),Ui=Xe(CS,et,!0),Nr=e=>{const n=h=>h(e),s=Me(e),i=()=>d,d={tag:!0,inner:e,fold:(h,v)=>v(e),isValue:lt,isError:at,map:h=>Wi.value(h(e)),mapError:i,bind:n,exists:n,forall:n,getOr:s,or:i,getOrThunk:s,orThunk:i,getOrDie:s,each:h=>{h(e)},toOptional:()=>oe.some(e)};return d},Pa=e=>{const n=()=>s,s={tag:!1,inner:e,fold:(i,d)=>i(e),isValue:at,isError:lt,map:n,mapError:i=>Wi.error(i(e)),bind:n,exists:at,forall:lt,getOr:et,or:et,getOrThunk:pn,orThunk:pn,getOrDie:Kn(String(e)),each:Qe,toOptional:oe.none};return s},Wi={value:Nr,error:Pa,fromOption:(e,n)=>e.fold(()=>Pa(n),Nr)},Qd={generate:e=>{if(!pe(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");const n=[],s={};return mt(e,(i,d)=>{const h=fn(i);if(h.length!==1)throw new Error("one and only one name per case");const v=h[0],T=i[v];if(s[v]!==void 0)throw new Error("duplicate key detected:"+v);if(v==="cata")throw new Error("cannot have a case named cata (sorry)");if(!pe(T))throw new Error("case arguments must be an array");n.push(v),s[v]=(...A)=>{const F=A.length;if(F!==T.length)throw new Error("Wrong number of arguments to case "+v+". Expected "+T.length+" ("+T+"), got "+F);return{fold:(...Y)=>{if(Y.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+Y.length);return Y[d].apply(null,A)},match:Y=>{const ce=fn(Y);if(n.length!==ce.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+`
|
|
73
73
|
Actual: `+ce.join(","));if(!ns(n,_e=>An(ce,_e)))throw new Error("Not all branches were specified when using match. Specified: "+ce.join(", ")+`
|
|
74
74
|
Required: `+n.join(", "));return Y[v].apply(null,A)},log:Y=>{console.log(Y,{constructors:n,constructor:v,params:A})}}}}),s}};Qd.generate([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const vk=e=>{const n=[],s=[];return mt(e,i=>{i.fold(d=>{n.push(d)},d=>{s.push(d)})}),{errors:n,values:s}},wk=e=>e.type==="inline-command"||e.type==="inline-format",SS=e=>e.type==="block-command"||e.type==="block-format",ES=e=>{const n=i=>Wi.error({message:i,pattern:e}),s=(i,d,h)=>{if(e.format!==void 0){let v;if(pe(e.format)){if(!ns(e.format,H))return n(i+" pattern has non-string items in the `format` array");v=e.format}else if(H(e.format))v=[e.format];else return n(i+" pattern has non-string `format` parameter");return Wi.value(d(v))}else return e.cmd!==void 0?H(e.cmd)?Wi.value(h(e.cmd,e.value)):n(i+" pattern has non-string `cmd` parameter"):n(i+" pattern is missing both `format` and `cmd` parameters")};if(!ne(e))return n("Raw pattern is not an object");if(!H(e.start))return n("Raw pattern is missing `start` parameter");if(e.end!==void 0){if(!H(e.end))return n("Inline pattern has non-string `end` parameter");if(e.start.length===0&&e.end.length===0)return n("Inline pattern has empty `start` and `end` parameters");let i=e.start,d=e.end;return d.length===0&&(d=i,i=""),s("Inline",h=>({type:"inline-format",start:i,end:d,format:h}),(h,v)=>({type:"inline-command",start:i,end:d,cmd:h,value:v}))}else return e.replacement!==void 0?H(e.replacement)?e.start.length===0?n("Replacement pattern has empty `start` parameter"):Wi.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):n("Replacement pattern has non-string `replacement` parameter"):e.start.length===0?n("Block pattern has empty `start` parameter"):s("Block",i=>({type:"block-format",start:e.start,format:i[0]}),(i,d)=>({type:"block-command",start:e.start,cmd:i,value:d}))},pv=e=>mn(e,SS),U4=e=>mn(e,wk),W4=(e,n)=>({inlinePatterns:U4(e),blockPatterns:pv(e),dynamicPatternsLookup:n}),Ck=e=>{const n=vk(yn(e,ES));return mt(n.errors,s=>console.error(s.message,s.pattern)),n.values},j4=e=>n=>{const s=e(n);return Ck(s)},sy=js().deviceType,Z4=sy.isTouch(),q4=dr.DOM,G4=e=>{const n=e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(",");return Jo(n,(s,i)=>{const d=i.split("="),h=d[0],v=d.length>1?d[1]:h;return s[yl(h)]=yl(v),s},{})},ry=e=>se(e,RegExp),bn=e=>n=>n.options.get(e),jt=e=>H(e)||ne(e),Sk=(e,n="")=>s=>{const i=H(s);if(i)if(s.indexOf("=")!==-1){const d=G4(s);return{value:ws(d,e.id).getOr(n),valid:i}}else return{value:s,valid:i};else return{valid:!1,message:"Must be a string."}},oi=e=>{const n=e.options.register;n("id",{processor:"string",default:e.id}),n("selector",{processor:"string"}),n("target",{processor:"object"}),n("suffix",{processor:"string"}),n("cache_suffix",{processor:"string"}),n("base_url",{processor:"string"}),n("referrer_policy",{processor:"string",default:""}),n("language_load",{processor:"boolean",default:!0}),n("inline",{processor:"boolean",default:!1}),n("iframe_attrs",{processor:"object",default:{}}),n("doctype",{processor:"string",default:"<!DOCTYPE html>"}),n("document_base_url",{processor:"string",default:e.documentBaseUrl}),n("body_id",{processor:Sk(e,"tinymce"),default:"tinymce"}),n("body_class",{processor:Sk(e),default:""}),n("content_security_policy",{processor:"string",default:""}),n("br_in_pre",{processor:"boolean",default:!0}),n("forced_root_block",{processor:s=>{const i=H(s)&&ms(s);return i?{value:s,valid:i}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),n("forced_root_block_attrs",{processor:"object",default:{}}),n("newline_behavior",{processor:s=>{const i=An(["block","linebreak","invert","default"],s);return i?{value:s,valid:i}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),n("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),n("no_newline_selector",{processor:"string",default:""}),n("keep_styles",{processor:"boolean",default:!0}),n("end_container_on_empty_block",{processor:s=>Se(s)?{valid:!0,value:s}:H(s)?{valid:!0,value:s}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),n("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),n("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),n("font_size_classes",{processor:"string",default:""}),n("automatic_uploads",{processor:"boolean",default:!0}),n("images_reuse_filename",{processor:"boolean",default:!1}),n("images_replace_blob_uris",{processor:"boolean",default:!0}),n("icons",{processor:"string",default:""}),n("icons_url",{processor:"string",default:""}),n("images_upload_url",{processor:"string",default:""}),n("images_upload_base_path",{processor:"string",default:""}),n("images_upload_credentials",{processor:"boolean",default:!1}),n("images_upload_handler",{processor:"function"}),n("language",{processor:"string",default:"en"}),n("language_url",{processor:"string",default:""}),n("entity_encoding",{processor:"string",default:"named"}),n("indent",{processor:"boolean",default:!0}),n("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),n("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),n("indent_use_margin",{processor:"boolean",default:!1}),n("indentation",{processor:"string",default:"40px"}),n("content_css",{processor:s=>{const i=s===!1||H(s)||At(s,H);return i?H(s)?{value:yn(s.split(","),yl),valid:i}:pe(s)?{value:s,valid:i}:s===!1?{value:[],valid:i}:{value:s,valid:i}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:vv(e)?[]:["default"]}),n("content_style",{processor:"string"}),n("content_css_cors",{processor:"boolean",default:!1}),n("font_css",{processor:s=>{const i=H(s)||At(s,H);return i?{value:pe(s)?s:yn(s.split(","),yl),valid:i}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),n("inline_boundaries",{processor:"boolean",default:!0}),n("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),n("object_resizing",{processor:s=>{const i=Se(s)||H(s);return i?s===!1||sy.isiPhone()||sy.isiPad()?{value:"",valid:i}:{value:s===!0?"table,img,figure.image,div,video,iframe":s,valid:i}:{valid:!1,message:"Must be boolean or a string"}},default:!Z4}),n("resize_img_proportional",{processor:"boolean",default:!0}),n("event_root",{processor:"object"}),n("service_message",{processor:"string"}),n("theme",{processor:s=>s===!1||H(s)||de(s),default:"silver"}),n("theme_url",{processor:"string"}),n("formats",{processor:"object"}),n("format_empty_lines",{processor:"boolean",default:!1}),n("format_noneditable_selector",{processor:"string",default:""}),n("preview_styles",{processor:s=>{const i=s===!1||H(s);return i?{value:s===!1?"":s,valid:i}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),n("custom_ui_selector",{processor:"string",default:""}),n("hidden_input",{processor:"boolean",default:!0}),n("submit_patch",{processor:"boolean",default:!0}),n("encoding",{processor:"string"}),n("add_form_submit_trigger",{processor:"boolean",default:!0}),n("add_unload_trigger",{processor:"boolean",default:!0}),n("custom_undo_redo_levels",{processor:"number",default:0}),n("disable_nodechange",{processor:"boolean",default:!1}),n("readonly",{processor:"boolean",default:!1}),n("editable_root",{processor:"boolean",default:!0}),n("plugins",{processor:"string[]",default:[]}),n("external_plugins",{processor:"object"}),n("forced_plugins",{processor:"string[]"}),n("model",{processor:"string",default:e.hasPlugin("rtc")?"plugin":"dom"}),n("model_url",{processor:"string"}),n("block_unsupported_drop",{processor:"boolean",default:!0}),n("visual",{processor:"boolean",default:!0}),n("visual_table_class",{processor:"string",default:"mce-item-table"}),n("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),n("iframe_aria_text",{processor:"string",default:"Rich Text Area. Press ALT-0 for help."}),n("setup",{processor:"function"}),n("init_instance_callback",{processor:"function"}),n("url_converter",{processor:"function",default:e.convertURL}),n("url_converter_scope",{processor:"object",default:e}),n("urlconverter_callback",{processor:"function"}),n("allow_conditional_comments",{processor:"boolean",default:!1}),n("allow_html_data_urls",{processor:"boolean",default:!1}),n("allow_svg_data_urls",{processor:"boolean"}),n("allow_html_in_named_anchor",{processor:"boolean",default:!1}),n("allow_script_urls",{processor:"boolean",default:!1}),n("allow_unsafe_link_target",{processor:"boolean",default:!1}),n("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),n("fix_list_elements",{processor:"boolean",default:!1}),n("preserve_cdata",{processor:"boolean",default:!1}),n("remove_trailing_brs",{processor:"boolean",default:!0}),n("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),n("element_format",{processor:"string",default:"html"}),n("entities",{processor:"string"}),n("schema",{processor:"string",default:"html5"}),n("convert_urls",{processor:"boolean",default:!0}),n("relative_urls",{processor:"boolean",default:!0}),n("remove_script_host",{processor:"boolean",default:!0}),n("custom_elements",{processor:"string"}),n("extended_valid_elements",{processor:"string"}),n("invalid_elements",{processor:"string"}),n("invalid_styles",{processor:jt}),n("valid_children",{processor:"string"}),n("valid_classes",{processor:jt}),n("valid_elements",{processor:"string"}),n("valid_styles",{processor:jt}),n("verify_html",{processor:"boolean",default:!0}),n("auto_focus",{processor:s=>H(s)||s===!0}),n("browser_spellcheck",{processor:"boolean",default:!1}),n("protect",{processor:"array"}),n("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),n("deprecation_warnings",{processor:"boolean",default:!0}),n("a11y_advanced_options",{processor:"boolean",default:!1}),n("api_key",{processor:"string"}),n("paste_block_drop",{processor:"boolean",default:!1}),n("paste_data_images",{processor:"boolean",default:!0}),n("paste_preprocess",{processor:"function"}),n("paste_postprocess",{processor:"function"}),n("paste_webkit_styles",{processor:"string",default:"none"}),n("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),n("paste_merge_formats",{processor:"boolean",default:!0}),n("smart_paste",{processor:"boolean",default:!0}),n("paste_as_text",{processor:"boolean",default:!1}),n("paste_tab_spaces",{processor:"number",default:4}),n("text_patterns",{processor:s=>At(s,ne)||s===!1?{value:Ck(s===!1?[]:s),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}]}),n("text_patterns_lookup",{processor:s=>de(s)?{value:j4(s),valid:!0}:{valid:!1,message:"Must be a single function"},default:s=>[]}),n("noneditable_class",{processor:"string",default:"mceNonEditable"}),n("editable_class",{processor:"string",default:"mceEditable"}),n("noneditable_regexp",{processor:s=>At(s,ry)?{value:s,valid:!0}:ry(s)?{value:[s],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),n("table_tab_navigation",{processor:"boolean",default:!0}),n("highlight_on_focus",{processor:"boolean",default:!1}),n("xss_sanitization",{processor:"boolean",default:!0}),n("details_initial_state",{processor:s=>{const i=An(["inherited","collapsed","expanded"],s);return i?{value:s,valid:i}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),n("details_serialized_state",{processor:s=>{const i=An(["inherited","collapsed","expanded"],s);return i?{value:s,valid:i}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),n("init_content_sync",{processor:"boolean",default:!1}),n("newdocument_content",{processor:"string",default:""}),e.on("ScriptsLoaded",()=>{n("directionality",{processor:"string",default:ar.isRtl()?"rtl":void 0}),n("placeholder",{processor:"string",default:q4.getAttrib(e.getElement(),"placeholder")})})},K4=bn("iframe_attrs"),Ek=bn("doctype"),xk=bn("document_base_url"),Bc=bn("body_id"),kk=bn("body_class"),xS=bn("content_security_policy"),Mu=bn("br_in_pre"),Oi=bn("forced_root_block"),Kf=bn("forced_root_block_attrs"),Yf=bn("newline_behavior"),hd=bn("br_newline_selector"),ay=bn("no_newline_selector"),jc=bn("keep_styles"),Y4=bn("end_container_on_empty_block"),kS=bn("automatic_uploads"),hv=bn("images_reuse_filename"),Tk=bn("images_replace_blob_uris"),TS=bn("icons"),_S=bn("icons_url"),X4=bn("images_upload_url"),_k=bn("images_upload_base_path"),J4=bn("images_upload_credentials"),Q4=bn("images_upload_handler"),e3=bn("content_css_cors"),OS=bn("referrer_policy"),Ok=bn("language"),AS=bn("language_url"),Ak=bn("indent_use_margin"),Nk=bn("indentation"),t3=bn("content_css"),gv=bn("content_style"),Bk=bn("font_css"),n3=bn("directionality"),o3=bn("inline_boundaries_selector"),$k=bn("object_resizing"),s3=bn("resize_img_proportional"),bv=bn("placeholder"),NS=bn("event_root"),gd=bn("service_message"),lr=bn("theme"),Dk=bn("theme_url"),Ai=bn("model"),BS=bn("model_url"),Um=bn("inline_boundaries"),Ml=bn("formats"),yv=bn("preview_styles"),Rk=bn("format_empty_lines"),r3=bn("format_noneditable_selector"),Mk=bn("custom_ui_selector"),vv=bn("inline"),a3=bn("hidden_input"),l3=bn("submit_patch"),i3=bn("add_form_submit_trigger"),c3=bn("add_unload_trigger"),ly=bn("custom_undo_redo_levels"),Pk=bn("disable_nodechange"),Ik=bn("readonly"),Hh=bn("editable_root"),Fk=bn("content_css_cors"),wv=bn("plugins"),Lk=bn("external_plugins"),u3=bn("block_unsupported_drop"),Uh=bn("visual"),Cv=bn("visual_table_class"),zk=bn("visual_anchor_class"),d3=bn("iframe_aria_text"),f3=bn("setup"),Wm=bn("init_instance_callback"),Sv=bn("urlconverter_callback"),Ev=bn("auto_focus"),$S=bn("browser_spellcheck"),Vk=bn("protect"),Xf=bn("paste_block_drop"),Wh=bn("paste_data_images"),Hk=bn("paste_preprocess"),jm=bn("paste_postprocess"),jh=bn("newdocument_content"),iy=bn("paste_webkit_styles"),DS=bn("paste_remove_styles_if_webkit"),Uk=bn("paste_merge_formats"),m3=bn("smart_paste"),Wk=bn("paste_as_text"),p3=bn("paste_tab_spaces"),h3=bn("allow_html_data_urls"),jk=bn("text_patterns"),g3=bn("text_patterns_lookup"),xv=bn("noneditable_class"),b3=bn("editable_class"),y3=bn("noneditable_regexp"),v3=bn("preserve_cdata"),Zk=bn("highlight_on_focus"),cy=bn("xss_sanitization"),qk=bn("init_content_sync"),w3=e=>e.options.isSet("text_patterns_lookup"),C3=e=>$t.explode(e.options.get("font_size_style_values")),S3=e=>$t.explode(e.options.get("font_size_classes")),kv=e=>e.options.get("encoding")==="xml",Gk=e=>$t.explode(e.options.get("images_file_types")),uy=bn("table_tab_navigation"),dy=bn("details_initial_state"),Kk=bn("details_serialized_state"),RS=cn,MS=Vt,PS=e=>{const n=e.parentNode;n&&n.removeChild(e)},IS=e=>{const n=Ct(e);return{count:e.length-n.length,text:n}},Yk=e=>{let n;for(;(n=e.data.lastIndexOf(ye))!==-1;)e.deleteData(n,1)},Eb=(e,n)=>(Zh(e),n),Xk=(e,n)=>{const s=IS(e.data.substr(0,n.offset())),i=IS(e.data.substr(n.offset()));return(s.text+i.text).length>0?(Yk(e),Et(e,n.offset()-s.count)):n},E3=(e,n)=>{const s=n.container(),i=Rs(is(s.childNodes),e).map(d=>d<n.offset()?Et(s,n.offset()-1):n).getOr(n);return Zh(e),i},FS=(e,n)=>MS(e)&&n.container()===e?Xk(e,n):Eb(e,n),x3=(e,n)=>n.container()===e.parentNode?E3(e,n):Eb(e,n),k3=(e,n)=>Et.isTextPosition(n)?FS(e,n):x3(e,n),Zh=e=>{RS(e)&&Hs(e)&&(ks(e)?e.removeAttribute("data-mce-caret"):PS(e)),MS(e)&&(Yk(e),e.data.length===0&&PS(e))},LS=Fs,fy=xa,T3=Xl,_3="*[contentEditable=false],video,audio,embed,object",zS=(e,n,s)=>{const i=du(n.getBoundingClientRect(),s);let d,h;if(e.tagName==="BODY"){const T=e.ownerDocument.documentElement;d=e.scrollLeft||T.scrollLeft,h=e.scrollTop||T.scrollTop}else{const T=e.getBoundingClientRect();d=e.scrollLeft-T.left,h=e.scrollTop-T.top}i.left+=d,i.right+=d,i.top+=h,i.bottom+=h,i.width=1;let v=n.offsetWidth-n.clientWidth;return v>0&&(s&&(v*=-1),i.left+=v,i.right+=v),i},Jk=e=>{var n,s;const i=Bl(Be.fromDom(e),_3);for(let d=0;d<i.length;d++){const h=i[d].dom;let v=h.previousSibling;if(Pm(v)){const T=v.data;T.length===1?(n=v.parentNode)===null||n===void 0||n.removeChild(v):v.deleteData(T.length-1,1)}v=h.nextSibling,zi(v)&&(v.data.length===1?(s=v.parentNode)===null||s===void 0||s.removeChild(v):v.deleteData(0,1))}},ji=(e,n,s,i)=>{const d=Ru();let h,v;const T=Oi(e),A=e.dom,F=(ve,Te)=>{let We;if(te(),T3(Te))return null;if(s(Te)){const Ye=Zd(T,Te,ve),Je=zS(n,Te,ve);A.setStyle(Ye,"top",Je.top),v=Ye;const rt=A.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});A.setStyles(rt,ue({},Je)),A.add(n,rt),d.set({caret:rt,element:Te,before:ve}),ve&&A.addClass(rt,"mce-visual-caret-before"),Y(),We=Te.ownerDocument.createRange(),We.setStart(Ye,0),We.setEnd(Ye,0)}else return v=Ir(Te,ve),We=Te.ownerDocument.createRange(),Jf(v.nextSibling)?(We.setStart(v,0),We.setEnd(v,0)):(We.setStart(v,1),We.setEnd(v,1)),We;return We},te=()=>{Jk(n),v&&(Zh(v),v=null),d.on(ve=>{A.remove(ve.caret),d.clear()}),h&&(clearInterval(h),h=void 0)},Y=()=>{h=setInterval(()=>{d.on(ve=>{i()?A.toggleClass(ve.caret,"mce-visual-caret-hidden"):A.addClass(ve.caret,"mce-visual-caret-hidden")})},500)};return{show:F,hide:te,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{d.on(ve=>{const Te=zS(n,ve.element,ve.before);A.setStyles(ve.caret,ue({},Te))})},destroy:()=>clearInterval(h)}},O3=()=>Qo.browser.isFirefox(),Jf=e=>LS(e)||fy(e),Zm=e=>(Jf(e)||Qr(e)&&O3())&&Ep(Be.fromDom(e)).exists(Nn),Qk=Qs,VS=Fs,A3=xa,eT=Op("display","block table table-cell table-caption list-item"),Tv=Hs,my=Qn,ic=cn,N3=Vt,py=la,qh=e=>e>0,Yp=e=>e<0,_v=(e,n)=>{let s;for(;s=e(n);)if(!my(s))return s;return null},xb=(e,n,s,i,d)=>{const h=new Da(e,i),v=VS(e)||my(e);let T;if(Yp(n)){if(v&&(T=_v(h.prev.bind(h),!0),s(T)))return T;for(;T=_v(h.prev.bind(h),d);)if(s(T))return T}if(qh(n)){if(v&&(T=_v(h.next.bind(h),!0),s(T)))return T;for(;T=_v(h.next.bind(h),d);)if(s(T))return T}return null},Ov=(e,n)=>{const s=d=>Qk(d.dom),i=d=>d.dom===n;return X(Be.fromDom(e),s,i).map(d=>d.dom).getOr(n)},Gh=(e,n)=>{for(;e&&e!==n;){if(eT(e))return e;e=e.parentNode}return null},Pu=(e,n,s)=>Gh(e.container(),s)===Gh(n.container(),s),tT=(e,n)=>{if(!n)return oe.none();const s=n.container(),i=n.offset();return ic(s)?oe.from(s.childNodes[i+e]):oe.none()},HS=(e,n)=>{var s;const d=((s=n.ownerDocument)!==null&&s!==void 0?s:document).createRange();return e?(d.setStartBefore(n),d.setEndBefore(n)):(d.setStartAfter(n),d.setEndAfter(n)),d},hy=(e,n,s)=>Gh(n,e)===Gh(s,e),gy=(e,n,s)=>{const i=e?"previousSibling":"nextSibling";let d=s;for(;d&&d!==n;){let h=d[i];if(h&&Tv(h)&&(h=h[i]),VS(h)||A3(h)){if(hy(n,h,d))return h;break}if(py(h))break;d=d.parentNode}return null},kb=Xe(HS,!0),Xp=Xe(HS,!1),Av=(e,n,s)=>{let i;const d=Xe(gy,!0,n),h=Xe(gy,!1,n),v=s.startContainer,T=s.startOffset;if(Qn(v)){const A=N3(v)?v.parentNode:v,F=A.getAttribute("data-mce-caret");if(F==="before"&&(i=A.nextSibling,Zm(i)))return kb(i);if(F==="after"&&(i=A.previousSibling,Zm(i)))return Xp(i)}if(!s.collapsed)return s;if(Vt(v)){if(Tv(v)){if(e===1){if(i=h(v),i)return kb(i);if(i=d(v),i)return Xp(i)}if(e===-1){if(i=d(v),i)return Xp(i);if(i=h(v),i)return kb(i)}return s}if(Pm(v)&&T>=v.data.length-1)return e===1&&(i=h(v),i)?kb(i):s;if(zi(v)&&T<=1)return e===-1&&(i=d(v),i)?Xp(i):s;if(T===v.data.length)return i=h(v),i?kb(i):s;if(T===0)return i=d(v),i?Xp(i):s}return s},Nv=(e,n)=>tT(e?0:-1,n).filter(VS),Tb=(e,n,s)=>{const i=Av(e,n,s);return e===-1?Et.fromRangeStart(i):Et.fromRangeEnd(i)},bd=e=>oe.from(e.getNode()).map(Be.fromDom),_b=e=>oe.from(e.getNode(!0)).map(Be.fromDom),Bv=(e,n)=>{let s=n;for(;s=e(s);)if(s.isVisible())return s;return s},Ob=(e,n)=>{const s=Pu(e,n);return!s&&Gr(e.getNode())?!0:s};var si;(function(e){e[e.Backwards=-1]="Backwards",e[e.Forwards=1]="Forwards"})(si||(si={}));const B3=Fs,yd=Vt,by=cn,$v=Gr,Kh=la,Dv=Ix,Rv=Dp,$3=(e,n)=>{const s=[];let i=e;for(;i&&i!==n;)s.push(i),i=i.parentNode;return s},US=(e,n)=>e.hasChildNodes()&&n<e.childNodes.length?e.childNodes[n]:null,WS=(e,n)=>{if(qh(e)){if(Kh(n.previousSibling)&&!yd(n.previousSibling))return Et.before(n);if(yd(n))return Et(n,0)}if(Yp(e)){if(Kh(n.nextSibling)&&!yd(n.nextSibling))return Et.after(n);if(yd(n))return Et(n,n.data.length)}return Yp(e)?$v(n)?Et.before(n):Et.after(n):Et.before(n)},Mv=(e,n)=>{const s=n.nextSibling;return s&&Kh(s)?yd(s)?Et(s,0):Et.before(s):Pv(si.Forwards,Et.after(n),e)},Pv=(e,n,s)=>{let i,d,h,v;if(!by(s)||!n)return null;if(n.isEqual(Et.after(s))&&s.lastChild){if(v=Et.after(s.lastChild),Yp(e)&&Kh(s.lastChild)&&by(s.lastChild))return $v(s.lastChild)?Et.before(s.lastChild):v}else v=n;const T=v.container();let A=v.offset();if(yd(T)){if(Yp(e)&&A>0)return Et(T,--A);if(qh(e)&&A<T.length)return Et(T,++A);i=T}else{if(Yp(e)&&A>0&&(d=US(T,A-1),Kh(d)))return!Dv(d)&&(h=xb(d,e,Rv,d),h)?yd(h)?Et(h,h.data.length):Et.after(h):yd(d)?Et(d,d.data.length):Et.before(d);if(qh(e)&&A<T.childNodes.length&&(d=US(T,A),Kh(d)))return $v(d)?Mv(s,d):!Dv(d)&&(h=xb(d,e,Rv,d),h)?yd(h)?Et(h,0):Et.before(h):yd(d)?Et(d,0):Et.after(d);i=d||v.getNode()}if(i&&(qh(e)&&v.isAtEnd()||Yp(e)&&v.isAtStart())&&(i=xb(i,e,lt,s,!0),Rv(i,s)))return WS(e,i);d=i&&xb(i,e,Rv,s);const F=Ne(mn($3(T,s),B3));return F&&(!d||!F.contains(d))?(qh(e)?v=Et.after(F):v=Et.before(F),v):d?WS(e,d):null},ef=e=>({next:n=>Pv(si.Forwards,n,e),prev:n=>Pv(si.Backwards,n,e)}),D3=(e,n,s)=>{const i=e?Et.before(s):Et.after(s);return vd(e,n,i)},R3=e=>Gr(e)?Et.before(e):Et.after(e),nT=e=>Et.isTextPosition(e)?e.offset()===0:la(e.getNode()),Ab=e=>{if(Et.isTextPosition(e)){const n=e.container();return e.offset()===n.data.length}else return la(e.getNode(!0))},M3=(e,n)=>!Et.isTextPosition(e)&&!Et.isTextPosition(n)&&e.getNode()===n.getNode(!0),rI=e=>!Et.isTextPosition(e)&&Gr(e.getNode()),P3=(e,n,s)=>e?!M3(n,s)&&!rI(n)&&Ab(n)&&nT(s):!M3(s,n)&&nT(n)&&Ab(s),vd=(e,n,s)=>{const i=ef(n);return oe.from(e?i.next(s):i.prev(s))},Qf=(e,n,s)=>vd(e,n,s).bind(i=>Pu(s,i,n)&&P3(e,s,i)?vd(e,n,i):oe.some(i)),Ni=(e,n,s,i)=>Qf(e,n,s).bind(d=>i(d)?Ni(e,n,d,i):oe.some(d)),Jp=(e,n)=>{const s=e?n.firstChild:n.lastChild;return Vt(s)?oe.some(Et(s,e?0:s.data.length)):s?la(s)?oe.some(e?Et.before(s):R3(s)):D3(e,n,s):oe.none()},ri=Xe(vd,!0),Pl=Xe(vd,!1),gi=Xe(Jp,!0),fu=Xe(Jp,!1),Iv="_mce_caret",wd=e=>cn(e)&&e.id===Iv,Yh=(e,n)=>{let s=n;for(;s&&s!==e;){if(wd(s))return s;s=s.parentNode}return null},I3=e=>H(e.start),em=e=>Gn(e,"rng"),yy=e=>Gn(e,"id"),Fv=e=>Gn(e,"name"),tm=e=>$t.isArray(e.start),vy=e=>!Fv(e)&&Se(e.forward)?e.forward:!0,Lv=(e,n)=>(cn(n)&&e.isBlock(n)&&!n.innerHTML&&(n.innerHTML='<br data-mce-bogus="1" />'),n),Xh=(e,n)=>{const s=oe.from(Ac(e.getRoot(),n.start)),i=oe.from(Ac(e.getRoot(),n.end));return ta(s,i,(d,h)=>{const v=e.createRng();return v.setStart(d.container(),d.offset()),v.setEnd(h.container(),h.offset()),{range:v,forward:vy(n)}})},jS=(e,n)=>{var s;const d=((s=e.ownerDocument)!==null&&s!==void 0?s:document).createTextNode(ye);e.appendChild(d),n.setStart(d,0),n.setEnd(d,0)},oT=e=>!e.hasChildNodes(),ZS=(e,n)=>fu(e).fold(at,s=>(n.setStart(s.container(),s.offset()),n.setEnd(s.container(),s.offset()),!0)),qm=(e,n,s)=>oT(n)&&Yh(e,n)?(jS(n,s),!0):!1,sT=(e,n,s,i)=>{const d=s[n?"start":"end"],h=e.getRoot();if(d){let v=h,T=d[0];for(let A=d.length-1;v&&A>=1;A--){const F=v.childNodes;if(qm(h,v,i))return!0;if(d[A]>F.length-1)return qm(h,v,i)?!0:ZS(v,i);v=F[d[A]]}Vt(v)&&(T=Math.min(d[0],v.data.length)),cn(v)&&(T=Math.min(d[0],v.childNodes.length)),n?i.setStart(v,T):i.setEnd(v,T)}return!0},Cd=e=>Vt(e)&&e.data.length>0,qS=(e,n,s)=>{const i=e.get(s.id+"_"+n),d=i==null?void 0:i.parentNode,h=s.keep;if(i&&d){let v,T;if(n==="start"?h?i.hasChildNodes()?(v=i.firstChild,T=1):Cd(i.nextSibling)?(v=i.nextSibling,T=0):Cd(i.previousSibling)?(v=i.previousSibling,T=i.previousSibling.data.length):(v=d,T=e.nodeIndex(i)+1):(v=d,T=e.nodeIndex(i)):h?i.hasChildNodes()?(v=i.firstChild,T=1):Cd(i.previousSibling)?(v=i.previousSibling,T=i.previousSibling.data.length):(v=d,T=e.nodeIndex(i)):(v=d,T=e.nodeIndex(i)),!h){const A=i.previousSibling,F=i.nextSibling;$t.each($t.grep(i.childNodes),Y=>{Vt(Y)&&(Y.data=Y.data.replace(/\uFEFF/g,""))});let te;for(;te=e.get(s.id+"_"+n);)e.remove(te,!0);if(Vt(F)&&Vt(A)&&!Qo.browser.isOpera()){const Y=A.data.length;A.appendData(F.data),e.remove(F),v=A,T=Y}}return oe.some(Et(v,T))}else return oe.none()},GS=(e,n)=>{const s=e.createRng();return sT(e,!0,n,s)&&sT(e,!1,n,s)?oe.some({range:s,forward:vy(n)}):oe.none()},F3=(e,n)=>{const s=qS(e,"start",n),i=qS(e,"end",n);return ta(s,i.or(s),(d,h)=>{const v=e.createRng();return v.setStart(Lv(e,d.container()),d.offset()),v.setEnd(Lv(e,h.container()),h.offset()),{range:v,forward:vy(n)}})},aI=(e,n)=>oe.from(e.select(n.name)[n.index]).map(s=>{const i=e.createRng();return i.selectNode(s),{range:i,forward:!0}}),L3=(e,n)=>{const s=e.dom;if(n){if(tm(n))return GS(s,n);if(I3(n))return Xh(s,n);if(yy(n))return F3(s,n);if(Fv(n))return aI(s,n);if(em(n))return oe.some({range:n.rng,forward:vy(n)})}return oe.none()},z3=(e,n,s)=>Nc(e,n,s),rT=(e,n)=>{L3(e,n).each(({range:s,forward:i})=>{e.setRng(s,i)})},Iu=e=>cn(e)&&e.tagName==="SPAN"&&e.getAttribute("data-mce-type")==="bookmark",zv=(e=>n=>e===n)(St),Nb=e=>e!==""&&` \f
|